Do you have any question about this error?
Message type: E = Error
Message class: M8 - Invoice Verification/Valuation
Message number: 159
Message text: Tax code & and account & not compatible
The tax code &V1& und the tax category set for account &V2& are not
compatible; either the tax code is an input tax type and the tax
category output tax or vice versa.
Please check the tax code entered and possibly the G/L account.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
If both are correct, you have two options:Error message extract from SAP system. Copyright SAP SE.
M8159
- Tax code & and account & not compatible ?The SAP error message M8159 indicates that there is a compatibility issue between the tax code and the account being used in a transaction. This error typically arises during the posting of a document in the Materials Management (MM) module, particularly when dealing with inventory or procurement transactions.
Cause:
Tax Code Configuration: The tax code being used may not be configured correctly for the specific account in the system. This can happen if the tax code is not allowed for the account type or if the account is not set up to handle transactions with that tax code.
Account Type: The account type (e.g., expense, revenue, asset) may not be compatible with the tax code. For example, certain tax codes may only be applicable to specific types of accounts.
Master Data Issues: The material master or vendor master data may have incorrect or missing tax information, leading to this error when trying to post a transaction.
Tax Jurisdiction: The tax jurisdiction settings may not align with the tax code and account combination being used.
Solution:
Check Tax Code Configuration: Review the configuration of the tax code in the SAP system. Ensure that it is set up correctly for the account type you are trying to use. This can be done in the transaction code OB40 (for tax codes) or through the SPRO configuration menu.
Review Account Settings: Check the account settings in the General Ledger (GL) to ensure that it is compatible with the tax code. You can do this by reviewing the account in transaction code FS00.
Update Master Data: Ensure that the material master or vendor master data has the correct tax information. You can check this in transaction codes MM02 (for material master) or XK02 (for vendor master).
Consult Tax Jurisdiction Settings: If applicable, review the tax jurisdiction settings to ensure they are correctly configured for the transaction being processed.
Testing: After making the necessary changes, try to post the transaction again to see if the error persists.
Related Information:
Transaction Codes:
SAP Notes: Check for any relevant SAP Notes that may address specific issues related to tax codes and account compatibility.
Documentation: Refer to SAP documentation or help guides for detailed information on tax code configuration and account settings.
If the issue persists after checking these areas, it may be beneficial to consult with your SAP support team or a functional consultant who specializes in the MM module for further assistance.
Get instant SAP help. Start your 7-day free trial now.
M8158
Check the tax code
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 ...
M8157
Complete the amount details for withholding tax
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
M8160
Account & can only be posted to with tax code &
What causes this issue? You tried to post with tax code &V3& to account &V1&. This is not allowed, as postings to account &V1&...
M8161
Account type & is not permitted with document type &
What causes this issue? In MM Customizing (Invoice verification), permitted account types are defined for each document type. In this case, you tried...
Click on this link to search all SAP messages.