ZATCA Phase 2 from the system you already invoice in.
Your ERP, POS or billing system sends each invoice to a flow. Exomations checks it, builds the UBL 2.1 XML, signs it with your unit's certificate, adds the QR code, and clears or reports it with ZATCA. The result comes back in the same run, for the next step to write into your system.
Tax invoices and simplified invoices, with their credit and debit notes. Pricing is agreed with you.
For your company, every branch, and the systems you already use.
Invoice under your own VAT number, from wherever your team invoices today.
Your company and its branches
Each branch or point of sale is its own invoicing unit with ZATCA, with its own certificate and its own invoice chain, so one branch never holds up another.
- Tax invoices (B2B) and simplified invoices (B2C)
- Invoices, credit notes and debit notes
- Each unit set up in a guided wizard with the one-time code from Fatoora
Any ERP, POS or billing system
A flow takes each invoice from your system through a connector, a webhook trigger or the trigger API. Its ZATCA step issues the invoice through the unit you choose, and the next steps write the result back with any connector.
- Flow templates to start from for Odoo, Zoho Books, QuickBooks, Xero, Salla, Zid and Foodics
- Any other system through a webhook trigger or the trigger API
- Status, UUID, hash, QR code and XML ready for your next steps
From your system to ZATCA and back, in one flow.
Keep invoicing where you invoice today. Exomations sits between your system and ZATCA's Fatoora platform, and every answer comes back to your flow.
Your system
Your ERP, POS or billing system sends the invoice data to your flow.
Exomations
Checks the data, builds the UBL 2.1 XML, signs it with your unit's certificate and adds the QR code.
ZATCA Fatoora
Clears tax invoices and receives the simplified invoices you report.
Back to you
The status, UUID, hash and QR code come back to your flow, and its next steps update your system. The PDF can go to your customer by email.
Cleared before your buyer receives them
A tax invoice goes to ZATCA for clearance as soon as it is signed. The answer, with the QR code, comes back in the same run.
Reported in the same run
A simplified invoice gets its QR code straight away and is reported to ZATCA in the same run, well inside the 24 hours the rules allow.
What Phase 2 asks for, handled.
Signed XML and a PDF with QR
UBL 2.1 XML signed with your unit's certificate, and a PDF with the QR code printed and the XML attached.
Your own invoice design
Arabic first or side by side, with your logo, colours, bank details and terms. ZATCA's required fields and the QR code cannot be hidden.
Invoices, credit and debit notes
Tax and simplified invoices, and the credit and debit notes that correct them, each pointing to the original invoice with a reason.
Works with your systems
ERPs, POS systems and online stores through their connectors, and a webhook trigger or the API for everything else.
Guided onboarding
A wizard takes your VAT details, creates each unit's key and certificate request, and completes ZATCA's onboarding with the one-time code you generate in Fatoora.
Branches as separate units
Each branch or device has its own ZATCA certificate and its own invoice chain.
Signed invoices stay as issued
Once an invoice is signed, its UUID, hash, QR code and signed XML cannot be changed. A correction is a new credit or debit note.
Audit trail
Every action on a unit or an invoice is written to your workspace's append-only, hash-chained log.
Hosted in Saudi Arabia
The application and database run on STC Cloud in Riyadh.
One call in. The result back in your flow.
Send the invoice to your flow with the trigger API you already use. The ZATCA step's result is there for the next steps of the same flow.
Send an invoice to your ZATCA flow
Your flow's ZATCA step reads these fields. Field names from your own system work too: map them in the flow. Each line needs a price and a VAT rate.
curl -X POST https://exomations.com/api/trigger/YOUR_FLOW_ID \
-H "X-Api-Key: exo_your_key" \
-H "Content-Type: application/json" \
-d '{
"invoiceNumber": "INV-2026-000123",
"invoiceDate": "2026-11-19",
"buyerName": "Example Customer Company",
"buyerVatNumber": "399999999800003",
"lineItems": [
{
"id": "1",
"name": "Consulting services",
"quantity": 10,
"unitPrice": 100,
"vatRate": 15
}
]
}'const invoice = {
"invoiceNumber": "INV-2026-000123",
"invoiceDate": "2026-11-19",
"buyerName": "Example Customer Company",
"buyerVatNumber": "399999999800003",
"lineItems": [
{
"id": "1",
"name": "Consulting services",
"quantity": 10,
"unitPrice": 100,
"vatRate": 15
}
]
};
const res = await fetch("https://exomations.com/api/trigger/YOUR_FLOW_ID", {
method: "POST",
headers: {
"X-Api-Key": process.env.EXOMATIONS_KEY,
"Content-Type": "application/json",
},
body: JSON.stringify(invoice),
});
const run = await res.json(); // 202: { executionId, status: "queued" }import os, requests
invoice = {
"invoiceNumber": "INV-2026-000123",
"invoiceDate": "2026-11-19",
"buyerName": "Example Customer Company",
"buyerVatNumber": "399999999800003",
"lineItems": [
{
"id": "1",
"name": "Consulting services",
"quantity": 10,
"unitPrice": 100,
"vatRate": 15
}
]
}
res = requests.post(
"https://exomations.com/api/trigger/YOUR_FLOW_ID",
headers={"X-Api-Key": os.environ["EXOMATIONS_KEY"]},
json=invoice,
timeout=15,
)
run = res.json() # 202: {"executionId": "...", "status": "queued"}What comes back
The call returns at once with the run's id. When ZATCA answers, the ZATCA step's output holds the result, and your next steps write it wherever you need it.
{
"executionId": "0b6f6c1e-5a55-4d0e-9a57-2f7c1d0e8a11",
"status": "queued"
}{
"status": "cleared",
"invoiceNumber": "INV-2026-000123",
"icv": 1024,
"uuid": "3cf5ee18-ee25-44ea-a444-2c37ba7f28be",
"invoiceHash": "QeT3o0ZXHr2Fzd9PXX6yv0SMmn0tJ3LQd8yr7GNOV7k=",
"qrBase64": "ARdFeGFtcGxlIFRyYWRpbmcgQ29tcGFueQIPMzk5OTk5OTk5OTAwMDAz",
"invoiceType": "388",
"invoiceSubTypeCode": "0100000",
"issueDate": "2026-11-19",
"totalWithoutVat": 1000,
"vatAmount": 150,
"totalWithVat": 1150,
"currency": "SAR",
"documentId": "6f1c2a9e-0000-4000-8000-000000000001",
"zatca": {
"kind": "clear",
"status": "cleared",
"httpStatus": 200,
"warnings": [],
"errors": []
}
}What finance teams ask first
Do we need to change our ERP?
No. Your ERP, POS or billing system keeps issuing invoices. A flow takes each one to ZATCA, and its next steps write the result back.
What happens when ZATCA rejects an invoice?
A rejected invoice is final under ZATCA's rules: it is never sent again, and it is corrected with a new document. The step stops with ZATCA's own codes and messages, word for word.
How is a unit set up?
In Settings, a wizard asks for your VAT details and the unit's branch, then completes ZATCA's onboarding with the one-time code you generate in the Fatoora portal. You onboard a Simulation unit first; a production unit can be added once a Simulation unit for the same VAT number is onboarded.
Which documents are covered?
Tax invoices and simplified invoices, with their credit notes and debit notes.
Pricing is agreed with you.
Tell us how many branches and invoices you have and which systems you use, and we will agree a plan with you before you go live.
