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?
- Go to Tools → Document import.
- 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.
- 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.
- 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.
- 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:
- 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.
- 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.
- 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.
- 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.
- It asks the AI for the invoice’s fields and lines.
- 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.
- 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.
- 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.
- It resolves the supplier (or the customer, if it is a sale) and, if appropriate, creates it.
- It checks that that same invoice from that supplier isn’t already in the inbox.
- 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:
- The Always review box is off in the import Settings.
- The supplier is resolved.
- That supplier is validated, that is, someone has checked their invoices and has clicked Validate supplier.
- The reliability reaches the Minimum reliability in the settings (90 by default) and no field marked as required for that supplier is missing.
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:
- The invoice takes a number from your purchase series (or the Received invoice series in the settings). The number the supplier gave it is saved as the document’s reference (‘Supplier invoice no.’), which is where you search for it later. This is on purpose: the number of a received invoice belongs to the supplier, and your received invoice register has its own numbering.
- The date is the one read from the invoice. If it couldn’t be read, today’s date.
- It has the VAT scheme, the payment method and the cash or bank account decided (see purchase or sale, VAT scheme and payment method).
- Each line goes to the item in your file that has that supplier and that reference (their product code); if not, to the one with its barcode (EAN); and if not, to the one named exactly like the description. If there is none and the line has a reference, it is created with the description as its name, and the next invoice already finds it. The rest come in as a free-text description. They all have their quantity, price, discount and VAT, and don’t move stock.
- The VAT on each line is the one that matches the footer of the invoice.
- It goes into the input VAT register and generates its journal entry.
- It goes into payment open items, with its instalment.
- The invoice moves to the Imported tab of the inbox.
- The program learns where each field was, to read the next one from that supplier better.
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.
- Invoices uploaded with Upload invoices are archived on the server; those from the folder on your computer are moved right there (see the next question).
- Imported ones go to the IMPORTADO folder, and repeated ones to DUPLICADO, each with a subfolder per year and, inside it, another per invoice month:
IMPORTADO\2026\09. - If the invoices come in through a folder called IMPORTAR, those two folders are created next to it and not inside it.
- Those that are to review or with errors aren’t moved: they are still pending work.
- The PDF is moved after the invoice is recorded. If it can’t be moved at that moment (the file is open in another program, for example), the invoice is still recorded and the PDF is moved on the next reading.
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.
- Put the PDFs in an IMPORTAR folder inside the company’s invoice folder (for example
Facturas proveedores\IMPORTAR). - 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. - 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 see | What has happened | What to do |
|---|---|---|
| ‘…: is not a PDF.’ | The file isn’t a PDF even though it is named like one | Ask the supplier for the invoice in PDF |
| ‘…: is larger than 20 MB.’ | The file is too big | Ask for a lighter version, or scan it at a lower resolution |
| ‘…: already in the inbox’ | That same file was uploaded before | The 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 colon | Tick 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 thinking | Raise 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 available | Tell support: Powergest chooses it |
| ‘Duplicate: invoice … is already recorded (invoice … of …)’ | That supplier already has an invoice with that number in the ERP | Find 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 inbox | Find it in the All tab |
| ‘The invoice number of the supplier is missing…’ | The AI didn’t read the number | Type it in the review, or mark it on the PDF, and click Import again |
| The Upload invoices button is greyed out | Your profile doesn’t allow processing documents | Ask whoever administers the ERP for the permission |
| The Local folder button doesn’t appear | The 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 it | Change folder and choose the one that contains IMPORTAR |
| A recorded invoice is still in IMPORTAR | It was recorded from another computer or with the folder not connected | Click 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
- How does it know whether an invoice is a purchase or a sale, and how does it decide its VAT scheme and its payment method?
- How does the program learn to read a supplier’s invoices?
- How do I choose the level of the AI that reads the invoices?
- Import your suppliers’ invoices
- Can it read my regular suppliers’ invoices without AI?
- What do I do if it doesn’t recognise the supplier on an invoice?
- How do I review and correct what the system has read?
- How do I see the status of each imported document?