Symptom
- Integration with OA results in three lines of tax details entered in OA, but after transmission they are consolidated into one line in the system.
- Finance cannot reconcile tax details because multiple tax lines become a single consolidated line.
- No error message is displayed.
Environment
- SAP S/4HANA Cloud Public Edition
- Logistics Invoice Verification (Public Cloud)
Reproducing the Issue
- Integrate with OA for supplier invoice posting.
- Enter three separate tax detail lines in OA.
- Transmit the invoice payload to the supplier invoice API.
- Observe that the system consolidates the multiple tax lines into one line.
Cause
- Standard behavior: The supplier invoice API uses a header-level tax summary keyed by Tax Code. Multiple header tax entries with the same Tax Code are consolidated into a single tax line.
Resolution
- In the OA or middleware layer, group all tax lines by Tax Code before calling the supplier invoice API.
- Sum the Tax Amount per unique Tax Code.
- Send exactly one header tax entry per unique Tax Code in the API payload.
- If detailed tax-line granularity is needed for reconciliation, retain and report that detail on the OA side; it will not be preserved in the system by design.
- Note that there is no configuration or API parameter in SAP S/4HANA Cloud Public Edition to disable or prevent this consolidation.
See Also
- Refer to: Supplier Invoice API – Use Case (tax handling)
- Refer to: Supplier Invoice API – Request Example
- Refer to: Supplier Invoice OData V2 API Overview
- Refer to: KBA 3749186 – Multiple entries in header tax for same tax information not supported
- Refer to: KBA 3556973 – Assign two tax codes for a supplier invoice line item
- Refer to: KBA 3707181 – Single tax code per supplier invoice line item in S/4HANA Cloud Public Edition
- Refer to: KBA 3730198 – Error “Multiple entries in headertax for same tax information are not supported”
Keywords
supplier invoice api, logistics invoice verification, liv, to_SupplierInvoiceTax, tax consolidation, tax summarization, header tax, tax code, aggregate tax, oa integration, API_SUPPLIERINVOICE_PROCESS_SRV, multiple tax lines, reconciliation, by design, public edition , KBA , MM-IV-LIV-2CL , Logistics Invoice Verification (Public Cloud) , Problem
Product
SAP S/4HANA Cloud Public Edition all versions
SAP Knowledge Base Article - Public