# Discount amount applying

**URL:** <https://zatca1.discourse.group/t/discount-amount-applying/5610>\
**Category:** Clearance and Reporting\
**Created:** [February 3, 2025, 6:38am UTC](https://zatca1.discourse.group/t/discount-amount-applying/5610 "2025-02-03T06:38:51Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shameem](https://avatars.discourse-cdn.com/v4/letter/s/7c8e57/32.png) [@Shameem](https://zatca1.discourse.group/u/Shameem)\
**Post date:** [February 3, 2025, 6:38am UTC](https://zatca1.discourse.group/t/discount-amount-applying/5610/1 "2025-02-03T06:38:51Z")

</div>

Dear @idaoud

i have item like

```auto
      "itemId": 2,
      "documentId": 101,
      "itemName": "Mouse",
      "taxExclusivePrice": 40.00,
      "quantity": 2.00,
      "vatPercent": 15.00,
      "unitCode": "EA",
      "discount": 5.00,
      "taxAmount": 6.00,
      "taxInclusivePrice": 46.00,
      "unitPrice": 20.00

```

here the discount is 5, the tax excluded price , unit price is after discount,  
so is there any need to mention the discount.  
What will do with that discount,

My xml comes like

```auto
  <cac:InvoiceLine>
        <cbc:ID>2</cbc:ID>
        <cbc:InvoicedQuantity unitCode="EA">2.00</cbc:InvoicedQuantity>
        <cbc:LineExtensionAmount currencyID="SAR">40.00</cbc:LineExtensionAmount>
        <cac:TaxTotal>
            <cbc:TaxAmount currencyID="SAR">6.00</cbc:TaxAmount>
            <cbc:RoundingAmount currencyID="SAR">46.00</cbc:RoundingAmount>
        </cac:TaxTotal>
        <cac:Item>
            <cbc:Name>Mouse</cbc:Name>
            <cac:ClassifiedTaxCategory>
                <cbc:ID schemeID="UN/ECE 5305" schemeAgencyID="6">S</cbc:ID>
                <cbc:Percent>15.00</cbc:Percent>
                <cac:TaxScheme>
                    <cbc:ID>VAT</cbc:ID>
                </cac:TaxScheme>
            </cac:ClassifiedTaxCategory>
        </cac:Item>
        <cac:Price>
            <cbc:PriceAmount currencyID="SAR">20.00</cbc:PriceAmount>
            <cac:AllowanceCharge>
                <cbc:ChargeIndicator>false</cbc:ChargeIndicator>
                <cbc:AllowanceChargeReason>discount</cbc:AllowanceChargeReason>
                <cbc:Amount currencyID="SAR">5.00</cbc:Amount>
            </cac:AllowanceCharge>
        </cac:Price>
    </cac:InvoiceLine>

```

there is no effect for unit price, net price or document level values using this discount ?

Please help me

---

<div class="post-metadata">

**Author:** ![Ather](https://dub1.discourse-cdn.com/flex013/user_avatar/zatca1.discourse.group/ather/32/848_2.png) [@Ather](https://zatca1.discourse.group/u/Ather)\
**Post date:** [February 3, 2025, 7:24am UTC](https://zatca1.discourse.group/t/discount-amount-applying/5610/2 "2025-02-03T07:24:23Z")

</div>

```auto
<cac:InvoiceLine>
		<cbc:ID>426591</cbc:ID>		
		<cbc:InvoicedQuantity unitCode="HUR">260.00</cbc:InvoicedQuantity>
		<cbc:LineExtensionAmount currencyID="SAR">5500.00</cbc:LineExtensionAmount>

		//Item Level Discount
		<cac:AllowanceCharge>
			<cbc:ChargeIndicator>false</cbc:ChargeIndicator>
			<cbc:AllowanceChargeReasonCode>95</cbc:AllowanceChargeReasonCode>
			<cbc:AllowanceChargeReason>Discount</cbc:AllowanceChargeReason>
			<cbc:Amount currencyID="SAR">0.04</cbc:Amount>
		</cac:AllowanceCharge>
		
		//Item Level Charge
		<cac:AllowanceCharge>
			<cbc:ChargeIndicator>true</cbc:ChargeIndicator>
			<cbc:AllowanceChargeReasonCode>DL</cbc:AllowanceChargeReasonCode>
			<cbc:AllowanceChargeReason>Charge</cbc:AllowanceChargeReason>
			<cbc:Amount currencyID="SAR">0.00</cbc:Amount>
		</cac:AllowanceCharge>
		
		
		
		<cac:TaxTotal>
			<cbc:TaxAmount currencyID="SAR">825.00</cbc:TaxAmount>
			<cbc:RoundingAmount currencyID="SAR">6325.00</cbc:RoundingAmount>
		</cac:TaxTotal>
		
		<cac:Item>
			<cbc:Name> XYZ Item</cbc:Name>
			<cac:SellersItemIdentification>
				<cbc:ID>A0119</cbc:ID>
			</cac:SellersItemIdentification>
			<cac:ClassifiedTaxCategory>
				<cbc:ID schemeID="UN/ECE 5305" schemeAgencyID="6">S</cbc:ID>
				<cbc:Percent>15.00</cbc:Percent>
				<cac:TaxScheme>
					<cbc:ID schemeID="UN/ECE 5153" schemeAgencyID="6">VAT</cbc:ID>
				</cac:TaxScheme>
			</cac:ClassifiedTaxCategory>
		</cac:Item>
		
		<cac:Price>
			<cbc:PriceAmount currencyID="SAR">211.54</cbc:PriceAmount>
			<cbc:BaseQuantity unitCode="HUR">10</cbc:BaseQuantity>
			
			//Unit Price Level Discount, if Unit Price is already Discounted, you don't need to 
			//Put discount here

			<cac:AllowanceCharge>
				<cbc:ChargeIndicator>false</cbc:ChargeIndicator>
				<cbc:AllowanceChargeReasonCode>95</cbc:AllowanceChargeReasonCode>
				<cbc:AllowanceChargeReason>Discount</cbc:AllowanceChargeReason>
				<cbc:MultiplierFactorNumeric>0.00</cbc:MultiplierFactorNumeric>
				<cbc:Amount currencyID="SAR">0.00</cbc:Amount>
				<cbc:BaseAmount currencyID="SAR">211.54</cbc:BaseAmount>
			</cac:AllowanceCharge>
			
		</cac:Price>
	</cac:InvoiceLine>

```

---

<div class="post-metadata">

**Author:** ![Shameem](https://avatars.discourse-cdn.com/v4/letter/s/7c8e57/32.png) [@Shameem](https://zatca1.discourse.group/u/Shameem)\
**Post date:** [February 3, 2025, 8:37am UTC](https://zatca1.discourse.group/t/discount-amount-applying/5610/3 "2025-02-03T08:37:48Z")

</div>

@Ather  
Thanks for helping,

I didn’t get you , give me a simplified example please

---

<div class="post-metadata">

**Author:** ![Ather](https://dub1.discourse-cdn.com/flex013/user_avatar/zatca1.discourse.group/ather/32/848_2.png) [@Ather](https://zatca1.discourse.group/u/Ather)\
**Post date:** [February 3, 2025, 8:43am UTC](https://zatca1.discourse.group/t/discount-amount-applying/5610/4 "2025-02-03T08:43:59Z")

</div>

if **UNIT PRICE** is already discounted, which is **SAR 20**.  
You don’t need to Provide Discount which you already made and showing Unit Price after discount.

this is what i understand from your Question, if I am making any mistake kindly explain your question.

---

<div class="post-metadata">

**Author:** ![Ather](https://dub1.discourse-cdn.com/flex013/user_avatar/zatca1.discourse.group/ather/32/848_2.png) [@Ather](https://zatca1.discourse.group/u/Ather)\
**Post date:** [February 3, 2025, 8:45am UTC](https://zatca1.discourse.group/t/discount-amount-applying/5610/5 "2025-02-03T08:45:12Z")

</div>

> [@Shameem](#):
>
> ```auto
> "itemId": 2,
> "documentId": 101,
> "itemName": "Mouse",
> "taxExclusivePrice": 40.00,
> "quantity": 2.00,
> "vatPercent": 15.00,
> "unitCode": "EA",
> "discount": 5.00,
> "taxAmount": 6.00,
> "taxInclusivePrice": 46.00,
> "unitPrice": 20.00
> 
> ```

“itemId”: 2,  
“documentId”: 101,  
“itemName”: “Mouse”,  
“taxExclusivePrice”: 40.00,  
“quantity”: 2.00,  
“vatPercent”: 15.00,  
“unitCode”: “EA”,  
**“discount”: 0.00,**  
“taxAmount”: 6.00,  
“taxInclusivePrice”: 46.00,  
“unitPrice”: 20.00

---

<div class="post-metadata">

**Author:** ![Shameem](https://avatars.discourse-cdn.com/v4/letter/s/7c8e57/32.png) [@Shameem](https://zatca1.discourse.group/u/Shameem)\
**Post date:** [February 3, 2025, 8:47am UTC](https://zatca1.discourse.group/t/discount-amount-applying/5610/6 "2025-02-03T08:47:56Z")

</div>

Thanks @Ather

What is the difference between

```auto
//Item Level Discount

```

and

```auto
//Unit Price Level Discount,

```

Is any of this discount is summarized and showing in document level?

---

<div class="post-metadata">

**Author:** ![Ather](https://dub1.discourse-cdn.com/flex013/user_avatar/zatca1.discourse.group/ather/32/848_2.png) [@Ather](https://zatca1.discourse.group/u/Ather)\
**Post date:** [February 3, 2025, 8:58am UTC](https://zatca1.discourse.group/t/discount-amount-applying/5610/7 "2025-02-03T08:58:16Z")

</div>

> [@Shameem](#):
>
> What is the difference between
> 
> ```auto
> //Item Level Discount
> 
> ```
> 
> and
> 
> ```auto
> //Unit Price Level Discount,
> 
> ```

> Item Level Discount

It’s generally applied after calculating the total amount for the specific item before and than Tax Calculation.

**Unit Price Level Discount**  
This discount is applied specifically to the unit price of an item, meaning it affects the price per individual unit before calculating the total price for the item

**Example**  
Like my Unit Price is SAR 211.54 and i didn’t give any discount on Unit Price  
but when i calculate total 211.54 \* 260 = 55,000.4 and now i decided to give 0.4 as discount, and then i calculated the Tax on 55,000.

---

<div class="post-metadata">

**Author:** ![Shameem](https://avatars.discourse-cdn.com/v4/letter/s/7c8e57/32.png) [@Shameem](https://zatca1.discourse.group/u/Shameem)\
**Post date:** [February 3, 2025, 9:02am UTC](https://zatca1.discourse.group/t/discount-amount-applying/5610/8 "2025-02-03T09:02:03Z")

</div>

Thanks @Ather

Understanding, Is this amount listing in document level, means adding all of this discounts (Allowance) then show it in invoice level?

I think no need of it. Is it correct?

---

<div class="post-metadata">

**Author:** ![Ather](https://dub1.discourse-cdn.com/flex013/user_avatar/zatca1.discourse.group/ather/32/848_2.png) [@Ather](https://zatca1.discourse.group/u/Ather)\
**Post date:** [February 3, 2025, 9:03am UTC](https://zatca1.discourse.group/t/discount-amount-applying/5610/9 "2025-02-03T09:03:52Z")

</div>

You are correct. You don’t need it. that is **Document Level Discount**

---

<div class="post-metadata">

**Author:** ![Ather](https://dub1.discourse-cdn.com/flex013/user_avatar/zatca1.discourse.group/ather/32/848_2.png) [@Ather](https://zatca1.discourse.group/u/Ather)\
**Post date:** [February 3, 2025, 9:06am UTC](https://zatca1.discourse.group/t/discount-amount-applying/5610/10 "2025-02-03T09:06:00Z")

</div>

![image](https://europe1.discourse-cdn.com/flex013/uploads/zatca1/original/1X/6d1cff266f48d695ef421ce85794cdb72eed74f7.png)

---

<div class="post-metadata">

**Author:** ![Shameem](https://avatars.discourse-cdn.com/v4/letter/s/7c8e57/32.png) [@Shameem](https://zatca1.discourse.group/u/Shameem)\
**Post date:** [February 3, 2025, 9:06am UTC](https://zatca1.discourse.group/t/discount-amount-applying/5610/11 "2025-02-03T09:06:58Z")

</div>

Thanks for your coordination

---

<div class="post-metadata">

**Author:** ![Ather](https://dub1.discourse-cdn.com/flex013/user_avatar/zatca1.discourse.group/ather/32/848_2.png) [@Ather](https://zatca1.discourse.group/u/Ather)\
**Post date:** [February 3, 2025, 9:09am UTC](https://zatca1.discourse.group/t/discount-amount-applying/5610/12 "2025-02-03T09:09:40Z")

</div>

don’t forget to add

`<cbc:AllowanceChargeReasonCode>CODE</cbc:AllowanceChargeReasonCode>`

you might get warnings without it.

---

<div class="post-metadata">

**Author:** ![Shameem](https://avatars.discourse-cdn.com/v4/letter/s/7c8e57/32.png) [@Shameem](https://zatca1.discourse.group/u/Shameem)\
**Post date:** [February 3, 2025, 9:12am UTC](https://zatca1.discourse.group/t/discount-amount-applying/5610/13 "2025-02-03T09:12:10Z")

</div>

```auto
    <cac:LegalMonetaryTotal>
        <cbc:LineExtensionAmount currencyID="SAR">1240.00</cbc:LineExtensionAmount>
        <cbc:TaxExclusiveAmount currencyID="SAR">1240.00</cbc:TaxExclusiveAmount>
        <cbc:TaxInclusiveAmount currencyID="SAR">1426.00</cbc:TaxInclusiveAmount>
        <cbc:AllowanceTotalAmount currencyID="SAR">0.00</cbc:AllowanceTotalAmount>
        <cbc:PrepaidAmount currencyID="SAR">0.00</cbc:PrepaidAmount>
        <cbc:PayableAmount currencyID="SAR">1426.00</cbc:PayableAmount>
    </cac:LegalMonetaryTotal>

```

if we added any unit price , item, document level discount . Did the

```auto
AllowanceTotalAmount

```

will change?

---

<div class="post-metadata">

**Author:** ![Ather](https://dub1.discourse-cdn.com/flex013/user_avatar/zatca1.discourse.group/ather/32/848_2.png) [@Ather](https://zatca1.discourse.group/u/Ather)\
**Post date:** [February 3, 2025, 9:15am UTC](https://zatca1.discourse.group/t/discount-amount-applying/5610/14 "2025-02-03T09:15:32Z")

</div>

> [@Shameem](#):
>
> document level

if you add **document level** discount/charge, than you will have to update the  
AllowanceTotalAmount

---

<div class="post-metadata">

**Author:** ![farhan06](https://avatars.discourse-cdn.com/v4/letter/f/35a633/32.png) [@farhan06](https://zatca1.discourse.group/u/farhan06)\
**Post date:** [February 3, 2025, 12:45pm UTC](https://zatca1.discourse.group/t/discount-amount-applying/5610/15 "2025-02-03T12:45:07Z")

</div>

Ather i want your help can you contact me

---

<div class="post-metadata">

**Author:** ![farhan06](https://avatars.discourse-cdn.com/v4/letter/f/35a633/32.png) [@farhan06](https://zatca1.discourse.group/u/farhan06)\
**Post date:** [February 3, 2025, 12:45pm UTC](https://zatca1.discourse.group/t/discount-amount-applying/5610/16 "2025-02-03T12:45:43Z")

</div>

@Ather [farhanbashir06@gmail.com](mailto:farhanbashir06@gmail.com) in bahrain

---

<div class="post-metadata">

**Author:** ![Ather](https://dub1.discourse-cdn.com/flex013/user_avatar/zatca1.discourse.group/ather/32/848_2.png) [@Ather](https://zatca1.discourse.group/u/Ather)\
**Post date:** [February 3, 2025, 12:47pm UTC](https://zatca1.discourse.group/t/discount-amount-applying/5610/17 "2025-02-03T12:47:27Z")

</div>

You can contact with me on +97336566162

---

<div class="post-metadata">

**Author:** ![itujar\_it](https://avatars.discourse-cdn.com/v4/letter/i/3be4f8/32.png) [@itujar\_it](https://zatca1.discourse.group/u/itujar_it)\
**Post date:** [July 7, 2025, 5:07pm UTC](https://zatca1.discourse.group/t/discount-amount-applying/5610/18 "2025-07-07T17:07:01Z")

</div>

Hi @Ather ,  
If I am submitting a separate invoice only for discounts, how can I populate the xml file.  
For example, a sale has already made for 100SAR. Now the seller wants to provide discount for it after the sale is completed and it’s invoice has been cleared by zatca. Now the seller should submit a credit note for showing this discount.

Thanks in advance.
