Skip to content

How do I review and correct what the system has read?

Before creating the purchase invoice, the program shows you the PDF with what it has understood: each field with its value, a coloured dot according to how sure it is and a box on the PDF that shows where it took it from. There you correct whatever is wrong and import it.

Where is it reviewed?

In Tools → Document import. The screen has three areas.

On the left, the inbox, with the To review, With errors, Imported and All tabs. Each invoice shows its supplier (or the file name, if it isn’t known yet), its total, its number, its date and its reliability; those with an error show the reason below. Click one to open it. When you go in, the first one to review opens on its own.

In the centre, the PDF viewer. At the top it has the file name, the status, the Reliability, the buttons to change page if it has several and the Zoom in and Zoom out buttons. A box is drawn on the page for each field read. When you move the mouse over a box, the name of the field appears.

On the right, the fields read, in blocks: Supplier, Invoice, Amounts, Recipient and Other details. Above everything, the recognised supplier with the Validated or Not validated badge. On a sales invoice the first block is the Customer and the issuer’s one is called Issuer (your company).

What if it has put the supplier as the recipient?

Sometimes the AI mixes up who issues the invoice and who it is addressed to: it puts your company as the supplier and the supplier as the recipient. Click the Swap button (the two arrows, next to the supplier’s name, top right): each field moves to the other side, with its box on the PDF. The Invoice type doesn’t change: it stays the one you chose.

If your Tax ID appears on the invoice after ‘Cliente’ or ‘NIF Cliente’, the system already knows that the invoice is addressed to you as the customer and makes this change by itself.

Before the fields is the How it is recorded block, with three drop-downs:

Below, the reason for what has been proposed appears when there is one, for example ‘Scheme “Customs” from the supplier record’. How each thing is decided is in purchase or sale, VAT scheme and payment method.

What do the colours mean?

Each field has a dot in front of its name, and its box on the PDF matches:

DotBoxMeans
GreenBlueRead with certainty
AmberAmberRead with some doubt
RedRedDoubtful: check it. It is usually a field that hasn’t been found written exactly like that on the PDF (for example, taken from the legal text in the margin)
GreyNo boxNot read

The field you have selected is drawn in orange, both in the list and on the PDF. Clicking a box on the PDF selects its field in the list, and the other way round.

The fields essential for recording the invoice —the supplier’s name and Tax ID, number, date, tax base, taxes and total— always appear, even if the AI hasn’t found them. If one is empty, you will see the message ‘Missing: type it or mark it’ inside its box.

What does the reliability mean?

It is a score from 0 to 100 that the program calculates on its own, without asking the AI. It measures four things, and by far the most important is that the figures add up:

If you move the mouse over the Reliability, ‘Worth checking:’ appears with the reasons why it has dropped. They are the list of what to check first. The score is recalculated every time you correct something: it is the quick way to know whether your correction has fixed the problem.

How do I correct a misread field?

You have two ways.

Type the value by hand. Click in the field’s box, type the correct value and leave the box. The field is corrected and the reliability is recalculated.

Mark it on the PDF. This is the right way when the field is on the page and the AI has picked up another one:

  1. Click the field’s Mark on the PDF button (the one with the box with arrows). Above the viewer ‘Drag over the PDF to mark where … is’ appears.
  2. Drag a box over the value, on the PDF.
  3. The program reads the text inside and puts it as the field’s value.

If you pick the wrong field, click Cancel, or click another field in the list: the box you draw will go to that one. In a scanned PDF there is no text to read inside the box: the zone is saved and the value is kept, so that you type it yourself.

Marking by hand also teaches the program where that field is on that supplier’s invoices: this is explained in teach the program a supplier’s invoices.

How do I add or remove a field?

If the invoice has something you want to keep and it isn’t in the list —the payment method, a delivery note number, a job reference—, type in Another field on the invoice… the label exactly as it appears on the invoice (for example ‘Payment method’) and click Add or press Enter.

The program looks for that label on the PDF and takes what goes with it: what is to its right on the same line or, if there is nothing, what is just below. In the example, ‘Payment method’ picks up ‘ADVANCE BANK TRANSFER’, and the viewer takes you to that area so that you check it. If the label doesn’t appear written like that, the field is created empty and the program switches to marking: drag the box over its value on the PDF.

Fields you add this way appear in Other details: they are read and saved, but don’t go to any field of the purchase invoice.

The Remove this field button (the cross) removes it from this invoice and, if that supplier had a zone learned for it, forgets that too. Essential fields can’t be removed.

Can I correct the invoice lines?

You can change the supplier reference (the Ref. column) and remove a line that isn’t part of the invoice (a subtotal, a usage line from the detail) with its cross. The description, quantity and amounts aren’t edited here.

The lines have to add up to the tax base in the totals. If they don’t, the Lines drop-down opens by itself and says so: ‘The lines add up to 87.60 € and the tax base is 89.00 €’. Like that it isn’t imported: when you click Import the invoice stays in the inbox with that message. You have three ways out:

An invoice whose total wouldn’t be the one on paper isn’t imported either (for example, because the discounts carry no VAT): the message says what it would be recorded for and what the invoice says.

What if no line has been read?

It happens with scanned receipts: the tax base, the VAT and the total are read, but not the detail. The invoice isn’t rejected: it is recorded with lines taken from the totals, one per VAT rate, with the description ‘Base 21 %’, ‘Base 10 %’ or ‘Exento’ (exempt), which add up to the tax base and give the VAT. The Lines drop-down says so: ‘No lines were read: it is recorded with lines from the totals (10,36 € at 10 %)…’.

If the VAT doesn’t match a single rate, it is split between two (a bar receipt with food at 10 % and drinks at 21 %). If the VAT wasn’t read, the total minus the tax base is used. And if there is no way to balance it, the invoice isn’t imported and the message asks you to correct the tax base or the VAT.

