SAP Knowledge Base Article - Public

3707181 - Single tax code per supplier invoice line item in SAP S/4HANA Cloud Public Edition

Symptom

Supplier invoices in SAP S/4HANA Cloud Public Edition support only one tax code per line item, a standard system limitation during creation via apps like Create Supplier Invoice or API integration. Attempts to assign multiple tax codes (e.g., V0 and V3) to the same line trigger validation errors like FF812 "Tax code V0 also exists," or cause discrepancies in tax distribution post-workaround. This affects Fieldglass integrations with mixed tax scenarios across cost centers.

May encounter issues when processing invoices with multiple tax codes per line from sources like SAP Fieldglass / SAP Ariba:

  • Error FF812 or 'Tax code & also exists' during API_SUPPLIERINVOICE_PROCESS_SRV posting.

  • No option to enter additional tax codes in line item tax details within Fiori apps (Create Supplier Invoice, MIRO equivalent).

  • After deleting conflicting codes (e.g., V0 via Groovy scripts), total tax matches but per-cost-center amounts differ in Display Journal Entries.

Environment

SAP S/4HANA Cloud Public Edition

Cause

Standard design restricts supplier invoice items to a single tax code for accurate reconciliation between header Tax Data summary and items. Mismatches occur when:

  • Header summary includes unmatched codes (e.g., V0 with non-zero tax, invalid for 0% code).

  • Integrations send multi-code payloads without aggregation.

  • Fieldglass lacks per-tax-code base amounts, complicating custom mappings.

Resolution

  1. Do not attempt multiple tax codes per line item. Instead:
    • Split items by tax code in source systems (e.g., separate V0/V3 lines in Fieldglass).
    • Aggregate TaxData summary correctly: Group by code, set V0 tax=0.00, match item totals.
  2. Manually post separate invoice lines per tax code or correct journal entries post-integration. Use reports to detect discrepancies; note no automatic errors trigger.
  3. Implement Groovy scripts in iFlows to compute sums from items and avoiding deletions of tax codes.

See Also

Keywords

tax amount discrepancy, fieldglass integration, s/4hana cloud, tax code V0, tax code V3, invoice validation error, display journal entries, header tax summary, item-level tax codes, XML payload mapping. , KBA , MM-FIO-IV-2CL , Fiori UI for Invoice Verification (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions