Brazil

Below you will see the fields designated for the country Brazil

Document validations

Validation

Document Type

Description

Length

Data Type

Verification digit

Mandatory for methods

Document ID Examples

Document

CPF

Cadastro de Pessoas Físicas = Local ID for Brazilian individuals

11 (excluding dashes and dots)

Numeric

last two digits

  • Bank Transfer

  • Credit Card

  • Debit Card

16686558028 014.423.868-35 186.156.48484

Document

CNPJ

Cadastro de Pessoas Juridicas = Local ID for Brazilian Companies

14 (excluding dashes, dots and slashes)

Numeric

last two digits

  • Bank Transfer

  • Credit Card

  • Debit Card

44.728.727/0001-65 00810826000116

33.685.300/000100

Example: How to validate IDs through the api?

Remember that you can can validate documents through the LP api. See Document Validation service.

Below you can find some examples to validate through our api. You can also test with the examples above. Please, note the structure of each ID type (lenght, dots, hyphens, slashes, lowercase/uppercase). To validate Brazilian documents through the API, you can add or omit the dots, hyphens, slashes and lowercase/uppercase.

{
    "document": {
        "id" :"706.855.120-37",
        "type" :"CPF"
    },
    "country" : "BRA"
}

Validate IDs through the LP api

Check the Country ISOCode 3:

Last updated