What do I do with electricity and phone bills, which come with detail pages?

Tick Ignore lines (recorded from the tax base), above the lines table.

Those invoices give the tax base, the VAT and the total at the start and, behind them, pages of fees, discounts, usage and calls. That detail doesn’t add up to the tax base, and it doesn’t have to. With the box ticked the invoice is recorded like this:

When the lines don’t add up to the tax base but the totals do (base + VAT = total), the box comes ticked by itself: it is almost certainly an invoice of this kind. You can untick it. Below it you can read what is going to be recorded: ‘One line of 89.00 € at 21 % VAT is recorded; the 8 lines read go below as detail…’.

To tick it, the tax base and a VAT in the totals that matches a VAT rate (21, 10, 4…) are needed. If the VAT is misread, correct it first.

If you mark an amount in the totals with a box that covers several (‘Base imponible 89,00 IVA 18,69 Total 107,69’), the program takes the one for the field you are marking: for the VAT, the one after ‘IVA’.

How are the lines linked to my items?

By the supplier reference: the code the supplier uses for the product on their invoice. The program separates it from the description even if it comes stuck to the start (‘77759408 MONITOR TACTIL’ becomes reference 77759408 and description ‘MONITOR TACTIL’).

It looks for the item in this order, and keeps the first one it finds:

  1. By reference: the item from that supplier that has it in its Supplier reference field.
  2. By barcode: if the line carries an EAN (13 or 8 digits with a correct check digit), the item that has it as its Barcode, whichever supplier it belongs to.
  3. By name, as a last resort: the item whose name is exactly the description, ignoring case, accents, spaces and punctuation (‘CABLE H07V-K, 1,5 mm’ finds ‘Cable h07v k 1 5 mm’). If several have that name, the one from that supplier; if there is still more than one, none: it doesn’t guess.

Below the description of each line you will see:

If the reference is misread, correct it in the Ref. box and the program searches again. If you delete it, the line comes in as a free-text description.

The same reference at two different suppliers is two different items: each supplier has its own catalogue. And in any case, importing a purchase invoice records the expense, the VAT and the payment; it doesn’t book goods into the warehouse.

How do I accept the invoice and import it?

When the fields and totals are correct, click Import, bottom right. The purchase invoice is created with its number from your series, its journal entry, its input VAT and its payment instalment. The program moves on by itself to the next invoice to review.

When importing, the program also saves where each field was, leaves the supplier validated and learns its fingerprints from that invoice (its Tax ID, its account, its website…) to recognise the next ones even if the Tax ID can’t be read. That way the next invoice from that supplier is read on its own: this is explained in teach the program a supplier’s invoices.

Importing creates a purchase invoice, which isn’t deleted from here. Check the total and the date before clicking. An imported invoice can still be seen in the Imported tab, with the message ‘Recorded as purchase invoice’, but it can no longer be changed.

If you made a mistake, delete the purchase invoice from Purchases, like any other. Its PDF goes back to the inbox to review, with the message ‘The invoice imported from this PDF was deleted’: correct it and import it again, or remove it from the inbox.

What if I’m not interested in an invoice?

Click the bin, Remove from the inbox, bottom left. The invoice disappears from the inbox and from the summary. If you upload the same PDF again later, it is read as new.

An invoice that has already been imported can’t be removed: it is already a purchase invoice, and it is voided from the invoice itself like any other.

If something goes wrong

What you seeWhat has happenedWhat to do
‘The PDF for this document cannot be found.’The file is no longer on the serverClick Remove from the inbox and upload the PDF again
A sale has come in as a purchaseIt was uploaded with Invoices set to Purchases, which is the defaultChange it in Invoice type; upload the next ones with Sales
The VAT in the footer comes out with a doubt dotIt wasn’t read correctly and has been worked out from the total minus the tax baseCheck it on the PDF
‘The supplier’s Tax ID is missing (or invalid): mark it in the PDF’ when importingIt couldn’t be known who the invoice is fromSee what to do if it doesn’t recognise the supplier
‘This document’s supplier is no longer in this company…’ when importingIts record was deleted, or the invoice was associated with a supplier from another companyCheck the supplier’s Tax ID in the fields and click Import again: it is looked up again or created
‘Could not create the item…’ when importingA line with a new reference hasn’t been able to create its record (for example, the plan doesn’t allow more items)Read the reason; correct or delete the reference on that line so that it comes in as a free-text description
You add a field and it comes out emptyIts label isn’t written like that on the invoiceMark its value on the PDF
Save zones and Validate supplier don’t appearThe invoice doesn’t have a supplier yetResolve the supplier first
‘The PDF has no extractable text’ when reading againIt is a scan; this button only works with textRead it again from Import summary, which does use image reading
The Import button is greyed outYour profile doesn’t allow recording invoicesAsk whoever administers the ERP for the permission
The reliability doesn’t go up when you correctThe reasons are differentMove the mouse over the reliability and read the reasons one by one
‘The lines add up to … € and the invoice tax base is … €…’ when importingThe lines read aren’t the invoice’s, or one is missingRemove the extra ones, read it again or tick Ignore lines
‘The invoice would be recorded for … € and the total on paper is … €…’ when importingThe VAT of some line isn’t the invoice’sRead it again or tick Ignore lines
‘No lines were read and the VAT in the totals matches no VAT rate…’ when importingThe scan has no lines and its VAT isn’t one rate or twoCorrect the tax base or the VAT in the totals
‘To ignore the lines, the VAT from the totals is needed…’The VAT read doesn’t match any VAT rateCorrect the VAT in the totals and tick the box again

Previous: Import a supplier invoice in PDF · Next: Teach the program a supplier’s invoices

More about Invoice import