Invoice Extraction API
Extract structured data from any invoice — PDF, image, or plain text — with validation-backed accuracy. One API call, clean JSON output.
What gets extracted
- ✓Vendor name and address
- ✓Invoice number and issue date
- ✓Total net, VAT amount, gross total
- ✓Tax ID and reverse-charge flag
- ✓IBAN and payment terms
- ✓Line items with descriptions and amounts
- ✓Currency and exchange rate
- ✓Confidence score per field
Quick start
curl -X POST https://api.parsurai.com/v1/extract \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "file=@invoice.pdf"
# Response:
{
"vendor": { "name": "Muster GmbH", "tax_id": "DE123456789" },
"invoice_number": "RE-2026-00042",
"total_gross": 1190.00,
"currency": "EUR",
"confidence": { "vendor": 0.99, "total_gross": 1.0 }
}Supported formats
PDF (including ZUGFeRD hybrid PDFs), JPEG, PNG, WebP, and plain text. File upload, URL, or raw text — all via the same endpoint.