Skip to main content

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

    document_id int64required

    The unique identifier of the document.

Body

    is_billable boolean

    The value indicating if the document is billable. This parameter is helpful in expense management use cases.

    is_approved boolean

    A user-defined flag that can be assigned to the Document object. This parameter is helpful in expense management use cases.

    is_duplicate boolean

    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.

    anyOf

    boolean

    is_transaction object

    This flag marks card slips as true.

    anyOf

    boolean

    account_number object

    The unique identifier of the customer assigned by the vendor.

    anyOf

    string

    balance object

    The invoice or bill balance.

    anyOf

    number

    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.

    anyOf

    number

    guest_count object

    The number of guests or seats extracted from the document.

    anyOf

    string

    license_plate_number object

    The vehicle license plate number.

    anyOf

    string

    previous_balance object

    The previous invoice balance.

    anyOf

    number

    category object
    anyOf

    string

    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.

    anyOf

    number

    country_code object

    The country code of a document, e.g. where it was issued or where the vendor provides services

    anyOf

    string

    currency_code object

    The currency code in ISO 4217 format.

    anyOf

    string

    delivery_note_number object

    New, added 2023-03-23.

    anyOf

    string

    discount object

    The amount deducted from the gross price.

    anyOf

    number

    document_reference_number object

    The identification number for the document. Commonly used to identify items for a particular customer.

    anyOf

    string

    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.

    anyOf

    string

    document_type object
    anyOf

    string

    exch_rate number

    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.

    external_id string

    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.

    anyOf

    string

    incoterms object

    The incoterms to specify who pays and manages the shipment, insurance, documentation, customs clearance, and other logistics.

    anyOf

    string

    insurance object

    The insurance cost. Typically found on invoices.

    anyOf

    number

    notes string

    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.

    anyOf

    string

    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.

    anyOf

    number

    shipping object

    The cost of shipping or delivery of a package.

    anyOf

    number

    status string

    Possible values: [processed, reviewed, archived]

    The value indicating the document's status.

    store_number object

    The subsidiaries, vendor, corporation, or organization identification number used for unique referencing.

    anyOf

    string

    subtotal object

    Total charges and credits before tip and tax, if applicable. This value is computable.

    anyOf

    number

    tax object

    The tax amount applied to the purchase(s). This value is computable.

    anyOf

    number

    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.

    anyOf

    number

    total object

    The gross amount, including subtotal, tax, fees, etc. This value is computable.

    anyOf

    number

    total_weight object

    The total weight of all items listed on the document. Typically found on invoices.

    anyOf

    string

    total_quantity object

    The total quantity of items found on the document. In most cases, this number equals the sum of line item quantities.

    anyOf

    number

    tracking_number object

    The unique identifier assigned to a package for referencing its shipping information.

    anyOf

    string

    tracking_numbers object

    An array of unique identification numbers assigned to packages for referencing shipping information.

    anyOf
  • Array [
  • string

  • ]
  • vending_person object

    The person or business who has provided services found on the document. This is the same as server_name.

    anyOf

    string

    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.

    anyOf

    string

    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.

    anyOf

    string

    date object

    Limit to past is 50 years, limit to future is 3 months

    anyOf

    string

    due_date object

    The date in ISO 8601 format. Typically found on invoices.

    anyOf

    string

    delivery_date object

    The date in ISO 8601 format. Typically found on invoices.

    anyOf

    string

    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.

    anyOf

    string

    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.

    anyOf

    string

    ship_date object

    The date when the order was or will be shipped in ISO 8601 format.

    anyOf

    string

    order_date object

    The date when the goods or services were ordered in ISO 8601 format.

    anyOf

    string

    line_items object[]

    A list of the products or services purchased or ordered on the submitted document.

  • Array [
  • category object

    The category is taken from the line item with the same SKU and/or description. Otherwise from the root category field.

    anyOf

    string

    country_of_origin object

    The country of manufacture, production, design, or brand origin where the product comes from.

    anyOf

    string

    date object

    The date found on the document and associated with the line item in ISO 8601 format.

    anyOf

    string

    description object

    The product or service's extracted name or description excluding date and price.

    anyOf

    string

    discount_price object

    The lower price after discount.

    anyOf

    number

    discount_rate object

    The discount percentage that was applied to the line item.

    anyOf

    number

    discount object

    The amount deducted from the total price for the line item.

    anyOf

    number

    end_date object

    A service end date identified for the line item in ISO 8601 format.

    anyOf

    string

    full_description object

    The item text including dates, weight, etc.

    anyOf

    string

    gross_total object

    The line item total before deductions.

    anyOf

    number

    hsn object

    The Harmonized System Nomenclature (HSN) found for the line item.

    anyOf

    string

    order integerrequired

    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.

    anyOf

    string

    net_total object

    The line item total after deductions.

    anyOf

    number

    normalized_description object

    The line item description with expanded words

    anyOf

    string

    price object

    The unit price for the line item.

    anyOf

    number

    quantity object

    The amount or number of units for the line item. This value is computable.

    anyOf

    number

    reference object
    anyOf

    string

    section object

    A grouping indicated by formatted text on the receipt or invoice.

    anyOf

    string

    sku object

    The Stock Keeping Unit (SKU) is the unique code associated with the product for the line item.

    anyOf

    string

    start_date object

    A service start date identified for the line item in ISO 8601 format.

    anyOf

    string

    tags string[]

    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.

    anyOf

    string

    manufacturer object

    The name of the manufacturer of the product for the line item.

    anyOf

    string

    tax_rate object

    The percent at which the individual or corporation is taxed for the line item.

    anyOf

    number

    tax object

    The amount at which the individual or corporation is taxed for the product on this line item.

    anyOf

    number

    text string

    Possible values: non-empty and <= 1000 characters

    The complete text returned for the line item, including prices, dates, etc.

    total object

    The total price for this line item. This value is computable.

    anyOf

    number

    subtotal object

    Total charges and credits before tip and tax, if applicable. This value is computable.

    anyOf

    number

    type object

    The classification of the product. The line type predicted by Veryfi, e.g. food.

    anyOf

    string

    unit_of_measure object

    The unit of measurement for this line item.

    anyOf

    string

    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.

    anyOf

    string

    weight object

    The weight of the item for the line item. Usually found on logistic invoices.

    anyOf

    string

    custom_fields object

    A user-defined dictionary that contains all the custom fields generated by applying specific rules and regular expressions to the extracted data.

    anyOf
  • ]
  • tax_lines object[]

    A detailed breakdown of tax elements usually found in a tax table.

  • Array [
  • base object

    The base amount of the tax applied.

    anyOf

    number

    name object

    The name of the sales tax type.

    anyOf

    string

    rate object

    The tax rate (percentage) applied to the base amount. This value is computable.

    anyOf

    number

    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.

    anyOf

    number

    code object

    The tax identification code.

    anyOf

    string

    total_inclusive object

    The base rate + tax amount.

    anyOf

    number

    order integerrequired

    The arrangement of tax lines in relation to each other.

  • ]
  • vendor object

    An object containing a detailed breakdown of vendor elements.

    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.

    anyOf

    string

    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.

    anyOf

    string

    account_number object

    The vendor's bank account number.

    anyOf

    string

    address object

    The address of the vendor.

    anyOf

    string

    bank_name object

    The name of the bank. Could be part of invoice remittance information.

    anyOf

    string

    bank_number object

    The bank routing number. Could be part of invoice remittance information.

    anyOf

    string

    bank_swift object

    The Society for Worldwide Interbank Financial Telecommunication (SWIFT) code is part of the ISO 9362 standards for sending money internationally.

    anyOf

    string

    biller_code object

    The vendor identification code in a payment system.

    anyOf

    string

    country_code object

    The country code belonging to a vendor

    anyOf

    string

    email object

    The vendor's email address.

    anyOf

    string

    fax_number object

    The fax number of the vendor.

    anyOf

    string

    iban object

    The International Bank Account Number (IBAN) is a standard international numbering system developed to identify an overseas bank account.

    anyOf

    string

    name object

    The normalized name of the vendor.

    anyOf

    string

    phone_number object

    The phone number of the vendor.

    anyOf

    string

    raw_address object

    The raw vendor address exactly as found on the document.

    anyOf

    string

    raw_name object

    The raw vendor name exactly as found on the document.

    anyOf

    string

    reg_number object

    The vendor registration number. In the U.S., this would be the Employer Identification Number (EIN). Does not include VAT (Europe) or EIN (US), which are recorded as vat_number.

    anyOf

    string

    type object
    anyOf

    string

    order_number object

    The unique identification number for the order and set by the vendor. Typically found on invoices.

    anyOf

    string

    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. For United States invoices, the Employer Identification Number (EIN) of the vendor.

    anyOf

    string

    web object

    The vendor's website address (URL).

    anyOf

    string

    bill_to object

    An object that describes a person or business that is billed for the amount found on the document.

    name object

    The name of the individual or business

    anyOf

    string

    address object

    The address of the individual or business

    anyOf

    string

    vat_number object

    The value-added tax identification number (VAT) for the payer and found on the document. VAT numbers can be found on European invoices. For United States invoices, the Employer Identification Number (EIN) of the payer.

    anyOf

    string

    email object
    anyOf

    string

    phone_number object
    anyOf

    string

    reg_number object
    anyOf

    string

    ship_to object

    An object that represents the information about a person or business receiving an order.

    name object

    The name of the individual or business

    anyOf

    string

    address object

    The address of the individual or business

    anyOf

    string

    custom_fields object

    A user-defined dictionary that contains all the custom fields generated by applying specific rules and regular expressions to the extracted data.

    anyOf
    payment object

    An object that represents detailed information about the payment method related to this document.

    terms object

    The terms on when and how to pay for goods or services. Typically found on invoices.

    anyOf

    string

    card_number object
    anyOf

    string

    type object

    The payment type found on the document.

    anyOf

    string

    tags string[]

    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.

    meta object
    fraud_review object

    Changes to the fraud decision or types

    decision string

    Possible values: [fraud, not fraud, unknown]

    The review decision for the document

    types string[]

    Possible values: [other, handwritten characters, digital tampering, generated document, LCD photo, screenshot, not a document, duplicate, high velocity, fraudulent pdf]

    What kind of fraud type

    fraud object

    Fraud detection results

    color string

    Possible values: [green, yellow, red]

    Color from Fraud Detector: green means legitimate, yellow means review needed and red means fraud

    digital_tampering_fields string[]

    Possible values: Value must match regular expression ^(ship_to_name|vendor_address|vendor_account_currency|balance|card_number|fax_number|previous_balance|discount|time|tip|vendor_reg_number|delivery|bill_to_email|tax_base|ship_to_address|summary_name|hsn|total_in_words|rounding|vendor_logo_name|tax_code|insurance|order_date|document_title|guest_count|vendor_web|vendor_bank_address|po_number|charge_name|abn_number|due_date|summary_total|incoterms|bill_to_vat_number|tracking_number|vendor_email|cashback|terms|total_weight|end_date|charge_total|end_time|store_number|total_currency_code|start_time|bill_to_reg_number|tax|vendor_bank_name|vendor_account_number|biller_code|phone_number|vending_person|invoice_number|delivery_note_number|start_date|vendor_iban|vending_person_number|bill_to_address|raw_vendor_name|date|bill_to_name|ship_date|bill_to_phone_number|tax_name|vendor_bank_number|reference|subtotal|final_balance|tax_rate|total|total_quantity|license_plate_number|delivery_date|account_number|vin_number|so_number|vendor_bank_swift|vat_number|line_items\.\d{1,4}\.(?:date|hsn|upc|coo|end_date|balance|tax_code|full_description|weight|discount_price|quantity|unit_of_measure|discount_rate|subtotal|sku|description|tax_rate|total|section|tax|mnf|discount|price|lot|taxes|start_date)|tax_breakdown\.\d{1,4}\.(?:tax_inclusive|tax|tax_code|tax_name|tax_base|tax_rate)|summary\.\d{1,4}\.(?:summary_name|summary_total)|bank_breakdown\.\d{1,4}\.(?:vendor_bank_address|vendor_bank_addresses|vendor_bank_name|vendor_account_number|vendor_account_currency|vendor_bank_numbers|vendor_bank_number|vendor_bank_names|vendor_iban|vendor_bank_swift))$

    List of fields which were digitally tampered. Does not work with the parameter boost_mode set to true.

    handwritten_fields string[]

    Possible values: Value must match regular expression ^(ship_to_name|vendor_address|vendor_account_currency|balance|card_number|fax_number|previous_balance|discount|time|tip|vendor_reg_number|delivery|bill_to_email|tax_base|ship_to_address|summary_name|hsn|total_in_words|rounding|vendor_logo_name|tax_code|insurance|order_date|document_title|guest_count|vendor_web|vendor_bank_address|po_number|charge_name|abn_number|due_date|summary_total|incoterms|bill_to_vat_number|tracking_number|vendor_email|cashback|terms|total_weight|end_date|charge_total|end_time|store_number|total_currency_code|start_time|bill_to_reg_number|tax|vendor_bank_name|vendor_account_number|biller_code|phone_number|vending_person|invoice_number|delivery_note_number|start_date|vendor_iban|vending_person_number|bill_to_address|raw_vendor_name|date|bill_to_name|ship_date|bill_to_phone_number|tax_name|vendor_bank_number|reference|subtotal|final_balance|tax_rate|total|total_quantity|license_plate_number|delivery_date|account_number|vin_number|so_number|vendor_bank_swift|vat_number|line_items\.\d{1,4}\.(?:date|hsn|upc|coo|end_date|balance|tax_code|full_description|weight|discount_price|quantity|unit_of_measure|discount_rate|subtotal|sku|description|tax_rate|total|section|tax|mnf|discount|price|lot|taxes|start_date)|tax_breakdown\.\d{1,4}\.(?:tax_inclusive|tax|tax_code|tax_name|tax_base|tax_rate)|summary\.\d{1,4}\.(?:summary_name|summary_total)|bank_breakdown\.\d{1,4}\.(?:vendor_bank_address|vendor_bank_addresses|vendor_bank_name|vendor_account_number|vendor_account_currency|vendor_bank_numbers|vendor_bank_number|vendor_bank_names|vendor_iban|vendor_bank_swift))$

    List of fields which were handwritten. Does not work with the parameter boost_mode set to true.

