How To Fix EDOCUMENT_BR065 - Use a valid format for CPF (000.000.000-00) or CNPJ (00.000.000/0000-00).


SAP Error Message - Details

  • Message type: E = Error

  • Message class: EDOCUMENT_BR - eDocument Brazil Message Class

  • Message number: 065

  • Message text: Use a valid format for CPF (000.000.000-00) or CNPJ (00.000.000/0000-00).

  • 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 EDOCUMENT_BR065 - Use a valid format for CPF (000.000.000-00) or CNPJ (00.000.000/0000-00). ?

    The SAP error message EDOCUMENT_BR065 indicates that there is an issue with the format of the CPF (Cadastro de Pessoas Físicas) or CNPJ (Cadastro Nacional da Pessoa Jurídica) numbers being used in the system. This error typically arises when the input does not conform to the expected format for these Brazilian identification numbers.

    Cause:

    1. Incorrect Format: The CPF should be in the format 000.000.000-00, and the CNPJ should be in the format 00.000.000/0000-00. If the input does not match these formats, the error will occur.
    2. Invalid Characters: The presence of invalid characters (such as letters or special characters not included in the format) can trigger this error.
    3. Missing Digits: If the CPF or CNPJ is incomplete (i.e., fewer digits than required), the system will reject it.
    4. Leading or Trailing Spaces: Extra spaces before or after the number can also cause the error.

    Solution:

    1. Check Input Format: Ensure that the CPF or CNPJ is entered in the correct format. For CPF, it should be 000.000.000-00, and for CNPJ, it should be 00.000.000/0000-00.
    2. Remove Invalid Characters: Make sure that only numeric characters and the required formatting symbols (dots, slashes, and hyphens) are included.
    3. Validate Length: Ensure that the CPF has 11 digits and the CNPJ has 14 digits, including the formatting characters.
    4. Trim Spaces: Remove any leading or trailing spaces from the input.
    5. Use Valid Numbers: Ensure that the CPF or CNPJ being entered is valid and not just a random number. You can use online validators to check the validity of these numbers.

    Related Information:

    • CPF: The CPF is a Brazilian individual taxpayer registry identification. It is used for various purposes, including tax identification and financial transactions.
    • CNPJ: The CNPJ is the Brazilian National Registry of Legal Entities, used to identify businesses and organizations in Brazil.
    • SAP Configuration: If you are consistently facing this issue, it may be worth checking the SAP configuration settings related to electronic documents and Brazilian tax compliance to ensure they are set up correctly.
    • Documentation: Refer to SAP documentation or support for specific guidelines on handling electronic documents in Brazil, as there may be additional requirements or configurations needed.

    If the problem persists after checking the above points, consider reaching out to your SAP support team for further assistance.

    • 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