Invoice Fields & ZATCA QR Checker

Before the invoice goes out — or before it becomes an e-invoice and gets rejected by a machine. Paste plain invoice text or a Saudi Arabia ZATCA QR payload to verify mandatory particulars, arithmetic, and cryptographic tags.

🔒 Your invoice never leaves your browser.

One field per line. Labels are matched loosely — "Invoice no", "Bill to", "Subtotal" all work.

Why a paper invoice is worth checking against e-invoicing rules

The arithmetic findings here carry EN 16931 rule numbers — the same BR-CO-15 and BR-CO-17 that a Peppol access point will quote when it rejects your invoice later. An invoice whose VAT does not equal taxable amount times rate is already broken; the only difference after the e-invoicing mandate is that a machine says so instead of an accountant.

The scenario decides which particulars are mandatory

A customer VAT number is required when the customer accounts for the tax on an intra-EU supply, and is merely useful otherwise. This tool works the scenario out from the two VAT number prefixes — and when it cannot, it says scenario not determined rather than assuming one. Guessing here would either invent a requirement or hide one.

Zero VAT always needs a reason

A zero amount with nothing beside it is the most common reason an intra-EU invoice comes back with a question. The invoice has to say on what basis no VAT is charged — the exemption provision, or the words reverse charge.

Saudi Arabia ZATCA FATOORA E-Invoicing QR Code (Phase 1 & Phase 2)

Under Saudi Arabia ZATCA regulations, tax invoices must carry an offline-readable QR code containing ASN.1 BER-style Tag-Length-Value (TLV) encoded data formatted in Base64. Phase 1 requires 5 mandatory tags (Seller Name, 15-digit VAT number starting and ending with 3, ISO 8601 timestamp, Total Amount, VAT Amount). Phase 2 (for B2C simplified invoices) adds 4 cryptographic tags (SHA-256 XML hash, ECDSA digital signature, ECDSA public key / certificate, and cryptographic stamp identifier).

What this tool does not do

It does not check national add-ons beyond the EU directive and ZATCA standards. It does not verify VAT numbers against live government databases (VIES or GAZT), and this is not tax advice.

Every check this tool runs (16 EU VAT rules, plus 10 ZATCA QR rules and EN 16931 arithmetic)

INV-001 No invoice number

An invoice carries a sequential number that identifies it uniquely. It is the first thing a tax authority looks for and the thing every later correction refers back to.

Fix: Add the number from your own unbroken sequence.

EU VAT Directive on EUR-Lex ↗

INV-002 No issue date

The date of issue is a mandatory particular in its own right, separate from the date of supply. Where they differ, both are required.

EU VAT Directive on EUR-Lex ↗

INV-003 No supplier VAT identification number

The VAT identification number under which the supplier made the supply must appear on the invoice. Without it the customer cannot deduct the VAT, which turns a formatting problem into a cash problem for someone else.

EU VAT Directive on EUR-Lex ↗

INV-004 No customer VAT number on an intra-EU B2B supply

When the customer is liable for the tax on an intra-Community supply, their VAT identification number is mandatory — it is the evidence that the reverse charge applies at all.

Fix: Obtain and show the customer VAT number, and verify it in VIES before invoicing.

EU VAT Directive on EUR-Lex ↗

INV-005 No supplier name and address

The full name and address of the supplier are mandatory particulars.

EU VAT Directive on EUR-Lex ↗

INV-006 No customer name and address

The full name and address of the customer are mandatory particulars.

EU VAT Directive on EUR-Lex ↗

INV-007 No description of the goods or services

The quantity and nature of the goods, or the extent and nature of the services, have to be stated. "Services rendered" is the classic line that fails an audit.

EU VAT Directive on EUR-Lex ↗

INV-008 No date of supply

The date on which the supply was made or completed is required where it differs from the issue date. Invoices issued in a later period than the supply are exactly the case where it matters.

EU VAT Directive on EUR-Lex ↗

INV-009 No taxable amount

The taxable amount per rate, the unit price excluding VAT and any discounts not included in it are mandatory. A gross total alone does not satisfy this.

EU VAT Directive on EUR-Lex ↗

INV-010 No VAT rate

The VAT rate applied must be stated, per rate where several apply.

EU VAT Directive on EUR-Lex ↗

INV-011 No VAT amount

The VAT amount payable must be shown, except where a special scheme excludes it. It is the number the customer deducts, so an invoice without it is not deductible.

EU VAT Directive on EUR-Lex ↗

INV-012 Zero-rated or exempt without stating why

When VAT is not charged, the invoice must say on what basis — a reference to the applicable provision, or wording such as "Reverse charge". A zero amount with nothing beside it is the most common reason an intra-EU invoice is queried.

Fix: Add the exemption reference, or the words "Reverse charge" where the customer accounts for the tax.

EU VAT Directive on EUR-Lex ↗

INV-013 VAT charged to a customer in another EU member state

On a B2B supply to a VAT-registered customer in another member state the tax is normally accounted for by the customer, and the invoice carries no VAT. Charging it here is either a mistake or a case where a special rule applies — and the invoice does not say which.

Fix: Either apply the reverse charge and state it, or state the rule that makes this supply taxable where you are.

Source: yaktool engineering reading, not a quotation: the particulars listed here follow Article 226 of the EU VAT Directive (2006/112/EC) as commonly transcribed; national law adds further requirements this tool does not cover. Confirm against your own tax advice.

