Symptom
Supplier Invoice with multiple line items and tax codes is created with 'Import Supplier Invoices App'. Due to tax round off, for one of the line items, a small difference is posted. When checking accounting document, the small difference is not posted with the tax code of the line item for which the small difference refers, but with another line item's tax code.
Environment
S/4Hana Cloud Public Edition
Reproducing the Issue
Upload template of "Import Supplier Invoices" App and check result of posting. Input tax difference line in accounting document is posted with unexpected tax code.
Cause
Because the gross amount of the supplier invoice is not assigned to any singular item, the difference also cannot be assigned to a single item. In this case the system determines the item with the highest tax base, and assign its tax code to the small difference.
Resolution
This is standard system behavior.
Keywords
Import Supplier Invoices, Create Supplier Invoices, Input tax, Tax difference, Tax code, Tax base, F3041, F3 041 , KBA , MM-FIO-IV , Fiori UI for Invoice Verification , Problem