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
1454
1
Aug 24
1764
2
May 24
1951
2
May 24
1415
1
Jun 25
1804