Symptom
Incorrect Tax code is picked up in new invoice created from preceding purchase order document.
Environment
SAP Business ByDesign
Reproducing the Issue
- Go to Supplier Invoicing work center.
- Go to Invoice entry view.
- Show: "All Orders to be Invoiced".
- Search for the Purchase Order ID.
- Click in New Invoice button.
- Navigate to Items tab and Taxes subtab.
The tax code which is determined automatically does not match with the Purchase Order's Tax Code.
However when creating a new supplier invoice or a new purchase order with the same data, without copying and the tax code, the Tax Code is correctly determined.
Cause
The user has initially maintained the VAT Registration Number and created documents like purchase order using it. At that point of time, since the VAT number was maintained in the Supplier master data, the system assumed that the Supplier is VAT registered.
But later on, the user has changed the tax numbers in the Supplier master data. The user replaced the VAT Number with another tax number. The user has basically changed its type to something else.
Now, when the user copies this old Purchase Order or create a Supplier Invoice for it, the system uses the tax number determined on the Purchase Order and that tax number is no more a VAT Number. While parsing the decision tree to get the tax event, the system checks whether the Supplier is VAT Registered, it checks the type code of the tax number on the context documents i.e. the Purchase Order and detects that it's not VAT and then the decision triggers a fresh determination all together.
Resolution
The user can manually change the Tax Code in the Supplier Invoice or create a new document without copying from old ones.
Keywords
Supplier Invoice, Tax Code, VAT, Tax Event, Purchase Order , KBA , tax code , vat registration number , AP-TTE-TC , Tax Calculation , AP-SIP-SIV , Supplier Invoice , How To