JSON field

Description

Possible Values

Comments

id

Veryfi Unique ID

id is Veryfi's unique ID for each document. Every time Veryfi processes the invoice, it is assigned a unique ID

img_url

Download URL for submitted image

img_thumbnail_url

Download URI for thumbnail image

The difference Between Thumbnail and Image is that a thumbnail is a small version of a larger graphic. By clicking on a thumbnail, it will display a larger image. Some invoices have a thumbnail, some have the whole image

document_type

Type of document

"receipt", "invoice", "purchase_order", "check", "other", "w9", "w2"

document_title

Title on the document

"document_title" is the title on the document usually at the very top of the document: "Invoice", "Vendor Credit", "Purchase Order" etc.

category

Document category/class

date

Document issue/transaction date

Date when the invoice was issued

due_date

Due date for invoice or bill

order_date

Order date

Date when the goods/services were ordered

delivery_date

Delivery date

Date when the order was delivered.

ship_date

Shipping date

Date when the order was shipped

created

Creation date of the document (UTC)

Date when a document was processed (uploaded) by Veryfi AI technology

updated

Last update date (UTC)

Date with time when the last update was made to the document

currency_code

Currency code (ISO 4217)

card_number

Credit/debit card number

Last 4 digits of CC number which the invoice has been paid by

payment_type

One of the payment types

"visa", "master_card", "cash", "american_express", "other", "check", "discover", "interac", "girocard", "paypal", "bank-to-bank_transfer_bacs", "octopus", "jcb", "bankaxept", "alipay", "waon", "unionpay", "wechat", "bpay", "rupay"

Payment type of CC (visa, mastercard, etc)

payment_terms

Payment terms

tracking_number

Tracking number

A unique number assigned to packages when they are shipped.

subtotal

Subtotal amount

We try to find it on the receipt/invoice. If we do not find it, we calculate it as Subtotal = Total Spend - Tax - Tip

tax

Total tax amount

rounding

Rounding amount

Some vendors give a "discount" (rounding) so they do not have to pay with small monets (for ex, if a customer paid with cash and vendor did not have a change of 4 cent, he would round the number and return 5 cent)

cashback

Cashback amount

Cash amount customer has withdrawn when making a purchase. Can be found on receipts, not present on invoices

tax_lines {

Tax breakdown lines

Tax line (order, name, rate, total amount) for each tax.

order

Tax line sequence number

Order (position) of the tax line in the list of taxes

tax_base

Tax base

name

Tax name

rate

Tax rate

Tax percentage (10%, 9.95% etc.)

total

Tax amount

Total Vat tax, tax, iva, they all will be extracted into this “tax” field. If the document has multiple taxes on it those taxes will be returned in the list inside “taxes” field. Note there are a couple of countries in the world that have 3 decimal places after the dot. If planning to support those, when choosing type for tax/total fields make sure it can handle 3 decimal places.

}

tip

Tip amount

An amount of money that is given to someone for a service, also called Gratuity. Usually present on receipts not invoices.

discount

Discount amount

shipping

Shipping amount

Cost of Shipping / Delivery

total

Document total amount

Grand Total amount including subtotal, tax, fees etc

service_start_date

Start date of service, e.g. flight departure date or hotel arrival date

service_end_date

End date of service, e.g. flight arrival date or hotel departure date

invoice_number

Invoice number

Insurance

Insurance

Field specifies insurance terms

Incoterms

Incoterms

Incoterms specify who is responsible for paying for and managing the shipment, insurance, documentation, customs clearance, and other logistical activities.

account_number

Account number

Customer account number. If it is on the document, we extract it.

purchase_order_number

Purchase order number

document_reference_number

Reference number

Reference numbers are commonly used to identify items for a particular customer

abn_number

ABN

Australian business number. It is only for Australian invoices.

bill_to_name

Bill to name

Name of the person or business who is billed for the amount on the invoice

bill_to_address

Bill to address

