Invoices OCR API | Veryfi
Invoices OCR API InvoicesOCRAPI
Send any invoice, get back structured JSON. Veryfi extracts line items, vendor details, taxes, and totals across any language, currency, or format — so your accounts payable and procure-to-pay workflows run themselves.
Unlock a Wealth of Data in InvoicesUnlockaWealthofDatainInvoices
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.
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.
Request: Invoice 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
{ "vendor": { "name": "Rumpke Waste & Recycling", "address": "3800 Struble Road, Cincinnati, Ohio 45251, United States", "phone_number": "(800) 828-8171" }, "bill_to": { "name": "JOHN DOE", "address": "1234 CUSTOMER AVE\nCLEVELAND OH 44114" }, "invoice_number": "0998811", "date": "2023-03-28 00:00:00", "due_date": "2023-04-28", "line_items": [ { "description": "2YD FL/MONTH-MSW", "quantity": 1, "price": 116.32, "total": 116.32 } ], "subtotal": 306.27, "tax": 23.47, "total": 329.74, "currency_code": "USD" }
Developer Friendly APIDeveloperFriendlyAPI
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.
Day-1 Ready Pre-Trained Invoices AI Model
Detailed API Docs + FAQs that make sense
Fight Invoice Fraud!FightInvoiceFraud!
STOP the $12.5 billion fraud epidemic from devastating your AP operations – with fraud losses skyrocketing 25% in 2024 and 89% of AP teams already targeted by scam invoices, Veryfis Fraud Detection obliterates phantom vendors, intercepts payment redirections, and eliminates duplicate schemes before they steal hundreds of thousands from your bottom line.
Multi-Modal Powerhouse: Veryfi APIsMulti-ModalPowerhouse:VeryfiAPIs
- Stage 1: Image Intelligence
- Blur Detection
- Image Quality Analysis
- Document/Non-Document Classification
- Auto De-skewing
- Smart Cropping
- Linearization
- Product Image Detection
- Stage 2: Content Detection
- Logo Detection
- Barcode/QR Detection
- Stage 3: Advanced Text Processing
- Multi-Language OCR
- Stage 4: Document Intelligence
- Data Extraction Engine
- Stage 5: Fraud & Quality Assurance
- Stage 6: YOU WINNING
Supported FieldsSupportedFields
- Vendor/Merchant
- Name and Raw Name
- Address and Raw Address
- Phone
- Dates
- Invoice Date
- Due Date
- Line-Items
- Description
- Quantity
- Price
- Total
- Financials
- Subtotal
- Total
- Currency Code
- Receipt / Transaction Flags
- Is Approved
- Is Duplicate
- Tax Lines Breakdown
- Tax name
- Tax total
- Meta
- Document Type
- Document Title
- Fraud & Image Quality
- Fraud Decision
- Fraud Score
API FeaturesAPIFeatures
- Line-Items (Level 3 Data)
- Categorization
- Duplicate Detection
- Vendor Details Expansion
- Confidence Scoring
- File Formats
- Global Extraction
- Address Parser
- Webhooks and Asynchronous Processing
- Barcodes Detection
- Email Processor
- Auto Rotate Invoices
3 Pillars of AI Services 3PillarsofAIServices
Day-one-ready white-label AI tools that make you the hero your customers have been waiting for.