UAE & India Serving clients globally

Technology, AI & Risk Advisory

Should an AI invoice reader see the whole invoice?

A worked invoice and a field-by-field pilot decision for UAE and New Zealand finance teams using an AI reader and an India-based bookkeeping provider.

Score your pilot · Reproduce five worked invoice checks

Give the reader one job

A fictional UAE distributor wants its bookkeeping provider in India to prepare draft bills. A supplier sends an invoice with a purchase order number, item prices, a bank account, a signature and a personal mobile number. Only some of those details help prepare the draft. The finance manager keeps the complete original in the company’s accounting archive and gives the trial reader a smaller working copy.

The first test is whether the reader can extract the amounts, tie them back to the purchase order and flag a mismatch. Supplier identification, tax checks and payment approval stay with the finance team in this pilot.

Work through one AED 2,520 invoice

The example invoice shows 40 cartons at AED 60, a net amount of AED 2,400 and a printed tax amount of AED 120. The total should be AED 2,520. If the reader returns AED 2,250, the AED 270 difference sends the draft to a reviewer. This check reconciles the printed figures. The invoice’s tax treatment still needs its usual review.

Field on the originalWhat the pilot receivesBusiness reason
Supplier name, invoice number and dateA client-assigned supplier code plus the invoice reference and dateThe client resolves the supplier code from its own records and checks for a duplicate.
Purchase order, line items and totalsThe order reference, item codes, quantities, prices, currency, printed tax and totalThe reviewer can match the purchase and explain differences.
Contact name, mobile, signature and free-text notesOmit them from the working copy unless a reviewer identifies a specific needThey add little to this match and can identify a person.
Bank details or a change-of-account instructionWithhold the details and route any change to the established supplier-verification processPreparing a draft bill gives the reader no reason to change a payee.

Five worked invoice checks and how to reproduce them

On 26 November 2026, Datamsah ran four simple rules against five fictional invoice drafts. We wrote the printed amounts and simulated reader outputs ourselves. One draft qualified for human posting review. Four went to the exception queue. We tested the rules with supplied values. Measuring an AI reader’s accuracy would require separate trials on actual extraction results.

Run the cases in order, beginning with an empty list of passed invoices. For matching currencies, subtract printed net plus printed tax from the draft total, using exact decimal amounts. Hold any nonzero difference. For differing currencies, hold the draft and leave the difference blank. Also hold a draft if its supplier code and invoice reference match an earlier pass or its bank-change flag is yes. Only a pass adds its key to the list. A pass authorises human review only.

CaseInput and simulated draftActual rule outcome
C1 · Matching amountsS01 / INV-104. AED 2,400 net + AED 120 printed tax. Draft AED 2,520.Pass for human review. Difference AED 0.
C2 · Transposed amountS01 / INV-105. Same printed amounts. Draft AED 2,250.Hold for total mismatch. Draft is AED 270 low.
C3 · Repeat invoiceSame supplier, reference and figures as C1.Hold for duplicate even though the total matches.
C4 · Bank instructionS02 / INV-104. AED 800 + AED 40. Draft AED 840. Bank-change flag is yes.Hold for bank verification. A different supplier may use the same invoice reference.
C5 · Wrong currencyS03 / INV-501. NZD 100 + NZD 15. Draft AED 115.Hold for currency mismatch. A cross-currency difference is undefined here.
Reproduce the five results

Download the CSV and Python script into one folder. Run python3 check_invoices.py using Python 3. It prints each observed decision, reason and signed difference, then compares them with the three expected columns. It exits with an error on any mismatch. To inspect the same logic in a spreadsheet, keep the original row order and mark a duplicate only if its two-part key occurs on an earlier passing row.

Column definitions

case_id identifies the scenario. supplier_code and invoice_ref form the exact duplicate key. printed_currency, printed_net and printed_tax are the reference values from the fictional invoice. draft_currency and draft_total simulate extraction. bank_change_flag records an upstream reviewer’s yes/no finding. expected_decision, expected_reason and expected_difference are the comparison answers and have no role in computing the decision. Difference equals draft total minus printed net and printed tax, expressed in the common currency. Blank means the currencies differ.

What the exercise covers

The examples assume complete inputs, two decimal places, one net amount and one printed tax amount. The bank-change flag is supplied, so this exercise does not test whether a reader can detect a bank instruction. It also leaves tax validity, supplier identity, redaction quality and production duplicate history for separate checks.

To report an error, contact Datamsah through the enquiry page with the case ID, expected result and observed result. Use fictional figures in correspondence. Report a correction.

Find who can see the invoice before it reaches the ledger

Ask the provider to trace a single test invoice through upload, text extraction, model processing, exception review, logs and deletion. Record which legal entity can open each copy, from which country, for what purpose and for how long. If the full PDF reaches a hosted extraction tool before fields are removed, that tool has already received the original. Create the smaller copy inside the client’s approved environment and check its text layer as well as its appearance.

