Skip to main content

Reading a supplier invoice from a PDF or a photo

Do you only have a supplier's invoice on paper or as a PDF? Marin.AI reads it and puts it in the import preview, where you check supplier, lines and totals before recording it as a passive invoice.

Almost all supplier invoices arrive as an electronic invoice (XML), which BlueShell imports exactly. For the ones you only have on paper, as a PDF or as a photo — a foreign supplier, a receipt, a scan — there is Marin.AI: it reads the document and prepares the preview already filled in, the same one as the XML import. You check it and import it.

Where to find it

  • Accounting → Passive documents → Import PDF or XML invoice: on the same page there is the Import an invoice from a PDF or an image link, for the PDF or the photo.

  • Or from the Passive invoices page, in the Actions panel: Import an invoice from a PDF or an image.

You need the permissions Supplier invoices → View supplier invoices and Supplier invoices → Create supplier invoices.

Why an XML cannot be uploaded here

If you drag in an .xml, .p7m or .zip file it is rejected: an electronic invoice is read exactly, not by the assistant. Use Import electronic invoice (XML): it is accurate to the cent and costs nothing, because it does not use Marin.AI.

The files

  • PDF, JPG, PNG, WEBP, HEIC.

  • One document = one invoice. You can upload several in a batch (up to 40); they are read one at a time.

  • At most 15 pages of a PDF are read: a longer document must be split.

Step by step

  1. Drag the invoice onto the page (or click it to choose it, or paste it with Ctrl+V). The reading steps go by: Marin.AI is reading the invoice…, Matching the supplier…, Looking for an invoice already imported…

  2. Press Go to preview.

  3. Check supplier, dates, lines and totals (see below), comparing them with the original: the link to the original document opens in a new tab.

  4. Correct what needs correcting; if a line was skipped use Add a line.

  5. Press Import this invoice. The passive invoice is created as usual, with the original document among its attachments.

An import left half-done can be resumed from Resume a previous import.

How to read the preview

An invoice read by Marin.AI carries the read by Marin.AI mark and a warning: the values come from a document, not from an electronic invoice, so they must be checked. Each field says where it comes from:

Look of the field

Meaning

normal

read from the document

light-blue left border

worked out from the document, not printed on it

amber left border, empty, with "read as …" in the field

read but not usable: it must be typed by hand. The full list is under Could not be used:

empty, "not printed on this document"

the document does not state it

The totals check

Marin.AI calculates nothing: it reads the lines, the total and the VAT recap separately. That is why the preview compares them:

  • The lines add up to the document total — and if below it you see The VAT recap on the document agrees too., three independent readings say the same thing: the reading is reliable. If instead you see But the VAT recap on the document says … — check the rates., check the rates;

  • The lines add up to …, but the document says … (red box) — something was misread: check the lines against the original.

Other warnings: no lines read, a document that does not look like an invoice, a currency other than the euro (amounts are not converted), an invoice from the same supplier with the same number already present (the import is not blocked: you would create a second one).

What Marin.AI never does

  • It does not guess an amount: "about 100" stays not usable.

  • It does not take your header for the supplier's: it knows who you are.

  • It does not decide the sign from the numbers: a negative amount is taken as positive and flagged. If it is a credit note, the document type says so, which you check in the preview.

If the supplier is created from the invoice read, it follows the Customer data in capitals setting (see The Marin.AI settings).

The delivery note that accompanies the goods is instead read from Handling goods: see Reading a supplier's delivery note.

The classifications BlueShell has already learnt from the XML import (accounts, rates per supplier) apply here too.

What happens to the document

The document is sent to the artificial intelligence service that Marin.AI uses, only for reading. What was read stays recorded in the import, even after importing, until you discard the batch (Discard batch); the uploaded file is deleted after 7 days (or straight away if you discard the batch), unless it becomes the attachment of the imported invoice.


Did this answer your question?