How To Fix WS287 - Tax condition type &1 of document &2 does not have a tax code


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WS - Supplier Billing Document

  • Message number: 287

  • Message text: Tax condition type &1 of document &2 does not have a tax code

  • Show details Hide details


  • Self-Explanatory Message

    Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.

    To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.

    Unfortunately, there isn't any extra information in this error notice.



    What else can you do?

    First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).

    Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.

    You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.


Smart SAP Assistant

  • What is the cause and solution for SAP error message WS287 - Tax condition type &1 of document &2 does not have a tax code ?

    Certainly! Here's a detailed explanation for the SAP error message:


    SAP Error Message:

    WS287: Tax condition type &1 of document &2 does not have a tax code


    Meaning / Cause:

    This error occurs during document posting (such as billing, invoice, or accounting documents) when a tax condition type defined in the pricing procedure or tax procedure does not have an associated tax code assigned. Essentially, the system expects a tax code for the tax condition type to calculate taxes correctly, but it is missing.

    • Tax condition type &1: The specific tax condition type (e.g., MWST, MWST1, etc.) that is missing a tax code.
    • Document &2: The document number where the error occurred.

    Common causes:

    • The tax condition type is included in the pricing or tax procedure but no tax code is assigned to it.
    • The tax code determination is incomplete or missing in the tax procedure or pricing procedure.
    • The tax code is not maintained in the system for the relevant country or tax jurisdiction.
    • Customizing for tax codes and condition types is inconsistent or incomplete.
    • The document is missing required tax information or the tax code is not passed from the sales document to accounting.

    Where it Happens:

    • Sales and Distribution (SD) billing documents
    • Financial Accounting (FI) postings
    • Tax calculation during invoice or credit memo processing
    • Pricing procedure or tax procedure configuration

    Solution / How to Fix:

    1. Check Tax Condition Type Configuration:

      • Go to SPRO ? Sales and Distribution ? Basic Functions ? Tax on Sales/Purchases ? Basic Settings ? Check Condition Types for Tax.
      • Verify that the tax condition type (&1) is correctly defined and linked to tax codes.
    2. Maintain Tax Codes for the Condition Type:

      • Go to SPRO ? Financial Accounting ? Financial Accounting Global Settings ? Tax on Sales/Purchases ? Basic Settings ? Assign Tax Codes to Tax Condition Types.
      • Ensure that the tax codes are assigned to the tax condition type for the relevant country and tax jurisdiction.
    3. Check Pricing Procedure:

      • Verify that the pricing procedure used in the document includes the tax condition type and that the tax code determination is properly set up.
      • Use transaction V/08 to check pricing procedures and condition types.
    4. Check Tax Code Determination:

      • Use transaction FTXP to check tax codes and their settings.
      • Ensure tax codes are maintained for the country and tax jurisdiction relevant to the document.
    5. Check Document Data:

      • Verify that the document (billing, invoice) has the tax code populated.
      • If the tax code is missing, check the master data (customer, material) and the sales document to ensure tax codes are correctly determined and passed.
    6. Reprocess or Correct the Document:

      • After correcting the configuration, reprocess the document or create a new one to ensure tax codes are correctly assigned.

    Additional Notes:

    • This error is often related to configuration issues in tax determination.
    • It can also occur if custom tax condition types are created but not fully configured.
    • Sometimes, the error appears if the system expects a tax code but the document is for a tax-exempt transaction or a special tax scenario.
    • Always check the country-specific tax customizing and ensure compliance with local tax laws.

    Summary:

    Aspect Details
    Error Message WS287: Tax condition type &1 of document &2 does not have a tax code
    Cause Missing tax code assignment for the tax condition type in pricing/tax procedure
    Solution Assign tax codes to the tax condition type in customizing; verify pricing and tax setup
    Transactions to Check SPRO, V/08 (pricing), FTXP (tax codes), billing document display (VF03)

    If you need help with specific customizing steps or transaction codes, feel free to ask!

    • Do you have any question about this error?


      Upgrade now to chat with this error.


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