Keep the supplier-code lookup with the client. A code, invoice reference or item description may still point back to a sole trader. Treat the reduced copy as potentially identifiable when reviewing access and contracts.

The UAE and New Zealand clients have different questions

For a UAE client, identify the contracting establishment and the kind of personal data on the invoice. Article 2 of the federal Personal Data Protection Law has exclusions, including establishments in free zones with their own personal-data legislation and certain separately regulated health, banking and credit data. Where the federal law applies, review the transfer routes under Articles 22 and 23 before permitting access from India. Its definition of cross-border processing includes viewing data outside the UAE.

For a New Zealand client, ask what each overseas recipient can do with the information. Under section 11 of the Privacy Act, an agent handling information solely for the client leaves the client responsible. The Privacy Commissioner explains that this arrangement falls outside the overseas-disclosure rule in information privacy principle 12. If the supplier may reuse identifiable invoices to train its own general model, reassess the permitted disclosure and the applicable principle 12 safeguard before sharing.

Check the Indian delivery arrangement and any EU connection

India’s Digital Personal Data Protection Act 2023 and its 2025 rules are being introduced in stages. As of 26 November 2026, consent-manager registration has begun. The core duties, rights and section 17 exemptions are scheduled for 13 May 2027. Once effective, section 17(1)(d) provides a limited exemption when an India-based person processes data about individuals outside India under a contract with a person outside India. Sections 8(1) and 8(5) on accountability and reasonable safeguards are preserved for data fiduciaries. Check where the people are and which parties signed the contract.

If the invoice involves EU personal data, examine the actual connection under GDPR Article 3. Common triggers include processing in the context of an EU establishment, or a non-EU business offering goods or services to people in the EU or monitoring their behaviour there. For an in-scope controller using a processor, Article 28 requires binding processing terms, including instructions and controls over subprocessors. If a GDPR-covered exporter makes personal data available to a separate provider in India, establish the applicable Chapter V transfer mechanism and assess onward access. Remote access can count even when the server stays in Europe.

What the finance manager approves

Approve a first run on fictional invoices. Include a duplicate, a wrong total, a sole trader’s contact details embedded in a line description and a bank-change request. For each, record what reached the reader, what it returned and who handled the exception. Give the pilot account permission to create drafts only.

Move to a limited batch of real invoices when the team can reproduce those checks, account for every recipient, agree the applicable transfer terms and verify retention and deletion settings. A human approves the posting. Any proposal to change supplier bank details, reuse documents for training or send the full PDF to another provider reopens the decision.

Score your invoice-reader pilot

Use a fictional invoice to test six controls. Choose Verified when you have reviewed the evidence described. Choose Gap found when a test fails, or Unknown when you have not checked it yet.

Each verified control earns one point. Gaps and unknowns earn zero. This internal worksheet measures the evidence you have for this pilot. Certification and legal compliance require separate assessments. Your selections stay on this page.

Check invoice arithmetic

A reviewer can show that a fictional AED 2,520 invoice passed and a draft for AED 2,250 against the same invoice stopped for an AED 270 difference.

Next test: Run both totals against the same fictional invoice. Keep the draft outputs and the reviewer’s exception record.

Catch the same invoice twice

Sending the same fictional supplier, invoice number and amount twice produced one draft eligible for posting. The second submission was recorded for review.

Next test: Submit the same fictional invoice twice and compare the draft IDs. Check whether a reviewer can locate the duplicate.

Remove unnecessary fields before upload

A capture of the outgoing test document contains the order reference and amounts. A made-up mobile number and signature are absent from both the visible page and its text layer.

Next test: Put a distinctive fictional mobile number in a test invoice. Inspect the actual outgoing file and its extracted text before a provider receives it.

Keep payee changes under human control

A fictional request to change the supplier’s bank details was routed to a reviewer. The pilot account could neither edit the payee record nor release a payment.

Next test: Send a made-up bank-change instruction through the draft-only account. Capture the review route and confirm that the payee record stays unchanged.

Identify who receives the data

The team can trace one test record through extraction, model processing, logs and human review. The record names the recipients, locations, permitted uses and treatment of model training.

Next test: Trace one fictional record with the provider. Match each recipient and use to the written terms, and ask the privacy owner to review any unexplained overseas access.

Check when copies are deleted

A dated test records deletion of a sample from active storage and what remains in logs or backups. A named owner can point to the applicable expiry date or retention rule for each copy.

Next test: Delete a fictional sample. Record what the team can verify immediately and assign an owner to confirm later expiry for logs or backups.

Tell us how you’ll use this check (optional, one question). Your score and selections stay on this page.

Run the acceptance tests · Discuss your pilot findings

Sources

Test your invoice workflow

Discuss an invoice-processing pilot

Tell us your accounting system, approximate monthly invoice volume and where reviewers work. Please leave invoices and personal details out of your enquiry.

Discuss an invoice-processing pilot