I am facing an issue while clearance of Standard Tax Invoice with ZATCA.I have a case where we received the full Advance Payment of the Items, When we issue the Invoice and adjust the full Advance Payment, i received the following error.
Amount due for payment (BT-115) = Invoice total amount with VAT (BT-112) -Pre-Paid amount (BT-113) + Rounding amount (BT-114).
I already checked the ZATCA SDK Samples, But here in my case, there is no Allowance and Payable amount pending. Every thing is zero and only i have is the Prepaid amount.
For Example, I did the full advance Payment for an Item, while issuing the Invoice, There is no Pending amount to be paid. In this case i adjust the full advance payment and i am getting the above warning.
Alowance … Dicounts … is something else … it’s related to any kind of invoices … not to prepayements.
you have 2 senarios for your case:
1- Advance payment > Invoice … you shall prepare a credit note with the difference
2- Advance payment = Invoices … so your line extention for the last invoice suppose to 345
in case still you face dificulies…please copy print out of you invoice…to advise
@Roohul-Amin-Seidor you should populate Legal monetary totals as per usual formulas. Please check Advance Payment sample XMLs in latest SDK. You can ignore discount related fields if you do not have any.