<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Need Help - BAPI INCOMINGINVOICE_CREATE: Balance not zero error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-bapi-incominginvoice-create-balance-not-zero-error/m-p/6879530#M1478314</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the code:&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message - Please respect the 2,500 character maximum when posting. Post only the relevant portions of code&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Laksh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: gklaksh on May 21, 2010 3:08 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: gklaksh on May 21, 2010 3:10 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: gklaksh on May 21, 2010 3:11 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on May 21, 2010 9:29 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 May 2010 13:07:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-05-21T13:07:52Z</dc:date>
    <item>
      <title>Need Help - BAPI INCOMINGINVOICE_CREATE: Balance not zero error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-bapi-incominginvoice-create-balance-not-zero-error/m-p/6879530#M1478314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the code:&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message - Please respect the 2,500 character maximum when posting. Post only the relevant portions of code&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Laksh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: gklaksh on May 21, 2010 3:08 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: gklaksh on May 21, 2010 3:10 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: gklaksh on May 21, 2010 3:11 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on May 21, 2010 9:29 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 May 2010 13:07:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-bapi-incominginvoice-create-balance-not-zero-error/m-p/6879530#M1478314</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-21T13:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help - BAPI INCOMINGINVOICE_CREATE: Balance not zero error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-bapi-incominginvoice-create-balance-not-zero-error/m-p/6879531#M1478315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An invoice is posted agianst a PO is this the amount in the PO and do you have a reference ID for the PO so the link can take place? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tatenda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 May 2010 13:26:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-bapi-incominginvoice-create-balance-not-zero-error/m-p/6879531#M1478315</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-21T13:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help - BAPI INCOMINGINVOICE_CREATE: Balance not zero error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-bapi-incominginvoice-create-balance-not-zero-error/m-p/6879532#M1478316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is the amount in the PO. I am using PO_GETDETAIL to get the PO data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 May 2010 13:27:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-bapi-incominginvoice-create-balance-not-zero-error/m-p/6879532#M1478316</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-21T13:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help - BAPI INCOMINGINVOICE_CREATE: Balance not zero error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-bapi-incominginvoice-create-balance-not-zero-error/m-p/6879533#M1478317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry about that  but when you use the BAPI you must also populate the offsetting value in the ACCOUNTINGDATA structure, this essentially states where the data you are sending should get its funds, to pay for the products or services.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Tatenda Humphrey Itai Chaibva on May 21, 2010 3:46 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 May 2010 13:44:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-bapi-incominginvoice-create-balance-not-zero-error/m-p/6879533#M1478317</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-21T13:44:14Z</dc:date>
    </item>
  </channel>
</rss>

