How To Fix J1B_NFE346 - &1 tax not available in XML for purchase order item &2 &3 xml pos. &4


SAP Error Message - Details

  • Message type: E = Error

  • Message class: J1B_NFE - Message class for NF-e

  • Message number: 346

  • Message text: &1 tax not available in XML for purchase order item &2 &3 xml pos. &4

  • Show details Hide details
  • What causes this issue?

    You have tried to run an invoice or NF-e simulation in <LS>SAP
    BusinessObjects Nota Fiscal Electr(nica</>. During the simulation, the
    system found an error in the incoming XML that is related to taxes.

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

    System Response

    How to fix this error?

    You can proceed as follows:
    Contact the sender of the XML and ensure that the content in the
    incoming XML is correct.
    Check your tax rate settings in Customizing for <LS>Financial Accounting
    </> under <LS>Tax on Sales/Purchases</> -> <LS>Calculation</> ->
    <LS>Settings for Tax Calculation in Brazil</> -> <LS>Tax Rates</>.

    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 J1B_NFE346 - &1 tax not available in XML for purchase order item &2 &3 xml pos. &4 ?

    The SAP error message J1B_NFE346 indicates that there is a problem with the tax information for a purchase order item when generating an XML file for electronic invoicing or tax reporting, particularly in the context of Brazilian tax compliance (NFE - Nota Fiscal Eletrônica).

    Cause:

    The error typically arises due to one or more of the following reasons:

    1. Missing Tax Configuration: The tax code or tax type associated with the purchase order item is not configured correctly in the system. This could mean that the tax code is not defined for the specific transaction or that it is not linked to the correct tax jurisdiction.

    2. Incorrect Purchase Order Data: The purchase order item may not have the necessary tax information populated, such as the tax code or tax amount.

    3. Incompatibility with XML Schema: The tax information may not conform to the expected XML schema required for the NFE, leading to the inability to generate the XML correctly.

    4. Master Data Issues: The vendor or material master data may not have the required tax information set up, which can lead to issues when processing the purchase order.

    Solution:

    To resolve the error, you can take the following steps:

    1. Check Tax Configuration:

      • Go to the transaction code OBYZ (or similar, depending on your SAP version) to review the tax codes and ensure that they are correctly configured for the relevant tax jurisdiction.
      • Ensure that the tax code used in the purchase order is valid and has the necessary settings.
    2. Review Purchase Order:

      • Open the purchase order in question and check the item details. Ensure that the tax code is populated and that the tax amount is calculated correctly.
      • If the tax code is missing, you may need to add it manually or adjust the purchase order.
    3. Validate Master Data:

      • Check the vendor master data (transaction code XK03) and material master data (transaction code MM03) to ensure that the tax information is correctly maintained.
      • Ensure that the vendor is assigned to the correct tax classification.
    4. Test XML Generation:

      • After making the necessary adjustments, attempt to regenerate the XML file to see if the error persists.
      • Use transaction codes like J1B_NFE to test the NFE generation process.
    5. Consult Documentation:

      • Review SAP notes and documentation related to NFE and tax reporting for any specific requirements or updates that may affect your configuration.
    6. Contact SAP Support:

      • If the issue persists after checking the above points, consider reaching out to SAP support for further assistance, providing them with the error details and any relevant configuration information.

    Related Information:

    • SAP Notes: Check for any relevant SAP Notes that address this specific error or provide guidance on NFE configuration.
    • NFE Documentation: Review the official SAP documentation on Nota Fiscal Eletrônica for detailed requirements and best practices.
    • Community Forums: Engage with SAP community forums or user groups where similar issues may have been discussed, and solutions shared.

    By following these steps, you should be able to identify and resolve the issue causing the J1B_NFE346 error in your SAP system.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


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's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker