Decisions6 min read
Reading supplier invoices with AI in the UAE: OCR, language models and the human check
By Sannan MalikPublished
Short answerTo read supplier invoices with AI in the UAE, start with an invoice extraction service whose own documentation lists Arabic, add a language model for the layouts it misses, and let plain code check the arithmetic and the Tax Registration Number. A person then approves anything flagged before it posts. Of the three cloud invoice models I checked, only Microsoft's lists Arabic for invoices. Google's and Amazon's do not.
OCR, extraction and a language model do three different jobs
People say AI reads the invoice as if that were one step. It is three. OCR turns pixels into characters. Extraction decides which characters are the invoice number and which are the total. A language model can attempt both at once from an image of the page, and that flexibility is also its risk.
A specialised invoice service scores its own work. Microsoft describes its confidence value as an estimated probability between 0 and 1 that a prediction is correct, and says it can be used to decide whether to accept a value automatically or flag it for human review. Amazon's AnalyzeExpense returns a confidence score with each piece of data it detects. That number is what makes a review queue possible.
A general language model reads the page differently. Anthropic's documentation says Claude processes each PDF page as an image. OpenAI's says its API extracts both the text and an image of each page and sends both to the model. I did not find a per-field confidence score described on either page. Anthropic's vision guide is plain about the limit: the model might hallucinate or make mistakes on low-quality, rotated or very small images.
So my design uses both. The invoice service goes first because it scores itself. The language model fills what the service leaves blank, and its answers count as unconfirmed until the checks further down pass.
Which services list Arabic for invoices on their own pages
Reading Arabic text and understanding an Arabic invoice are separate claims, and vendors make them separately. I read each vendor's own language page on 14 November 2026. They change. Read them again before you commit.
A listed language is a starting point. The case to test is a bilingual invoice with Arabic and English on the same page. Run a batch of your own invoices before choosing.
| Service | Arabic text (OCR) | Arabic invoices (field extraction) |
|---|---|---|
| Azure AI Document Intelligence | The Read model lists Arabic for printed text, and for handwritten text in v4.0 | Yes. The prebuilt invoice model lists Arabic for v3.1 and v4.0 |
| Google Cloud Document AI | Enterprise Document OCR lists Arabic | No. The Invoice Parser lists 12 languages and Arabic is not one |
| Amazon Textract | Printed text in more than 40 languages, Arabic included | No. The FAQ says invoice and receipt processing is in English only |
| Claude or OpenAI models with PDF input | No language list on the PDF pages I read | No vendor claim there, so test on your own invoices |
The fields to extract, set against what a UAE tax invoice must show
Article 59 of the Executive Regulation of the UAE VAT law lists what a tax invoice must contain. The Federal Tax Authority publishes an English version that it labels as not an official translation, so treat the checklist below as a description and not as tax advice. Your tax adviser confirms what applies to you.
The same Article allows a simplified tax invoice with fewer particulars when the recipient is not registered, or is registered and the consideration does not exceed AED 10,000. So a missing buyer TRN on a small invoice is not automatically an error.
I would add four fields the regulation does not ask for but accounts payable needs: the purchase order number, the due date, the supplier's bank details as printed, and the currency.
The prebuilt services cover most of this. Microsoft's invoice schema has VendorTaxId, CustomerTaxId, InvoiceId, InvoiceDate, SubTotal, TotalTax and InvoiceTotal, plus line items. Google's parser has supplier_tax_id, receiver_tax_id and currency_exchange_rate. I did not see a field for the words Tax Invoice in either list. That check is yours to build.
- The words Tax Invoice, clearly displayed.
- The supplier's name, address and Tax Registration Number (TRN).
- Your own name, address and TRN, where you are a registrant.
- A sequential or unique invoice number.
- The date of issue, and the date of supply if it is different.
- A description of the goods or services.
- For each line: the unit price, the quantity or volume, the tax rate and the amount payable in AED.
- The amount of any discount.
- The gross amount payable in AED.
- The tax amount in AED, with the exchange rate applied where it was converted from another currency.
- Where you have to account for the tax yourself, a statement saying so, with a reference to the relevant provision of the law.
Checks that code does, and checks a person still does
Arithmetic is not a job for a model. Once the fields are out, ordinary code can test them, and code is never unsure.
Take a made-up invoice with three lines: 40 units at 12.50, 10 units at 85.00 and one delivery charge of 150.00. The lines come to 500.00, 850.00 and 150.00, so the subtotal must be 1,500.00. The invoice prints a tax rate of 5%, so the tax must be 75.00 and the total 1,575.00. If extraction returns a total of 1,515.00, one digit was misread, and the invoice goes to a person with that field highlighted. No confidence score was needed to catch it.
On the threshold for the review queue: Amazon's FAQ gives the example of flagging anything with a confidence score lower than 95%, and Microsoft's guidance says to consider human review in the workflow. I would start strict. Review every invoice for the first month, then loosen only the fields nobody had to correct. New suppliers and changed bank details stay with a person for good.
| Check | Done by | On a fail |
|---|---|---|
| Quantity times unit price equals each line amount | Code | Line flagged |
| Lines add up to the subtotal, and subtotal plus tax equals the total | Code | Invoice held |
| Supplier TRN matches the TRN on your supplier record | Code | Invoice held |
| Same supplier and invoice number already posted | Code | Marked as a possible duplicate |
| Any field under your confidence threshold | Code flags, a person decides | Reviewer sees the page crop beside the value |
| Bank details differ from the supplier record | Person | Call the supplier on a number already on file before paying |
| Goods or service received, and the price matches the order | Person | Normal approval |
| Tax invoice, or a quote, statement or proforma | Model suggests, a person confirms | Filed, not posted |
Scoping an invoice reader: data, lifespan and price
An invoice reader is a custom AI system. It is quoted separately from my app packages (Launch at $999, Growth at $1,699 and Scale at $2,500), as a fixed quote after a written scope. The vendor's usage charges, hosting and ongoing maintenance are not included.
I would settle two things in that scope. The first is where the invoices go. Supplier invoices carry names, bank details and prices, and my post on AI API data retention covers what to check before sending them to a provider.
The second is how long you need the reader in this form. The Ministry of Finance says an e-invoice is structured data exchanged between supplier and buyer, and that PDFs, images and scanned copies are not e-invoices. Invoices that arrive that way need no OCR. My post on UAE e-invoicing explains who is covered and when, so I would size the reader for the documents that will still arrive as paper or PDF.
Send me twenty of your own invoices, including the worst scans and a few in Arabic. I will tell you which fields come out cleanly, which need the language model, and which will always need a person.
Questions
- Can AI read handwritten Arabic invoices?
- Microsoft lists Arabic for handwritten text in its v4.0 Read model. Amazon's FAQ says its handwriting processing is in English only. Listed support is not accuracy on your documents, so I would route every handwritten invoice to a person.
- Does a scanned invoice work as well as a digital PDF?
- Microsoft says its invoice model accepts phone-captured images, scanned documents and digital PDFs, and recommends one clear photo or high-quality scan per document. A digital PDF already holds its text, so there is less to misread. I would ask suppliers to email the original PDF instead of a photo of a printout.
Sources
Platform rules and fees in this article were checked against these official pages on 14 November 2026. They change, so confirm before you rely on them.
- Microsoft Learn: Invoice data extraction, Document Intelligence
- Microsoft Learn: Language and locale support for prebuilt models, Document Intelligence
- Microsoft Learn: Language and locale support for Read and Layout document analysis, Document Intelligence
- Microsoft Learn: Interpret and improve model accuracy and confidence scores
- Azure-Samples on GitHub: Document Intelligence invoice model schema, 2024-11-30 (GA)
- Google Cloud Document AI: Processor list
- Amazon Textract Developer Guide: Analyzing Invoices and Receipts
- Amazon Textract FAQs | AWS
- Claude Docs: PDF support
- Claude Docs: Vision
- OpenAI API: File inputs
- Federal Tax Authority: The Executive Regulation of the Federal Decree-Law No. 8 of 2017 on Value Added Tax (Cabinet Decision No. 52 of 2017 and its amendments, unofficial translation)
- Ministry of Finance: eInvoicing
Sannan Malik is a software architect and product builder with 8+ years in software, CEO of Alpha Notic FZE and a Certified Scrum Product Owner. He builds mobile apps and business software for companies in the UAE, the wider Gulf, the UK, the US, Canada and Australia.