Billing Address information of the customer

bill_to_vat_number

Bill to VAT number

The customer's VAT number, usually present on the European invoices

bill_to_email

Bill to email address

Billing email address of the customer

bill_to_phone_number

Bill to phone number

Billing phone number of the customer

ship_to_name

Ship to name

Name of the person or business who will accept the delivery of this order

ship_to_address

Ship to address

Address where the order has to be delivered

vat_number

Vendor Vat number

vendor {

Vendor details

Vendor details

name

Vendor name - cleaned

The name is an actual vendor name after cleaning and transformation, for example, "fb.com" would be converted to "Facebook, Inc."

raw_name

Vendor name - raw

The Raw version is what appears in the text whereas the enriched version is where we run post-processing and verifying if that vendor name and address actually exists or try to give more context based on the raw version. For example, if in a receipt we find “Walmart” with some address to be the vendor name, the enriched version could be “Walmart Supercenter” or “Walmart Neighborhood” etc… depending on the context of the receipt

address

Vendor address

lat

Vendor latitude

Latitude of the vendor location. It is extracted by Veryfi AI technology

lng

Vendor longitude

Longitude of the vendor's location. It is extracted by Veryfi AI technology

phone_number

Vendor phone number

Phone number of the vendor.

fax_number

Vendor fax number

Fax number of the vendor.

web

Vendor website URI

Website address of the vendor

email

Vendor email address

Vendor email address

vendor_logo

Vendor logo image download URI

Graphic mark, emblem, or symbol used to aid and promote vendor's recognition.

category

Vendor Category

"Grocery", "Fuel", "Restaurant", "Hardware", "Online Shopping", "Fast Food", "Department Store", "Convenience", "Taxi", "Drugstore / Pharmacy", "Hotel", "Nurseries & Gardening", "Food", "Coffee", "Utilities", "Bakery", "Parking", "Bar", "Electronics Store", "Building Supplies", "Office Equipment", "Health", "Clothing Store", "Online Service", "Furniture Store", "Auto Parts", "General Contractor", "Pizza", "Car Repair", "Bank", "Shipping", "Arts & Crafts Store", "Airlines", "Cafe", "Home Goods Store", "Transportation", "Car Wash", "Insurance", "Car Rental", "Toll", "Shoe Store", "Book Store", "Auto", "Movie Theater", "ATM", "Laundry", "Airport", "Entertainment", "Hair Care", "Ice Cream Shop", "Market", "Rent", "Florist", "Farm", "Gym / Fitness Center", "Brewery", "Food Court", "Garage", "Catering", "Baggage", "Airport Parking", "Daycare", "Delivery"

vendor_reg_number

Vendor registration number

The vendor registration number, for the US it would be EIN (Employer Identification Number) Some countries require Vendor ID to be listed on every invoice

}

line_items {

Line items

Line items is the list of products or services purchased/ordered

id

Veryfi Unique Line Item ID

Veryfi's internal unique ID for this product/service

order

Line item sequence number

Order of the product in the list of line items (products purchased) Not related to PO

type

Line item type

"room", "tax", "parking", "service", "fee", "delivery", "product", "food", "alcohol", "tobacco", "transportation", "fuel", "discount", "payment"

Veryfi categorizes each line into one of those categories (types) listed in column "C"

date

Line item date (often exists on hotel folios)

line items of service invoices usually contain the date of the service received. This date is extracted into its own field.

description

Line item description

Description of the product or service purchased on the invoice line

sku

Line item SKU

Stock Keeping Unit, a unique number associated with a product

upc

UPC

Universal Product Code

hsn

HSN

HSN code is a 6-digit uniform code that classifies 5000+ products and is accepted worldwide

discount_rate

price

Line item unit price

quantity

Line item quantity

unit_of_measure

Line item unit of measure

weight

Line item weight

Weight of the material product on the line item, usually present on logistic invoices

text

Line item text

tax_rate

Line item tax rate

What tax rate is applicable for this product. For example in some products may have 5% tax rate and some may be 15%

tax

Line item tax name

discount

Line item discount amount

total

Line item total amount

}

