BR-KSA-56: Credit or debit note without the original invoice number

A warning: the invoice is accepted with a note; fix the cause in the next invoices.

Official text

For credit notes ((BT-3) has the value of 381) and debit notes ((BT-3) has the value of 383), the billing reference ID (BT-25) is mandatory.

Warning · Source: ZATCA E-Invoicing SDK 238-R3.3.8 · Electronic Invoice XML Implementation Standard v1.2, 19 May 2023, §13.3.1, p. 57 · Checked: 26 October 2026

What it means

A credit note (381) or debit note (383) must point to the number of the original invoice it adjusts, in BillingReference.

When it happens

How to fix it

  1. Look up the original invoice by its number or in the sales history before the refund.
  2. Write its number in BillingReference/InvoiceDocumentReference/ID.
  3. If the refund covers several invoices, add one reference for each.

Example

Wrong: raises BR-KSA-56
<cac:BillingReference>
  <cac:InvoiceDocumentReference>
    <cbc:ID></cbc:ID>
  </cac:InvoiceDocumentReference>
</cac:BillingReference>
Correct
<cac:BillingReference>
  <cac:InvoiceDocumentReference>
    <cbc:ID>654321</cbc:ID>
  </cac:InvoiceDocumentReference>
</cac:BillingReference>

We ran the wrong example through ZATCA's SDK 238-R3.3.8 on 26 October 2026 and it raised BR-KSA-56, along with BR-55, BR-KSA-F-06-C22. The example is an excerpt of ZATCA's sample Simplified/Credit/Credit Note of a Simplified Tax Invoice.xml with one change; the sample without it does not raise the code.

Related codes

Terms on this page

Frequently asked questions

What does BR-KSA-56 mean?

A credit note (381) or debit note (383) must point to the number of the original invoice it adjusts, in BillingReference.

Is the invoice rejected when BR-KSA-56 appears?

A warning: the invoice is accepted with a note; fix the cause in the next invoices. This is its severity in ZATCA's SDK 238-R3.3.8.

How do I fix BR-KSA-56?

1. Look up the original invoice by its number or in the sales history before the refund. 2. Write its number in BillingReference/InvoiceDocumentReference/ID. 3. If the refund covers several invoices, add one reference for each.

Last updated: 26 October 2026 · What we don't do · Methodology · Correct us · Changelog

First published 2026-10-26 · Archived copy

First 500 restaurants, cafés, bakeries and sweet shops: a SAR 99 monthly cap.

Instead of SAR 149, per branch, for a full year. Free to join, no commitment.

Reserve your seat