Extract Invoice Data API

Extract the invoice fields your systems need.

Pull vendor details, invoice numbers, dates, tax amounts, and line items from PDFs or photos with one API call — built for finance tools that cannot afford messy OCR output.

Request
curl -X POST https://api.parseify.app/api/v1/documents \
  -H "X-Api-Key: bnj_live_xxxxxxxxxxxxxxxxxxxxxx" \
  -F "file=@invoice.pdf"
Response
{
  "vendor": "Byte Office Supplies",
  "invoiceNumber": "INV-2026-0419",
  "date": "2026-04-19",
  "totalAmount": 499.13,
  "vatAmount": 86.63,
  "currency": "EUR",
  "lineItems": [
    { "description": "A4 paper box", "quantity": 3, "unitPrice": 29.90, "totalPrice": 89.70 }
  ]
}

Field-level extraction for automation

Vendor & Identifiers

Capture vendor name and invoice number for supplier matching and duplicate detection.

Money Fields

Extract totalAmount, vatAmount, and currency for payment approval and ledger posting.

Itemized Rows

Line items stay structured so category rules and analytics can run without re-keying.

Extract invoice data API, frequently asked questions

What does an extract invoice data API return?

Parseify extracts vendor, invoiceNumber, date, totalAmount, vatAmount, currency, and line items from invoice PDFs and images into structured JSON for automated workflows.

How do I extract invoice data via API?

Authenticate with an X-Api-Key header and POST the invoice file to /api/v1/documents. The response contains the extracted fields in a stable schema — no training or template setup required.

Can I extract line items from an invoice?

Yes. Each line item includes description, quantity, unitPrice, and totalPrice so you can feed itemized data into spend analytics or purchase-order matching.

Which file types work with the extract invoice data API?

PDF, PNG, and JPEG invoices up to 20 MB are supported. All formats return the same JSON field names.