# Billing Reference id

**URL:** <https://zatca1.discourse.group/t/billing-reference-id/567>\
**Category:** General\
**Created:** [August 20, 2023, 12:00pm UTC](https://zatca1.discourse.group/t/billing-reference-id/567 "2023-08-20T12:00:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![a.nagy](https://avatars.discourse-cdn.com/v4/letter/a/4da419/32.png) [@a.nagy](https://zatca1.discourse.group/u/a.nagy)\
**Post date:** [August 20, 2023, 12:00pm UTC](https://zatca1.discourse.group/t/billing-reference-id/567/1 "2023-08-20T12:00:24Z")

</div>

I need an example to add related invoices of credit note or debit note in the xml

---

<div class="post-metadata">

**Author:** ![jiri](https://avatars.discourse-cdn.com/v4/letter/j/53a042/32.png) [@jiri](https://zatca1.discourse.group/u/jiri)\
**Post date:** [August 20, 2023, 12:07pm UTC](https://zatca1.discourse.group/t/billing-reference-id/567/2 "2023-08-20T12:07:57Z")

</div>

XML examples are available in the SDK.  
You can download the SDK in [Sandbox](https://sandbox.zatca.gov.sa/). After opening it, go to Data → Samples.

Example of tag:

```
<cac:BillingReference>
    <cac:InvoiceDocumentReference>
        <cbc:ID>SME00002</cbc:ID>
    </cac:InvoiceDocumentReference>
</cac:BillingReference>

```

Example details can be found also in the [data dictionary](https://zatca.gov.sa/en/E-Invoicing/SystemsDevelopers/Pages/E-Invoice-specifications.aspx), Term ID BT-25.
