Skip to content

How do I import a supplier invoice in PDF?

The program reads the PDF invoices your suppliers send you and turns them into ERP purchase invoices, without typing them in. You upload the PDFs from the browser, the artificial intelligence reads them and you review what it has understood before accepting it.

What do I need before I start?

Only the PDFs, on your computer. They are uploaded from the screen itself: you don’t need a shared folder or to copy files anywhere.

You also need artificial intelligence to be available in your ERP. The program reads the PDF, but what works out which number is the invoice number and which is the total is an AI model. Each reading uses AI credits. If the AI can’t read an invoice, that invoice stays in the With errors tab with the reason shown.

You don’t need to have the supplier created. If the invoice has a valid Tax ID —Spanish, from another European Union country or the tax number of a country outside it— and the supplier doesn’t exist, the program creates it with the issuer’s details. One from outside Spain without a tax number is created with its name and country. It is worth being clear about which company you are in: the invoice inbox belongs to the active company.

What you upload comes in as purchase invoices. Sales invoices can also be imported, but you have to choose Sales in Invoices before uploading them: the program doesn’t guess. How they come in is covered in purchase or sale, VAT scheme and payment method.

How do I do it?

  1. Go to Tools → Document import.
  2. Check that Invoices says Purchases (or choose Sales if you are uploading invoices you issued). Click Upload invoices and choose one or more PDFs. If you don’t have an invoice open, you can also drag them onto the Drag the PDF invoices here area in the centre.
  3. While they are being read you will see a bar with ‘Reading 2 of 5’ and the file name. Each invoice takes a few seconds.
  4. When it finishes, the first invoice uploaded opens on its own: the PDF in the centre and what has been read on the right. The rest stay in the To review tab of the inbox.
  5. Review the fields and click Import. Continue with review and correct what has been read.

You can upload up to 50 files at once, and each one can be 20 MB at most. The program checks that each file really is a PDF by looking at its content, not its name: a Word document renamed to ‘.pdf’ is rejected with the message ‘is not a PDF’.

The PDFs are saved on the ERP server, so the review and the rereadings work even if you later delete the file from your computer.

What does the program do with each PDF?

With each file it always takes the same steps, in this order:

  1. It checks whether that same file has been uploaded before. If so, it doesn’t read it again: it tells you and opens the one already there.
  2. It extracts the text from the page. If the PDF has no text (it is a photo or a scan), it reads it as an image, and that requires an AI engine that can see images.
  3. It looks for the issuer’s Tax ID in the text, ignoring your own company’s. If it doesn’t find it, it tries the fingerprints learned from each supplier’s invoices.
  4. If it recognises the supplier, it uses what it has learned from their previous invoices as a hint: it tells the AI which area of the page each field is usually in.
  5. It asks the AI for the invoice’s fields and lines.
  6. It discards a Tax ID that doesn’t appear written on the PDF (the AI sometimes makes it up) and makes the VAT on the lines match the VAT in the footer.
  7. It calculates the reliability, a score from 0 to 100 that mainly measures whether the figures add up. If it falls below the minimum and a second-attempt engine has been chosen, it repeats the reading with it.
  8. With the type you chose when uploading it (purchase, unless you chose Sales), it puts each party on its side and decides its VAT scheme and its payment method.
  9. It resolves the supplier (or the customer, if it is a sale) and, if appropriate, creates it.
  10. It checks that that same invoice from that supplier isn’t already in the inbox.
  11. It decides: import directly or leave it to review.

Each file is saved separately. A problem PDF doesn’t spoil the upload: it stays With errors, with its reason, and the rest carry on.

When is it imported on its own and when does it ask me?

By default everything goes through review, even if the reading is perfect. Until you check a few invoices from a supplier, nobody knows whether the program is reading them correctly.

For an invoice to be imported without asking, four things must be true at once:

A new supplier never reaches that score on its own: part of it measures whether each field appears where it usually appears on their invoices, and a supplier nothing has been learned about has nothing to compare with. In other words, the first invoice from each supplier is always reviewed by a person.

What happens when an invoice is imported?

A purchase invoice is created in the ERP, with all its effects and in a single step. If anything fails, nothing is done: the invoice stays in the inbox and the reason is shown.

What happens when importing:

What if the same PDF arrives twice?

There are two different checks, and it is worth not confusing them.

The first is by file: a fingerprint of the PDF is saved. If you upload the same file again, even with another name, it isn’t read again and doesn’t use credits: the message ‘already in the inbox’ appears and the existing one opens.