INV-014 Currency missing

Amounts without a currency are not amounts. EN 16931 makes the invoice currency a mandatory business term for exactly this reason.

EU VAT Directive on EUR-Lex ↗

INV-015 Supplier or customer VAT number is not well formed

The number does not match the length and character pattern its country prefix implies. A well-formed number can still be unregistered, but a malformed one is certainly wrong — and this check costs nothing.

Fix: Correct the number, then verify it in VIES before the invoice goes out.

Source: yaktool engineering reading, not a quotation: the particulars listed here follow Article 226 of the EU VAT Directive (2006/112/EC) as commonly transcribed; national law adds further requirements this tool does not cover. Confirm against your own tax advice.

INV-016 VAT number fails its country check digit

The format is right but the check digit built into the number does not agree with the rest of it — several member states (Germany, the Netherlands, Italy and others) build one in. This is a stronger signal than a format mismatch: the number was almost certainly mistyped rather than merely formatted oddly.

Fix: Re-key the number from the customer's own documentation, then verify it in VIES.

Source: yaktool engineering reading, not a quotation: the particulars listed here follow Article 226 of the EU VAT Directive (2006/112/EC) as commonly transcribed; national law adds further requirements this tool does not cover. Confirm against your own tax advice.

Saudi Arabia ZATCA QR Code Validation Rules

ZATCA-B01 Invalid Base64 or TLV encoding

ZATCA QR code payload must be a valid Base64 string containing properly formatted Tag-Length-Value (TLV) blocks where each tag is 1 byte, length is 1 byte, and length matches the payload value.

Fix: Ensure the QR code text is a valid Base64 string encoding valid TLV bytes with no truncated tag lengths.

ZATCA E-Invoicing Guidelines ↗

ZATCA-T01 Missing seller name (Tag 1)

Tag 1 (Seller's name) is mandatory for all ZATCA electronic invoices (Phase 1 and Phase 2) and must not be empty.

Fix: Include the seller's registered legal or trading name in Tag 1.

ZATCA E-Invoicing Guidelines ↗

ZATCA-V01 Invalid seller VAT registration number (Tag 2)

Tag 2 (Seller VAT number) is mandatory and must be exactly 15 digits, starting with 3 and ending with 3, in compliance with Saudi tax law.

Fix: Provide the seller's official 15-digit ZATCA VAT registration number starting and ending with digit 3.

ZATCA E-Invoicing Guidelines ↗

ZATCA-D01 Invalid invoice timestamp (Tag 3)

Tag 3 (Invoice timestamp) is mandatory and must follow ISO 8601 format (e.g. YYYY-MM-DDTHH:mm:ss or YYYY-MM-DDTHH:mm:ssZ).

Fix: Format the invoice issuance date and time as ISO 8601 (e.g. 2026-11-02T15:30:00Z).

ZATCA E-Invoicing Guidelines ↗

ZATCA-A01 Invalid invoice total amount (Tag 4)

Tag 4 (Invoice total including VAT) is mandatory and must be a valid non-negative decimal amount.

Fix: Specify the invoice gross total amount including VAT as a decimal number (e.g. 115.00).

ZATCA E-Invoicing Guidelines ↗

ZATCA-A02 Invalid VAT amount (Tag 5)

Tag 5 (VAT total) is mandatory and must be a valid non-negative decimal amount.

Fix: Specify the total VAT amount as a non-negative decimal number (e.g. 15.00).

ZATCA E-Invoicing Guidelines ↗

ZATCA-A03 VAT total exceeds invoice gross total

The VAT total in Tag 5 cannot exceed the invoice gross total in Tag 4.

Fix: Verify the invoice amounts; the gross total must equal or exceed the VAT portion.

ZATCA E-Invoicing Guidelines ↗

ZATCA-H01 Malformed XML hash (Tag 6)

Tag 6 (SHA-256 hash of invoice XML) is expected to be a 32-byte cryptographic hash or 44-character Base64 string.

Fix: Generate a 32-byte SHA-256 digest of the canonicalized invoice XML.

ZATCA E-Invoicing Guidelines ↗

ZATCA-P01 Incomplete Phase 2 cryptographic fields (Tags 6-9)

Phase 2 simplified tax invoices require all four cryptographic fields: XML hash (Tag 6), ECDSA digital signature (Tag 7), public key / certificate (Tag 8), and cryptographic stamp identifier (Tag 9). Partial presence indicates incomplete Phase 2 compliance.

Fix: Ensure all four Phase 2 cryptographic fields (Tags 6, 7, 8, 9) are populated.

ZATCA E-Invoicing Guidelines ↗

ZATCA-U01 Unrecognized or custom TLV tag

The TLV payload contains tag identifiers outside the standard ZATCA specification range (Tags 1-9).

Fix: Ensure only standard ZATCA tags 1 through 9 are included in the QR code.

ZATCA E-Invoicing Guidelines ↗

Arithmetic findings use the official Peppol / EN 16931 rule identifiers, quoted verbatim from the published rule set. ZATCA rules cite the official Electronic Invoicing Resolution Annex 2.

About these rules. Each one has an identifier, a severity and a plain-English explanation. Every source link is registered and re-checked against the live page rather than linked from memory. How rules are written, tested and kept current →