Symptom
Supplier Invoice is submitted via EDI to S/4Hana Cloud, however invoice is not created as error 005(MRM_BASE) "Not able to determine tax code" is raised.
Environment
S/4HANA Cloud Public Edition
Cause
Tax code is not configured in SSCUI 101330 - Assign Tax Codes for the Transfer of Supplier Invoices.
Resolution
When creating supplier invoice via EDI, the tax code is determined in SSCUI 101330 - Assign Tax Codes for the Transfer of Supplier Invoices.
Tax rates and tax types are transferred by a SOAP service that is used to transfer supplier invoice data. This affects the following SOAP services:
- Supplier Invoice – Create (B2B, InvoiceRequest_In)
- Supplier Invoice - Create (A2A, SupplierInvoiceS4Request_In)
System is using Invoicing Party, Tax Type, Tax Rate and Country to determine Tax Code:
- Invoicing party is the Supplier's ID - if you have many suppliers, you can leave it blank.
- Country/Region Key is the country where the supplier invoice is to be posted in S/4Hana Cloud.
- You can leave Country/Region Key blank, if you want to configure a general rule.
- If there is a tax type/rate/code configured for one country for example DE, but there is no general configuration like VAT 19% V1, the tax code won't be determined for other countries. Either you can add a general rule or specify the other countries.
- The tax code can be uniquely determined via the tax type and the tax rate.
- If you use Advanced Intercompany Processes, the tax type is filled with the tax code from the billing document (from Sales). Otherwise, it is dependent on the sending system.
- Tax Rate field is the externally assigned tax rate.
- Tax rate configured is compared character by character with the tax rate transferred by the SOAP service, so needs to be added the same way.
- In the payload file, Tax country is required only, when functionality "Registration for indirect tax abroad" is active in your system.
To avoid mismatch between the tax code of the payload file and the tax code of a purchase order, for SAOP service InvoiceRequest_In, please see:
EDI: Change Invoice Data After Standard Mapping
See Also
Supplier Invoice - Create (B2B, Inbound, Asynchronous)
Keywords
Supplier Invoice, EDI, InvoiceRequest_In, SupplierInvoiceS4Request_In, tax determination, 005(MRM_BASE), SSCUI 101330, Assign Tax Codes for the Transfer of Supplier Invoices, LOG_EDI_MM_INVOICE_CE_MAP , KBA , MM-IV-GF-EDI , Electronic Data Interchange , Problem