# Error BR-KSA-17

**URL:** <https://zatca1.discourse.group/t/error-br-ksa-17/4149>\
**Category:** General\
**Created:** [November 12, 2024, 7:25am UTC](https://zatca1.discourse.group/t/error-br-ksa-17/4149 "2024-11-12T07:25:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashraf\_gebril](https://avatars.discourse-cdn.com/v4/letter/a/47e85d/32.png) [@ashraf\_gebril](https://zatca1.discourse.group/u/ashraf_gebril)\
**Post date:** [November 12, 2024, 7:25am UTC](https://zatca1.discourse.group/t/error-br-ksa-17/4149/1 "2024-11-12T07:25:55Z")

</div>

[message] =\> Debit and credit note (invoice type code (BT-3) is equal to 383 or 381) must contain the reason (KSA-10) for this invoice type issuing.

How to solve this problem … even in a simple example to deal with the problem .

```auto
    <cbc:ProfileID>reporting:1.0</cbc:ProfileID>
    <cbc:ID>885</cbc:ID>
    <cbc:UUID>77d51807-f6dc-4c28-8755-684d33b32aef</cbc:UUID>
    <cbc:IssueDate>2024-11-10</cbc:IssueDate>
    <cbc:IssueTime>10:16:40</cbc:IssueTime>
    <cbc:InvoiceTypeCode name="0200000">381</cbc:InvoiceTypeCode>
    <cbc:DocumentCurrencyCode>SAR</cbc:DocumentCurrencyCode>
    <cbc:TaxCurrencyCode>SAR</cbc:TaxCurrencyCode>
    <cac:BillingReference>
        <cac:InvoiceDocumentReference>
            <cbc:ID>22007</cbc:ID>
        </cac:InvoiceDocumentReference>
    </cac:BillingReference>
    <cac:AdditionalDocumentReference>
        <cbc:ID>ICV</cbc:ID>
        <cbc:UUID>1</cbc:UUID>
    </cac:AdditionalDocumentReference>
    <cac:AdditionalDocumentReference>
        <cbc:ID>PIH</cbc:ID>
        <cac:Attachment>
            <cbc:EmbeddedDocumentBinaryObject mimeCode="text/plain">NWZlY2ViNjZmZmM4NmYzOGQ5NTI3ODZjNmQ2OTZjNzljMmRiYzIzOWRkNGU5MWI0NjcyOWQ3M2EyN2ZiNTdlOQ==</cbc:EmbeddedDocumentBinaryObject>
        </cac:Attachment>
    </cac:AdditionalDocumentReference>

```
