Invoices OCR API

Transform invoices into actionable data: Extract line-item details to trusted JSON key/value pairs in any language or currency. Supercharge your accounts payable and procure-to-pay processes with Veryfi's AI-powered automation.

Get Started for Free Free Demo
Invoices OCR API

Unlock a Wealth of Data in Invoices

What is Invoices OCR API?
Invoices OCR API is an API (Application Programming Interface) that turns your invoice into data in seconds using AI. You can send invoices to the API in any format (pdf, image, etc) and receive the response in a structured (key/value) JSON irrespective of invoice structure, geography or language. Veryfi’s AI runs proprietary foundational models trained on hundreds of millions of invoices so it can understand all possible data (see supported fields) on your invoice and even those pesky taxes and handwriting in various geographies.

What is Invoices OCR?
Invoices OCR (optical character recognition or optical character reader) is the electronic or mechanical conversion of invoice images, invoice paper, and handwritten or printed text into machine-encoded text using software. This work traditionally required manual human labor but that was inefficient and ripe for mistakes. Veryfi Invoices OCR API will also return the OCR text in every JSON response for you to further customize the application of this data in your application for various purposes like automating bill pay with level 3 data, 2/3 way matching in AP, fraud detection, inventory management and more.

Python Code to Extract Data from a Invoice
import requests
url = "https://api.veryfi.com/api/v8/partner/documents"
headers = {
'CLIENT-ID': '<API_KEY_VALUE>',
'AUTHORIZATION': '<API_KEY_VALUE>'
}
payload = {'file_url': 'https://cdn…'}
response = requests.post(url, headers=headers, data=payload)
print(response.json())

Invoice Extraction API

Integrate Veryfi’s Invoices OCR API with just a few lines of code.

Need help? no worries. Our technical support team can help or you can also explore our interactive documentation, postman files, code examples, and integration guides to help you launch today.

Supported Fields

  • Vendor/Merchant
    • Name and Raw Name
    • Address and Raw Address
    • Logo
    • Phone
    • Fax
    • Email
    • Latitude
    • Longitude
    • Website Url
    • Logo
    • Vendor Category
    • Vendor Account currency
    • VAT Number (Value-Added Tax)
    • ABN Number (Australian Business Number)
    • Vendor Registration Number
    • Store Number Name (enriched)
    • Learn more …
  • Dates
    • Invoice Date
    • Due Date
    • Order Date
    • Ship Date
    • Delivery Date
    • Start Date (or arrival in hotel folio)
    • End Date (or departure in hotel folio)
    • Line Item Start Date (service provided dates)
    • Line Item End Date (service provided dates)
    • Learn more …
  • Line-Items
    • Date
    • SKU (Stock keeping unit)
    • UPC (Universal Product Code)
    • HSN (Harmonized System Code/Number)
    • Category
    • Section
    • Description
    • Quantity
    • Reference
    • Unit of Measure
    • Price
    • Tax
    • Tax Rate
    • Discount
    • Discount Rate
    • Total
    • Type (food, product, alcohol,..)
    • Weight (eg. kg/lb)
    • Start/End Date
    • Country of Origin
    • Lot number
    • Learn more …
  • Financials
    • Subtotal
    • Discount
    • Cashback
    • Shipping cost
    • Tax (VAT, GST)
    • Tax Lines
    • Tip
    • Total
    • Rounding
    • Currency Code
    • Currency Exchange Rate
    • Insurance
    • Incoterms
    • Balance (current / previous)
    • Learn more …
  • Tax Lines Breakdown
    • Tax name
    • Tax rate %
    • Tax total
    • Tax base
  • Meta
    • Document Type (receipt/check/purchase order/invoice etc)
    • Document Title
    • Category
    • Tag
    • OCR Text
  • Ship To
    • Name
    • Address
    • Tracking Number
    • Ship Date
    • Delivery Date
    • Order Date
    • Incoterms
    • Insurance
    • Weight + List
  • Bank Information
    • Bank name
    • Bank number
    • Routing number
    • Account number
    • IBAN (International Bank Account Number)
    • SWIFT / BIC
    • Learn more …
  • Barcodes
  • Payment Method
    • Card Type (eg. visa, mastercard etc)
    • Card Number
    • Terms
  • Identifiers
    • Account Number
    • Invoice Number
    • PO (Purchase Order) Number
    • Reference Number
  • Bill To
    • Name
    • Address
    • Phone Number
    • Email
    • VAT Number
    • ABN Number
    • Bill to ABN Number
    • Payment Terms
    • Business Registration Number

Process your invoices in less time than it takes to read this.

See for yourself.

Additional Superpowers of Invoices OCR API

  • Line Items (Level 3 Data)

    Harness the power of line-level data from your invoices to automate 2-way and 3-way matching in your AP / bill pay solutions and automate inventory management with precision.

  • Categorization

    Effortlessly categorize entire invoice and individual line items with our intelligent system. Choose between using your existing chart of accounts or leveraging Veryfi AI’s automatic categorization.

  • Duplicate Detection

    Eliminate manual review and effortlessly identify duplicate invoices in real-time. This powerful feature helps you prevent fraudulent bill payments, catch doubling up on employee reimbursements and reduce financial risks.

  • Auto Rotate Receipts

    Our API automatically corrects upside-down invoice submissions, eliminating the need for resubmission requests and streamlining your workflow. See demo video.

No matter your work, Veryfi makes it work

FinTech Solutions

FinTech Solutions

Give your app superpowers with just a few lines of code to accelerate time to market, delight customers, and drive growth.

Discover More
AP Automation

AP Automation

Launch Veryfi in days, not months, to eliminate manual data entry and unleash your team’s full potential.

Discover More