Finance ·
AI Invoice OCR: Digitize Vendor Bills in Seconds
Typing in vendor bills is slow and error-prone. With ERPSqlite OCR, you drop in the PDF or photo of the invoice and AI reads the data, fills in the form and highlights on the document where each value came from so you can check it at a glance. And the more you use it with a supplier, the less you have to correct.

What it reads
- Supplier and tax ID (NIF); if the supplier is new, it creates it.
- Invoice number, date and due date.
- Lines with description, quantity, price and taxes.
- Invoice totals and currency.
- PDF files or JPG, PNG and WEBP images.

It learns from each supplier
When you save, OCR compares what it read with what you left on the invoice. The next invoice from the same supplier comes out already corrected, with each line mapped to its product and taxes. Under “Learned” you can see what has been learned per supplier and make it forget.

Two ways to use it
- From a draft vendor bill: click “OCR”, drop the file into the side panel and click “Fill in the invoice”.
- From the OCR app: drop several invoices at once; they're created as drafts and you review them one by one.
- The file is saved in Documents (OCR folder) and in the invoice's history.


App screens and views
“Documents” is the inbox for everything digitized. At the top you choose the type (vendor bill, customer invoice, ticket or receipt, or another document) and click “Import documents” or drop in the files. The “To review”, “Done” and “With error” filters separate pending work.
Opening a document shows what was read alongside the image, with the “Create the invoice”, “Read again”, “View in Documents” and “Download” buttons.
“Learned” lists each supplier with the documents, line items and corrections learned, plus a “Forget” button to start over with that supplier.

A practical example
A restaurant receives a PDF invoice from its beverage supplier every week. The first time, the manager opens a new vendor bill, clicks “OCR” and drops in the PDF. The AI fills in the supplier, tax ID, number, dates and twelve lines; he fixes the tax on one line, picks the product on another and saves.
The following week he drops in the new invoice and the panel says: “Corrected with what was learned from this supplier.” The lines already have their product and tax, and all that's left is to check the totals and post.

Tips to get the most out of it
- Use the supplier's original PDF whenever you can; if it's a photo, make sure it's sharp and shows the whole invoice.
- Take your time correcting and saving the first invoices from each supplier: that's what it learns from.
- For month-end close, import all pending invoices at once from the OCR app and review them with the “To review” filter.
- If a supplier changes its invoice layout, use “Forget” under “Learned” so old corrections don't carry over.


Common mistakes and how to avoid them
- Posting without reviewing: OCR leaves the invoice in draft so you can check it; always compare the total with the one on the document.
- Using OCR without an API key configured: choose a provider and enter its key in AI Assistant, with the “Configuration” icon.
- Duplicating suppliers: OCR searches by tax ID first, so keep tax IDs filled in on your supplier records.

Compared with typing invoices by hand
Typing an invoice means copying the supplier, number, dates and every line, then checking that the total adds up. With OCR, that work becomes a review: the data arrives pre-filled and highlighted on the document itself, so all you have to do is check that each box is where it should be.
Plus, the original file doesn't get lost in a folder on your computer: it stays in Documents, linked to the invoice, ready whenever your accountant or a tax audit asks for it.

Frequently asked questions
What do I need to use it?
A key from an AI provider configured in the ERP, with a model that reads images. The document is sent to the AI to be read.
Does it accept photos as well as PDFs?
Yes, PDFs or photos of the invoice in JPG, PNG or WEBP.
Does it create the invoice by itself?
It fills in the form or creates a draft invoice; you review and post it.
Does it work for customer invoices too?
Yes. In the OCR app you can choose the “Customer invoice” type, as well as tickets or receipts and other documents.
Where is the file stored?
In the Documents app, OCR folder, and in the invoice's history. If you delete the digitized document, the invoice and the file are kept.
Can I digitize several invoices at once?
Yes. In the OCR app, drop in or import several files: they're read one after another and created as drafts for you to review.