e-Invoicing · ZATCA, the ETA and the UAE programme, in ERP CoreThe invoice the ERP posts is the one the authority clears.
There is no second system and nothing is keyed twice. The sales invoice carries the fields ZATCA and the ETA require, generates the XML and the QR at posting, is stamped or cleared through the authority's platform, and shows its status on the record. Corrections are credit and debit notes, because nothing issued can be edited.
- ZATCA Phase 2 · Saudi ArabiaClearance and reporting, live
- ETA · EgyptE-invoice, live
- UAE e-invoicing · the FTAIn development
- Where
- Inside ERP Core: the sales invoice the ledger posts is the one the authority clears
- Corrections
- Credit and debit notes, because nothing issued can be edited
Eight things the authority expects, done at posting.
E-invoicing is part of the Finance module. The customer, the product and the invoice already carry the tax facts; the layer turns them into the document each authority validates and keeps the proof.
The XML
UBL 2.1 with the Saudi extensions for ZATCA, the ETA's JSON document for Egypt, generated from the invoice at posting with the UUID and the counter, never typed.
Hash chain and stamp
Each invoice carries the hash of the previous one per solution unit; simplified invoices are stamped with the unit's production CSID before they leave.
Clearance and reporting
Standard invoices cleared in real time before the customer sees them; simplified invoices reported within the window; a queue with retries when the platform is slow.
QR and PDF/A-3
The QR on every simplified invoice, the cleared XML embedded in the PDF for standard ones, both in Arabic and English on the printed document.
Onboarding per unit
Compliance CSID, the sample invoices, the production CSID: onboarding runs from the settings page per branch or device, with renewal before expiry.
Corrections that comply
An issued invoice cannot be edited or deleted by anyone. Credit and debit notes reference the original with the reason, and go through the same clearance.
Status on the record
Generated, queued, cleared, reported, rejected: the state and the authority's reason on the invoice and in a list the finance team watches.
Archive
The XML, the stamp, the response and the PDF kept per tenant for the retention period, exportable for the auditor.
Three pages a finance team lives in.
The e-invoice list with every status, an invoice with its clearance timeline, and the onboarding page for a solution unit. Pick a screen, or let it turn.
| Document | Customer | Type | Amount | Authority | Status |
|---|---|---|---|---|---|
| INV-26-118825 Sep 13:41 | Marina Holdings | Standard | SAR 42,000 | ZATCA · buyer VAT missing | Rejected |
| INV-26-119325 Sep 13:50 | Coastal Logistics | Standard | SAR 18,400 | ZATCA · timeout | Queued |
| INV-26-119425 Sep 14:02 | Gulf Data Centres | Standard | SAR 184,000 | ZATCA · cleared 2.0 s | Cleared |
| SI-26-447125 Sep 14:05 | Counter sale | Simplified | SAR 1,240 | ZATCA · reported | Reported |
| CN-26-008825 Sep 11:20 · for INV-26-1150 | Desert Rose Hotels | Credit note | SAR −6,000 | ZATCA · cleared 1.8 s | Cleared |
| INV-26-119225 Sep 10:12 | Northern Clinics | Standard | SAR 27,500 | ZATCA · cleared 2.4 s | Cleared |
| Unit | Branch | Compliance CSID | Production CSID | Counter | Status |
|---|---|---|---|---|---|
| RUH-01Riyadh head office | Riyadh | Passed · 12 Mar 2026 | Valid to 12 Mar 2027 | 8,412 | Live |
| JED-01Jeddah branch | Jeddah | Passed · 14 Mar 2026 | Valid to 14 Mar 2027 | 3,106 | Live |
| DMM-01Dammam branch | Dammam | Passed · 2 Apr 2026 | Valid to 2 Apr 2027 | 1,988 | Live |
| POS-RUH-02Riyadh showroom · POS | Riyadh | Passed · 9 Jun 2026 | Valid to 9 Jun 2027 | 14,220 | Live |
| CAI-01Cairo · ETA profile | Cairo | Token installed | ETA production | 577 | ETA |
Sample data on CorporateStack's own screens.
Issue to archive, and what happens at each stage.
One document from the sales order to the auditor's folder. Each stage is a fact the authority can verify, and none of them is typed twice.
- From the delivery or the sales order
- Customer VAT number and address on the account
- VAT category per line, SAR totals
- Numbered by the unit's counter
- XML with every mandatory field
- UUID and the previous invoice's hash
- Type and subtype flags
- ETA document for Egypt
- Simplified: stamped by the unit's CSID
- Standard: cleared by ZATCA in real time
- Queue and retries when the platform is slow
- Rejections with the reason on the record
- QR on the simplified invoice
- Cleared XML embedded in the PDF
- Arabic and English on the printout
- Sent from the record
- No edit, no delete after issue
- Credit or debit note with the reason
- References the original
- Goes through the same clearance
- XML, stamp, response and PDF kept
- Per tenant, exportable
- Status report for the VAT return
- Ready for the auditor
The same chain runs for Egypt with the ETA's document and signature, and is being built for the UAE programme as the Federal Tax Authority rolls it out.
e-Invoicing for ZATCA, the ETA and the UAE, as each of them wants it.
A group with companies in Riyadh, Cairo and Dubai runs one Finance module. The country on the company decides the authority, the format and the rule.
Small things a finance team notices in the first week.
Rejections with the rule that failed
The authority's validation code and its meaning on the record, the fix on the master data, and the resubmission from the row.
A queue, not a failure
When the platform is slow the invoice waits and retries; a standard invoice never reaches the customer before it is cleared.
The only way to correct
A credit or debit note carries the reason and the reference, goes through clearance, and the original stays as issued.
Certificates that do not lapse quietly
Each unit's CSID has its expiry on the settings page and a reminder before it, so a branch never stops clearing on a Sunday morning.
Egypt on the same screens
The Cairo company signs and submits to the ETA from the same invoice list, with the item codes on the product and the response on the document.
The return from the same documents
The VAT figures come from the cleared invoices and the posted bills, by rate and by branch, so the return is a report rather than a reconciliation.
See your invoice cleared.
A consultant posts a sales invoice on a tenant set up for your country and clears it through ZATCA's or the ETA's test platform, in forty-five minutes, online or at your office. The reply comes within one working day.