How To Fix J1B_NFE358 - CNPJ for vendor &1 (&2) does not match CNPJ in XML (&3)


SAP Error Message - Details

  • Message type: E = Error

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

  • Message number: 358

  • Message text: CNPJ for vendor &1 (&2) does not match CNPJ in XML (&3)

  • Show details Hide details
  • What causes this issue?

    You have tried to run an NF-e simulation in <ZK>SAP BusinessObjects
    NotaFiscal Electr(nica.</> During the simulation, the system found that
    the CNPJ number in the incoming XML does not match the CNPJ number
    stored for this vendor in your system.

    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?

    You can proceed as follows:
    Contact the sender of the XML and ensure that the content in the
    incoming XML is correct.
    Check the CNPJ number entered for this vendor in the vendor master
    record (transaction <ZH>XK03</>). The CNPJ number is displayed in the
    <LS>Tax Number 1</> field in the <LS>Tax information</> group box on the
    <LS>Display Vendor: Control</> screen.

    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_NFE358 - CNPJ for vendor &1 (&2) does not match CNPJ in XML (&3) ?

    The SAP error message J1B_NFE358 indicates a mismatch between the CNPJ (Cadastro Nacional da Pessoa Jurídica) of a vendor in the SAP system and the CNPJ provided in the XML file for a Nota Fiscal Eletrônica (NFE). This error typically occurs during the process of importing or processing electronic invoices in Brazil.

    Cause:

    1. CNPJ Mismatch: The CNPJ number associated with the vendor in the SAP system does not match the CNPJ number present in the XML file. This could be due to:

      • Incorrect vendor master data in SAP.
      • Incorrect CNPJ in the XML file.
      • Changes in vendor information that have not been updated in the SAP system.
    2. Data Entry Errors: There may have been typographical errors when entering the CNPJ in either the vendor master data or the XML file.

    3. Vendor Configuration: The vendor may not be properly configured in the SAP system to handle NFEs.

    Solution:

    1. Verify Vendor Master Data:

      • Go to the vendor master data in SAP (transaction code XK03 or MK03).
      • Check the CNPJ number for the vendor and ensure it is correct.
    2. Check XML File:

      • Open the XML file that is causing the error and verify the CNPJ number included in it.
      • Ensure that the CNPJ in the XML matches the CNPJ in the vendor master data.
    3. Update Information:

      • If the CNPJ in the vendor master data is incorrect, update it with the correct information.
      • If the XML file has the wrong CNPJ, correct the XML file before reprocessing.
    4. Reprocess the NFE:

      • After making the necessary corrections, attempt to reprocess the NFE.
    5. Consult Documentation: If the issue persists, consult SAP documentation or your SAP support team for further troubleshooting steps.

    Related Information:

    • CNPJ: It is a unique identifier for Brazilian companies, similar to a tax identification number.
    • NFE: Nota Fiscal Eletrônica is an electronic invoice used in Brazil for tax purposes.
    • SAP Transactions: Familiarize yourself with relevant SAP transactions for managing vendor data and processing NFEs, such as J1B1N for NFE processing.

    Best Practices:

    • Regularly verify and update vendor master data to ensure accuracy.
    • Implement validation checks for XML files before processing to catch errors early.
    • Maintain clear communication with vendors to ensure that their information is up to date.

    By following these steps, you should be able to resolve the J1B_NFE358 error and ensure that your NFE processing runs smoothly.

    • 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 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