How To Fix M8158 - Check the tax code


M8158 - Overview

  • Message type: E = Error

  • Message class: M8 - Invoice Verification/Valuation

  • Message number: 158

  • Message text: Check the tax code

  • Show details Hide details
  • What causes this issue?

    You have entered a tax code that is not defined as an input tax.

    System Response

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.

    How to fix this error?

    Check that the tax code is correct.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message M8158 - Check the tax code ?
    The SAP error message M8158, which states "Check the tax code," typically occurs during the processing of a transaction that involves tax calculations, such as when creating a purchase order, sales order, or invoice. This error indicates that there is an issue with the tax code being used in the transaction.
    Causes of Error M8158
    
    Invalid Tax Code: The tax code entered may not exist in the system or may have been deactivated.
    
    Configuration Issues: The tax code may not be properly configured in the system, leading to issues in tax determination. Missing Tax Jurisdiction: The tax jurisdiction associated with the tax code may not be set up correctly. Incorrect Master Data: The master data for the vendor or customer may not have the correct tax information. Country-Specific Regulations: The tax code may not be applicable for the specific country or region involved in the transaction. Solutions to Error M8158 Verify Tax Code: Check the tax code being

    Already have an account? Login here!




Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
ERPlingo simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant