# Amount due for payment is Zero - Warning Message

**URL:** <https://zatca1.discourse.group/t/amount-due-for-payment-is-zero-warning-message/1657>\
**Category:** Clearance and Reporting\
**Created:** [May 22, 2024, 6:49am UTC](https://zatca1.discourse.group/t/amount-due-for-payment-is-zero-warning-message/1657 "2024-05-22T06:49:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roohul-Amin-Seidor](https://avatars.discourse-cdn.com/v4/letter/r/57b2e6/32.png) [@Roohul-Amin-Seidor](https://zatca1.discourse.group/u/Roohul-Amin-Seidor)\
**Post date:** [May 22, 2024, 6:49am UTC](https://zatca1.discourse.group/t/amount-due-for-payment-is-zero-warning-message/1657/1 "2024-05-22T06:49:25Z")

</div>

Dear ZATCA Team,

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).**

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

In fact we have all the other values zero in XML.

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

---

<div class="post-metadata">

**Author:** ![Embro](https://dub1.discourse-cdn.com/flex013/user_avatar/zatca1.discourse.group/embro/32/1689_2.png) [@Embro](https://zatca1.discourse.group/u/Embro)\
**Post date:** [May 22, 2024, 8:24am UTC](https://zatca1.discourse.group/t/amount-due-for-payment-is-zero-warning-message/1657/2 "2024-05-22T08:24:22Z")

</div>

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

Refer to zatca samples in SKD

---

<div class="post-metadata">

**Author:** ![Roohul-Amin-Seidor](https://avatars.discourse-cdn.com/v4/letter/r/57b2e6/32.png) [@Roohul-Amin-Seidor](https://zatca1.discourse.group/u/Roohul-Amin-Seidor)\
**Post date:** [May 22, 2024, 11:36am UTC](https://zatca1.discourse.group/t/amount-due-for-payment-is-zero-warning-message/1657/3 "2024-05-22T11:36:24Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Embro](https://dub1.discourse-cdn.com/flex013/user_avatar/zatca1.discourse.group/embro/32/1689_2.png) [@Embro](https://zatca1.discourse.group/u/Embro)\
**Post date:** [May 22, 2024, 12:03pm UTC](https://zatca1.discourse.group/t/amount-due-for-payment-is-zero-warning-message/1657/4 "2024-05-22T12:03:40Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Roohul-Amin-Seidor](https://avatars.discourse-cdn.com/v4/letter/r/57b2e6/32.png) [@Roohul-Amin-Seidor](https://zatca1.discourse.group/u/Roohul-Amin-Seidor)\
**Post date:** [May 22, 2024, 12:49pm UTC](https://zatca1.discourse.group/t/amount-due-for-payment-is-zero-warning-message/1657/5 "2024-05-22T12:49:19Z")

</div>

Dear Embro,

Thanks! got Your Point…!!

---

<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:** [May 23, 2024, 2:33pm UTC](https://zatca1.discourse.group/t/amount-due-for-payment-is-zero-warning-message/1657/6 "2024-05-23T14:33:13Z")

</div>

@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.
