Standard tax invoice
A ZATCA standard tax invoice is the B2B invoice: transaction code starting 01, with buyer details and a supply date, cleared by ZATCA before delivery.
A standard tax invoice is issued for most B2B and B2G transactions. It goes through clearance: to ZATCA first, back stamped, then to the buyer as XML or as a PDF/A-3 with the XML embedded.
In the XML it is identified by name on cbc:InvoiceTypeCode: the first two digits are 01, typically 0100000 with 388. It needs what a simplified invoice does not: the buyer's name in cac:AccountingCustomerParty, their VAT number or another ID, their address, and a supply date in cac:Delivery/cbc:ActualDeliveryDate.
What goes wrong: thin buyer data, most of all. BR-KSA-42 for the name, BR-KSA-81 when there is neither a VAT number nor another buyer ID, BR-KSA-10 for street, city and country. BR-KSA-10's text speaks of foreign buyers, but in our SDK 3.4.8 tests it applies to Saudi buyers too, alongside BR-KSA-63 for the full national address. A missing supply date fails BR-KSA-15.
On Matheel you send "type": "standard" with a buyer (name, VAT number, address); Matheel uses the issue date as the supply date, clears the invoice and returns ZATCA's stamped invoice_xml.
Example
"buyer": {
"name": "Compliance Test Buyer",
"vat_number": "399999999800003",
"street": "Test Street",
"building_number": "1234",
"district": "Test District",
"city": "Riyadh",
"postal_code": "12345",
"country": "SA"
}
FAQ
The buyer has no VAT number. What now?
Add another buyer ID (such as a commercial registration number) in PartyIdentification, otherwise BR-KSA-81 fires.
Can I give the buyer the invoice before clearance?
No. A standard invoice reaches the buyer after ZATCA clears it, and the legal copy is the stamped one it returns.
Related ZATCA rules
Related terms
Let Matheel handle this for you
Matheel signs the invoice, files it with ZATCA and keeps the counter and hash in one request, and returns the PDF with the QR.
Try Matheel, no signup Matheel API docs