Skip to content
Browse all functions

Invoice Parser – Extract Invoice Data

files/extractinvoicedata

extractinvoicedata (Invoice Parser – Extract Invoice Data) is a 1001fx API function in the group Files & PDF: POST https://api.1001fx.com/files/extractinvoicedata, 13 credits per item. It works as a ready-made module in Make or as a plain HTTP call.

Reads an invoice (PDF or image, also scanned) into fixed fields: invoice number, dates, currency, supplier with VAT ID and IBAN, buyer, net, tax and total amounts, payment terms and line items. Missing values come back as null. Works with scanned documents, photos, tables and handwriting. Processed in the EU by Mistral AI (no training on your data). Charged per page (13 credits), at most 8 pages per call.

Use cases

  • Read supplier invoices from an email inbox and book them in your accounting tool
  • Collect invoice numbers, amounts and due dates of scanned invoices in a Google Sheet
  • Check the IBAN and VAT ID of a supplier before you pay an invoice

Endpoint

POSThttps://api.1001fx.com/files/extractinvoicedata
Header
X-API-KEY: YOURSECRETAPIKEY How to
Content type
multipart/form-data

Parameters

  • filefileoptional

    The invoice (PDF or image) to read. Either file or fileUrl.

  • fileUrlstringoptional

    Public URL of the invoice (PDF or image). Either file or fileUrl.

    Example:
    https://api.1001fx.com/testdata/invoice.pdf
  • pagesstringoptional

    Pages to read, e.g. 1-3,7 (first page = 1). At most 8 pages per call; without it all pages (documents up to 8 pages).

    Example:
    1-2

Examples

Invoice Parser

A one-page invoice

Input

Expects multipart/form-data or a json body
{
  "fileUrl": "https://api.1001fx.com/testdata/invoice.pdf"
}

Output · HTTP 200

Response
{
  "statusCode": 200
}
Show curl command
curl -X POST 'https://api.1001fx.com/files/extractinvoicedata' \
  -H 'X-API-KEY: YOURSECRETAPIKEY'

Frequently asked questions

Which fields are extracted?
Invoice number, dates, currency, supplier with VAT ID and IBAN, buyer, net, tax and total amounts, payment terms and line items. Values that are not on the invoice come back as null.
Does it work with scanned invoices and photos?
Yes. PDFs and images are read, also scans, photos and handwriting. Pass the file as upload or its public URL in fileUrl.
Where is the invoice processed?
In the EU by Mistral AI, without training on your data. At most 8 pages are read per call.

Step-by-step guides

Try extractinvoicedata now

Run it in your browser or create a free account and get 100 credits every month.

Changelog

  • 1.0.001.11.2026created