ZATCA Compliance

ZATCA Debit Note (383) vs Credit Note (381) Guide (2027): XML Rules & Generator

When to issue a ZATCA Debit Note (383) vs Credit Note (381) in Saudi Arabia: mandatory BT-25 BillingReference, KSA-10 InstructionNote rules, positive-amount XML requirement, and free generator.

Qeemah Team • Published: • Updated: • 7 min read
ZATCA Debit Note (383) vs Credit Note (381) Guide (2027): XML Rules & Generator

Summarize or verify this guide with AI:

Opens your preferred AI assistant with this article and ZATCA compliance context pre-loaded.

Quick Answer: Credit Note (381) vs Debit Note (383)

Under ZATCA regulations, issued invoices are immutable. To adjust an issued or cleared invoice:

  • Issue a Credit Note (cbc:InvoiceTypeCode = 381) to reduce the invoice total and VAT (returns, post-sale discounts, cancellations, VAT overcharges).
  • Issue a Debit Note (cbc:InvoiceTypeCode = 383) to increase the invoice total and VAT (additional charges, upward price corrections, VAT undercharges).

Generate a compliant bilingual PDF/TLV template instantly using our free ZATCA Credit & Debit Note Generator (381 / 383).


Mandatory Phase 2 XML Rules (Avoid Instant Rejections)

  1. Reference the Original Invoice (BT-25): Always populate <cac:BillingReference><cac:InvoiceDocumentReference><cbc:ID>INV-...</cbc:ID></cac:InvoiceDocumentReference></cac:BillingReference>.
  2. State an Explicit Reason (KSA-10): Always provide <cac:PaymentMeans><cbc:InstructionNote>...</cbc:InstructionNote></cac:PaymentMeans>.
  3. Never Use Negative Amounts: All line and tax amounts in UBL 2.1 XML must remain positive; type code 381 vs 383 signals the accounting direction to ZATCA.
  4. Maintain PIH & ICV Sequence: Credit and debit notes participate in the exact same hash chain and monotonic counter as standard invoices.

Test your XML before sending with our ZATCA XML Validator & Viewer, or automate Phase 2 cleared credit/debit notes natively in Qeemah ZATCA E-Invoicing (View Pricing).

Frequently Asked Questions

What is the UBL 2.1 code for a ZATCA Credit Note vs Debit Note?

Use InvoiceTypeCode 381 for a Tax Credit Note (reducing invoice value and VAT) and InvoiceTypeCode 383 for a Tax Debit Note (increasing invoice value and VAT). Always use positive numeric amounts in XML.

What causes ZATCA rejections on Credit and Debit Notes?

The top three causes are omitting cac:BillingReference (BT-25 original invoice ID), omitting cbc:InstructionNote (KSA-10 reason), or passing negative amounts instead of positive values.

Works Cited & Technical References

  1. Zakat, Tax and Customs Authority (ZATCA) — Credit and Debit Notes Technical Implementation Guidelines, zatca.gov.sa.

Recommended next steps

Share this article