Invoice OCR: how AI extracts data from your invoices
Last updated: 2026-10-26
Invoice OCR (optical character recognition) turns a PDF invoice, photo or scan into structured data. An AI invoice scanner goes further than classic OCR: it understands the layout and automatically identifies the supplier, customer, ICE, invoice number and date, line items, VAT rates and totals — with no template to set up.
Classic OCR vs AI extraction
Classic OCR only turns the image into raw text; you then need per-supplier templates to find each field. Vision AI models read an invoice like an accountant: they recognize fields whatever the layout, in French as well as Arabic.
Data extracted
- Seller: company name, address, ICE, IF, RC, TP
- Customer: name, address, ICE
- Invoice number, date and due date
- Line items: description, quantity, unit price before tax, discount, VAT rate and amount
- Totals before tax, VAT and including tax, currency and payment method
Accepted formats
Coumpta accepts images (JPG, PNG, WebP), PDFs (including multi-page PDFs holding several invoices), Excel files and invoices sent over WhatsApp. An invoice spanning several pages is rebuilt automatically, and pages with no invoice data (cover page, envelope sheet) are skipped.
Tips for reliable extraction
- Photograph the invoice flat, well lit, without glare
- Prefer the original PDF over a photo when you have it
- Send one invoice per image, or one PDF grouping several invoices
- Review fields flagged as missing before filing
From invoice to VAT return
Once extracted, Coumpta groups the data in a table you can filter by supplier and period, and generates the VAT deduction statement in the XML format expected by SIMPL-TVA.
Frequently asked questions
Does OCR work on Arabic invoices?
Yes. Coumpta’s AI extraction reads invoices in Arabic, French and English.
Do I need a template for each supplier?
No. The AI recognizes fields whatever the invoice layout.
Can I scan several invoices in one PDF?
Yes. A multi-page PDF is split automatically: each invoice is detected, and an invoice spanning several pages is rebuilt.