Has anyone used the BAPI 'BAPI_ACC_DOCUMENT_POST' for Italian invoices before? I'm having an issue with partially non-deductible invoices (VAT 10% non-deductible 60%). So for this example:
100 EUR invoice (account 5080)
4 EUR VAT goes to the VAT account
6 EUR VAT goes back to the Expense account (5080)
Total invoice 106.00
Total VAT 4.00
When passed thru the BAPI it is creating an extra tax line on the invoice, which also creates an extra line in the VAT register.
Warranty (8601) 106.00 correct
Vendor (1960) 100.00- correct
VAT credit (2109) 4.00 correct
When I click on the Taxes box I see this:
Acct VAT amount Base Amount Tax rate
2109 4.00 100.00 4%
8601 6.00 100.00 0%
6.00 106.00 6% -
This line is messing everything up and we can't find where it's being created.