Receipts OCR API

Extract detailed receipt data, including line items, in real-time across 91 currencies and 38 languages. Supercharge expense management and loyalty programs with Veryfi's AI.

Get Started for Free Free Demo
Receipts OCR API

Unlock a Wealth of Data in Receipts

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

What is Receipts OCR?
Receipt OCR (optical character recognition or optical character reader) is the electronic or mechanical conversion of receipt images, receipt 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 Receipts 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 expense management, validating loyalty programs and more.

Request: Receipt Data Extraction
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())
Response: Structured JSON
{
“account_number”: “0053”,
“accounting_entry_type”: “debit”,
“currency_code”: “USD”,
“date”: “2023-03-28 13:10:00”,
“line_items”: [{
“description”: “RED BULL ENRGY DRNK CNS 8.4OZ 6PK”,
“price”: 9.99,
“quantity”: 1,
“total”: 8.79
}],
“subtotal”: 27.60,
“tax”: 1.93,
“total”: 29.53
}
Support for over 150 fields 🤟

Receipts OCR API

Veryfi’s Receipts OCR API is easy and fast to implement with just a few lines of code (as shown). Receipts OCR API comes bundled with: ✓ Day-1 Ready Pre-Trained Receipts AI model, ✓ Free 🧰 SDKs to help you launch faster in your preferred programming language and ✓ Easy to use no-code API 🗔 Portal where you can store and edit your documents, fine-tune the ML model and more. Need help? email support@veryfi.com

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 receipts in less time than it takes to read this.

See for yourself.

Additional Superpowers of Receipts OCR API

  • Line Items (Level 3 Data)

    Harness the power of line-level data to unlock valuable cross-basket insights, construct detailed customer purchase graphs, and tailor incentives in your loyalty programs by capturing SKU-level details from receipts.

  • Categorization

    Effortlessly categorize entire receipt and individual line items. Choose between using your existing chart of accounts or leveraging Veryfi AI’s automatic categorization. This feature enables seamless tax accounting automation and streamlines policy enforcement in your expense management app, saving time and improving accuracy.

  • Duplicate Detection

    Eliminate manual review and effortlessly identify duplicate receipts. This powerful feature helps you prevent fraud in CPG loyalty programs and ensures your employees don’t submit duplicate expense claims, saving time and reducing financial risks.

  • Auto Rotate Receipts

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