How To Fix HRPAYBR_EFD_MSGS022 - Employer registr.no.must also be 8 (basis CNPJ), 11 (CPF) or 14 (CNPJ).


HRPAYBR_EFD_MSGS022 - Overview

  • Message type: E = Error

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

  • Message number: 022

  • Message text: Employer registr.no.must also be 8 (basis CNPJ), 11 (CPF) or 14 (CNPJ).

  • Show details Hide details
  • What causes this issue?

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

    System Response

    Rejection of the event batch.

    How to fix this error?

    Check whether the employer registration number informed in XML file of
    the event batch is correct.
    If the registration number is correct and the batch is still rejected,
    inform SAP about the problem by opening an incident on component PY-BR.

    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 HRPAYBR_EFD_MSGS022 - Employer registr.no.must also be 8 (basis CNPJ), 11 (CPF) or 14 (CNPJ). ?
    The SAP error message HRPAYBR_EFD_MSGS022 indicates that there is an issue with the format of the employer registration number (CNPJ or CPF) in the Brazilian payroll system. This error typically arises when the registration number does not meet the expected length or format requirements.
    
    Cause: Incorrect Length: The employer registration number must be either: 8 digits for CPF (Cadastro de Pessoas Físicas) 11 digits for CNPJ (Cadastro Nacional da Pessoa Jurídica) 14 digits for CNPJ (for legal entities) If the number provided does not match these lengths, the error will occur. Invalid Characters: The registration number may contain invalid characters (e.g., letters, special characters) instead of just numeric digits. Missing Data: The employer registration number may not have been entered at all, or it may be missing in the relevant configuration.
    Solution: Verify the Registration Number: Check the employer registration number entered in the system. Ensure that it is: The correct type (CNPJ or CPF). The correct length (8, 11, or 14

    Already have an account? Login here!




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