How To Fix HRPAYBR_EFD_MSGS004 - The legal person certificate must be type e-CNPJ or e-PJ.


SAP Error Message - Details

  • Message type: E = Error

  • Message class: HRPAYBR_EFD_MSGS - Message class for eSocial processing errors

  • Message number: 004

  • Message text: The legal person certificate must be type e-CNPJ or e-PJ.

  • 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 HRPAYBR_EFD_MSGS004 - The legal person certificate must be type e-CNPJ or e-PJ. ?

    The SAP error message HRPAYBR_EFD_MSGS004 indicates that there is an issue with the legal person certificate being used in the Brazilian payroll system. Specifically, the error states that the legal person certificate must be of type e-CNPJ (Electronic National Register of Legal Entities) or e-PJ (Electronic Legal Entity).

    Cause:

    This error typically arises due to one of the following reasons:

    1. Incorrect Certificate Type: The system is configured to expect a specific type of legal person certificate (e-CNPJ or e-PJ), but the certificate provided does not match this requirement.
    2. Missing Certificate: The required certificate may not be uploaded or configured in the system.
    3. Configuration Issues: There may be issues in the configuration settings related to the legal entity or the payroll processing that are causing the system to not recognize the certificate correctly.

    Solution:

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

    1. Verify Certificate Type:

      • Ensure that the legal person certificate being used is indeed an e-CNPJ or e-PJ. If it is not, you will need to obtain the correct type of certificate.
    2. Upload/Configure the Certificate:

      • If the correct certificate is available, ensure that it is properly uploaded and configured in the SAP system. This may involve navigating to the relevant configuration settings in the SAP system and ensuring that the certificate is linked to the correct legal entity.
    3. Check Configuration Settings:

      • Review the configuration settings related to the legal entity and payroll processing. Ensure that all necessary parameters are set correctly and that the system is aware of the legal person certificate.
    4. Consult Documentation:

      • Refer to SAP documentation or notes related to the Brazilian payroll module for any specific instructions or updates regarding the handling of legal person certificates.
    5. Contact Support:

      • If the issue persists after verifying the certificate and configuration, consider reaching out to SAP support or your internal IT support team for further assistance.

    Related Information:

    • Legal Person Certificate: In Brazil, the e-CNPJ is a digital certificate that represents a legal entity and is used for various electronic transactions, including tax reporting and compliance.
    • SAP Notes: Check for any relevant SAP Notes that may address this specific error or provide additional guidance on handling legal person certificates in the Brazilian payroll context.
    • SAP Community: Engaging with the SAP Community forums can also provide insights from other users who may have encountered similar issues.

    By following these steps, you should be able to resolve the error and ensure that the correct legal person certificate is being used 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
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author