Update a document
PUT/api/v8/partner/documents/:document_id
Veryfi's Update a Document by ID endpoint allows you to change a Document that Veryfi's Machine Learning models have already processed. This feature will enable users to update Documents previously processed by Veryfi to ensure data extraction accuracy. Updating a Document is especially useful for correcting mistakes and updating information over time. By changing a processed Document, Veryfi's Machine Learning models can re-learn the updated information, allowing them to stay accurate and up-to-date.
Request
Path Parameters
The unique identifier of the document.
- application/json
Body
- MOD1
- DetailedPUTBoolField
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTFloatField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTFloatField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTFloatField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedClassPUTField
- MOD1
- DetailedPUTFloatField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- PUTClassCurrencyFieldType
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTFloatField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- PUTDocumentTypeFieldType
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTFloatField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTFloatField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTFloatField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTFloatField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTFloatField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTFloatField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTFloatField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTFloatField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- MOD2
- Array [
- ]
- Array [
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTDatetimeField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTDatetimeField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTDatetimeField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTDateField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTDateField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTDateField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTDateField
- Array [
- MOD1
- MOD2
- ]
- Array [
- MOD1
- DetailedClassPUTField
- MOD1
- DetailedPUTCountryField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTDateField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTFloatField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTFloatField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTFloatField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTDateField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTFloatField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTFloatField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTDateField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTFloatField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTFloatField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTFloatField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTFloatField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- PUTLineItemTypesFieldType
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- ]
- Array [
- MOD1
- DetailedPUTFloatField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTFloatField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTFloatField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTFloatField
- Array [
- MOD1
- MOD2
- ]
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- PUTCurrencyFieldType
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTCountryField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedPUTField
- Array [
- MOD1
- MOD2
- ]
- MOD1
- DetailedClassPUTField
The value indicating if the document is billable. This parameter is helpful in expense management use cases.
A user-defined flag that can be assigned to the Document object. This parameter is helpful in expense management use cases.
The value indicating whether or not this Document has been identified as a duplicate of another Document on your account.
is_money_in object
This parameter is used in the Expense Management application. The value is true
if the document has a refund or credit note.
boolean
account_number object
The unique identifier of the customer assigned by the vendor.
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
balance object
The invoice or bill balance.
number
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
final_balance object
The invoice balance. If the invoice is paid, the final balance is 0, but if the invoice is not paid, the value is equal to the total.
number
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
guest_count object
The number of guests or seats extracted from the document.
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
license_plate_number object
The vehicle license plate number.
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
previous_balance object
The previous invoice balance.
number
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
category object
The category chosen from a predefined list of categories found on the account. Learn how Veryfi's intelligent categorization, custom categorization, and model training work.
string
Possible values: >= 4 characters
The value to update
cashback object
The amount of cash the customer has withdrawn when making a purchase. Cashback can be found on a receipt but does not appear on invoices.
number
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
currency_code object
The currency code in ISO 4217 format.
string
Possible values: [CZK
, NIO
, AMD
, MZN
, IDR
, FKP
, GTQ
, PAB
, PYG
, UZS
, SBD
, DKK
, ARS
, GIP
, MOP
, VND
, UAH
, KYD
, UYU
, BGN
, MVR
, USD
, HTG
, NZD
, CLP
, EGP
, BHD
, ZAR
, SRD
, CRC
, MYR
, CUP
, NOK
, ALL
, YER
, INR
, PKR
, GHC
, ILS
, DOP
, SEK
, LRD
, SGD
, LAK
, EUR
, ISK
, BZD
, PEN
, EEK
, KRW
, SCR
, PLN
, ZWD
, RUB
, HKD
, SYP
, QAR
, THB
, KGS
, GNF
, BSD
, AUD
, SAR
, MUR
, KHR
, LVL
, MXN
, HRK
, HNL
, CAD
, BAM
, SVC
, LBP
, IQD
, NPR
, TRY
, CNY
, MKD
, TRL
, BBD
, GGP
, JMD
, GBP
, HUF
, KPW
, LTL
, RSD
, BRL
, KZT
, TTD
, VEF
, FJD
, NAD
, LKR
, UGX
, RON
, AWG
, ANG
, BOB
, COP
, AFN
, BWP
, XCD
, SZL
, GYD
, BND
, SOS
, AZN
, IRR
, SHP
, TWD
, OMR
, IMP
, LSL
, BMD
, NGN
, KWD
, BYR
, MNT
, CHF
, JPY
, GEL
, AED
, PHP
, JEP
, TVD
]
delivery_note_number object
New, added 2023-03-23.
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
discount object
The amount deducted from the gross price.
number
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
document_reference_number object
The identification number for the document. Commonly used to identify items for a particular customer.
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
document_title object
The title found on the document. The title is usually located at the top of the document. Common examples of document titles include Invoice, Vendor Credit, and Purchase Order.
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
document_type object
string
Possible values: [check
, credit_note
, deposit
, invoice
, long_receipt
, other
, purchase_order
, receipt
, statement
, w8
, w9
, remittance_advice
, contract
]
The exchange rate is calculated by dividing the amount of the currency found on the document by your account's default currency. The exchange rate will be 1 if the document's currency matches your account's default currency or Veryfi cannot find a currency on the document.
A custom identification value. Use this if you would like to assign your own ID to documents. This parameter is useful when mapping this document to a service or resource outside Veryfi.
invoice_number object
The identification number for the document. Typically found on invoices.
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
incoterms object
The incoterms to specify who pays and manages the shipment, insurance, documentation, customs clearance, and other logistics.
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
insurance object
The insurance terms for the document. Typically found on invoices.
number
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
A user-defined text field that can be used to add any additional document-level information.
purchase_order_number object
The unique identification number assigned to a purchase order document. A purchase order is a document given from a buyer to a seller that details the quantity, prices, and total cost of requested goods and services.
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
rounding object
An extracted 'discount' (rounding) that vendors give to customers so they do not have to pay with small coins. For example, if a customer paid with cash and a vendor did not have a change of 4 cents, they would round the number and return 5 cents.
number
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
shipping object
The cost of shipping or delivery of a package.
number
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
Possible values: [processed
, reviewed
, archived
]
The value indicating the document's status.
store_number object
The subsidiaries, vendor, corporation, or organization identification number used to unique referencing.
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
subtotal object
New, added 2023-07-10. The total of a set of numbers that will later be added to another set of numbers, such as tip and tax. This value is computable.
number
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
tax object
The tax amount applied to the purchase(s). This value is computable.
number
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
tip object
The amount of money that is given to someone for a service, also called gratuity. Usually present on receipts not invoices. This value is computable.
number
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
total object
The gross amount, including subtotal, tax, fees, etc. This value is computable.
number
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
total_weight object
The total weight of all items listed on the document. Typically found on invoices.
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
total_quantity object
The total quantity of items found on the document. In most cases, this number equals the sum of line item quantities.
number
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
tracking_number object
The unique number assigned to the package for shipping.
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
tracking_numbers object
An array of unique identification numbers assigned to the package for shipping.
string
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
vending_person object
The person or business who has provided services and found on the document. This is the same as server_name
.
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
vending_person_number object
Identifier for the person or business who has provided services. Typically 'Cashier Number' on receipts or 'Sales Manager Number' on invoices.
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
vin_number object
A vehicle identification number (VIN) is a unique code assigned to every motor vehicle when it's manufactured and found on the document.
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
date object
Limit to past is 10 years, limit to future is 3 months
string
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
due_date object
The date in ISO 8601 format. Typically found on invoices.
string
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
delivery_date object
The date in ISO 8601 format. Typically found on invoices.
string
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
service_start_date object
The date indicating the beginning of a service. The start date could be a flight departure date or hotel arrival date in ISO 8601 format.
string
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
service_end_date object
The date indicating the end of a service. The end date could be a flight arrival date or hotel departure date in ISO 8601 format.
string
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
ship_date object
The date when the order was or will be shipped in ISO 8601 format.
string
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
order_date object
The date when the goods or services were ordered in ISO 8601 format.
string
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
line_items object[]
A list of the products or services purchased or ordered on the submitted document.
category object
The category is taken from the line item with the same SKU and/or description. Otherwise from the root category
field.
string
Possible values: >= 4 characters
The value to update
country_of_origin object
The country of manufacture, production, design, or brand origin where the product comes from.
string
Possible values: [BE
, GL
, MQ
, LC
, SJ
, IE
, YE
, KZ
, DO
, CA
, MH
, TJ
, GQ
, NZ
, IL
, AS
, LB
, DZ
, AU
, DJ
, AN
, CH
, FR
, LR
, RW
, FM
, CY
, KY
, SM
, BZ
, PY
, MT
, SH
, TG
, TK
, BM
, CL
, AF
, HN
, GW
, TH
, CM
, UY
, BN
, GE
, LT
, SE
, LS
, PM
, BW
, NI
, KH
, SK
, RO
, BS
, CC
, KI
, EE
, FK
, PA
, BB
, IM
, GT
, MU
, PN
, ST
, AG
, GG
, BF
, EH
, BH
, CV
, TF
, MM
, IO
, IT
, AZ
, NE
, MR
, SV
, IQ
, MO
, ZA
, TC
, UA
, UM
, ET
, CF
, MD
, MA
, RS
, MZ
, LV
, CU
, CD
, BD
, RU
, SD
, SB
, LI
, CZ
, SI
, KE
, BJ
, BR
, AQ
, CX
, FI
, GP
, IR
, TM
, VU
, JO
, ZM
, BV
, KN
, FJ
, KW
, PG
, HU
, IS
, US
, SZ
, LA
, MF
, NL
, UZ
, GR
, GD
, ML
, AT
, CO
, JM
, MW
, IN
, TO
, BY
, VE
, BO
, NO
, AE
, GY
, AO
, BI
, ID
, PS
, NF
, PE
, NR
, CN
, VN
, QA
, PL
, GS
, CR
, AR
, GF
, TL
, LK
, JE
, KG
, VA
, SL
, MV
, BT
, NG
, HM
, AI
, EC
, VI
, WS
, SO
, OM
, DK
, BG
, BA
, HR
, MY
, TD
, MX
, VG
, PW
, GB
, SR
, MS
, KM
, GH
, AW
, LU
, TV
, MK
, NA
, LY
, KP
, NU
, PH
, KR
, CI
, AM
, PK
, ER
, PR
, SC
, AD
, GM
, ME
, SG
, SN
, NC
, JP
, TZ
, AX
, NP
, CK
, ES
, MG
, EG
, FO
, GN
, UG
, ZW
, DE
, TN
, TW
, MN
, YT
, PT
, PF
, AL
, HK
, BL
, DM
, SA
, GU
, TR
, TT
, RE
, VC
, HT
, MP
, GA
, SY
, GI
, CG
, MC
, WF
]
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
date object
The date found on the document and associated with the line item in ISO 8601 format.
string
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
description object
The product or service's extracted name or description excluding date and price.
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
discount_price object
The lower price after discount.
number
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
discount_rate object
The discount percentage that was applied to the line item.
number
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
discount object
The amount deducted from the total price for the line item.
number
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
end_date object
A service end date identified for the line item. An end date could be a flight arrival date or hotel departure date in ISO 8601 format.
string
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
hsn object
The Harmonized System Nomenclature (HSN) found for the line item.
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
The value indicating the position of where the line item appears on the document.
lot object
The batch or lot number for the line item.
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
price object
The unit price for the line item.
number
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
quantity object
The amount or number of units for the line item. This value is computable.
number
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
reference object
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
section object
A grouping indicated by formatted text on the receipt or invoice.
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
sku object
The Stock Keeping Unit (SKU) is the unique code associated with the product for the line item.
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
start_date object
A service start date identified for the line item. A start date could be a flight departure date or hotel arrival date in ISO 8601 format.
string
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
Possible values: non-empty
A user-defined list of identifiers that help to categorize or flag particular types of line items.
tax_code object
The classification of goods and services for tax purposes for the line item.
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
manufacturer object
The name of the manufacturer of the product for the line item.
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
tax_rate object
The percent at which the individual or corporation is taxed.
number
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
tax object
The amount at which the individual or corporation is taxed for the product on this line item.
number
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
total object
The total price for this line item. This value is computable.
number
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
subtotal object
New, added 2023-07-10. The total of a set of numbers that will later be added to another set of numbers, such as tip and tax. This value is computable.
number
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
type object
The classification of the product. The line type predicted by Veryfi, e.g. food
.
string
Possible values: [room
, tax
, parking
, service
, fee
, delivery
, product
, food
, alcohol
, tobacco
, transportation
, fuel
, refund
, discount
, payment
, giftcard
]
unit_of_measure object
The unit of measurement for this line item.
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
upc object
The Universal Product Code (UPC), European Article Number (EAN), or Global Trade Item Number (GTIN) found for the line item on this document will be placed in this field.
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
weight object
The weight of the item for the line item. Usually found on logistic invoices.
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
tax_lines object[]
A detailed breakdown of tax elements usually found in a tax table.
base object
The base amount of the tax applied.
number
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
name object
The name of the sales tax type.
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
rate object
The tax rate (percentage) applied to the base amount. This value is computable.
number
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
total object
The total amount of tax charged for this particular tax line item. If the document has multiple taxes on it those taxes will be returned in the list inside the taxes
field. Note there are a couple of countries in the world that have 3 decimal places after the dot.
number
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
code object
The tax identification code.
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
total_inclusive object
The base rate + tax amount.
number
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
The arrangement of tax lines in relation to each other.
vendor object
abn_number object
An Australian Business Number (ABN) is a unique 11-digit number that identifies a business to the government and community and found on the document.
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
account_currency object
The currency of the vendor bank account if indicated. Provides the ability to support multiple bank accounts for bill pay use cases, e.g., a separate bank account for you to pay in Euros and a separate to pay in US Dollars.
string
Possible values: [CZK
, NIO
, AMD
, MZN
, IDR
, FKP
, GTQ
, PAB
, PYG
, UZS
, SBD
, DKK
, ARS
, GIP
, MOP
, VND
, UAH
, KYD
, UYU
, BGN
, MVR
, USD
, HTG
, NZD
, CLP
, EGP
, BHD
, ZAR
, SRD
, CRC
, MYR
, CUP
, NOK
, ALL
, YER
, INR
, PKR
, GHC
, ILS
, DOP
, SEK
, LRD
, SGD
, LAK
, EUR
, ISK
, BZD
, PEN
, EEK
, KRW
, SCR
, PLN
, ZWD
, RUB
, HKD
, SYP
, QAR
, THB
, KGS
, GNF
, BSD
, AUD
, SAR
, MUR
, KHR
, LVL
, MXN
, HRK
, HNL
, CAD
, BAM
, SVC
, LBP
, IQD
, NPR
, TRY
, CNY
, MKD
, TRL
, BBD
, GGP
, JMD
, GBP
, HUF
, KPW
, LTL
, RSD
, BRL
, KZT
, TTD
, VEF
, FJD
, NAD
, LKR
, UGX
, RON
, AWG
, ANG
, BOB
, COP
, AFN
, BWP
, XCD
, SZL
, GYD
, BND
, SOS
, AZN
, IRR
, SHP
, TWD
, OMR
, IMP
, LSL
, BMD
, NGN
, KWD
, BYR
, MNT
, CHF
, JPY
, GEL
, AED
, PHP
, JEP
, TVD
]
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
account_number object
The vendor's bank account number.
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
address object
The address of the vendor.
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
bank_name object
The name of the bank. Could be part of invoice remittance information.
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
bank_number object
The bank routing number. Could be part of invoice remittance information.
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
bank_swift object
The Society for Worldwide Interbank Financial Telecommunication (SWIFT) code is part of the ISO 9362 standards for sending money internationally.
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
biller_code object
The vendor identification code in a payment system.
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
country_code object
The country code belonging to a vendor
string
Possible values: [BE
, GL
, MQ
, LC
, SJ
, IE
, YE
, KZ
, DO
, CA
, MH
, TJ
, GQ
, NZ
, IL
, AS
, LB
, DZ
, AU
, DJ
, AN
, CH
, FR
, LR
, RW
, FM
, CY
, KY
, SM
, BZ
, PY
, MT
, SH
, TG
, TK
, BM
, CL
, AF
, HN
, GW
, TH
, CM
, UY
, BN
, GE
, LT
, SE
, LS
, PM
, BW
, NI
, KH
, SK
, RO
, BS
, CC
, KI
, EE
, FK
, PA
, BB
, IM
, GT
, MU
, PN
, ST
, AG
, GG
, BF
, EH
, BH
, CV
, TF
, MM
, IO
, IT
, AZ
, NE
, MR
, SV
, IQ
, MO
, ZA
, TC
, UA
, UM
, ET
, CF
, MD
, MA
, RS
, MZ
, LV
, CU
, CD
, BD
, RU
, SD
, SB
, LI
, CZ
, SI
, KE
, BJ
, BR
, AQ
, CX
, FI
, GP
, IR
, TM
, VU
, JO
, ZM
, BV
, KN
, FJ
, KW
, PG
, HU
, IS
, US
, SZ
, LA
, MF
, NL
, UZ
, GR
, GD
, ML
, AT
, CO
, JM
, MW
, IN
, TO
, BY
, VE
, BO
, NO
, AE
, GY
, AO
, BI
, ID
, PS
, NF
, PE
, NR
, CN
, VN
, QA
, PL
, GS
, CR
, AR
, GF
, TL
, LK
, JE
, KG
, VA
, SL
, MV
, BT
, NG
, HM
, AI
, EC
, VI
, WS
, SO
, OM
, DK
, BG
, BA
, HR
, MY
, TD
, MX
, VG
, PW
, GB
, SR
, MS
, KM
, GH
, AW
, LU
, TV
, MK
, NA
, LY
, KP
, NU
, PH
, KR
, CI
, AM
, PK
, ER
, PR
, SC
, AD
, GM
, ME
, SG
, SN
, NC
, JP
, TZ
, AX
, NP
, CK
, ES
, MG
, EG
, FO
, GN
, UG
, ZW
, DE
, TN
, TW
, MN
, YT
, PT
, PF
, AL
, HK
, BL
, DM
, SA
, GU
, TR
, TT
, RE
, VC
, HT
, MP
, GA
, SY
, GI
, CG
, MC
, WF
]
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
email object
The vendor's email address.
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
fax_number object
The fax number of the vendor.
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
iban object
The International Bank Account Number (IBAN) is a standard international numbering system developed to identify an overseas bank account.
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
name object
The normalized name of the vendor.
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
phone_number object
The phone number of the vendor.
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
raw_name object
The raw vendor name exactly as found on the document.
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
reg_number object
The vendor registration number. In the U.S., this would be the Employer Identification Number (EIN).
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
type object
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
order_number object
The unique identification number for the order and set by the vendor. Typically found on invoices.
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
vat_number object
The value-added tax identification number (VAT) for this vendor and found on the document. VAT numbers can be found on European invoices.
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
web object
The vendor's website address (URL).
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
bill_to object
name object
The name of the individual or business
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
address object
The address of the individual or business
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
vat_number object
The value-added tax identification number (VAT) for this vendor and found on the document. VAT numbers can be found on European invoices.
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
email object
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
phone_number object
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
reg_number object
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
ship_to object
name object
The name of the individual or business
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
address object
The address of the individual or business
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
payment object
terms object
The terms on when and how to pay for goods or services. Typically found on invoices.
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
card_number object
string
Possible values: >= 4 characters
The value to update
bounding_box object[]
Possible values: >= 5
, <= 5
An array containing relative coordinates in the format [page_number,x1,y1,x2,y2]
for the extracted field from img_url
before any rotation.
number
integer
Possible values: >= 8
, <= 8
An array containing (x,y) coordinates in the format
[x1,y1,x2,y2,x3,y3,x4,y4]` for skewed images and handwritten fields. The bounding region is more precise than bounding box, otherwise it's the same.
type object
The payment type found on the document.
string
Possible values: >= 4 characters
The value to update
Possible values: non-empty
A user-defined list of identifiers that help to categorize or flag particular types of documents. The Document object can have multiple tags. You can create tags by API or in Hub.
Responses
- 200
- 400
- 404
- 429
- 499
- 503
- default
The processed document response. Fields with an asterisk will be returned. Contact support to enable any additional fields on your account.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- MOD1
- MOD2
Possible values: non-empty
and <= 2083 characters
A signed URL to access the auto-generated PDF created from the submitted document. This URL expires 15 minutes after the response object is returned and is resigned during every GET request.
The unique number created to identify the document.
Possible values: [debit
, credit
]
The date and time the invoice or receipt was first submitted and processed in ISO 8601 format.
The ID of the first unique Document. This Document has been identified as a duplicate of another Document.
The exchange rate is calculated by dividing the amount of the currency found on the document by your account's default currency. The exchange rate will be 1 if the document's currency matches your account's default currency or Veryfi cannot find a currency on the document.
Possible values: non-empty
A custom identification value. Use this if you would like to assign your own ID to documents. This parameter is useful when mapping this document to a service or resource outside Veryfi.
The value indicating whether or not the image taken with the Lens SDK is blurry.
Possible values: non-empty
The filename and extension for the document submitted to Veryfi for processing. This is the filename and extension for the document hosted on Veryfi.
Possible values: non-empty
and <= 2083 characters
A signed URL to the original submitted image or the PDF generated from multiple images. The URL expires 15 minutes after the Document Response is returned and is re-assigned on every GET request.
Possible values: non-empty
and <= 2083 characters
A signed URL to a thumbnail of the initially submitted image. The URL expires 15 minutes after the Document Response is returned and is re-assigned on every GET request.
A user-defined flag that can be assigned to the Document object. This parameter is helpful in expense management use cases.
An array of boolean values indicating whether each page of the processed document is blurry or not.
The value indicating whether or not the image submitted for processing is a receipt, invoice, or another supported document type.
The value indicating whether or not this Document has been identified as a duplicate of another Document on your account.
line_items object[]
A list of the products or services purchased or ordered on the submitted document.
The unique number created to identify the Line Item object.
The value indicating the position of where the line item appears on the document.
Possible values: non-empty
A user-defined list of identifiers that help to categorize or flag particular types of line items.
Possible values: non-empty
The complete text returned for the line item, including prices, dates, etc.
Possible values: [room
, tax
, parking
, service
, fee
, delivery
, product
, food
, alcohol
, tobacco
, transportation
, fuel
, refund
, discount
, payment
, giftcard
]
The classification of the product. The line type predicted by Veryfi, e.g. food
.
The date found on the document and associated with the line item in ISO 8601 format.
Possible values: non-empty
The product or service's extracted name or description excluding date and price.
Possible values: non-empty
The item text including dates, weight, etc.
Possible values: non-empty
The line item description with expanded words
The lower price after discount.
The discount percentage that was applied to the line item.
The date found on the document and associated with the line item in ISO 8601 format.
The unit price for the line item.
The amount or number of units for the line item. This value is computable.
Possible values: non-empty
Possible values: non-empty
A grouping indicated by formatted text on the receipt or invoice.
Possible values: non-empty
The Stock Keeping Unit (SKU) is the unique code associated with the product for the line item.
The percent at which the individual or corporation is taxed.
The amount at which the individual or corporation is taxed for the product on this line item.
The total price for this line item. This value is computable.
New, added 2023-07-10. The total of a set of numbers that will later be added to another set of numbers, such as tip and tax. This value is computable.
Possible values: non-empty
The unit of measurement for this line item.
Possible values: non-empty
The category is taken from the line item with the same SKU and/or description. Otherwise from the root category
field.
Possible values: [BE
, GL
, MQ
, LC
, SJ
, IE
, YE
, KZ
, DO
, CA
, MH
, TJ
, GQ
, NZ
, IL
, AS
, LB
, DZ
, AU
, DJ
, AN
, CH
, FR
, LR
, RW
, FM
, CY
, KY
, SM
, BZ
, PY
, MT
, SH
, TG
, TK
, BM
, CL
, AF
, HN
, GW
, TH
, CM
, UY
, BN
, GE
, LT
, SE
, LS
, PM
, BW
, NI
, KH
, SK
, RO
, BS
, CC
, KI
, EE
, FK
, PA
, BB
, IM
, GT
, MU
, PN
, ST
, AG
, GG
, BF
, EH
, BH
, CV
, TF
, MM
, IO
, IT
, AZ
, NE
, MR
, SV
, IQ
, MO
, ZA
, TC
, UA
, UM
, ET
, CF
, MD
, MA
, RS
, MZ
, LV
, CU
, CD
, BD
, RU
, SD
, SB
, LI
, CZ
, SI
, KE
, BJ
, BR
, AQ
, CX
, FI
, GP
, IR
, TM
, VU
, JO
, ZM
, BV
, KN
, FJ
, KW
, PG
, HU
, IS
, US
, SZ
, LA
, MF
, NL
, UZ
, GR
, GD
, ML
, AT
, CO
, JM
, MW
, IN
, TO
, BY
, VE
, BO
, NO
, AE
, GY
, AO
, BI
, ID
, PS
, NF
, PE
, NR
, CN
, VN
, QA
, PL
, GS
, CR
, AR
, GF
, TL
, LK
, JE
, KG
, VA
, SL
, MV
, BT
, NG
, HM
, AI
, EC
, VI
, WS
, SO
, OM
, DK
, BG
, BA
, HR
, MY
, TD
, MX
, VG
, PW
, GB
, SR
, MS
, KM
, GH
, AW
, LU
, TV
, MK
, NA
, LY
, KP
, NU
, PH
, KR
, CI
, AM
, PK
, ER
, PR
, SC
, AD
, GM
, ME
, SG
, SN
, NC
, JP
, TZ
, AX
, NP
, CK
, ES
, MG
, EG
, FO
, GN
, UG
, ZW
, DE
, TN
, TW
, MN
, YT
, PT
, PF
, AL
, HK
, BL
, DM
, SA
, GU
, TR
, TT
, RE
, VC
, HT
, MP
, GA
, SY
, GI
, CG
, MC
, WF
]
The country of manufacture, production, design, or brand origin where the product comes from.
product_details object[]
Product lookup details
A service end date identified for the line item. An end date could be a flight arrival date or hotel departure date in ISO 8601 format.
The line item total before deductions.
Possible values: non-empty
The Harmonized System Nomenclature (HSN) found for the line item.
A service start date identified for the line item. A start date could be a flight departure date or hotel arrival date in ISO 8601 format.
Possible values: non-empty
The classification of goods and services for tax purposes for the line item.
Possible values: non-empty
The name of the manufacturer of the product for the line item.
The line item total after deductions.
Possible values: non-empty
The Universal Product Code (UPC), European Article Number (EAN), or Global Trade Item Number (GTIN) found for the line item on this document will be placed in this field.
Possible values: non-empty
The weight of the item for the line item. Usually found on logistic invoices.
Possible values: non-empty
The data extraction model version number that was used to process the document.
Possible values: non-empty
A user-defined text field that can be used to add any additional document-level information.
The text returned from converting the document into a machine-readable text format.
Possible values: non-empty
Deprecated. Use id
.
Possible values: [in_progress
, processed
, reviewed
, reimbursed
, archived
]
The value indicating the document's status.
Possible values: non-empty
A user-defined list of identifiers that help to categorize or flag particular types of documents. The Document object can have multiple tags. You can create tags by API or in Hub.
Deprecated. Use meta.total_pages
.
The date and time when the last update was made to the Document object in ISO 8601 format.
Possible values: non-empty
An array of insights that highlight unusual behavior found on a document.
meta object
Possible values: non-empty
The API username for the account that processed the document.
The total number of pages found in the submitted document.
The number of processed pages for the document. The default limit is 15 pages per document. Use max_processed_pages
on the POST request to update the limit.
pages object[]required
An array containing meta info about each extracted page
Possible values: non-empty
Page languages in BCP-47 language tag, starting with the most confident prediction.
screenshot object
Possible values: <= 1
Possible values: [mobile_screenshot
, desktop_screenshot
]
The predicted value.
source_documents object[]required
An array containing meta info about originally submitted documents
fraud object
An object that contains additional information to help check for fraud. Does not work with the parameter boost_mode
set to true
.
Possible values: non-empty
Attribution of Fraud Detector's decision
Possible values: non-empty
Fraud Detector's decision
Possible values: [green
, yellow
, red
]
Color from Fraud Detector: green means legit, yellow means review needed and red means fraud
pages object[]
An array containing fraud info about each extracted page
is_lcd object
Possible values: <= 1
The score shows how confident the model is that the predicted value
belongs to the field. See confidence scores explained for more information. Returned with confidence_details: true
The extracted value.
images object[]deprecated
deprecated and will be removed at 2023-11-10. Use meta.fraud.pages instead
The value indicating whether or not the image is a picture of an LCD screen.
The value indicating how confident the model is about is_lcd
prediction.
Possible values: <= 1
Confidence of Fraud Detector in it's prediction
Possible values: non-empty
The Fraud Detector version. The latest version in action while the document was processed. Different versions may have their own ways of calculating the score and deducing the color string value.
submissions object
amount of submissions from specific device id
warnings object[]
An array of warnings to help catch errors or fraud on the processed document. This is also related to the integrity checks on a document such as subtotal not matching the sum of line item totals. Does not work with the parameter boost_mode
set to true
.
Possible values: [tax_rate_missmatch
, item_counts_missmatch
, totals_missmatch
, line_item_amount_missmatch
, line_item_repeats
, barcode_decoding_issue
, barcode_code_missing_in_ocr
, logo_vendor_missmatch
, malware
]
Type of the warning, e.g. barcode_code_missing_in_ocr. Type is an enumerated field and comes from a defined number of enumerated values.
Possible values: non-empty
The detailed message about the warning.
Possible values: Value must match regular expression ^(total|subtotal|date|line_items\.\d{1,4}\.total)$
List of fields which were handwritten. Does not work with the parameter boost_mode
set to true
.
Fingerprint of the device used to process the document.
duplicates object[]
A list of 10 closest matches
Possible values: non-empty
and <= 2083 characters
Possible values: <= 1
How close is the match
Possible values: [api.email
, api.web
, api
, lens.bill
, lens.invoice
, lens.long_receipt
, lens.other
, lens.receipt
, lens.web
, lens
]
Default value: api
Possible values: non-empty
Document languages in BCP-47 language tag, starting with the most confident prediction.
Possible values: non-empty
The unique identifier of the customer assigned by the vendor.
The invoice or bill balance.
barcodes object[]
An array of barcodes extracted from the document if found.
Possible values: non-empty
The machine-readable representation of the barcode found on the document.
Possible values: non-empty
The name of the encoding for the barcode. Supported types include: QR Code, PDF417, EAN, UPC, Code128, Code39, I25
Possible values: >= 8
, <= 8
An array of normalized (x, y) coordinates used to represent the boundary of the barcode found on the document.
bill_to object
Possible values: non-empty
The name of the individual or business
Possible values: non-empty
The address of the individual or business
Possible values: non-empty
The payer's email address found in the billing section of the document.
parsed_address object
An object representing detailed address-related information on the document, such as the city, state, street address, unit number, etc. Returned if the original POST request had the parameter parse_address
set to true
and the address is found on the document.
The settlement including cities, towns, villages, hamlets, localities, etc.
The sovereign nations and their dependent territories, anything with an ISO-3166 code.
The detected ISO 3166-1 alpha-2 code for a given country.
The postal code used for mail sorting
A first-level administrative division. Scotland, Northern Ireland, Wales, and England in the UK are mapped to "state" as well
A sum of house_number
road, building, unit.
The venue name e.g. "Brooklyn Academy of Music", and building names e.g. "Empire State Building".
Usually refers to the external (street-facing) building number. In some countries this may be a compound, hyphenated number, which also includes an apartment number, or a block number (a la Japan).
Street name(s)
An apartment, unit, office, lot, or other secondary unit designator.
The expressions indicating a floor number e.g. "3rd Floor", "Ground Floor", etc.
Numbered/lettered staircase
Numbered/lettered entrance
The post office box, typically found in non-physical (mail-only) addresses.
An unofficial neighborhood name like "Harlem", "South Bronx", or "Crown Heights".
The boroughs or districts within a city that serve some official purpose e.g. "Brooklyn" or "Hackney" or "Bratislava IV".
Named islands e.g. "Maui"
Usually a second-level administrative division or county.
Informal subdivision of a country without any political status.
Only used for appending "West Indies" after the country name, a pattern frequently used in the English-speaking Caribbean e.g. "Jamaica, West Indies".
Possible values: non-empty
The payer's phone number found in the billing section of the document.
Possible values: non-empty
The payer's registration number found in the billing section of the document.
Possible values: non-empty
The value-added tax identification number (VAT) for this vendor and found on the document. VAT numbers can be found on European invoices.
Possible values: non-empty
The amount of cash the customer has withdrawn when making a purchase. Cashback can be found on a receipt but does not appear on invoices.
Possible values: non-empty
A category predicted from sent categories, user categories or default ones.
Possible values: [CZK
, NIO
, AMD
, MZN
, IDR
, FKP
, GTQ
, PAB
, PYG
, UZS
, SBD
, DKK
, ARS
, GIP
, MOP
, VND
, UAH
, KYD
, UYU
, BGN
, MVR
, USD
, HTG
, NZD
, CLP
, EGP
, BHD
, ZAR
, SRD
, CRC
, MYR
, CUP
, NOK
, ALL
, YER
, INR
, PKR
, GHC
, ILS
, DOP
, SEK
, LRD
, SGD
, LAK
, EUR
, ISK
, BZD
, PEN
, EEK
, KRW
, SCR
, PLN
, ZWD
, RUB
, HKD
, SYP
, QAR
, THB
, KGS
, GNF
, BSD
, AUD
, SAR
, MUR
, KHR
, LVL
, MXN
, HRK
, HNL
, CAD
, BAM
, SVC
, LBP
, IQD
, NPR
, TRY
, CNY
, MKD
, TRL
, BBD
, GGP
, JMD
, GBP
, HUF
, KPW
, LTL
, RSD
, BRL
, KZT
, TTD
, VEF
, FJD
, NAD
, LKR
, UGX
, RON
, AWG
, ANG
, BOB
, COP
, AFN
, BWP
, XCD
, SZL
, GYD
, BND
, SOS
, AZN
, IRR
, SHP
, TWD
, OMR
, IMP
, LSL
, BMD
, NGN
, KWD
, BYR
, MNT
, CHF
, JPY
, GEL
, AED
, PHP
, JEP
, TVD
]
The currency code in ISO 4217 format. The exchange_rate
field will be enriched if the currency found on the document is different from the account's default currency.
The date and time found on the document in ISO 8601 format. This value is computable.
Possible values: [other
, Meals & Entertainment
, Job Supplies
, Travel
, Automotive
, Office Supplies & Software
, Food and Groceries
, Gifts & Donations
, Utilities
, Repairs & Maintenance
, Transportation
, Advertising & Marketing
, Legal & Professional Services
, Payroll Expenses
, Contractors
, Insurance
, Rent & Lease
, Healthcare
, Taxes & Licenses
, Bank Charges & Fees
, Postage & Delivery
, Clothing & Shoes
, Household
, Interest Paid
, Dues and Subscriptions
, Training & Education
]
The category chosen from a predefined list of categories found on the account. Learn how Veryfi's intelligent categorization, custom categorization, and model training work.
The date in ISO 8601 format. Typically found on invoices.
Possible values: non-empty
The unique identification number found on the delivery note. Delivery notes have a similar format to invoices but usually titled 'Delivery Note'.
The amount deducted from the gross price.
Possible values: [other
, receipt
, invoice
, purchase_order
, w9
, check
, statement
, contract
, w8
, remittance_advice
]
Possible values: non-empty
The identification number for the document. Commonly used to identify items for a particular customer.
Possible values: non-empty
The title found on the document. The title is usually located at the top of the document. Common examples of document titles include Invoice, Vendor Credit, and Purchase Order.
The due date and time in ISO 8601 format. Typically found on invoices. This value is computable.
The invoice balance. If the invoice is paid, the final balance is 0, but if the invoice is not paid, the value is equal to the total.
Possible values: non-empty
The number of guests or seats extracted from the document.
Possible values: non-empty
The incoterms to specify who pays and manages the shipment, insurance, documentation, customs clearance, and other logistics.
The insurance terms for the document. Typically found on invoices.
Possible values: non-empty
The identification number for the document. Typically found on invoices.
This parameter is used in the Expense Management application. The value is true
if the document has a refund or credit note.
Possible values: non-empty
The vehicle license plate number.
The date when the goods or services were ordered in ISO 8601 format.
payment object
Possible values: non-empty
The last found digits of a credit or debit card number found on the document.
Possible values: non-empty
The card type plus the last four digits of the card number found on the document.
Possible values: non-empty
The terms on when and how to pay found on the document. Typically found on invoices.
Possible values: non-empty
The payment type found on the document.
The previous invoice balance.
Possible values: non-empty
The unique identification number assigned to a purchase order document. A purchase order is a document given from a buyer to a seller that details the quantity, prices, and total cost of requested goods and services.
An extracted 'discount' (rounding) that vendors give to customers so they do not have to pay with small coins. For example, if a customer paid with cash and a vendor did not have a change of 4 cents, they would round the number and return 5 cents.
Possible values: non-empty
The restaurant's server name.
The date indicating the beginning of a service. The start date could be a flight departure date or hotel arrival date in ISO 8601 format.
The date indicating the end of a service. The end date could be a flight arrival date or hotel departure date in ISO 8601 format.
The date when the order was or will be shipped in ISO 8601 format.
ship_to object
Possible values: non-empty
The delivery address found on the document.
Possible values: non-empty
The name of the person or business who will receive the delivery and found on the document.
parsed_address object
An object representing detailed address-related information on the document, such as the city, state, street address, unit number, etc. Returned if the original POST request had the parameter parse_address
set to true
and the address is found on the document.
The settlement including cities, towns, villages, hamlets, localities, etc.
The sovereign nations and their dependent territories, anything with an ISO-3166 code.
The detected ISO 3166-1 alpha-2 code for a given country.
The postal code used for mail sorting
A first-level administrative division. Scotland, Northern Ireland, Wales, and England in the UK are mapped to "state" as well
A sum of house_number
road, building, unit.
The venue name e.g. "Brooklyn Academy of Music", and building names e.g. "Empire State Building".
Usually refers to the external (street-facing) building number. In some countries this may be a compound, hyphenated number, which also includes an apartment number, or a block number (a la Japan).
Street name(s)
An apartment, unit, office, lot, or other secondary unit designator.
The expressions indicating a floor number e.g. "3rd Floor", "Ground Floor", etc.
Numbered/lettered staircase
Numbered/lettered entrance
The post office box, typically found in non-physical (mail-only) addresses.
An unofficial neighborhood name like "Harlem", "South Bronx", or "Crown Heights".
The boroughs or districts within a city that serve some official purpose e.g. "Brooklyn" or "Hackney" or "Bratislava IV".
Named islands e.g. "Maui"
Usually a second-level administrative division or county.
Informal subdivision of a country without any political status.
Only used for appending "West Indies" after the country name, a pattern frequently used in the English-speaking Caribbean e.g. "Jamaica, West Indies".
The cost of shipping or delivery of a package.
Possible values: non-empty
The subsidiaries, vendor, corporation, or organization identification number used to unique referencing.
New, added 2023-07-10. The total of a set of numbers that will later be added to another set of numbers, such as tip and tax. This value is computable.
The tax amount applied to the purchase(s). This value is computable.
tax_lines object[]
A detailed breakdown of tax elements usually found in a tax table.
The arrangement of tax lines in relation to each other.
Possible values: non-empty
The name of the sales tax type.
The tax rate (percentage) applied to the base amount. This value is computable.
The total amount of tax charged for this particular tax line item. If the document has multiple taxes on it those taxes will be returned in the list inside the taxes
field. Note there are a couple of countries in the world that have 3 decimal places after the dot.
The base amount of the tax applied.
Possible values: non-empty
The tax identification code.
The base rate + tax amount.
The amount of money that is given to someone for a service, also called gratuity. Usually present on receipts not invoices. This value is computable.
The gross amount, including subtotal, tax, fees, etc. This value is computable.
The total quantity of items found on the document. In most cases, this number equals the sum of line item quantities.
Possible values: non-empty
The total weight of all items listed on the document. Typically found on invoices.
Possible values: non-empty
The unique number assigned to the package for shipping.
Possible values: non-empty
An array of unique identification numbers assigned to the package for shipping.
Possible values: non-empty
The person or business who has provided services and found on the document. This is the same as server_name
.
Possible values: non-empty
Identifier for the person or business who has provided services. Typically 'Cashier Number' on receipts or 'Sales Manager Number' on invoices.
vendor object
Possible values: non-empty
An Australian Business Number (ABN) is a unique 11-digit number that identifies a business to the government and community and found on the document.
Possible values: [CZK
, NIO
, AMD
, MZN
, IDR
, FKP
, GTQ
, PAB
, PYG
, UZS
, SBD
, DKK
, ARS
, GIP
, MOP
, VND
, UAH
, KYD
, UYU
, BGN
, MVR
, USD
, HTG
, NZD
, CLP
, EGP
, BHD
, ZAR
, SRD
, CRC
, MYR
, CUP
, NOK
, ALL
, YER
, INR
, PKR
, GHC
, ILS
, DOP
, SEK
, LRD
, SGD
, LAK
, EUR
, ISK
, BZD
, PEN
, EEK
, KRW
, SCR
, PLN
, ZWD
, RUB
, HKD
, SYP
, QAR
, THB
, KGS
, GNF
, BSD
, AUD
, SAR
, MUR
, KHR
, LVL
, MXN
, HRK
, HNL
, CAD
, BAM
, SVC
, LBP
, IQD
, NPR
, TRY
, CNY
, MKD
, TRL
, BBD
, GGP
, JMD
, GBP
, HUF
, KPW
, LTL
, RSD
, BRL
, KZT
, TTD
, VEF
, FJD
, NAD
, LKR
, UGX
, RON
, AWG
, ANG
, BOB
, COP
, AFN
, BWP
, XCD
, SZL
, GYD
, BND
, SOS
, AZN
, IRR
, SHP
, TWD
, OMR
, IMP
, LSL
, BMD
, NGN
, KWD
, BYR
, MNT
, CHF
, JPY
, GEL
, AED
, PHP
, JEP
, TVD
]
The currency of the vendor bank account if indicated. Provides the ability to support multiple bank accounts for bill pay use cases, e.g., a separate bank account for you to pay in Euros and a separate to pay in US Dollars.
Possible values: non-empty
The vendor's bank account number.
Possible values: non-empty
The address of the vendor.
Possible values: non-empty
The vendor identification code in a payment system.
bank_breakdown object[]
A detailed list of banking information.
Possible values: [CZK
, NIO
, AMD
, MZN
, IDR
, FKP
, GTQ
, PAB
, PYG
, UZS
, SBD
, DKK
, ARS
, GIP
, MOP
, VND
, UAH
, KYD
, UYU
, BGN
, MVR
, USD
, HTG
, NZD
, CLP
, EGP
, BHD
, ZAR
, SRD
, CRC
, MYR
, CUP
, NOK
, ALL
, YER
, INR
, PKR
, GHC
, ILS
, DOP
, SEK
, LRD
, SGD
, LAK
, EUR
, ISK
, BZD
, PEN
, EEK
, KRW
, SCR
, PLN
, ZWD
, RUB
, HKD
, SYP
, QAR
, THB
, KGS
, GNF
, BSD
, AUD
, SAR
, MUR
, KHR
, LVL
, MXN
, HRK
, HNL
, CAD
, BAM
, SVC
, LBP
, IQD
, NPR
, TRY
, CNY
, MKD
, TRL
, BBD
, GGP
, JMD
, GBP
, HUF
, KPW
, LTL
, RSD
, BRL
, KZT
, TTD
, VEF
, FJD
, NAD
, LKR
, UGX
, RON
, AWG
, ANG
, BOB
, COP
, AFN
, BWP
, XCD
, SZL
, GYD
, BND
, SOS
, AZN
, IRR
, SHP
, TWD
, OMR
, IMP
, LSL
, BMD
, NGN
, KWD
, BYR
, MNT
, CHF
, JPY
, GEL
, AED
, PHP
, JEP
, TVD
]
Possible values: non-empty
Possible values: non-empty
The address of the vendor bank.
Possible values: non-empty
The name of the bank. Could be part of invoice remittance information.
Possible values: non-empty
The bank routing number. Could be part of invoice remittance information.
Possible values: non-empty
An array of bank routing numbers.
Possible values: non-empty
The Society for Worldwide Interbank Financial Telecommunication (SWIFT) code is part of the ISO 9362 standards for sending money internationally.
Possible values: non-empty
The International Bank Account Number (IBAN) is a standard international numbering system developed to identify an overseas bank account.
Possible values: non-empty
The name of the bank. Could be part of invoice remittance information.
Possible values: non-empty
The bank routing number. Could be part of invoice remittance information.
Possible values: non-empty
The Society for Worldwide Interbank Financial Telecommunication (SWIFT) code is part of the ISO 9362 standards for sending money internationally.
Possible values: non-empty
Same as vendor.type
Possible values: [BE
, GL
, MQ
, LC
, SJ
, IE
, YE
, KZ
, DO
, CA
, MH
, TJ
, GQ
, NZ
, IL
, AS
, LB
, DZ
, AU
, DJ
, AN
, CH
, FR
, LR
, RW
, FM
, CY
, KY
, SM
, BZ
, PY
, MT
, SH
, TG
, TK
, BM
, CL
, AF
, HN
, GW
, TH
, CM
, UY
, BN
, GE
, LT
, SE
, LS
, PM
, BW
, NI
, KH
, SK
, RO
, BS
, CC
, KI
, EE
, FK
, PA
, BB
, IM
, GT
, MU
, PN
, ST
, AG
, GG
, BF
, EH
, BH
, CV
, TF
, MM
, IO
, IT
, AZ
, NE
, MR
, SV
, IQ
, MO
, ZA
, TC
, UA
, UM
, ET
, CF
, MD
, MA
, RS
, MZ
, LV
, CU
, CD
, BD
, RU
, SD
, SB
, LI
, CZ
, SI
, KE
, BJ
, BR
, AQ
, CX
, FI
, GP
, IR
, TM
, VU
, JO
, ZM
, BV
, KN
, FJ
, KW
, PG
, HU
, IS
, US
, SZ
, LA
, MF
, NL
, UZ
, GR
, GD
, ML
, AT
, CO
, JM
, MW
, IN
, TO
, BY
, VE
, BO
, NO
, AE
, GY
, AO
, BI
, ID
, PS
, NF
, PE
, NR
, CN
, VN
, QA
, PL
, GS
, CR
, AR
, GF
, TL
, LK
, JE
, KG
, VA
, SL
, MV
, BT
, NG
, HM
, AI
, EC
, VI
, WS
, SO
, OM
, DK
, BG
, BA
, HR
, MY
, TD
, MX
, VG
, PW
, GB
, SR
, MS
, KM
, GH
, AW
, LU
, TV
, MK
, NA
, LY
, KP
, NU
, PH
, KR
, CI
, AM
, PK
, ER
, PR
, SC
, AD
, GM
, ME
, SG
, SN
, NC
, JP
, TZ
, AX
, NP
, CK
, ES
, MG
, EG
, FO
, GN
, UG
, ZW
, DE
, TN
, TW
, MN
, YT
, PT
, PF
, AL
, HK
, BL
, DM
, SA
, GU
, TR
, TT
, RE
, VC
, HT
, MP
, GA
, SY
, GI
, CG
, MC
, WF
]
The country code belonging to a vendor
Possible values: non-empty
The vendor's email address.
Possible values: non-empty
A custom identification value. Use this if you would like to assign your own ID to documents. This parameter is useful when mapping this document to a service or resource outside Veryfi.
external_ids object[]
A list of external ids.
Possible values: non-empty
The unique identifier of the external id.
Possible values: non-empty
The source of the external id.
Possible values: non-empty
The fax number of the vendor.
Possible values: non-empty
The International Bank Account Number (IBAN) is a standard international numbering system developed to identify an overseas bank account.
The latitude coordinates for the location of this vendor. This is an enriched parameter from a third-party resource not found in the document.
The longitude coordinates for the location of this vendor. This is an enriched parameter from a third-party resource not found in the document.
Possible values: non-empty
and <= 2083 characters
A URL to the vendor's logo. This is an enriched convenience parameter and is not found on the document.
Possible values: non-empty
and <= 2083 characters
A URL to the vendor's location on Google Maps. This is an enriched convenience parameter and is not found on the document.
Possible values: non-empty
The normalized name of the vendor.
parsed_address object
An object representing detailed address-related information on the document, such as the city, state, street address, unit number, etc. Returned if the original POST request had the parameter parse_address
set to true
and the address is found on the document.
The settlement including cities, towns, villages, hamlets, localities, etc.
The sovereign nations and their dependent territories, anything with an ISO-3166 code.
The detected ISO 3166-1 alpha-2 code for a given country.
The postal code used for mail sorting
A first-level administrative division. Scotland, Northern Ireland, Wales, and England in the UK are mapped to "state" as well
A sum of house_number
road, building, unit.
The venue name e.g. "Brooklyn Academy of Music", and building names e.g. "Empire State Building".
Usually refers to the external (street-facing) building number. In some countries this may be a compound, hyphenated number, which also includes an apartment number, or a block number (a la Japan).
Street name(s)
An apartment, unit, office, lot, or other secondary unit designator.
The expressions indicating a floor number e.g. "3rd Floor", "Ground Floor", etc.
Numbered/lettered staircase
Numbered/lettered entrance
The post office box, typically found in non-physical (mail-only) addresses.
An unofficial neighborhood name like "Harlem", "South Bronx", or "Crown Heights".
The boroughs or districts within a city that serve some official purpose e.g. "Brooklyn" or "Hackney" or "Bratislava IV".
Named islands e.g. "Maui"
Usually a second-level administrative division or county.
Informal subdivision of a country without any political status.
Only used for appending "West Indies" after the country name, a pattern frequently used in the English-speaking Caribbean e.g. "Jamaica, West Indies".
Possible values: non-empty
The phone number of the vendor.
Possible values: non-empty
The raw vendor address exactly as found on the document.
Possible values: non-empty
The raw vendor name exactly as found on the document.
Possible values: non-empty
The vendor registration number. In the U.S., this would be the Employer Identification Number (EIN).
type object required
The classification of the product. The vendor type predicted by Veryfi, e.g. Tax
.
string
string
Possible values: non-empty
The unique identification number for the order and set by the vendor. Typically found on invoices.
Possible values: non-empty
The value-added tax identification number (VAT) for this vendor and found on the document. VAT numbers can be found on European invoices.
Possible values: non-empty
The vendor's website address (URL).
Possible values: non-empty
An array of all found vendors by vendors.raw_name
, including those found with vendor.abn_number
and found on the document.
Possible values: non-empty
A vehicle identification number (VIN) is a unique code assigned to every motor vehicle when it's manufactured and found on the document.
Possible values: non-empty
An array of the weights found on the document.
{
"pdf_url": "string",
"id": 0,
"accounting_entry_type": "debit",
"created_date": "2024-05-12T09:03:24.118Z",
"custom_fields": {},
"duplicate_of": 0,
"exch_rate": 0,
"external_id": "string",
"img_blur": true,
"img_file_name": "string",
"img_url": "string",
"img_thumbnail_url": "string",
"is_approved": true,
"is_blurry": [
true
],
"is_document": true,
"is_duplicate": true,
"line_items": [
{
"id": 0,
"order": 0,
"tags": [
"string"
],
"text": "string",
"type": "room",
"date": "2024-05-12",
"description": "string",
"full_description": "string",
"normalized_description": "string",
"discount_price": 0,
"discount_rate": 0,
"discount": 0,
"price": 0,
"quantity": 0,
"reference": "string",
"section": "string",
"sku": "string",
"tax_rate": 0,
"tax": 0,
"total": 0,
"subtotal": 0,
"unit_of_measure": "string",
"category": "string",
"country_of_origin": "BE",
"custom_fields": {},
"product_details": [
{}
],
"end_date": "2024-05-12",
"gross_total": 0,
"hsn": "string",
"lot": "string",
"start_date": "2024-05-12",
"tax_code": "string",
"manufacturer": "string",
"net_total": 0,
"upc": "string",
"weight": "string"
}
],
"model": "string",
"notes": "string",
"ocr_text": "string",
"status": "in_progress",
"tags": [
"string"
],
"updated_date": "2024-05-12T09:03:24.120Z",
"warnings": [
"string"
],
"meta": {
"owner": "string",
"total_pages": 0,
"processed_pages": 0,
"pages": [
{
"height": 0,
"width": 0,
"language": [
"string"
],
"screenshot": {
"score": 0,
"type": "mobile_screenshot"
}
}
],
"source_documents": [
{
"size_kb": 0,
"height": 0,
"width": 0
}
],
"fraud": {
"attribution": "string",
"decision": "string",
"color": "green",
"pages": [
{
"is_lcd": {
"score": 0,
"value": true
}
}
],
"score": 0,
"version": "string",
"submissions": {}
},
"warnings": [
{
"type": "tax_rate_missmatch",
"message": "string"
}
],
"handwritten_fields": [
"string"
],
"device_id": "string",
"duplicates": [
{
"id": 0,
"url": "string",
"score": 0
}
],
"source": "api",
"language": [
"string"
]
},
"account_number": "string",
"balance": 0,
"barcodes": [
{
"data": "string",
"type": "string",
"bounding_region": [
0
]
}
],
"bill_to": {
"name": "string",
"address": "string",
"email": "string",
"parsed_address": {
"city": "string",
"country": "string",
"country_alpha_2": "string",
"postcode": "string",
"state": "string",
"street_address": "string",
"house": "string",
"house_number": "string",
"road": "string",
"unit": "string",
"level": "string",
"staircase": "string",
"entrance": "string",
"po_box": "string",
"suburb": "string",
"city_district": "string",
"island": "string",
"state_district": "string",
"country_region": "string",
"world_region": "string"
},
"phone_number": "string",
"reg_number": "string",
"vat_number": "string"
},
"cashback": "string",
"category": "string",
"currency_code": "CZK",
"date": "2024-05-12T09:03:24.122Z",
"default_category": "other",
"delivery_date": "2024-05-12T09:03:24.122Z",
"delivery_note_number": "string",
"discount": 0,
"document_type": "other",
"document_reference_number": "string",
"document_title": "string",
"due_date": "2024-05-12",
"final_balance": 0,
"guest_count": "string",
"incoterms": "string",
"insurance": 0,
"invoice_number": "string",
"is_money_in": true,
"license_plate_number": "string",
"order_date": "2024-05-12",
"payment": {
"card_number": "string",
"display_name": "string",
"terms": "string",
"type": "string"
},
"previous_balance": 0,
"purchase_order_number": "string",
"rounding": 0,
"server_name": "string",
"service_start_date": "2024-05-12",
"service_end_date": "2024-05-12",
"ship_date": "2024-05-12",
"ship_to": {
"address": "string",
"name": "string",
"parsed_address": {
"city": "string",
"country": "string",
"country_alpha_2": "string",
"postcode": "string",
"state": "string",
"street_address": "string",
"house": "string",
"house_number": "string",
"road": "string",
"unit": "string",
"level": "string",
"staircase": "string",
"entrance": "string",
"po_box": "string",
"suburb": "string",
"city_district": "string",
"island": "string",
"state_district": "string",
"country_region": "string",
"world_region": "string"
}
},
"shipping": 0,
"store_number": "string",
"subtotal": 0,
"tax": 0,
"tax_lines": [
{
"order": 0,
"name": "string",
"rate": 0,
"total": 0,
"base": 0,
"code": "string",
"total_inclusive": 0
}
],
"tip": 0,
"total": 0,
"total_quantity": 0,
"total_weight": "string",
"tracking_number": "string",
"tracking_numbers": [
"string"
],
"vending_person": "string",
"vending_person_number": "string",
"vendor": {
"abn_number": "string",
"account_currency": "CZK",
"account_number": "string",
"address": "string",
"biller_code": "string",
"bank_breakdown": [
{
"vendor_account_currency": "CZK",
"vendor_account_number": "string",
"vendor_bank_address": "string",
"vendor_bank_name": "string",
"vendor_bank_number": "string",
"vendor_bank_numbers": [
"string"
],
"vendor_bank_swift": "string",
"vendor_iban": "string"
}
],
"bank_name": "string",
"bank_number": "string",
"bank_swift": "string",
"country_code": "BE",
"email": "string",
"external_id": "string",
"external_ids": [
{
"id": "string",
"source": "string"
}
],
"fax_number": "string",
"iban": "string",
"lat": 0,
"lng": 0,
"logo": "string",
"map_url": "string",
"name": "string",
"parsed_address": {
"city": "string",
"country": "string",
"country_alpha_2": "string",
"postcode": "string",
"state": "string",
"street_address": "string",
"house": "string",
"house_number": "string",
"road": "string",
"unit": "string",
"level": "string",
"staircase": "string",
"entrance": "string",
"po_box": "string",
"suburb": "string",
"city_district": "string",
"island": "string",
"state_district": "string",
"country_region": "string",
"world_region": "string"
},
"phone_number": "string",
"raw_address": "string",
"raw_name": "string",
"reg_number": "string",
"type": "other",
"order_number": "string",
"vat_number": "string",
"web": "string"
},
"vendors": [
"string"
],
"vin_number": "string",
"weights": [
"string"
]
}
User error
- application/json
- Schema
- Example (from schema)
Schema
- MALFORMED_PARAMETERS
Default value: fail
Default value: Malformed parameters
Default value: [object Object]
{}
Not found
- application/json
- Schema
- Example (from schema)
Schema
- NOT_FOUND
- DOCUMENT_NOT_FOUND
Default value: fail
Default value: Not found.
Default value: fail
Default value: Document Not Found
{}
Rate limit
- application/json
- Schema
- Example (from schema)
Schema
- YOU_HAVE_BEEN_RATE_LIMITED
Default value: fail
Default value: You have been rate limited
Default value: [object Object]
{}
User error
- application/json
- Schema
- Example (from schema)
Schema
- CLIENT_CLOSED_REQUEST_OR_LOST_CONNECTION
Default value: fail
Default value: Client closed request or lost connection
{}
Service is temporaly unavailable
- application/json
- Schema
- Example (from schema)
Schema
- SERVICE_IS_TEMPORALY_UNAVAILABLE_PLEASE_TRY_AGAIN_LATER
Default value: fail
Default value: Service is temporaly unavailable. Please try again later
{}
OperationStatus
- application/json
- Schema
- Example (from schema)
Schema
Default value: fail
{
"error": "string",
"details": [
{}
],
"status": "fail"
}