Credit Notes & Refunds in ZATCA Phase 2
A credit note (document type 381) is how you officially reverse or partially reverse a previously issued invoice. ZATCA has specific requirements that differ from typical accounting systems — most importantly, the amounts must be positive.
When to issue a credit note
- Full return — the buyer returns all goods and wants a full refund
- Partial return — the buyer returns some items
- Price correction — you overcharged and need to reduce the amount
- Order cancellation — the transaction is cancelled after the invoice was issued
The most common mistake: negative amounts
Many accounting systems represent credit notes with negative line amounts (e.g. –500 SAR). ZATCA rejects this. Rule BR-KSA-F-04 requires all amounts and quantities to be positive. The document type code 381 itself signals to ZATCA that this is a reversal — you don't need to negate the numbers.
❌ Wrong (will be rejected)
<LineExtensionAmount> -500.00 </LineExtensionAmount> <TaxAmount> -75.00 </TaxAmount>
✅ Correct
<InvoiceTypeCode name="381"> 388 </InvoiceTypeCode> <LineExtensionAmount> 500.00 </LineExtensionAmount>
Mandatory: BillingReference
Every credit note must reference the UUID of the original invoice it's reversing. In UBL XML, the BillingReference element must appear before AdditionalDocumentReference — this is an XSD element ordering rule. Wrong order causes the dreaded "invalid-invoice-hash" error even if the content is correct.
Reason codes
ZATCA accepts a short text reason on credit notes, typically supplied via PaymentMeans/InstructionNote. Accepted reason descriptions include:
| Reason | Use when |
|---|---|
| Return of goods | Customer returns physical products |
| Order Cancellation | Entire order is cancelled after invoicing |
| Price Correction | You overcharged on the original invoice |
VAT category preservation
The credit note lines must use the same VAT category as the original invoice lines. If the original had Exempt (E) lines at 0%, the credit note must also declare Exempt — not Zero-rated (Z). Saudi VAT Pro automatically copies the vatCategory and discount amounts from the parent invoice when you issue a full refund.
Can I issue a second credit note against the same invoice?
ZATCA does not technically block it at submission, but issuing two full-value credit notes against one invoice creates an accounting inconsistency. Best practice is to issue one credit note per return event, or a single partial credit note covering multiple returned items.
Related: Invoice Types Guide
Understand how Standard and Simplified invoices work before issuing a credit note against one.
Credit note checklist
- Document type is 381 (not 388)
- All amounts and quantities are positive (BR-KSA-F-04)
- BillingReference contains the original invoice UUID
- BillingReference appears before AdditionalDocumentReference in the XML
- VAT category matches the original invoice lines
- Reason is provided in InstructionNote
Credit notes issued automatically
Saudi VAT Pro generates fully ZATCA-compliant credit notes — positive amounts, correct BillingReference, and instant submission.