Responses

The processed document response. Fields with an asterisk will be returned. Contact support to enable any additional fields on your account.

Schema
    external_id string

    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.

    pdf_url uri

    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.

    id integerrequired

    The unique number created to identify the document.

    created_date date-time

    The date and time the invoice or receipt was first submitted and processed in ISO 8601 format.

    updated_date date-time

    The date and time when the last update was made to the Document object in ISO 8601 format.

    img_thumbnail_url uri

    Possible values: non-empty and <= 2083 characters

    A signed URL to access the auto-generated thumbnail created for the submitted document. This URL expires 15 minutes after the response object is returned and is resigned during every GET request.

    accounting_entry_type string

    Possible values: [debit, credit]

    Classifies the document as credit or debit for accounting purposes.

    custom_fields object

    A user-defined dictionary that contains all the custom fields generated by applying specific rules and regular expressions to the extracted data.

    duplicate_of integer

    The ID of the first unique Document. This Document has been identified as a duplicate of another Document.

    exch_rate number

    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.

    img_blur booleandeprecated

    The value indicating whether or not the image taken with the Lens SDK is blurry. Please use meta.pages.is_blurry instead

    img_file_name string

    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.

    img_url uri

    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.

    is_approved boolean

    A user-defined flag that can be assigned to the Document object. This parameter is helpful in expense management use cases.

    is_blurry boolean[]deprecated

    Deprecated. Please use meta.pages.is_blurry instead

    is_document boolean

    The value indicating whether or not the image submitted for processing is a receipt, invoice, or another supported document type.

    is_duplicate boolean

    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.

  • Array [
  • id integerrequired

    The unique number created to identify the Line Item object.

    order integerrequired

    The value indicating the position of where the line item appears on the document.

    tags string[]

    Possible values: non-empty

    A user-defined list of identifiers that help to categorize or flag particular types of line items.

    text stringrequired

    Possible values: non-empty and <= 1000 characters

    The complete text returned for the line item, including prices, dates, etc.

    type stringrequired

    Possible values: [room, tax, parking, service, fee, delivery, product, food, alcohol, tobacco, transportation, fuel, refund, discount, payment, giftcard, donation, toll, lottery]

    The classification of the product. The line type predicted by Veryfi, e.g. food.

    product_info object

    Line item extra product info

    anyOf
    expanded_description stringrequired

    Possible values: non-empty

    brand stringrequired

    Possible values: non-empty

    category string[]required

    Possible values: non-empty

    date date

    The date found on the document and associated with the line item in ISO 8601 format.

    description stringrequired

    Possible values: non-empty and <= 1000 characters

    The product or service's extracted name or description excluding date and price.

    full_description string

    Possible values: non-empty and <= 1000 characters

    The item text including dates, weight, etc.

    normalized_description string

    Possible values: non-empty

    The line item description with expanded words

    discount_price number

    The lower price after discount.

    discount_rate number

    The discount percentage that was applied to the line item.

    discount number

    The amount deducted from the total price for the line item.

    price number

    The unit price for the line item.

    quantity number

    The amount or number of units for the line item. This value is computable.

    reference string

    Possible values: non-empty

    section string

    Possible values: non-empty

    A grouping indicated by formatted text on the receipt or invoice.

    sku string

    Possible values: non-empty

    The Stock Keeping Unit (SKU) is the unique code associated with the product for the line item.

    tax_rate number

    The percent at which the individual or corporation is taxed for the line item.

    tax number

    The amount at which the individual or corporation is taxed for the product on this line item.

    total number

    The total price for this line item. This value is computable.

    subtotal number

    Total charges and credits before tip and tax, if applicable. This value is computable.

    unit_of_measure string

    Possible values: non-empty

    The unit of measurement for this line item.

    category string

    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.

    country_of_origin string

    Possible values: [CF, PW, CA, TD, GP, MH, MO, EE, CG, FJ, BS, NP, CI, LC, NR, IT, DO, ST, SC, UG, MA, IO, CD, BY, PN, KG, TK, CC, TF, MM, RU, SR, GB, BO, GW, IL, TM, CX, JM, GH, AS, AU, NF, LT, AZ, KP, SY, BV, KM, MT, CV, NU, MY, SK, CH, PL, BI, GL, IR, NA, LR, SA, BA, LS, AG, VI, VU, JP, TG, KN, UA, IS, IN, GQ, MG, LU, GG, YE, AX, GR, BE, EC, FO, GU, GN, MX, NE, PA, GS, TO, EH, KE, TJ, KI, SM, TN, MR, UY, IE, BH, NL, AT, NI, PR, DK, HR, MD, CY, JE, KR, AD, AO, CO, GD, LB, GT, MU, TC, ER, NO, IM, MP, MK, TV, FM, UM, HN, NG, FK, CN, HT, NC, UZ, RS, AF, BM, PE, AI, TT, GY, MC, BG, WS, CL, RO, MZ, AE, DJ, MN, GM, LK, SE, AL, KH, DE, HM, YT, VC, MF, WF, ZA, BF, DM, IQ, TW, US, DZ, KZ, SH, CZ, PF, GF, RE, BT, ZW, SZ, TR, PY, FI, BB, LA, CM, BL, SV, GE, CR, FR, MS, BZ, SB, SJ, PH, BW, BR, JO, HU, SN, HK, SI, MW, CU, AN, CK, LV, ID, GI, SO, AW, PS, LI, TH, ET, ME, VE, VA, AR, KW, NZ, VG, AQ, GA, SG, ML, QA, SL, SD, PM, AM, EG, ES, RW, PK, LY, ZM, MQ, OM, TZ, TL, PG, VN, MV, KY, BN, PT, BD, BJ]

    The country of manufacture, production, design, or brand origin where the product comes from.

    custom_fields object

    A user-defined dictionary that contains all the custom fields generated by applying specific rules and regular expressions to the extracted data.

    product_details object[]

    Product lookup details

  • Array [
  • avg_price numberrequired

    The average price of the product

    brand stringrequired

    Possible values: non-empty

    The brand name of the product

    ean stringrequired

    Possible values: non-empty

    European Article Number (EAN) of the product

    extra_fields objectrequired

    Additional fields for the product details

    property name* any

    Additional fields for the product details

    gtin_14 stringrequired

    Possible values: non-empty

    Global Trade Item Number (GTIN-14) of the product

    match_score numberrequired

    Possible values: <= 1

    The match score of the product

    image stringrequired

    Possible values: non-empty

    The image URL of the product

    image_url stringrequired

    Possible values: non-empty

    Alternative field for the image URL of the product

    product_name stringrequired

    Possible values: non-empty

    The name of the product

    segment stringrequired

    Possible values: non-empty

    The market segment of the product

    veryn stringrequired

    Possible values: non-empty

    The veryn identifier of the product

  • ]
  • end_date date

    A service end date identified for the line item in ISO 8601 format.

    gross_total number

    The line item total before deductions.

    hsn string

    Possible values: non-empty

    The Harmonized System Nomenclature (HSN) found for the line item.

    lot string

    Possible values: non-empty

    The batch or lot number for the line item.

    start_date date

    A service start date identified for the line item in ISO 8601 format.

    tax_code string

    Possible values: non-empty

    The classification of goods and services for tax purposes for the line item.

    manufacturer string

    Possible values: non-empty

    The name of the manufacturer of the product for the line item.

    net_total number

    The line item total after deductions.

    upc string

    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.

    weight string

    Possible values: non-empty

    The weight of the item for the line item. Usually found on logistic invoices.

  • ]
  • tax_lines object[]

    A detailed breakdown of tax elements usually found in a tax table.

  • Array [
  • order integerrequired

    The arrangement of tax lines in relation to each other.

    name stringrequired

    Possible values: non-empty

    The name of the sales tax type.

    rate numberrequired

    The tax rate (percentage) applied to the base amount. This value is computable.

    total numberrequired

    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.

    base numberrequired

    The base amount of the tax applied.

    code string

    Possible values: non-empty

    The tax identification code.

    total_inclusive number

    The base rate + tax amount.

  • ]
  • model string

    Possible values: non-empty

    The data extraction model version number that was used to process the document.

    notes string

    Possible values: non-empty

    A user-defined text field that can be used to add any additional document-level information.

    ocr_text string

    The text returned from converting the document into a machine-readable text format.

    payment_links string[]

    Possible values: non-empty

    Document payments links, included pdf hidden links

    reference_number stringdeprecated

    Possible values: non-empty

    Deprecated. Use id.

    status string

    Possible values: [processed, reviewed, archived]

    The value indicating the document's status.

    tags object[]

    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.

  • Array [
  • id integerrequired

    The ID of the tag.

    name stringrequired

    Possible values: non-empty

    The name of the tag.

  • ]
  • total_pages integerdeprecated

    Deprecated. Use meta.total_pages.

    warnings string[]

    Possible values: non-empty

    An array of insights that highlight unusual behavior found on a document.

    meta object

    An object that describes document-related metadata information such as total pages found and the likelihood of fraud found on the document.

    owner stringrequired

    Possible values: non-empty

    The API username for the account that processed the document.

    total_pages integerrequired

    The total number of pages found in the submitted document.

    processed_pages integerrequired

    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

  • Array [
  • height integerrequired
    width integerrequired
    language object[]required

    Page languages in BCP-47 language tag, starting with the most confident prediction.

  • Array [
  • anyOf

    string

  • ]
  • screenshot object
    score number

    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.

    type stringrequired

    Possible values: [mobile_screenshot, other_screenshot, ai_generated]

    The predicted value of the screenshot type if the document is a screenshot.

    is_blurry object

    The processed page is blurry or not

    score number

    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.

    value booleanrequired

    The extracted value.

  • ]
  • source_documents object[]required

    An array containing meta info about originally submitted documents

  • Array [
  • size_kb integerrequired
    height integerrequired
    width integerrequired
    exif object

    EXIF data from the source document

    property name* any

    EXIF data from the source document

  • ]
  • fraud object

    An object that contains additional information to help check for fraud. Does not work with the parameter boost_mode set to true.

    attribution string

    Possible values: non-empty

    Attribution of Fraud Detector's decision

    decision string

    Possible values: non-empty

    Fraud Detector's decision

    color string

    Possible values: [green, yellow, red]

    Color from Fraud Detector: green means legitimate, yellow means review needed and red means fraud

    pages object[]

    An array containing fraud info about each extracted page

  • Array [
  • anyOf
    is_lcd object
    score number

    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.

    value booleanrequired

    The extracted value.

  • ]
  • images object[]deprecated

    deprecated and will be removed at 2023-11-10. Use meta.fraud.pages instead

  • Array [
  • anyOf
    score number

    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.

    is_lcd boolean

    The value indicating whether or not the image is a picture of an LCD screen.

  • ]
  • score number

    Possible values: <= 1

    Confidence of Fraud Detector in it's prediction

    version string

    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

    The amount of submissions from specific device id.

    property name* integer
    fraudulent_pdf object

    Results of the pdf analysis.

    property name* number
    types string[]

    Possible values: [other, handwritten characters, digital tampering, generated document, LCD photo, screenshot, not a document, duplicate, high velocity, fraudulent pdf, critical velocity, similar documents, multiple profiles or devices, fraud history, emulated device, blocked device]

    Default value: ``

    List of attributions which marked the document as fraud

    digital_tampering_fields string[]

    Possible values: Value must match regular expression ^(ship_to_name|vendor_address|vendor_account_currency|balance|card_number|fax_number|previous_balance|discount|time|tip|vendor_reg_number|delivery|bill_to_email|tax_base|ship_to_address|summary_name|hsn|total_in_words|rounding|vendor_logo_name|tax_code|insurance|order_date|document_title|guest_count|vendor_web|vendor_bank_address|po_number|charge_name|abn_number|due_date|summary_total|incoterms|bill_to_vat_number|tracking_number|vendor_email|cashback|terms|total_weight|end_date|charge_total|end_time|store_number|total_currency_code|start_time|bill_to_reg_number|tax|vendor_bank_name|vendor_account_number|biller_code|phone_number|vending_person|invoice_number|delivery_note_number|start_date|vendor_iban|vending_person_number|bill_to_address|raw_vendor_name|date|bill_to_name|ship_date|bill_to_phone_number|tax_name|vendor_bank_number|reference|subtotal|final_balance|tax_rate|total|total_quantity|license_plate_number|delivery_date|account_number|vin_number|so_number|vendor_bank_swift|vat_number|line_items\.\d{1,4}\.(?:date|hsn|upc|coo|end_date|balance|tax_code|full_description|weight|discount_price|quantity|unit_of_measure|discount_rate|subtotal|sku|description|tax_rate|total|section|tax|mnf|discount|price|lot|taxes|start_date)|tax_breakdown\.\d{1,4}\.(?:tax_inclusive|tax|tax_code|tax_name|tax_base|tax_rate)|summary\.\d{1,4}\.(?:summary_name|summary_total)|bank_breakdown\.\d{1,4}\.(?:vendor_bank_address|vendor_bank_addresses|vendor_bank_name|vendor_account_number|vendor_account_currency|vendor_bank_numbers|vendor_bank_number|vendor_bank_names|vendor_iban|vendor_bank_swift))$

    List of fields which were digitally tampered. Does not work with the parameter boost_mode set to true.

    fraud_review object

    An object that contains information about the fraud review.

    decision string

    Possible values: [fraud, not fraud, unknown]

    The review decision for the document

    types string[]

    Possible values: [other, handwritten characters, digital tampering, generated document, LCD photo, screenshot, not a document, duplicate, high velocity, fraudulent pdf]

    Default value: ``

    What kind of fraud type

    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.

  • Array [
  • type stringrequired

    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.

    message stringrequired

    Possible values: non-empty

    The detailed message about the warning.

  • ]
  • handwritten_fields string[]

    Possible values: Value must match regular expression ^(ship_to_name|vendor_address|vendor_account_currency|balance|card_number|fax_number|previous_balance|discount|time|tip|vendor_reg_number|delivery|bill_to_email|tax_base|ship_to_address|summary_name|hsn|total_in_words|rounding|vendor_logo_name|tax_code|insurance|order_date|document_title|guest_count|vendor_web|vendor_bank_address|po_number|charge_name|abn_number|due_date|summary_total|incoterms|bill_to_vat_number|tracking_number|vendor_email|cashback|terms|total_weight|end_date|charge_total|end_time|store_number|total_currency_code|start_time|bill_to_reg_number|tax|vendor_bank_name|vendor_account_number|biller_code|phone_number|vending_person|invoice_number|delivery_note_number|start_date|vendor_iban|vending_person_number|bill_to_address|raw_vendor_name|date|bill_to_name|ship_date|bill_to_phone_number|tax_name|vendor_bank_number|reference|subtotal|final_balance|tax_rate|total|total_quantity|license_plate_number|delivery_date|account_number|vin_number|so_number|vendor_bank_swift|vat_number|line_items\.\d{1,4}\.(?:date|hsn|upc|coo|end_date|balance|tax_code|full_description|weight|discount_price|quantity|unit_of_measure|discount_rate|subtotal|sku|description|tax_rate|total|section|tax|mnf|discount|price|lot|taxes|start_date)|tax_breakdown\.\d{1,4}\.(?:tax_inclusive|tax|tax_code|tax_name|tax_base|tax_rate)|summary\.\d{1,4}\.(?:summary_name|summary_total)|bank_breakdown\.\d{1,4}\.(?:vendor_bank_address|vendor_bank_addresses|vendor_bank_name|vendor_account_number|vendor_account_currency|vendor_bank_numbers|vendor_bank_number|vendor_bank_names|vendor_iban|vendor_bank_swift))$

    List of fields which were handwritten. Does not work with the parameter boost_mode set to true.

    device_id string

    Possible values: Value must match regular expression ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$

    Fingerprint of the device used to process the document.

    device_user_uuid string

    Possible values: Value must match regular expression ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$

    Fingerprint of the user who processed the document on a particular device.

    duplicates object[]

    A list of 10 closest matches

  • Array [
  • id integerrequired
    url urirequired

    Possible values: non-empty and <= 2083 characters

    score numberrequired

    Possible values: <= 1

    How close is the match

  • ]
  • source string

    Possible values: [api.email, api.web, api, lens.bill, lens.invoice, lens.long_receipt, lens.other, lens.receipt, lens.web, lens]

    Default value: api

    The source of the document's submission for processing.

    language object[]required

    Document languages in BCP-47 language tag, starting with the most confident prediction.

  • Array [
  • anyOf

    string

  • ]
  • ocr_score numberrequired

    Possible values: <= 1

    The average OCR score of the whole document.

    account_number string

    Possible values: non-empty

    The unique identifier of the customer assigned by the vendor.

    balance number

    The invoice or bill balance.

    barcodes object[]

    An array of barcodes extracted from the document if found.

  • Array [
  • data string

    Possible values: non-empty

    The machine-readable representation of the barcode found on the document.

    type string

    Possible values: non-empty

    The name of the encoding for the barcode. Supported types include: QR Code, PDF417, EAN, UPC, Code128, Code39, I25

  • ]
  • bill_to object

    An object that describes a person or business that is billed for the amount found on the document.

    name string

    Possible values: non-empty

    The name of the individual or business

    address string

    Possible values: non-empty

    The address of the individual or business

    email string

    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. Filled in the original POST request had the parameter parse_address set to true and the corresponding address is found on the document.

    building string

    Possible values: non-empty

    The building name e.g. 'Project 8' or 'Empire State Building'

    city string

    Possible values: non-empty

    The settlement including cities, towns, villages, hamlets, localities, etc.

    country string

    Possible values: non-empty

    The sovereign nations and their dependent territories, anything with an ISO-3166 code.

    country_alpha_2 string

    Possible values: non-empty

    The detected ISO 3166-1 alpha-2 code for a given country.

    postcode string

    Possible values: non-empty

    The postal code used for mail sorting

    state string

    Possible values: non-empty

    A first-level administrative division. Scotland, Northern Ireland, Wales, and England in the UK are mapped to "state" as well

    street_address string

    Possible values: non-empty

    A sum of house_number road, building, unit.

    house string

    Possible values: non-empty

    The venue name e.g. "Brooklyn Academy of Music", and building names e.g. "Empire State Building".

    house_number string

    Possible values: non-empty

    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).

    road string

    Possible values: non-empty

    Street name(s)

    unit string

    Possible values: non-empty

    An apartment, unit, office, lot, or other secondary unit designator.

    level string

    Possible values: non-empty

    The expressions indicating a floor number e.g. "3rd Floor", "Ground Floor", etc.

    staircase string

    Possible values: non-empty

    Numbered/lettered staircase

    entrance string

    Possible values: non-empty

    Numbered/lettered entrance

    po_box string

    Possible values: non-empty

    The post office box, typically found in non-physical (mail-only) addresses.

    suburb string

    Possible values: non-empty

    An unofficial neighborhood name like "Harlem", "South Bronx", or "Crown Heights".

    city_district string

    Possible values: non-empty

    The boroughs or districts within a city that serve some official purpose e.g. "Brooklyn" or "Hackney" or "Bratislava IV".

    island string

    Possible values: non-empty

    Named islands e.g. "Maui"

    state_district string

    Possible values: non-empty

    Usually a second-level administrative division or county.

    country_region string

    Possible values: non-empty

    Informal subdivision of a country without any political status.

    world_region string

    Possible values: non-empty

    Only used for appending "West Indies" after the country name, a pattern frequently used in the English-speaking Caribbean e.g. "Jamaica, West Indies".

    phone_number string

    Possible values: non-empty

    The payer's phone number found in the billing section of the document.

    reg_number string

    Possible values: non-empty

    The payer's registration number found in the billing section of the document.

    vat_number string

    Possible values: non-empty

    The value-added tax identification number (VAT) for the payer and found on the document. VAT numbers can be found on European invoices. For United States invoices, the Employer Identification Number (EIN) of the payer.

    cashback string

    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.

    category string

    Possible values: non-empty

    A category predicted from sent categories, user categories or default ones.

    country_code string

    Possible values: [CF, PW, CA, TD, GP, MH, MO, EE, CG, FJ, BS, NP, CI, LC, NR, IT, DO, ST, SC, UG, MA, IO, CD, BY, PN, KG, TK, CC, TF, MM, RU, SR, GB, BO, GW, IL, TM, CX, JM, GH, AS, AU, NF, LT, AZ, KP, SY, BV, KM, MT, CV, NU, MY, SK, CH, PL, BI, GL, IR, NA, LR, SA, BA, LS, AG, VI, VU, JP, TG, KN, UA, IS, IN, GQ, MG, LU, GG, YE, AX, GR, BE, EC, FO, GU, GN, MX, NE, PA, GS, TO, EH, KE, TJ, KI, SM, TN, MR, UY, IE, BH, NL, AT, NI, PR, DK, HR, MD, CY, JE, KR, AD, AO, CO, GD, LB, GT, MU, TC, ER, NO, IM, MP, MK, TV, FM, UM, HN, NG, FK, CN, HT, NC, UZ, RS, AF, BM, PE, AI, TT, GY, MC, BG, WS, CL, RO, MZ, AE, DJ, MN, GM, LK, SE, AL, KH, DE, HM, YT, VC, MF, WF, ZA, BF, DM, IQ, TW, US, DZ, KZ, SH, CZ, PF, GF, RE, BT, ZW, SZ, TR, PY, FI, BB, LA, CM, BL, SV, GE, CR, FR, MS, BZ, SB, SJ, PH, BW, BR, JO, HU, SN, HK, SI, MW, CU, AN, CK, LV, ID, GI, SO, AW, PS, LI, TH, ET, ME, VE, VA, AR, KW, NZ, VG, AQ, GA, SG, ML, QA, SL, SD, PM, AM, EG, ES, RW, PK, LY, ZM, MQ, OM, TZ, TL, PG, VN, MV, KY, BN, PT, BD, BJ]

    The country code of a document, e.g. where it was issued or where the vendor provides services

    currency_code string

    Possible values: [AUD, USD, UYU, QAR, SRD, CAD, CZK, GHC, HTG, RUB, ISK, ILS, UGX, CRC, KYD, MZN, IRR, THB, BMD, BWP, AZN, JPY, KZT, LKR, KWD, JEP, BBD, CNY, UAH, LSL, HKD, LBP, RON, ALL, AED, ARS, MXN, VEF, EEK, DKK, GIP, IQD, NGN, CUP, LRD, KRW, OMR, PKR, IDR, JMD, SHP, FJD, XCD, BHD, UZS, RSD, NZD, SEK, SZL, MNT, SGD, MUR, HRK, HNL, HUF, MVR, PAB, EGP, LAK, IMP, MYR, BND, AWG, SCR, AFN, BYR, KHR, SAR, EUR, KGS, PYG, CHF, GEL, PHP, BGN, YER, GTQ, INR, NOK, BOB, SOS, MKD, TWD, VND, TRL, GNF, TVD, PEN, FKP, ZAR, GBP, COP, NAD, BSD, ZWD, TRY, GGP, BZD, DOP, BAM, BRL, AMD, LVL, GYD, NPR, TTD, KPW, LTL, SYP, NIO, ANG, CLP, PLN, SBD, SVC, MOP]

    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.

    date date-time

    The date and time found on the document in ISO 8601 format. This value is computable.

    default_category string

    Possible values: [other, Job Supplies, Meals & Entertainment, Travel, Automotive, Office Supplies & Software, Food and Groceries, Gifts & Donations, Transportation, Repairs & Maintenance, Utilities, Advertising & Marketing, Legal & Professional Services, Payroll Expenses, Contractors, Rent & Lease, Insurance, Taxes & Licenses, Bank Charges & Fees, Healthcare, Postage & Delivery, Clothing & Shoes, Household, Interest Paid, Training & Education, Dues and Subscriptions]

    delivery_date date-time

    The date of an order's delivery in ISO 8601 format. Typically found on invoices.

    delivery_note_number string

    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'.

    discount number

    The amount deducted from the gross price.

    document_type string

    Possible values: [other, receipt, invoice, statement, purchase_order, check, w9, packing_slip, contract, w8, remittance_advice]

    document_reference_number string

    Possible values: non-empty

    The identification number for the document. Commonly used to identify items for a particular customer.

    document_title string

    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.

    due_date date

    The date and time the payment is due for an invoice in ISO 8601 format. This value is computable.

    final_balance number

    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.

    guest_count string

    Possible values: non-empty

    The number of guests or seats extracted from the document.

    incoterms string

    Possible values: non-empty

    The incoterms to specify who pays and manages the shipment, insurance, documentation, customs clearance, and other logistics.

    insurance number

    The insurance cost. Typically found on invoices.

    invoice_number string

    Possible values: non-empty

    The identification number for the document. Typically found on invoices.

    is_money_in boolean

    This parameter is used in the Expense Management application. The value is true if the document has a refund or credit note.

    is_transaction boolean

    This flag marks card slips as true.

    license_plate_number string

    Possible values: non-empty

    The vehicle license plate number.

    order_date date

    The date when the goods or services were ordered in ISO 8601 format.

    payment object

    An object that represents detailed information about the payment method related to this document.

    card_number string

    Possible values: non-empty

    The last found digits of a credit or debit card number found on the document.

    display_name string

    Possible values: non-empty

    The card type plus the last four digits of the card number found on the document.

    terms string

    Possible values: non-empty

    The terms on when and how to pay found on the document. Typically found on invoices.

    type string

    Possible values: [none, master_card, visa, cash, american_express, interac, other, maestro, bancontact, discover, girocard, paypal, applepay, bancomat, octopus, check, bankaxept, card, waon, mada, jcb, bank-to-bank_transfer_bacs, wechat, alipay, pix, unionpay, rupay, bpay, shopeepay, googlepay, giftcard, paypay]

    The payment type found on the document.

    previous_balance number

    The previous invoice balance.

    purchase_order_number string

    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.

    rounding number

    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.

    server_name string

    Possible values: non-empty

    The restaurant's server name.

    service_start_date date

    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.

    service_end_date date

    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.

    ship_date date

    The date when the order was or will be shipped in ISO 8601 format.

    ship_to object

    An object that represents the information about a person or business receiving an order.

    address string

    Possible values: non-empty

    The delivery address found on the document.

    name string

    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. Filled in the original POST request had the parameter parse_address set to true and the corresponding address is found on the document.

    building string

    Possible values: non-empty

    The building name e.g. 'Project 8' or 'Empire State Building'

    city string

    Possible values: non-empty

    The settlement including cities, towns, villages, hamlets, localities, etc.

    country string

    Possible values: non-empty

    The sovereign nations and their dependent territories, anything with an ISO-3166 code.

    country_alpha_2 string

    Possible values: non-empty

    The detected ISO 3166-1 alpha-2 code for a given country.

    postcode string

    Possible values: non-empty

    The postal code used for mail sorting

    state string

    Possible values: non-empty

    A first-level administrative division. Scotland, Northern Ireland, Wales, and England in the UK are mapped to "state" as well

    street_address string

    Possible values: non-empty

    A sum of house_number road, building, unit.

    house string

    Possible values: non-empty

    The venue name e.g. "Brooklyn Academy of Music", and building names e.g. "Empire State Building".

    house_number string

    Possible values: non-empty

    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).

    road string

    Possible values: non-empty

    Street name(s)

    unit string

    Possible values: non-empty

    An apartment, unit, office, lot, or other secondary unit designator.

    level string

    Possible values: non-empty

    The expressions indicating a floor number e.g. "3rd Floor", "Ground Floor", etc.

    staircase string

    Possible values: non-empty

    Numbered/lettered staircase

    entrance string

    Possible values: non-empty

    Numbered/lettered entrance

    po_box string

    Possible values: non-empty

    The post office box, typically found in non-physical (mail-only) addresses.

    suburb string

    Possible values: non-empty

    An unofficial neighborhood name like "Harlem", "South Bronx", or "Crown Heights".

    city_district string

    Possible values: non-empty

    The boroughs or districts within a city that serve some official purpose e.g. "Brooklyn" or "Hackney" or "Bratislava IV".

    island string

    Possible values: non-empty

    Named islands e.g. "Maui"

    state_district string

    Possible values: non-empty

    Usually a second-level administrative division or county.

    country_region string

    Possible values: non-empty

    Informal subdivision of a country without any political status.

    world_region string

    Possible values: non-empty

    Only used for appending "West Indies" after the country name, a pattern frequently used in the English-speaking Caribbean e.g. "Jamaica, West Indies".

    shipping number

    The cost of shipping or delivery of a package.

    store_number string

    Possible values: non-empty

    The subsidiaries, vendor, corporation, or organization identification number used for unique referencing.

    subtotal number

    Total charges and credits before tip and tax, if applicable. This value is computable.

    tax number

    The tax amount applied to the purchase(s). This value is computable.

    tip number

    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.

    total number

    The gross amount, including subtotal, tax, fees, etc. This value is computable.

    total_quantity number

    The total quantity of items found on the document. In most cases, this number equals the sum of line item quantities.

    total_weight string

    Possible values: non-empty

    The total weight of all items listed on the document. Typically found on invoices.

    tracking_number string

    Possible values: non-empty

    The unique identifier assigned to a package for referencing its shipping information.

    tracking_numbers object[]

    An array of unique identification numbers assigned to packages for referencing shipping information.

  • Array [
  • anyOf

    string

  • ]
  • vending_person string

    Possible values: non-empty

    The person or business who has provided services found on the document. This is the same as server_name.

    vending_person_number string

    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

    An object containing a detailed breakdown of vendor elements.

    abn_number string

    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.

    account_currency string

    Possible values: [AUD, USD, UYU, QAR, SRD, CAD, CZK, GHC, HTG, RUB, ISK, ILS, UGX, CRC, KYD, MZN, IRR, THB, BMD, BWP, AZN, JPY, KZT, LKR, KWD, JEP, BBD, CNY, UAH, LSL, HKD, LBP, RON, ALL, AED, ARS, MXN, VEF, EEK, DKK, GIP, IQD, NGN, CUP, LRD, KRW, OMR, PKR, IDR, JMD, SHP, FJD, XCD, BHD, UZS, RSD, NZD, SEK, SZL, MNT, SGD, MUR, HRK, HNL, HUF, MVR, PAB, EGP, LAK, IMP, MYR, BND, AWG, SCR, AFN, BYR, KHR, SAR, EUR, KGS, PYG, CHF, GEL, PHP, BGN, YER, GTQ, INR, NOK, BOB, SOS, MKD, TWD, VND, TRL, GNF, TVD, PEN, FKP, ZAR, GBP, COP, NAD, BSD, ZWD, TRY, GGP, BZD, DOP, BAM, BRL, AMD, LVL, GYD, NPR, TTD, KPW, LTL, SYP, NIO, ANG, CLP, PLN, SBD, SVC, MOP]

    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.

    account_number string

    Possible values: non-empty

    The vendor's bank account number.

    address string

    Possible values: non-empty

    The address of the vendor.

    biller_code string

    Possible values: non-empty

    The vendor identification code in a payment system.

    bank_breakdown object[]

    A detailed list of banking information.

  • Array [
  • vendor_account_currency string

    Possible values: [AUD, USD, UYU, QAR, SRD, CAD, CZK, GHC, HTG, RUB, ISK, ILS, UGX, CRC, KYD, MZN, IRR, THB, BMD, BWP, AZN, JPY, KZT, LKR, KWD, JEP, BBD, CNY, UAH, LSL, HKD, LBP, RON, ALL, AED, ARS, MXN, VEF, EEK, DKK, GIP, IQD, NGN, CUP, LRD, KRW, OMR, PKR, IDR, JMD, SHP, FJD, XCD, BHD, UZS, RSD, NZD, SEK, SZL, MNT, SGD, MUR, HRK, HNL, HUF, MVR, PAB, EGP, LAK, IMP, MYR, BND, AWG, SCR, AFN, BYR, KHR, SAR, EUR, KGS, PYG, CHF, GEL, PHP, BGN, YER, GTQ, INR, NOK, BOB, SOS, MKD, TWD, VND, TRL, GNF, TVD, PEN, FKP, ZAR, GBP, COP, NAD, BSD, ZWD, TRY, GGP, BZD, DOP, BAM, BRL, AMD, LVL, GYD, NPR, TTD, KPW, LTL, SYP, NIO, ANG, CLP, PLN, SBD, SVC, MOP]

    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.

    vendor_account_number string

    Possible values: non-empty

    The vendor's bank account number.

    vendor_bank_address string

    Possible values: non-empty

    The address of the vendor bank.

    parsed_address object

    An object representing detailed address-related information on the document, such as the city, state, street address, unit number, etc. Filled in the original POST request had the parameter parse_address set to true and the corresponding address is found on the document.

    building string

    Possible values: non-empty

    The building name e.g. 'Project 8' or 'Empire State Building'

    city string

    Possible values: non-empty

    The settlement including cities, towns, villages, hamlets, localities, etc.

    country string

    Possible values: non-empty

    The sovereign nations and their dependent territories, anything with an ISO-3166 code.

    country_alpha_2 string

    Possible values: non-empty

    The detected ISO 3166-1 alpha-2 code for a given country.

    postcode string

    Possible values: non-empty

    The postal code used for mail sorting

    state string

    Possible values: non-empty

    A first-level administrative division. Scotland, Northern Ireland, Wales, and England in the UK are mapped to "state" as well

    street_address string

    Possible values: non-empty

    A sum of house_number road, building, unit.

    house string

    Possible values: non-empty

    The venue name e.g. "Brooklyn Academy of Music", and building names e.g. "Empire State Building".

    house_number string

    Possible values: non-empty

    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).

    road string

    Possible values: non-empty

    Street name(s)

    unit string

    Possible values: non-empty

    An apartment, unit, office, lot, or other secondary unit designator.

    level string

    Possible values: non-empty

    The expressions indicating a floor number e.g. "3rd Floor", "Ground Floor", etc.

    staircase string

    Possible values: non-empty

    Numbered/lettered staircase

    entrance string

    Possible values: non-empty

    Numbered/lettered entrance

    po_box string

    Possible values: non-empty

    The post office box, typically found in non-physical (mail-only) addresses.

    suburb string

    Possible values: non-empty

    An unofficial neighborhood name like "Harlem", "South Bronx", or "Crown Heights".

    city_district string

    Possible values: non-empty

    The boroughs or districts within a city that serve some official purpose e.g. "Brooklyn" or "Hackney" or "Bratislava IV".

    island string

    Possible values: non-empty

    Named islands e.g. "Maui"

    state_district string

    Possible values: non-empty

    Usually a second-level administrative division or county.

    country_region string

    Possible values: non-empty

    Informal subdivision of a country without any political status.

    world_region string

    Possible values: non-empty

    Only used for appending "West Indies" after the country name, a pattern frequently used in the English-speaking Caribbean e.g. "Jamaica, West Indies".

    vendor_bank_addresses object[]
  • Array [
  • anyOf

    string

  • ]
  • vendor_bank_name string

    Possible values: non-empty

    The name of the bank. Could be part of invoice remittance information.

    vendor_bank_names object[]
  • Array [
  • anyOf

    string

  • ]
  • vendor_bank_number string

    Possible values: non-empty

    The bank routing number. Could be part of invoice remittance information.

    vendor_bank_numbers string[]required

    Possible values: non-empty

    An array of bank routing numbers.

    vendor_bank_swift string

    Possible values: non-empty

    The Society for Worldwide Interbank Financial Telecommunication (SWIFT) code is part of the ISO 9362 standards for sending money internationally.

    vendor_iban string

    Possible values: non-empty

    The International Bank Account Number (IBAN) is a standard international numbering system developed to identify an overseas bank account.

  • ]
  • bank_name string

    Possible values: non-empty

    The name of the bank. Could be part of invoice remittance information.

    bank_number string

    Possible values: non-empty

    The bank routing number. Could be part of invoice remittance information.

    bank_swift string

    Possible values: non-empty

    The Society for Worldwide Interbank Financial Telecommunication (SWIFT) code is part of the ISO 9362 standards for sending money internationally.

    category stringdeprecated

    Possible values: non-empty

    Same as vendor.type

    country_code string

    Possible values: [CF, PW, CA, TD, GP, MH, MO, EE, CG, FJ, BS, NP, CI, LC, NR, IT, DO, ST, SC, UG, MA, IO, CD, BY, PN, KG, TK, CC, TF, MM, RU, SR, GB, BO, GW, IL, TM, CX, JM, GH, AS, AU, NF, LT, AZ, KP, SY, BV, KM, MT, CV, NU, MY, SK, CH, PL, BI, GL, IR, NA, LR, SA, BA, LS, AG, VI, VU, JP, TG, KN, UA, IS, IN, GQ, MG, LU, GG, YE, AX, GR, BE, EC, FO, GU, GN, MX, NE, PA, GS, TO, EH, KE, TJ, KI, SM, TN, MR, UY, IE, BH, NL, AT, NI, PR, DK, HR, MD, CY, JE, KR, AD, AO, CO, GD, LB, GT, MU, TC, ER, NO, IM, MP, MK, TV, FM, UM, HN, NG, FK, CN, HT, NC, UZ, RS, AF, BM, PE, AI, TT, GY, MC, BG, WS, CL, RO, MZ, AE, DJ, MN, GM, LK, SE, AL, KH, DE, HM, YT, VC, MF, WF, ZA, BF, DM, IQ, TW, US, DZ, KZ, SH, CZ, PF, GF, RE, BT, ZW, SZ, TR, PY, FI, BB, LA, CM, BL, SV, GE, CR, FR, MS, BZ, SB, SJ, PH, BW, BR, JO, HU, SN, HK, SI, MW, CU, AN, CK, LV, ID, GI, SO, AW, PS, LI, TH, ET, ME, VE, VA, AR, KW, NZ, VG, AQ, GA, SG, ML, QA, SL, SD, PM, AM, EG, ES, RW, PK, LY, ZM, MQ, OM, TZ, TL, PG, VN, MV, KY, BN, PT, BD, BJ]

    The country code belonging to a vendor

    email string

    Possible values: non-empty

    The vendor's email address.

    external_id string

    Possible values: non-empty

    A custom identification field. Set by matching to a client-provided list of vendors.

    fax_number string

    Possible values: non-empty

    The fax number of the vendor.

    iban string

    Possible values: non-empty

    The International Bank Account Number (IBAN) is a standard international numbering system developed to identify an overseas bank account.

    lat number

    The latitude coordinates for the location of this vendor. This is an enriched parameter from a third-party resource not found in the document.

    lng number

    The longitude coordinates for the location of this vendor. This is an enriched parameter from a third-party resource not found in the document.

    logo uri

    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.

    logo_name string

    Possible values: non-empty

    A vendor logo found on the document.

    map_url uri

    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.

    name string

    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. Filled in the original POST request had the parameter parse_address set to true and the corresponding address is found on the document.

    building string

    Possible values: non-empty

    The building name e.g. 'Project 8' or 'Empire State Building'

    city string

    Possible values: non-empty

    The settlement including cities, towns, villages, hamlets, localities, etc.

    country string

    Possible values: non-empty

    The sovereign nations and their dependent territories, anything with an ISO-3166 code.

    country_alpha_2 string

    Possible values: non-empty

    The detected ISO 3166-1 alpha-2 code for a given country.

    postcode string

    Possible values: non-empty

    The postal code used for mail sorting

    state string

    Possible values: non-empty

    A first-level administrative division. Scotland, Northern Ireland, Wales, and England in the UK are mapped to "state" as well

    street_address string

    Possible values: non-empty

    A sum of house_number road, building, unit.

    house string

    Possible values: non-empty

    The venue name e.g. "Brooklyn Academy of Music", and building names e.g. "Empire State Building".

    house_number string

    Possible values: non-empty

    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).

    road string

    Possible values: non-empty

    Street name(s)

    unit string

    Possible values: non-empty

    An apartment, unit, office, lot, or other secondary unit designator.

    level string

    Possible values: non-empty

    The expressions indicating a floor number e.g. "3rd Floor", "Ground Floor", etc.

    staircase string

    Possible values: non-empty

    Numbered/lettered staircase

    entrance string

    Possible values: non-empty

    Numbered/lettered entrance

    po_box string

    Possible values: non-empty

    The post office box, typically found in non-physical (mail-only) addresses.

    suburb string

    Possible values: non-empty

    An unofficial neighborhood name like "Harlem", "South Bronx", or "Crown Heights".

    city_district string

    Possible values: non-empty

    The boroughs or districts within a city that serve some official purpose e.g. "Brooklyn" or "Hackney" or "Bratislava IV".

    island string

    Possible values: non-empty

    Named islands e.g. "Maui"

    state_district string

    Possible values: non-empty

    Usually a second-level administrative division or county.

    country_region string

    Possible values: non-empty

    Informal subdivision of a country without any political status.

    world_region string

    Possible values: non-empty

    Only used for appending "West Indies" after the country name, a pattern frequently used in the English-speaking Caribbean e.g. "Jamaica, West Indies".

    phone_number string

    Possible values: non-empty

    The phone number of the vendor.

    raw_address string

    Possible values: non-empty

    The raw vendor address exactly as found on the document.

    raw_name string

    Possible values: non-empty

    The raw vendor name exactly as found on the document.

    reg_number string

    Possible values: non-empty

    The vendor registration number. In the U.S., this would be the Employer Identification Number (EIN). Does not include VAT (Europe) or EIN (US), which are recorded as vat_number.

    type object

    A classification of the vendor, such as drugstore or convenience store. The vendor type predicted by Veryfi. Can also be extracted from third party enrichment

    anyOf

    string

    order_number string

    Possible values: non-empty

    The unique identification number for the order and set by the vendor. Typically found on invoices.

    vat_number string

    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. For United States invoices, the Employer Identification Number (EIN) of the vendor.

    web string

    Possible values: non-empty

    The vendor's website address (URL).

    vendors object[]

    An array of all found vendors by vendors.raw_name, including those found with vendor.abn_number and found on the document.

  • Array [
  • anyOf

    string

  • ]
  • vin_number string

    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.

    weights object[]

    An array of the weights found on the document.

  • Array [
  • anyOf

    string

  • ]
Loading...