Hi - I used IncomingInvoice_Create BAPI to post an invoice. I ensured that the amounts specified in the invoice match what is available on the PO. This invoice needs tax to be calculated so the tax indicator is set. However BAPI execution fails with a message "Balance not zero: 10.920,00- debits: 10.920,00 credits: 0,00". 10.920,00 is the correct amount after calculating tax. There are no invoices posted earlier for the PO and the PO is not exhausted. I understand that the post can happen only when Balance is zero. Please help in understanding what is missing.
Here is the code:
Moderator message - Please respect the 2,500 character maximum when posting. Post only the relevant portions of code
Laksh
Edited by: gklaksh on May 21, 2010 3:08 PM
Edited by: gklaksh on May 21, 2010 3:10 PM
Edited by: gklaksh on May 21, 2010 3:11 PM
Edited by: Rob Burbank on May 21, 2010 9:29 AM