This action is deprecated - please use the newer 'Detect invoice data with custom fields (AI)' action instead. Extracts structured invoice data (seller, buyer, line items, totals, payment details) from a scanned invoice (PDF or image) using AI vision. Fields that are not present on the invoice are returned empty — verify recognized values before booking.
Need your own fields?
This action reads the standard invoice fields. If you also need values like a project number, a cost center or an order number from the header, use Detect invoice data with custom fields (AI). You can define up to 10 own fields there, each with an optional check (IBAN, VAT ID, date, amount, your own format) and a Needs Review flag.
How it works
Send a scanned or photographed invoice (PDF, JPEG or PNG). The AI reads the document and returns seller, buyer, payment details, totals and the invoice lines. Of a PDF, the first 10 pages are read.
A typical flow:
- Trigger on a new file in a folder or on an email with attachment.
- Extract invoice data (AI) with the file content.
- Use the values, for example Create item in a SharePoint list, Add a row to Excel or a booking in your ERP.
- Optional: if Ready for E-Invoice is true, create an e-invoice with Convert invoice to ZUGFeRD PDF from the recognized data.
Example
Request body (shortened, invoiceFile is the file content):
{
"invoiceFile": "<file content>",
"additionalInstructions": ""
}
Response (shortened, from a test invoice):
{
"invoiceNumber": "RE-2026-0815",
"invoiceDate": "2026-03-01",
"currencyCode": "EUR",
"sellerName": "Muster GmbH",
"sellerVatId": "DE123456789",
"buyerName": "Beispiel AG",
"iban": "DE89370400440532013000",
"paymentDueDate": "2026-03-31",
"totalNetAmount": 4320.0,
"totalVatAmount": 820.8,
"totalGrossAmount": 5140.8,
"invoiceLines": [
{
"description": "IT consulting February 2026",
"quantity": 16.0,
"unitCode": "HUR",
"unitPrice": 120.0,
"vatPercent": 19.0,
"lineNetAmount": 1920.0
},
{
"description": "Software licence, annual",
"quantity": 1.0,
"unitCode": "EA",
"unitPrice": 2400.0,
"vatPercent": 19.0,
"lineNetAmount": 2400.0
}
],
"isReadyForEInvoice": true
}
Fields the AI cannot find stay empty. Missing Required Fields lists the e-invoice fields that are missing, Notes explains uncertain values or skipped pages.
Tips
- Additional Instructions help with special documents, for example "This is a credit note" or "Amounts are in CHF".
- Dates come as
yyyy-MM-dd, amounts as numbers with a decimal point.
- Each call counts toward your monthly limit for AI actions.