ZATCA E-Invoicing (Fatoora): A Guide for Saudi Accountants
Understand clearance, reporting and accounting through two worked Saudi sales examples.
ZATCA E-Invoicing (Fatoora): The accountant’s responsibilities
ZATCA e-invoicing (Fatoora) connects invoice generation and document validation with the records an accountant uses to support sales, purchases and VAT. The practical question is simple: when a sale happens, what must the business issue, what must it send to the authority, and what belongs in the accounts?
Keep three decisions visible. First, determine the required invoice and its compliance status. Second, assess when the customer obtains control of the goods or services and when the business has a right to payment. Third, determine the VAT tax point under the applicable rules. These decisions can produce different dates. A clearance response is important evidence about the document; it does not automatically set every accounting date.
This guide uses two fictional Saudi businesses: an inventory supplier with a credit sale at month-end, and a café receiving cash from a consumer. Both examples assume a local sale taxable at 15%, with the stated facts satisfied. Other transactions require their own assessment.
You will need the sales contract, delivery or service evidence, invoice data, payment records and the platform response. Read the examples alongside our [Saudi VAT accounting guide](/learn/vat-accounting-saudi-arabia). The aim is a traceable explanation from the commercial event to the invoice and the ledger, so another accountant can understand why each amount appears in its period.
Generation and integration: Check the business’s applicable phase
The Zakat, Tax and Customs Authority (ZATCA) introduced the generation phase on 4 December 2021. It requires taxpayers within scope to generate and retain invoices and related notes through a compliant electronic solution. A handwritten invoice or an invoice produced through ordinary text-editing software does not meet the electronic-invoicing requirement merely because it is saved as a PDF.
The integration phase began on 1 January 2023, with implementation in waves. It adds structured invoice requirements and integration with the Fatoora platform. Determine the business’s own integration date using its ZATCA notification and the [official rollout information](https://zatca.gov.sa/en/E-Invoicing/Introduction/Pages/Roll-out-phases.aspx). Avoid relying on an old article’s wave number or assuming that a smaller business is automatically outside Phase 2.
Before the applicable date, the finance and systems teams should agree who owns invoice generation, connection setup, error monitoring and retained evidence. Test both the document format and the operational handoff: who notices a failure, who corrects it, and how an accountant finds the final response.
Phase 1 and Phase 2 also differ in QR requirements. The [Phase 1 preparation guidance](https://zatca.gov.sa/en/E-Invoicing/PreparingYourBusiness/Phase1/Pages/How-to-prepare.aspx) distinguishes the mandatory QR on simplified tax invoices from the optional QR on standard tax invoices in that phase. Apply the requirements for the actual phase and document type.
Standard and simplified invoices: Choose the correct workflow
A standard tax invoice is typically associated with business-to-business transactions, while a simplified tax invoice is commonly used for sales to consumers. These labels help explain the workflows. The permitted invoice type still depends on the VAT invoicing rules and the transaction’s circumstances.
For taxpayers subject to Phase 2, the ordinary standard-invoice workflow requires clearance before the invoice is shared with the buyer. The solution submits the structured document, receives the platform’s result, and provides the cleared document to the buyer. Teams should distinguish a cleared document, a cleared document with warnings, and a rejected document.
For a simplified invoice, the business generates the compliant invoice and provides it to the customer at the sale. Its solution then reports the invoice to ZATCA within 24 hours of generation. This is a reporting deadline. It does not authorize waiting 24 hours to generate the customer’s invoice.
The [19 May 2023 implementation resolution](https://zatca.gov.sa/ar/E-Invoicing/Introduction/LawsAndRegulations/Documents/20230519_E-Invoicing%20Resolution.pdf), Second (3), sets out this distinction. Design routine operations around it, and handle technical exceptions using the authority’s applicable instructions rather than inventing a local exception.
ZATCA E-Invoicing (Fatoora): Read the technical evidence correctly
An invoice includes commercial and tax data as well as technical identifiers. The accountant should be able to locate the seller, buyer details where required, issue date and time, supply information, amounts, tax treatment, invoice identifier, counter and previous-document hash. A structured XML file and a readable customer copy serve different purposes; retain the required records and ensure that their amounts agree.
The stamping roles differ. During standard-invoice clearance, the Fatoora platform applies ZATCA’s cryptographic stamp and QR data. For simplified invoices, the seller’s electronic generation solution stamps the document using its signing key and the cryptographic stamp identifier obtained through ZATCA onboarding. Protecting that key is a systems responsibility with direct consequences for invoice integrity.
The [security implementation standard](https://zatca.gov.sa/ar/E-Invoicing/SystemsDevelopers/Documents/20230519_ZATCA_Electronic_Invoice_Security_Features_Implementation_Standards_vF.pdf), QR table, specifies tags 1–8 for Phase 2 tax invoices: seller name, seller VAT number, timestamp, total including VAT, VAT total, XML hash, signature and public key. Tag 9 applies to simplified invoices and their associated notes. It carries the additional signature by ZATCA’s technical certification authority. Therefore, describing every invoice as having the same nine QR fields is inaccurate.
QR data uses TLV structure encoded in Base64. Base64 is encoding, not encryption. Hashes and signatures help detect alterations; they do not make every part of an accounting system immune to manipulation. A QR scan is also only one document check. Input-VAT recovery requires the applicable entitlement and documentary conditions to be satisfied, including the relevant electronic-invoicing requirements; a readable QR alone cannot establish that entitlement.
Accounting and VAT: Establish each date from its governing rules
Under [IFRS 15](https://www.ifrs.org/issued-standards/list-of-standards/ifrs-15-revenue-from-contracts-with-customers/), revenue reflects the transfer of promised goods or services to the customer. Assess control and the contract’s performance obligations. The date a platform accepts an invoice cannot replace that assessment. Our [revenue recognition guide](/learn/ifrs-revenue-recognition) explains the underlying reasoning.
Then assess the right to payment. An unconditional right, for which only the passage of time is needed before payment is due, is a receivable. A right still dependent on further performance may be a contract asset. The [IFRS-incorporating AASB 15 text](https://standards.aasb.gov.au/aasb-15-dec-2022-0), paragraphs 105–108, explains this distinction. A clearance delay does not automatically settle which classification applies: read the enforceable terms. This is part of [accrual accounting](/glossary#accrual-accounting), with [revenue recognition](/glossary#revenue-recognition) and collection assessed separately.
For an ordinary local taxable supply under the general VAT rule, Article 23 of the [GCC Unified VAT Agreement](https://zatca.gov.sa/ar/RulesRegulations/Taxes/Documents/VAT%20Final%2030%20Nov%202016%28updated%29.pdf) uses the earliest relevant event: supply, tax-invoice issuance, or receipt of payment to the extent received. Apply the specific supply-date definitions as well.
Check the current [Saudi VAT Implementing Regulations](https://zatca.gov.sa/ar/RulesRegulations/Taxes/Documents/Implmenting%20Regulations%20of%20the%20VAT%20Law.pdf) before applying that general rule. Article 20 contains special timing rules, including certain continuous supplies and qualifying government contracts; Article 46 governs approved cash-basis VAT accounting. Financial-reporting revenue, VAT and invoice compliance each need their own supported conclusion. Keep all relevant dates in the reconciliation, including actual issue, supply, payment and clearance or reporting dates.
Worked example: A March inventory sale clears in April
Facts. On 31 March 2026, fictional Riyadh company Namaa Supplies delivers inventory to a local business customer. Control transfers that day. The agreed price is SAR 20,000 excluding VAT, taxable at 15%. The company has an unconditional right to payment, with only the credit period outstanding. There is no earlier invoice or advance payment and no special VAT timing rule or approved cash-basis treatment applies.
The standard invoice clears through Fatoora on 1 April 2026. The finance team must explain the March sale and complete the document-compliance workflow, preserving the actual timestamps. The March entry is:
The receivable includes the VAT charged to the customer. Revenue excludes that tax. The supply facts support March VAT under the assumptions, while the unconditional right supports [accounts receivable](/glossary#accounts-receivable-ar). Record the separate inventory entry as a debit to cost of sales and a credit to inventory, both at the actual carrying cost of the goods sold. The selling price does not establish that cost. [IAS 2](https://www.ifrs.org/issued-standards/list-of-standards/ias-2-inventories/) requires the carrying amount to be expensed in the period of the related revenue.
When clearance arrives on 1 April, attach the cleared document and response to the existing sale. Do not post another sale or backdate the invoice to make the dates match. Record actual issue, supply and clearance dates accurately, investigate the delay, and share the standard invoice only after clearance. This accounting reconciliation does not remove the obligation to follow the required clearance workflow.
If the document is rejected, correct the documented error through the controlled process described below. The commercial evidence and enforceable right to payment still require assessment. A technical rejection by itself does not reverse the delivery, revenue or VAT.
Worked example: A café receives SAR 23 including VAT
Facts. Fictional Bayan Café in Jeddah sells a drink to a consumer for SAR 23 including 15% VAT. The customer receives the drink and pays cash immediately. The café issues a simplified tax invoice through its compliant Phase 2 solution.
Start with the inclusive price. Net revenue is 23 ÷ 1.15 = SAR 20. VAT is 23 − 20 = SAR 3. Adding another SAR 3 to the advertised SAR 23 would treat an inclusive price as if it were exclusive and overstate the amount due.
The café generates the invoice at the sale, and its solution applies the seller-side cryptographic stamp and required QR. It provides the customer’s invoice and reports the XML invoice within 24 hours of generation. The [detailed e-invoicing guideline](https://zatca.gov.sa/en/E-Invoicing/Introduction/Guidelines/Documents/E-Invoicing_Detailed__Guideline.pdf), simplified-invoice workflow, explains these steps. The reporting window is for submitting the already-generated invoice.
Retain the invoice data, cash-sale record and reporting response. Match the SAR 23 gross sale to the cash record, SAR 20 to revenue and SAR 3 to output VAT. When a successful reporting response arrives, update the document’s status and retain the acknowledgement; the response does not create a second sale.
At day-end, compare the sales-system totals, recorded receipts and invoice reporting statuses. Investigate missing or rejected reports separately from cash differences. The same operational distinction applies to the inventory supplier: the timing of a successful platform response and the accounting evidence both matter, for their respective purposes.
Handle rejected documents and warnings without losing the audit trail
A rejected invoice needs a named owner, the returned error, a correction and a retained link between the original attempt and its replacement. A warning also needs attention, even when the document has been accepted. Use the actual platform status rather than treating every non-empty response as rejection.
ZATCA’s [detailed technical guideline](https://zatca.gov.sa/en/E-Invoicing/Introduction/Guidelines/Documents/E-invoicing-Detailed-Technical-Guideline.pdf), business FAQs on rejected documents, explains that a corrected new document has its own counter and hash. Preserve the rejected document’s counter and hash; do not overwrite or reuse them. The previous-document hash must refer to the document generated immediately before the new corrected document, including where that preceding document was rejected. Rewinding the sequence can break the evidence chain.
For a standard invoice, obtain clearance of the corrected document before providing it to the buyer. For simplified reporting, resolve the cause and follow the prescribed rectification process while retaining the customer’s original transaction record. Log the actual generation and submission times. Technical staff should implement these rules in the solution rather than ask an accountant to edit signed XML manually.
A correction of a rejected technical document and a genuine commercial adjustment are different events. If the sale value changes or goods are returned, assess the proper credit or debit note and the corresponding accounting and VAT adjustment. A platform rejection alone does not prove that the sale or unconditional receivable disappeared.
The same technical guide states that XML or technical failure does not invalidate the underlying transaction. Determine the VAT liability from the transaction and applicable rules while fixing the compliance failure. Escalate unresolved errors promptly and preserve the evidence needed to explain both the original sale and the eventual valid document.
Common mistakes, a close checklist and further practice
The most costly mistakes often come from combining several decisions into one status. Review these before closing the period:
- Using clearance as the revenue date. Check when control transferred and document the conclusion.
- Moving VAT into the clearance period. Apply the general tax point or the relevant special rule, including an approved cash-basis method where applicable.
- Deleting a receivable after a technical rejection. Review the contract and the unconditional right to payment.
- Treating 24 hours as a generation allowance. Generate the simplified invoice at the sale and monitor the separate reporting deadline.
- Counting VAT twice on an inclusive price. Recalculate the net and tax components, as in the SAR 23 example.
- Treating a QR scan as sufficient evidence for deduction. Check business use, entitlement and the required supporting documents under the applicable rules.
For the close, reconcile invoice totals to the sales ledger and VAT records. List delivered sales awaiting document completion, rejected documents, accepted warnings and overdue simplified reports. For each exception, record the commercial transaction identifier, platform status, relevant dates, owner and next action. Investigate differences; do not choose whichever timestamp produces a convenient period.
When practising, write a short explanation beside each [journal entry](/glossary#journal-entry): what happened, why that date applies, and how the document status will be resolved. Our [journal-entry guide](/learn/how-to-record-journal-entries) can help with that structure. Use Accountery’s learning and practice areas to continue building your accounting skills. You can also explore [VAT Specialist Prep](/prep/socpa/vat-specialist) as a separate study resource and check its current published content before choosing a study path.