insonl
← journal

Validate Currency and Tax Codes Before an Invoice Is Posted

date
30 November 2026
by
Insonl
read
7 min read

A supplier invoice can balance to the cent and still create the wrong payable. The purchase order may be in a different currency. An invoice line may carry a tax category that your ERP would map to the wrong treatment for the buying entity. Both errors can survive a perfect extraction because the answer depends on records outside the invoice.

Run currency and tax checks when the actual posting payload is ready. An extractor can read a currency code, tax label or amount and point back to the source. The posting service should read the approved purchasing records and tax configuration, check the proposed entry and hold it when a required check fails. Use the same gate for documents extracted from PDFs, imported as structured invoices or corrected by a reviewer.

Validate the currency against the purchase

Use the ISO 4217 alphabetic list to check the code itself and the ERP configuration to check whether the buying entity accepts that currency for posting. Keep a versioned reference list so you can explain a decision after a code changes. SIX publishes current and historical lists. For Peppol documents, apply the code list shipped with the supported billing profile when checking the document. A currency symbol in a scan is evidence to review when several currencies share it. Preserve the printed text and the source location so the reviewer can check the interpretation. SIX, Financial Data Standards · OpenPeppol, ISO 4217 currency codes

For purchase order invoices, compare the document currency with the currency on the matched order and check it against any enforced supplier or contract currency restrictions for that entity. Define whether the supplier master field is an allowed currency or a default used for new orders. A mismatch with an enforced restriction needs a hold. A mismatch with a default can be legitimate if the matched order and terms authorize the invoice currency. For an invoice without a PO, use the approved supplier terms or contract for the buying entity. Hold the invoice when the terms are missing or conflicting. Where cross-currency purchasing is allowed, require an approved exception or documented terms before the ERP applies its conversion policy.

Keep the invoice currency and VAT accounting currency in separate fields. Peppol rule R051 requires the amount currency identifiers to match the invoice currency except for the VAT total in accounting currency. Section 11.6 describes that second VAT amount and says the exchange rate used to calculate it is absent from the invoice instance, so the calculation is outside Peppol validation. Keep that VAT amount out of the invoice-currency payable calculation. Apply the ERP’s approved rate source and date when the posting itself requires conversion. OpenPeppol, Billing specification · OpenPeppol, Peppol billing rules

Check the tax code against the posting context

Keep the supplier’s tax category or label alongside the ERP tax code selected for the line. Peppol’s category list distinguishes standard rated, zero rated, exempt and reverse charge. The receiving ERP still needs a mapping approved by the finance or tax team. Key it on the facts the team uses to determine treatment, such as the buying entity, jurisdiction, applicable tax date and line classification. Include the rate and any evidence the mapping requires. A supplier’s country or the currency on the invoice is too little context to derive that mapping. OpenPeppol, Tax category code list

Check whether the resulting ERP code is active for that context and whether its treatment and rate agree with the documented facts. Two lines can both show zero supplier tax and require different ERP codes. If the evidence supports multiple treatments or a required fact is missing, send the line to tax review. When the ERP calculates a buyer-side tax entry, reconcile the supplier’s stated tax separately from the buyer-side amount the ERP is expected to book.

Then check what the category and rate do to the amounts. Rebuild the taxable base from the line net amounts and the charges and allowances assigned to that category and rate. For Peppol standard-rated VAT, BR-S-08 specifies that reconciliation for each rate. Check the base and tax by group before comparing the grand total. An allowance assigned to the wrong group can leave the invoice net total unchanged while shifting the taxable base. If the document presents only group-level tax, record any ERP line allocation as calculated and verify that it sums back to the group. OpenPeppol, EN 16931 rules in UBL

Reconcile amounts in the order they are calculated

Use decimal arithmetic and apply rounding at the points defined by the document profile and the posting configuration. Peppol specifies two decimals for line net and document-level amounts. To check line net, divide the item net price by its base quantity, multiply by invoiced quantity, and round the result before adding the separately rounded line charges and subtracting the separately rounded line allowances. Peppol also rounds the VAT category calculation to two decimals. For other intake profiles, document the precision and calculation sequence separately. Keep unit price precision, invoice amount precision and ERP posting precision explicit so a parser does not round a price before it is multiplied by the invoiced quantity. OpenPeppol, Billing specification · OpenPeppol, EN 16931 rules in UBL

For a Peppol invoice, sum the line net amounts, subtract document-level allowances and add document-level charges to get the invoice total before VAT. Sum the VAT amounts from the breakdown and add that tax total to get the invoice total with VAT. Derive the amount due by deducting any paid amount and applying the signed payable rounding amount. Compare each subtotal with its stated counterpart. Handle an explicit payable rounding amount at the payable step. An unexplained difference belongs at the calculation step where it arose. Any permitted posting tolerance should specify the currency, field and rule it applies to. Keep currency mismatches and unsupported tax treatments outside that tolerance. OpenPeppol, Billing specification

Route each failure to the person who can resolve it

Hypothetical example. A PDF clearly says USD and the totals reconcile. The approved PO is in CAD and the supplier record permits both currencies. On one line, the document shows zero tax but gives too little information to select an ERP code. Hold the currency mismatch for purchasing and the tax line for a tax reviewer. A reviewer who confirms the USD terms has resolved the currency question. The tax hold still needs its own evidence and decision.

Give reviewers the original page or XML field, the proposed value, the fact or calculation it conflicts with, and the version of the rule that signalled the failure. Route unreadable or misread fields to accounts payable, PO and contract conflicts to purchasing, and unresolved treatment to the tax owner. A reviewer can correct the extracted field, record an authorized exception to a purchasing restriction or request a corrected supplier document. Record the resolution against the draft revision. Re-run the checks on the final payload before the ledger write, including after changes to the underlying PO or tax setup. The posting service should require an explicit pass for that payload.

Use these related guides for field structure, OCR review thresholds, Peppol import validation and credit notes. A JSON Schema for Invoice Fields Your ERP Can Validate · Set OCR Confidence Thresholds for Invoice Review · Validate Peppol Invoices Before Importing Them Into Your ERP · Handling Credit Notes in Invoice Automation

Sources

Review your invoice posting checks

Bring an invoice that cleared intake and still needed a currency or tax correction, along with the posting rule it should have met. Request Insonl’s free AI workflow audit.