Receipts OCR API | Veryfi

Receipts OCR API ReceiptsOCRAPI

Send any receipt, get back structured JSON. Veryfi extracts line items, taxes, totals, vendor details, and barcodes across 91 currencies and 38 languages — so your expense, loyalty, and fintech workflows run themselves.

Unlock a Wealth of Data from ReceiptsUnlockaWealthofDatafromReceipts

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': 'apikey <USERNAME_VALUE>:<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 }

Developer Friendly API DeveloperFriendlyAPI

The only API you will ever need to accurately extract key/value data in a standardized format you can trust across any geography, language, or format — enabling seamless international business expansion without lifting a finger.

Multi-Modal AI Multi-ModalAI

Not just OCR. Veryfi is a multi-modal powerhouse accessible via a simple to use API. Here is a short list of some of our models that work on your terms to delight your customers.

Supported Fields SupportedFields

Try It TryIt

Drop your document here

(JPEG, PNG or PDF)

Processing...

- Visualized Data

Line Items

# SKU Item Type Quantity Price Total
1 61126943157 RED BULL ENRGY DRNK CNS 8.4OZ 6PK food 1 9.99 8.79
2 00000007211 CA REDMP VAL fee 1 0.00 0.30
Subtotal (USD) 27.60
Total Tax (USD) 1.93
Total (USD) 29.53

Data for Every Industry