SAP Knowledge Base Article - Public

3714669 - Error MRM_BASE012: cannot determine tax code for tax rate XX, type xx, ctry/region YY

Symptom

  • An error occurs with the message "Cannot determine tax code for tax rate xx, type xx, ctry/region yy - Error Message : MRM_BASE012
  • The system is incorrectly assigning tax type xx on supplier invoices.

Environment

SAP S/4 HANA Cloud Public Edition

Reproducing the Issue

  1. Attempt to create an Advanced Intercompany Supplier Invoice using the relevant Fiori app (e.g., Create Supplier Invoice – Advanced).

  2. After saving, navigate to the Monitor Value Chain app and locate the corresponding Supplier Invoice document.

  3. Open the document and go to the Message Log tab.

  4. Review the displayed error message and check the detailed information.

Cause

  • The error message MRM_BASE 012 — "Cannot determine tax code for tax rate X, type , ctry/region YY" occurs in the SIIC invoice when the system is unable to determine a valid tax code. Since a tax code is mandatory for posting supplier invoices, the document cannot be processed.
  • This issue typically arises when the related CIIC billing document does not contain a tax condition. Under normal circumstances, the billing document includes tax conditions, and the corresponding tax information is transferred to the SIIC invoice. During SIIC processing, the system uses customizing (configuration) settings to map this tax information and determine the appropriate supplier invoice tax code.
  • If the tax mapping fails—meaning no valid tax code can be derived—the system triggers error MRM_BASE 012.
    Example - Message no. MRM_BASE012: Cannot determine tax code for tax rate 16.000000, type 4D, ctry/region MX

Resolution

  1. Ensure that the tax condition is maintained in the CIIC billing document (IV2).
  2. Validate the configuration in SSCUI 101330 - Assign Tax Codes for the Transfer of Supplier Invoices.
    For example 
    Invoicing partyTax TypeTax RateCountryTax Code
      16,00000MX4P

See Also

Keywords

mrm_base012, tax code determination error, supplier invoice,  tax type , assign tax codes, sscui 101330, intercompany processes, sap s/4hana cloud , KBA , MM-IV-LIV-IC-2CL , Intercompany processes (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions