Skyline Nexus ERP Skyline Nexus ERP
Free tool

ZATCA QR code decoder

Paste the base64 string from a Saudi tax invoice QR code and read what is actually inside it: seller, VAT number, timestamp, totals, and whether the invoice is signed under Phase 2.

Everything on this page runs in your browser. Nothing you paste or type is uploaded, logged or stored — an invoice QR carries a seller's VAT number, totals and signature, and that belongs to you.

Scan the invoice QR with any reader and paste the text it returns. It should look like random letters and digits — that is the encoded payload, not a broken scan.

What is actually in a ZATCA QR code

It is not a link. The QR on a compliant Saudi invoice holds a compact binary structure — tag, length, value — encoded as base64. Each field has a numbered tag: 1 is the seller name, 2 the VAT registration number, 3 the timestamp, 4 the total including VAT, 5 the VAT amount.

Phase 2 documents add four more: a hash of the invoice XML, the digital signature, the public key, and the certificate stamp. That is why the presence of tags 6 to 9 tells you which phase the document was produced under.

What this tool can and cannot tell you

It reads the fields and shows you what the invoice claims: who issued it, when, for how much, and how much of that is VAT. If those figures disagree with the printed invoice in your hand, that is worth asking about.

It does not verify the signature. Confirming that a signature is valid and that the certificate behind it is genuine is something only ZATCA can do authoritatively, and any tool claiming otherwise is overstating what it knows.

Common questions

Is the QR payload I paste uploaded anywhere?

No. The decoding happens in your browser, and nothing you paste is uploaded, logged or stored. That is deliberate rather than incidental: an invoice QR carries a seller's VAT number, totals and signature, and that information belongs to you. The page does not even host a form that could post it.

What is actually inside a ZATCA QR code?

It is not a link. The QR on a compliant Saudi invoice holds a compact tag-length-value structure encoded as base64, where tag 1 is the seller name, 2 the VAT registration number, 3 the timestamp, 4 the total including VAT and 5 the VAT amount. Phase 2 documents add four more: a hash of the invoice XML, the digital signature, the public key and the certificate stamp.

Does this prove the invoice is genuine?

No. The tool reads the fields and shows you what the invoice claims — who issued it, when, for how much, and how much of that is VAT. It does not verify the signature: confirming that a signature is valid and that the certificate behind it is genuine is something only ZATCA can do authoritatively, and any tool claiming otherwise is overstating what it knows. If the decoded figures disagree with the printed invoice in your hand, that is worth asking about.

How can I tell whether an invoice was issued under Phase 1 or Phase 2?

By which tags are present. A payload carrying only the first five fields is the Phase 1 shape; the presence of tags 6 to 9 — the XML hash, signature, public key and certificate stamp — tells you the document was produced under Phase 2. The decoder shows which of them it found.

Why does it say my payload will not decode, or ends mid-field?

Two different problems. If it does not decode as a ZATCA payload at all, the usual cause is that the text came from a link the reader followed rather than from the QR itself, or that only part of the string was copied — it should look like random letters and digits. If it decodes but ends mid-field, the scan was cut short or the text was truncated when it was copied, so re-scan and paste the whole string.

Free tools

Guides

ZATCA Phase 2 e-invoicing: what integration actually requires What makes a tax invoice ZATCA-compliant in Saudi Arabia Filing a Saudi VAT return: what your system needs to produce Choosing an ERP in Saudi Arabia: a practical checklist Trial balance to financial statements IFRS and your ERP CRM that ends in the ledger Maintenance and the balance sheet How ERP modules actually integrate The month-end close, in order Balance sheet reconciliation Designing a chart of accounts Cash flow is not profit Working capital and the cost of growth Unit economics and break-even Financial controls a small business actually needs How to record a sale How to record a purchase How to run a trial balance and balance sheet How to cancel or correct a transaction How to run payroll Canadian sales tax: GST, HST, PST and QST explained EU VAT reverse charge and OSS explained SAF-T reporting in Europe: a country-by-country guide Making Tax Digital for VAT: UK rules explained ERP course projects for accounting students ERP for universities: teaching on a live system How to learn ERP systems: a 90-day plan Accounts payable vs accounts receivable Cash flow statement: the indirect method, worked Consolidation accounting: a worked group example Cost accounting basics: methods and examples Deferred revenue accounting: entries and schedule General ledger explained: accounts, posting, review Goodwill and intangible assets under IFRS Gross profit vs net profit: formulas and margins Intercompany accounting: entries and reconciliation Invoice vs receipt vs bill: the differences explained Petty cash accounting: imprest, entries, controls Provisions and contingent liabilities (IAS 37) Retained earnings explained: formula and examples VAT accounting entries with worked examples What is depreciation? Methods and worked examples What is EBITDA? Formula, margin and pitfalls ACCA vs CPA vs CA vs CIMA: which to choose Accounting interview questions and model answers Excel for accountants: functions and techniques How to become an accountant: routes and timelines Accounting glossary: A to C Accounting glossary: D to I Accounting glossary: J to P Accounting glossary: Q to Z Bank reconciliation template (free Excel download) Budget vs actual template (free Excel download) 13-week cash flow forecast template (free Excel) Chart of accounts template (free Excel download) Fixed asset register template (free Excel download) Month-end close checklist template (free Excel) Accounting basics for beginners Accrual vs cash basis accounting Adjusting entries explained Debits and credits explained How to read financial statements Inventory costing: FIFO vs weighted average Journal entries with examples The accounting cycle, step by step Audit materiality and sampling Bank reconciliation step by step Budgeting and variance analysis Financial ratio analysis Finding and correcting accounting errors How a financial statement audit works Journal entry testing and fraud red flags Preparing for an external audit IAS 21 foreign currency accounting explained IFRS 15 revenue recognition: the five-step model IFRS 16 leases: lessee accounting with examples IFRS 18 presentation and disclosure explained IFRS 9 expected credit losses: a practical guide What is IFRS? Who uses it and how it is organised EU e-invoicing mandates: ViDA and country timelines IFRS for SMEs: scope, simplifications and 2027 changes IFRS vs ASPE: choosing a framework in Canada IFRS vs US GAAP: the differences that matter FRS 102 vs IFRS: UK GAAP after the 2026 changes Audit trail and activity log in Skyline Nexus ERP Automatic journal entries in Skyline Nexus ERP Bank reconciliation in Skyline Nexus ERP Budgets and cost centres in Skyline Nexus ERP Financial statements and the year-end audit pack Fiscal year and period close in Skyline Nexus ERP Fixed assets and depreciation in Skyline Nexus ERP Foreign-currency invoicing in Skyline Nexus ERP How Skyline Nexus ERP works: one sale, end to end Migrating to Skyline Nexus ERP: a cut-over plan Multi-branch accounting in Skyline Nexus ERP Roles, permissions and segregation of duties Belgium e-invoicing mandate 2026: Peppol explained France e-invoicing reform 2026: what changes Germany e-invoicing mandate: dates, formats, GoBD Italy e-invoicing through SdI: a practical guide Portugal certified invoicing, ATCUD and SAF-T (PT) Verifactu and e-invoicing in Spain: dates and rules ERP reseller partner: how to become one ERP partner programme for accounting firms