Document Processing: Extract invoice data

Extract and validate invoice data from a document.

Help Centre › Building Processes

Extract and validate invoice data from a document.

Add it to a process

In the process designer, open the Add step tab. Find Extract invoice data under Document Processing › Invoice, or type its name in the search box, and drag it onto the canvas.

Fields

FieldRequiredWhat it does
File pathYesEnter the file path, or use a variable such as {folders::desktop::path}\file.txt.
VariableYesName of the variable where the result will be stored
CacheYesHow this invoice should be cached for faster loading and processing Choices: Always, Only if valid, Never. Default: valid.
From (supplier)NoThe supplier names the document may come from, comma separated, or a variable holding a list. The step checks the document against them.
Receiving companyNoYour company name or names, comma separated. The step checks the document is addressed to one of them.
Lowest PO numberNoThe lowest purchase order number that counts as valid. Leave blank for no lower limit.
Highest PO numberNoThe highest purchase order number that counts as valid. Leave blank for no upper limit.
CurrencyNoSelect the invoice currency. Leave blank to allow multiple currencies Choices: AED, CHF, EUR, GBP, INR, JPY, USD, ZAR.
LanguageNoSelect the invoice language. Leave blank for multilingual
Supplier historyNoUse the company's supplier history (only when the company has it switched on): record this document in it and check it against the supplier's earlier documents, and read an ambiguous date (03/04/2026) the way this supplier writes dates. The check never fails the step; the answer is in {supplierCheck}. Default: false
Strict typesNoStrict field types: fail the step when a field read from the document holds the wrong kind of value, such as text where an amount belongs. Default: false
Fail on faulty numbersNoOn: a faulty VAT, registration or bank number fails the document. Off: it is only a warning. Default: off.
KeysNoRows of the repeating band. Persisted as the sibling arrays app.keys, app.operators, app.values.

What it gives back

  • {invoice}
  • {supplierCheck} – The supplier history's answer, when supplier_history is on

See all Document Processing steps.

Errors

ErrorDescription
File not foundThe file does not exist
Extraction failedCould not extract invoice data

Tips

  • Supports PDF, images, and scanned invoices
  • Use Company to improve accuracy for known vendors
  • Set PO number range to validate purchase order numbers

Related functions

Get started

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or have your first automation working in 7 days.