What it does
The invoice extraction API reads an invoice file and returns its data as JSON. Send the file as file_base64 with its file_name. You get back the supplier, invoice number, issue date and due date. You also get the currency, net total, VAT total and total.
Line items come back by default, each with a description, SKU, quantity, unit price and total. Set include_line_items to false to skip them. To pull other data, list up to 30 names in fields, such as buyer_name or supplier_vat_number. Fields not found on the invoice come back as null.
Scanned and photographed invoices work as well as digital PDFs. Supported files are PDF, PNG, JPG, TIFF, WEBP, BMP and GIF, up to 20 MB. Each request can contain 1 page, so split multi-page invoices and send each page separately.
Every result has a review_required flag and a warnings list, so your app can send unclear invoices to a person.
Teams use the invoice extraction API for accounts payable intake, expense processing and indexing supplier invoices without manual data entry.
Next, check the supplier's EU VAT number with the VAT Validation API. For invoices in other languages, translate the extracted text with the Text Translation API.