All docs

Invoicing

Invoice OCR and parsing

How Financica reads uploaded invoices, receipts and payment requests, and how to check and correct what it read.

5 min read

When you upload a PDF or a photo of an invoice, Financica reads it with an AI model and fills in the expense or revenue invoice for you. Structured e-invoices are read directly from their data instead. Either way, you review the result before it reaches your books.

Supported files

  • PDF files, native or scanned.
  • Photos: JPG and PNG.
  • UBL XML e-invoices, including files exported from another Peppol provider.
  • ZIP archives of any of the above: Financica opens the archive in your browser and lets you choose which files to upload.

Upload from Upload expense or Upload revenue, or attach the file to a bank transaction. On the Solo plan, each OCR upload counts toward the monthly invoice limit; see The Solo invoice limit.

How a file is read

  • PDFs with a text layer (generated by an invoicing tool) are read from their text: AI text extraction.
  • Photos and scanned PDFs go to the model as an image: AI vision extraction. It reads handwriting and rubber stamps too.
  • UBL XML files, and PDFs with an embedded Factur-X / ZUGFeRD invoice (common in France and Germany), are read from their structured data, with no OCR at all. Every field is exactly what the issuer sent, and the invoice is read-only, because its content belongs to that document. If the embedded data cannot be read, the PDF falls back to AI extraction.

What gets extracted

  • The document kind: invoice, credit note, receipt or payment request. See Receipts and Payment requests.
  • Both parties: name, VAT or company number, and address with its country. The supplier (or customer) is matched to an existing contact, or created. A supplier's bank details are filled in on the contact only when it has none yet.
  • Numbers and dates: invoice number, issue date, due date, and the period a bill covers.
  • Line items: description, quantity, unit price, VAT rate, and whether each line is goods or services.
  • Discounts, shipping and totals, with the VAT breakdown per rate.
  • Whether prices include VAT: when the document prints prices including VAT, the invoice is set to Unit prices include tax and keeps the prices as printed.
  • Payment details: IBAN, BIC and the payment reference or structured communication.

What Financica refuses

A file that bills nothing (a letter, an acknowledgement of receipt, a contract, a quote, an account statement) is refused at upload with a short description of what it is, and no expense is created. When in doubt, Financica accepts the document: zero-amount invoices and payment requests go through.

A file you already uploaded is recognised and linked to the existing invoice instead of creating a second one.

Which side you are on

The list you upload to decides: a file uploaded under Expenses is an expense. If the document then names your company on the other side (as the supplier of an expense, for example), Financica asks when you open it:

  • Keep as expense swaps supplier and receiver, since a document with two address blocks is sometimes read the wrong way round.
  • Convert to revenue moves the document to the other list, keeping the parties as read.

If your company appears on neither side, a warning asks you to check that the document concerns your business before you approve it.

Reviewing and correcting

The new invoice opens as Needs review (expenses) or Draft (revenue). Compare it with the document using Show preview, then Edit to fix anything. The checks panel flags totals that do not add up, VAT the lines cannot produce, or a credit note with a negative total, which usually point at a reading error. See Checks.

The Audit log tab of an expense shows what was read: each field as read from the document next to what is recorded now, the lines and VAT breakdown read, and the extraction method used.

Swap supplier and receiver in the ... menu fixes a document read the wrong way round. Anything else you correct by hand with Edit.

Updating an invoice from a later e-invoice

It is common to upload a supplier's PDF first and receive the same bill as a structured e-invoice later, over Peppol or by hand. Financica recognises it as the same document and keeps a single invoice, rather than creating a duplicate.

When that happens, the invoice page shows a notice: the attached e-invoice carries the supplier's own figures, which are more reliable than anything read from a scan. Click Update invoice details and Financica rewrites the invoice from that document: amounts, dates, line items, product codes, VAT categories and payment details.

The previous values are kept in the invoice's audit trail, so you can always see what changed and put it back by hand.

An approved invoice is not updated: use Remove approval first, then update it and approve it again. This keeps the ledger from disagreeing with the invoice it was posted from.

When the same invoice instead ends up as two separate records (for example once from a scan and once from Stripe), the checks panel offers to merge them; see Checks.

Tips for better results

  • Prefer the original PDF sent by the supplier over a scan or a photo of a printout.
  • Use clear, well-lit photos, flat and uncropped.
  • One document per file. Upload each invoice separately, or put several in a ZIP.
  • Ask suppliers for e-invoices. A UBL file or a Peppol invoice needs no reading at all.

Every field can be edited, so extraction is a starting point: when a document is too poor to read, enter the details by hand.