vendor_bank_number

Vendor bank number

vendor_bank_swift

Vendor bank SWIFT code

Society for Worldwide Interbank Financial Telecommunications, part of the Invoice Remittance information

vendor_account_number

Vendor bank account number

Bank account number of the Vendor, part of the Invoice Remittance information

vendor_bank_name

Vendor bank name

Bank name, part of the Invoice Remittance information

vendor_iban

Vendor IBAN

International Bank Account Number, part of the Invoice Remittance information

vendors

Vendors found on the document

ocr_text

OCR text extracted from the submitted document

Full text extracted from the document

total_weight

Total weight of all the items listed on the invoice

total_weight_list

List of all the weights (net, gross) on the invoice

Some invoices have both weights of the items ordered Gross and Net, in this case, this list will contain both of the weight

barcodes

Barcodes

A Barcode is a method of representing data in a visual, machine-readable form

data

Extracted data from the Barcode

type

QR + Barcodes, PDF417, EAN, UPC, Code128, Code39, I25

exch_rate

Exchange rate

weights

All weights found on the document

license_plate_number

License plate number

vin_number

VIN number

A vehicle identification number (VIN) is a unique code assigned to every motor vehicle when it's manufactured. The VIN is a 17-character string of letters/

additional_charges

Additional charges

Additional fees and charges included on receipts or invoices

summary

Summaries

Summary charges on receipts or invoices

guest_count

Number of guests

Hotel/restaurant’s number of guests/seats

server_name

Server Name

Restaurant’s server name

We recommend checking Interactive API documentation for the most recent updates on fields & parameters Veryfi supports.

Additional parameters that users can request to add

JSON Parameter

v7

v8

Comment

confidence_details

0 or 1

true or false

confidence details for extracted parameters

bounding_boxes

0 or 1

true or false

a rectangle that surrounds an extracted value, that specifies its position for

auto_delete

0 or 1

true or false

Delete this document from Veryfi after data has been extracted. Default value is

boost_mode

0 or 1

true or false

Flag that tells Veryfi whether boost mode should be enabled. When set to 1, Veryfi will skip data enrichment steps, but will process the document faster. Default value for this flag is 0.

parse_address

0 or 1

true or false

parameter to breakdown vendor address into pieces

detect_blur

0 or 1

true or false

flags blurry images

is_duplicate

0 or 1

true or false

if a document has been processed before, Veryfi will identify it and notify

async

0 or 1

true or false

asynchronous processing/ webhooks

max_pages_to_process

0 or 1

true or false

When sending a long document to Veryfi for processing, this parameter controls how many pages of the document will be read and processed, starting from page 1.

categories


"Advertising & Marketing" "Automotive","Bank Charges & Fees "Legal & Professional, Services","Insurance", "Meals & Entertainment",

"Office Supplies & Software", "Taxes & Licenses","Travel",

"Automotive", "Rent & Lease","Repairs & Maintenance", "Payroll","Utilities","Job Supplies", "Grocery"

Default list of categories, if you would like to use your own list and it’s different from the default one.

external_id

string

Use this if you would like to assign your own ID to documents.

detect_barcodes

0 or 1

true or false

barcode detection

warnings

flags documents totals/invoice number/

is_approved

0 or 1

true or false

is_document

0 or 1

true or false

is_money_in

0 or 1

true or false

Please note, that not all the fields from the list above are enabled for user accounts from the start. If you would like us to add more fields or parameters to your account, please contact support@veryfi.com

Related Articles:

API Version 7 vs 8

Interactive API documentation

Asynchronous processing

Detect Blur

Confidence_details

What Document Types Veryfi Supports

Languages Veryfi OCR API works with

File formats Veryfi supports

How to Improve the Accuracy

Did this answer your question?