Skip to Content
Menu
This question has been flagged

When I try to reverse an invoice with a discount, I receive the following warning:

Invoice was Accepted by ZATCA (with Warnings)


The invoice was accepted by ZATCA, but returned warnings. Please, check the response below:

BR-KSA-EN16931-11 : Invoice line net amount (BT-131) must equal (Invoiced quantity (BT-129) * (Item net price (BT-146) / item price base quantity (BT-149))) + Sum of invoice line charge amount (BT-141) - Sum of invoice line allowance amount (BT-136)

 " cac:AllowanceCharge" tag not in credit not XML  and its not applicable in credit not.

so we need to update the function to create a credit note with the discounted price and remove the discount column?

Any guidance or suggestions would be greatly appreciated. 

Thank you for your time and assistance

Avatar
Discard
Related Posts Replies Views Activity
0
Aug 24
1508
1
Aug 24
1824
2
May 24
1985
2
May 24
1452
1
Jun 25
1905