Symptom
The system does not consider the tax code maintained in the purchase order when creating the inbound invoice using the “Create Inbound Invoices for STOs” app.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Go to "Create Inbound Invoices for STOs" App
- Create the Invoice
- The tax code selected differs from the tax code specified in the purchase order.
Cause
When creating inbound invoices using the "Create Inbound Invoices for STOs" app, the tax code is determined based on the tax code maintained at the company code level, rather than the tax code from the purchase order.
Resolution
- Maintain the required tax code in the Purchasing Info Record to ensure consistent tax code determination during inbound invoice creation.
- Alternatively, implement a BAdI to derive and populate the tax code based on the STO purchase order or intercompany billing document.
Keywords
tax code determination, inbound invoice, stock transport order, STO, incorrect tax code, tax mismatch, SAP S/4HANA Cloud, India, purchasing info record, BAdI, header tax code, item tax code, V0, A0, IS , KBA , FI-LOC-MM-IN , India (aka XX-CSC-IN-MM) , Problem
SAP Knowledge Base Article - Public