Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now

Close

How To Fix WHT_BR020 - Origin of base can only be set to Nota fiscal with Modified tax amount


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WHT_BR - Messages Brazilian Withholding Tax Calculation

  • Message number: 020

  • Message text: Origin of base can only be set to Nota fiscal with Modified tax amount

  • Show details Hide details
  • What causes this issue?

    You can only set the origin of base to the value stored in the Nota
    fiscal with combination of the base amount set as 'Modified tax amount'.

    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?

    Set the base amount as 'modified tax amount' or change the setting for
    the origin of base.

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message WHT_BR020 - Origin of base can only be set to Nota fiscal with Modified tax amount ?

    SAP Error Message:
    WHT_BR020: Origin of base can only be set to Nota fiscal with Modified tax amount


    Cause

    This error occurs in the context of Withholding Tax (WHT) processing in SAP, specifically when dealing with Brazilian tax requirements (Nota Fiscal). The message indicates that the "Origin of base" field in the withholding tax configuration or document is set incorrectly.

    • The "Origin of base" field is used to specify the source of the tax base amount for withholding tax calculation.
    • For the scenario where the tax amount has been modified manually (Modified tax amount), the system expects the origin of the base to be set to "Nota fiscal" (the official Brazilian tax document).
    • If the origin is set to something else (e.g., Invoice, Document, or other), the system throws this error because it violates the Brazilian tax law or SAP's validation logic for withholding tax.

    When does this happen?

    • During withholding tax calculation or posting in Brazil localization.
    • When the withholding tax amount is manually adjusted (modified).
    • When the origin of the base is set incorrectly in the withholding tax configuration or document.

    Solution

    1. Check the Withholding Tax Configuration:

      • Go to the withholding tax code configuration (transaction OBWQ or relevant customizing path).
      • Verify the "Origin of base" setting for the withholding tax code used.
      • Ensure that if the tax amount is modified manually, the origin of base is set to "Nota fiscal".
    2. Adjust the Document or Posting:

      • If you are entering or posting a document, ensure that the withholding tax origin is correctly set.
      • If the tax amount is modified, the origin must be "Nota fiscal".
      • Avoid manual modifications of the tax amount unless the origin is correctly set.
    3. Review User Exits or Enhancements:

      • If there are customizations or user exits that modify withholding tax behavior, check if they are setting the origin of base incorrectly.
      • Correct the logic to comply with the requirement.
    4. Reprocess the Document:

      • After correcting the origin of base, reprocess the withholding tax calculation or posting.

    Related Information

    • Brazil Localization: This error is specific to Brazil localization in SAP, where withholding tax and Nota fiscal integration are tightly controlled.
    • Nota Fiscal: The official Brazilian tax document used for tax reporting and withholding tax base.
    • Withholding Tax Configuration: The origin of base is a key parameter in the withholding tax code setup.
    • SAP Notes: Check SAP Notes related to Brazilian withholding tax for updates or patches.
    • Transaction Codes:
      • OBWQ - Withholding tax code configuration
      • F-43 or FB60 - Vendor invoice posting with withholding tax
      • J1IEX - Brazil Withholding Tax processing

    Summary

    Aspect Details
    Error Cause Origin of base set incorrectly when tax amount is manually modified in Brazilian WHT.
    Required Setting Origin of base must be "Nota fiscal" if tax amount is modified.
    Solution Correct the origin of base in withholding tax code or document; avoid incorrect manual changes.
    Context Brazil localization, withholding tax, Nota fiscal integration.

    If you need further assistance, please provide details about the transaction, withholding tax code, and document type you are working with.

    • 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