The second is by invoice, and it is done before importing: if that supplier already has a purchase invoice with that number in the ERP —from any financial year, whether you entered it by hand, through this screen or it came from the Desktop ERP— or there is another one with that number in the inbox, the new one becomes Duplicate, with a message saying which one was already there. Nothing is created. The number is compared ignoring capitals, hyphens, slashes and leading zeros: ‘F-2026/0771’ and ‘F2026 771’ are the same.

It is checked again when you click Import, with the number as you left it in the review. That is why a purchase invoice without a number isn’t imported: without it there is no way to know whether it is already there.

A different PDF of the same invoice (for example, resent with another footer) is read and does become Duplicate. That is the point: the fingerprint detects the repeated file, the number detects the repeated invoice.

If the original invoice was deleted and you want to record the repeated one, tick it in Import summary and click Read again.

Where does the PDF end up?

When the invoice is recorded, its PDF is moved and renamed so you can see at a glance who it is from and with what number it came in:

TeknoServiceTtl_06_12_A0-360238_46011835.pdf — supplier (in one word, without spaces or symbols), month and day of the invoice, invoice number in the ERP and the supplier’s invoice number.

Can I work with the folder on my computer?

Yes, with Chrome or Edge. That way recorded invoices leave your folder and you can see at a glance what is left to import.

  1. Put the PDFs in an IMPORTAR folder inside the company’s invoice folder (for example Facturas proveedores\IMPORTAR).
  2. On the import screen, click Local folder and choose the folder that contains IMPORTAR (Facturas proveedores), not IMPORTAR itself: the browser only lets you touch the folder you choose and what is inside it. Accept the permission to view and change files.
  3. The button is renamed Read “Facturas proveedores”. When you click it, it uploads the PDFs in IMPORTAR that weren’t there yet and moves the ones already recorded.

Each invoice that is recorded (or repeated) leaves IMPORTAR and goes, with the usual name, to IMPORTADO\2026\09 (or DUPLICADO\2026\09) next to IMPORTAR, in your folder. It is moved when you import it, when you import several at once, when you validate a supplier and when you open the screen. Those to review or with errors stay in IMPORTAR.

The browser remembers each company’s folder, but asks for permission again in each session: then the button says Connect “…” and you just click it. To choose another one, Change folder.

What if another program leaves the invoices in a folder?

In your own installation, with the ERP on a server in your company, a server folder can be read where another program (a scanner, an email inbox) leaves the PDFs. It is set up in Settings, in the Server folder block, and run with Read the folder now. Subfolders are also gone through, and Maximum documents per run limits how many are read at a time.

That folder belongs to the server where the ERP runs, not to your computer. If you work in the cloud, upload the invoices from the inbox: it is the normal route and needs nothing setting up.

If something goes wrong

What you seeWhat has happenedWhat to do
‘…: is not a PDF.’The file isn’t a PDF even though it is named like oneAsk the supplier for the invoice in PDF
‘…: is larger than 20 MB.’The file is too bigAsk for a lighter version, or scan it at a lower resolution
‘…: already in the inbox’That same file was uploaded beforeThe existing one opens: work on it
‘The AI could not read the invoice: …’The AI didn’t respond or responded with something that can’t be understood; the reason follows the colonTick it in Import summary and click Read again; if it happens again, check the engine in Settings or tell whoever administers the ERP
‘The AI response was cut off on page N: it reached the limit of … tokens’The invoice is long (many lines) or the engine spends a lot on thinkingRaise the Response limit in Settings and read it again, or choose another engine
‘The PDF has no text layer (scanned?) and there is no engine with vision…’It is an image and no AI for scans is availableTell support: Powergest chooses it
‘Duplicate: invoice … is already recorded (invoice … of …)’That supplier already has an invoice with that number in the ERPFind it in Purchases with the ERP number the message gives
‘Duplicate: invoice … is already in the inbox’Another reading of that invoice is in the inboxFind it in the All tab
‘The invoice number of the supplier is missing…’The AI didn’t read the numberType it in the review, or mark it on the PDF, and click Import again
The Upload invoices button is greyed outYour profile doesn’t allow processing documentsAsk whoever administers the ERP for the permission
The Local folder button doesn’t appearThe browser doesn’t allow working with folders (Firefox, Safari)Use Chrome or Edge, or upload the invoices with Upload invoices
‘… has no IMPORTAR folder…’You chose IMPORTAR itself or another folder without itChange folder and choose the one that contains IMPORTAR
A recorded invoice is still in IMPORTARIt was recorded from another computer or with the folder not connectedClick Read “…”: it recognises it and moves it

Next: Review and correct what the system has read · Choose the AI that reads the invoices

More about Invoice import