# Sample XML with discounts

**URL:** <https://zatca1.discourse.group/t/sample-xml-with-discounts/957>\
**Category:** General\
**Created:** [November 9, 2023, 9:57am UTC](https://zatca1.discourse.group/t/sample-xml-with-discounts/957 "2023-11-09T09:57:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Awais](https://avatars.discourse-cdn.com/v4/letter/a/d78d45/32.png) [@Awais](https://zatca1.discourse.group/u/Awais)\
**Post date:** [November 9, 2023, 9:57am UTC](https://zatca1.discourse.group/t/sample-xml-with-discounts/957/1 "2023-11-09T09:57:03Z")

</div>

We have two different types of discount one at header level and another at line level. I need sample XML files for these two different types of discounts. The latest sdk have very limited examples and is not covering my case.

---

<div class="post-metadata">

**Author:** ![Ankit.K.Tiwari](https://avatars.discourse-cdn.com/v4/letter/a/9d8465/32.png) [@Ankit.K.Tiwari](https://zatca1.discourse.group/u/Ankit.K.Tiwari)\
**Post date:** [March 3, 2024, 10:03am UTC](https://zatca1.discourse.group/t/sample-xml-with-discounts/957/2 "2024-03-03T10:03:29Z")

</div>

@Awais Kindly download the SDK release 3.3.1 or higher versions, it contains multiple XML Invoice Samples with different scenarios for allowances at the document and invoice line levels
