⚠️ Action required: Update your Veriff API Host before 9 December 2026. Need help? Contact support@veriff.com

Brazil - CPF Non-Biometric Database Verification

Prev Next

Available via API

Available via SDK

Needs configuration on Veriff's side

Needs a separate integration

Needs a solution-specific webhook

✅

✅*/❌**

✅

❌*/✅**

❌

The solution checks an end-user's CPF (Cadastro de Pessoas Físicas) number and date of birth against the Brazilian individual taxpayer registry. It confirms that the CPF exists, that it belongs to the person with that date of birth, and reports its registration status, for example Regular, Suspended, or Deceased Holder. When the registry finds the CPF, the name and date of birth registered for that CPF are also returned, whatever the status.

Use it to detect CPFs that are suspended, canceled, or registered to a deceased person, and, when full_name_match is enabled, to cross-check the end-user's name against the registry. It needs no selfie and no document: you can run it on data you send via the API, or next to identity verification to confirm the details the end-user provided.

This is a non-biometric check: it does not match the end-user against the registry's photo. For the biometric version, see Brazil - CPF Biometric Database Verification.

Brazil - CPF Non-Biometric Database Verification can be used in two ways:

  • *as an add-on to your identity verification flow, in which case the solution is available via SDK, web and API, and uses the same integration as the rest of the flow; or

  • **as a standalone check, in which case the solution is available only via API and requires that a separate integration is set up.

The check runs in Veriff's backend and has no end-user screens. The CPF number and date of birth are mandatory inputs, the full name is optional.

All session-related info is returned via the decision webhook and can be polled from the GET /sessions/{sessionId}/decision endpoint. The results can also be viewed in the Veriff Customer Portal, in the Webhooks tab.

Contact your solutions engineer for info and configuration.



Prerequisites

  • You have an integration set up with Veriff.

  • The solution is configured for that integration by your Solutions Engineer.

  • You have configured the decision webhook to get responses from Veriff (see the how-to in the Set up webhooks section).

  • If using this as an add-on to an identity verification flow, your flow either captures a Brazilian document that contains the end-user's CPF number and date of birth, or you send them via initData, depending on which one is used for the identity verification flow.

  • If using this as a standalone check via API, you are ready to collect and send the end-user's CPF number and date of birth (the full name is optional).

  • Veriff strongly recommends you create and send the endUserId or vendorData.

Key terminology

Term

Description

CPF

Cadastro de Pessoas Físicas, the Brazilian individual taxpayer registry identification

CPF number

The Brazilian individual taxpayer registry's 11-digit number

CPF status

The registration status of a CPF number in the registry, for example Regular, Suspended, or Deceased Holder



End-user data sources

The "end-user data sources" refer to the different origins from which the end-user's information can be collected for verification. There are two data sources: document data and initData. You use one of them, not both.

Document data

This is data extracted from the end-user's document. When the solution runs as an add-on, the CPF number, date of birth and full name can be extracted from the Brazilian document captured in your identity verification flow.

InitData

This is data that you provide when creating a verification session, that is, the parameters you specify in the POST /sessions request. When the solution runs as a standalone check via API, you send the CPF number and date of birth as initData.

Parameters that can be sent via initData:

  • CPF number via person.idNumber (mandatory)

  • Date of birth via person.dateOfBirth (mandatory)

  • Full name via person.fullName (optional, needed only for the full_name_match validation)


Flow overview

Use as an identity verification add-on

Use these steps when the check should run automatically as part of your existing identity verification flow.

  1. Create the session as you normally would for your identity verification flow.

  2. The end-user submits their Brazilian document.

  3. Veriff takes the CPF number and date of birth from the data source you use, either the document or initData.

  4. Veriff sends the CPF number and date of birth to the CPF registry.

  5. The registry returns the CPF status and the registered name and date of birth.

  6. Check the decision data from the decision webhook and/or query it from the GET /sessions/{sessionId}/decision endpoint.

Session creation bash example

curl -X POST \
  --url '/v1/sessions/' \
  -H 'X-AUTH-CLIENT: your-api-key' \
  -H 'CONTENT-TYPE: application/json' \
  -d '{
    "verification": {
        "callback": "https://exampleURL.com"
    }
}'

Add-on session lifecycle diagram

Click to open an add-on session lifecycle diagram

Your backend creates the session, the end-user submits their Brazilian document in your identity verification flow, and Veriff queries the CPF registry with the CPF number and date of birth. Veriff returns the result via the decision webhook or by polling.

sequenceDiagram
    participant EndUser as End-user
    participant Backend as Your backend
    participant API as Veriff
    participant Registry as CPF registry

    Backend->>API: POST /v1/sessions
    API-->>Backend: Session created
    EndUser->>API: Submits Brazilian document in the identity verification flow
    API->>API: Takes CPF number and date of birth from the document or initData
    API->>Registry: Query CPF number and date of birth
    Registry-->>API: CPF status and registry data
    API-->>Backend: Decision webhook or GET /decision response

sequenceDiagram
    participant EndUser as End-user
    participant Backend as Your backend
    participant API as Veriff
    participant Registry as CPF registry

    Backend->>API: POST /v1/sessions
    API-->>Backend: Session created
    EndUser->>API: Submits Brazilian document in the identity verification flow
    API->>API: Takes CPF number and date of birth from the document or initData
    API->>Registry: Query CPF number and date of birth
    Registry-->>API: CPF status and registry data
    API-->>Backend: Decision webhook or GET /decision response

Use as a standalone check via API

Use when you only need to verify the CPF without collecting document or selfie images.

  1. Generate a verification session using the API keys and the baseURL of your integration (see the API Documentation and API Reference for how to find these).

    • Make sure to pass the mandatory person.idNumber parameter with the end-user's CPF number, as 11 digits with no punctuation.

    • Make sure to pass the mandatory person.dateOfBirth parameter in YYYY-MM-DD format.

    • Optionally, pass the end-user's full name in the person.fullName parameter. It is needed only for the full_name_match validation.

    • Veriff strongly recommends you create and send the endUserId or vendorData.

Session creation bash example

curl -X POST \
  --url '/v1/sessions/' \
  -H 'X-AUTH-CLIENT: your-api-key' \
  -H 'CONTENT-TYPE: application/json' \
  -d '{
  "verification": {
    "callback": "https://exampleURL.com",
    "vendorData": "12345678",
    "endUserId": "a1b2c35d-e8f7-6d5e-3cd2-a1b2c35db3d4",
    "person": {
      "idNumber": "12345678901",
      "dateOfBirth": "1988-11-05",
      "fullName": "Lucas Ferreira"
    }
  }
}'

  1. Patch the session status to submitted using the PATCH /sessions/{sessionId} call.

Session update bash example

curl -X PATCH \
  --url '/v1/sessions/fd5c1563-1d23-4b1a-ae46-7ba429927ed8' \
  -H 'X-AUTH-CLIENT: your-api-key' \
  -H 'X-HMAC-SIGNATURE: 034c6da2bb31fd9e6892516c6d7b90ebe10f79b47cfb3d155d77b4d9b66e1d53' \
  -H 'CONTENT-TYPE: application/json' \
  -d '{
  "verification": {
    "status": "submitted"
  }
}'

  1. Check the decision data from the decision webhook and/or query it from the GET /sessions/{sessionId}/decision endpoint. See Solution-specific parameters below.

Standalone session lifecycle diagram

Click to open a standalone check session lifecycle diagram

Your backend sends the end-user's CPF number and date of birth to Veriff, which queries the CPF registry and returns the result via the decision webhook or by polling.

sequenceDiagram
    participant Backend as Your backend
    participant API as Veriff
    participant Registry as CPF registry

    Backend->>API: POST /v1/sessions (person.idNumber, person.dateOfBirth)
    API-->>Backend: Session created
    Backend->>API: PATCH /v1/sessions/{id} (status: submitted)
    API->>Registry: Query CPF number and date of birth
    Registry-->>API: CPF status and registry data
    API-->>Backend: Decision webhook or GET /decision response

sequenceDiagram
    participant Backend as Your backend
    participant API as Veriff
    participant Registry as CPF registry

    Backend->>API: POST /v1/sessions (person.idNumber, person.dateOfBirth)
    API-->>Backend: Session created
    Backend->>API: PATCH /v1/sessions/{id} (status: submitted)
    API->>Registry: Query CPF number and date of birth
    Registry-->>API: CPF status and registry data
    API-->>Backend: Decision webhook or GET /decision response



You can get the data from three sources:

  • Receive the decision webhook (full example with placeholder values below).

  • Query the results via the GET /sessions/{sessionId}/decision endpoint. The response payload is identical to the decision webhook payload.

  • View the session in the Veriff Customer Portal > Webhooks tab.

Solution-specific parameters

Info related to the solution is returned in the registryValidations.BR_CPF_NON_BIOMETRIC object.

Structure of the BR_CPF_NON_BIOMETRIC object

"registryValidations": {
  "BR_CPF_NON_BIOMETRIC": {
    "status": "success",
    "data": {
      "countryRegistry": "BR",
      "registryName": "serpro",
      "cpfNumber": "12345678901",
      "fullName": "LUCAS FERREIRA",
      "dateOfBirth": "1988-11-05",
      "yearOfDeath": null,
      "statusCode": "0",
      "statusDescription": "Regular"
    },
    "validations": {
      "is_input_valid": { "result": "success", "reason": null },
      "cpf_status_valid": { "result": "success", "reason": null },
      "full_name_match": { "result": "success", "reason": null },
      "date_of_birth_match": { "result": "success", "reason": null }
    },
    "error": null,
    "timestamp": "2026-05-05T00:00:00Z"
  }
}

full_name_match and date_of_birth_match appear only when they are enabled.

Parameters explained

  • registryValidations.BR_CPF_NON_BIOMETRIC: object The CPF registry result. Omitted if the check did not produce a result.

    • status: string The overall result of the check. See Possible status values below.

    • data: object | null The registry response. It is returned whenever the registry finds the CPF, whatever its status. It is null when the CPF is not found, the date of birth does not match the CPF, the CPF holder is a minor, an input is missing or invalid, or the registry could not be reached. If the object is present, it has all of these fields, and only dateOfBirth and yearOfDeath can be null.

      • countryRegistry: string Always BR.

      • registryName: string Always serpro.

      • cpfNumber: string The CPF number from the registry, always 11 digits with no punctuation.

      • fullName: string The full name of the CPF holder, exactly as the registry returns it. The letter case can vary.

      • dateOfBirth: string | null The date of birth in the registry, in YYYY-MM-DD format. null if the registry has no date of birth on record.

      • yearOfDeath: number | null The year of death, always null.

      • statusCode: string The CPF status code, for example 0. See Possible CPF status values below.

      • statusDescription: string The CPF status text that matches the statusCode. See Possible CPF status values below. Handle unknown values gracefully, as this field may gain new values.

    • validations: object | null The validation results. null if status is error. See Available validation checks below for each check, and Possible validation result values and Possible reason values for the result and reason fields shared by every check.

    • error: object | null The error details. null unless status is error. See Error details below.

    • timestamp: string | null The time of the registry response, in ISO 8601 format. null when the registry was not queried or did not respond.

Possible status values

registryValidations.BR_CPF_NON_BIOMETRIC.status

Description

success

All validations passed or are not applicable

failure

One or more validations failed

error

The registry could not be reached, the request timed out, or an internal error occurred. In this case validations is null.

Possible CPF status values

Inside registryValidations.BR_CPF_NON_BIOMETRIC.data, each statusCode always comes with the same statusDescription, spelled exactly as shown.

Both are strings: Null is the text "Null", not a JSON null.

statusCode

statusDescription

0

Regular

2

Suspended

3

Deceased Holder

4

Regularization Pending

5

Canceled by Multiplicity

8

Null

9

Canceled ex Officio

Available validation checks

Validation check

Description

is_input_valid

Validates the input CPF number and date of birth

cpf_status_valid

Checks that the CPF exists, that it belongs to the person with the input date of birth, and that its status is Regular

full_name_match

Compares the input name with the registry name. Needs the end-user's full name as an input. Disabled by default.

date_of_birth_match

Compares the input date of birth with the registry date of birth. Disabled by default.

To enable full_name_match or date_of_birth_match, contact your Solutions Engineer or Account Manager. By default, cpf_status_valid passes only when the CPF status is Regular. Alternatives may be possible, contact your Solutions Engineer for info.

A date of birth that does not match the CPF fails cpf_status_valid with reason: date_of_birth_mismatch. In that case, and when the CPF is not found or the CPF holder is a minor, full_name_match and date_of_birth_match do not run: if enabled, they return not_applicable with reason: input_not_provided.

Possible validation.result values

Every validation check above returns the same result values.

result

Description

success

The validation passed

failure

The validation failed

not_applicable

The validation did not run

Possible validation.reason values

reason

When it appears

null

result is success

invalid_cpf_number

On is_input_valid, when the CPF number is missing or not valid

person_not_found

On cpf_status_valid, when the CPF was not found in the registry

value_mismatch

On cpf_status_valid, when the CPF's status is not an accepted status, by default any status other than Regular. On full_name_match or date_of_birth_match, when the input value does not match the registry value.

cpf_holder_is_minor

On cpf_status_valid, when the CPF holder is a minor

date_of_birth_mismatch

On cpf_status_valid, when the input date of birth does not match the registry date of birth

input_not_provided

  • On is_input_valid: the date of birth is missing.

  • On cpf_status_valid, full_name_match, or date_of_birth_match: the validation could not run because an input it needs was not available, for example the full name for full_name_match. The result is not_applicable.

  • On full_name_match or date_of_birth_match: the CPF was not found, the date of birth did not match the CPF, or the CPF holder is a minor. The result is not_applicable.

output_not_received

On full_name_match or date_of_birth_match, when the registry did not return the data needed for the comparison

technical_issues

On any validation, when an internal processing error occurred

Error details

code

message

registry_unavailable

Registry provider is unavailable

registry_timeout

Registry request timed out

technical_issues

Internal error occurred

Note about object and field visibility

The data object is returned whenever the registry finds the CPF, whatever its status. The whole object is null when the CPF is not found, the date of birth does not match the CPF, the CPF holder is a minor, an input is missing or invalid, or the registry could not be reached.

A validation appears in the validations object only when it is enabled in your configuration. Disabled validations are left out.

The BR_CPF_NON_BIOMETRIC object is omitted from registryValidations when the check did not produce a result, for example when it was not applicable or did not run.

Your application logic must account for omitted keys and null values as a standard part of the verification workflow.

Note on session outcomes

  • A validation declines a session only if your configuration sets it to decline. By default, no validation affects the session decision, so the check does not decline sessions unless your configuration says it should. Contact your Veriff support team for info and configuration.

  • If the CPF status is Regular and the date of birth matches, the check passes and does not block approval.

  • If the CPF has any other status, is not found, or the date of birth does not match, the check fails. If the failed validation is configured to decline and all other checks in the session passed, the session is declined.

  • If the CPF number or date of birth is missing, Veriff does not query the registry: data is null and is_input_valid is failure. The reason is invalid_cpf_number when the CPF number is missing or not valid, and input_not_provided when the date of birth is missing. Validations that need a registry response, such as cpf_status_valid, return not_applicable with reason: input_not_provided.

  • If an earlier check in your flow fails, the registry is not queried and the session decision follows that failing check.

  • If the registry request times out, status is error, validations is null, and error.code is registry_timeout. As with a failed validation, the session is declined only if your configuration sets it to decline.

CPF has a non-regular status

Example: the CPF exists but its status is not Regular (shown here for Suspended).

"registryValidations": {
  "BR_CPF_NON_BIOMETRIC": {
    "status": "failure",
    "data": {
      "countryRegistry": "BR",
      "registryName": "serpro",
      "cpfNumber": "12345678901",
      "fullName": "LUCAS FERREIRA",
      "dateOfBirth": "1988-11-05",
      "yearOfDeath": null,
      "statusCode": "2",
      "statusDescription": "Suspended"
    },
    "validations": {
      "is_input_valid": { "result": "success", "reason": null },
      "cpf_status_valid": { "result": "failure", "reason": "value_mismatch" }
    },
    "error": null,
    "timestamp": "2026-05-05T00:00:00Z"
  }
}

Date of birth does not match the CPF

Example: the input date of birth does not match the CPF. A CPF that is not found returns the same structure, with reason: person_not_found.

The optional full_name_match and date_of_birth_match validations are enabled here for example purposes.

"registryValidations": {
  "BR_CPF_NON_BIOMETRIC": {
    "status": "failure",
    "data": null,
    "validations": {
      "is_input_valid": { "result": "success", "reason": null },
      "cpf_status_valid": { "result": "failure", "reason": "date_of_birth_mismatch" },
      "full_name_match": { "result": "not_applicable", "reason": "input_not_provided" },
      "date_of_birth_match": { "result": "not_applicable", "reason": "input_not_provided" }
    },
    "error": null,
    "timestamp": "2026-05-05T00:00:00Z"
  }
}

Mandatory input missing

Example: the date of birth was not available, so the registry was not queried.

"registryValidations": {
  "BR_CPF_NON_BIOMETRIC": {
    "status": "failure",
    "data": null,
    "validations": {
      "is_input_valid": { "result": "failure", "reason": "input_not_provided" },
      "cpf_status_valid": { "result": "not_applicable", "reason": "input_not_provided" }
    },
    "error": null,
    "timestamp": null
  }
}

Registry not available

Example: the registry could not be reached.

"registryValidations": {
  "BR_CPF_NON_BIOMETRIC": {
    "status": "error",
    "data": null,
    "validations": null,
    "error": { "code": "registry_unavailable", "message": "Registry provider is unavailable" },
    "timestamp": null
  }
}

Webhook payload

Note

The example below uses placeholder data to show all mandatory parameters and the solution's fields. Depending on your integration's configuration, your production payload may contain additional parameters. For fields from other solutions, see the decision webhook documentation.

Sample request

Both examples show a standalone check, where person.firstName and person.lastName are null unless you send them in the session creation request.

Approved session (CPF validated)

{
  "status": "success",
  "verification": {
    "id": "12df6045-3846-3e45-946a-14fa6136d78b",
    "attemptId": "00bca969-b53a-4fad-b065-874d41a7b2b8",
    "vendorData": "12345678",
    "endUserId": "a1b2c35d-e8f7-6d5e-3cd2-a1b2c35db3d4",
    "status": "approved",
    "code": 9001,
    "reason": null,
    "reasonCode": null,
    "decisionTime": "2026-04-01T10:01:05.916Z",
    "acceptanceTime": "2026-04-01T10:00:27.000Z",
    "submissionTime": "2026-04-01T10:01:00.736Z",
    "person": {
      "firstName": null,
      "lastName": null,
      "dateOfBirth": "1988-11-05",
      "gender": null,
      "nationality": null,
      "idNumber": "12345678901",
      "yearOfBirth": null,
      "placeOfBirth": null
    },
    "document": {
      "number": null,
      "type": null,
      "country": null,
      "state": null
    },
    "additionalVerifiedData": {},
    "registryValidations": {
      "BR_CPF_NON_BIOMETRIC": {
        "status": "success",
        "data": {
          "countryRegistry": "BR",
          "registryName": "serpro",
          "cpfNumber": "12345678901",
          "fullName": "LUCAS FERREIRA",
          "dateOfBirth": "1988-11-05",
          "yearOfDeath": null,
          "statusCode": "0",
          "statusDescription": "Regular"
        },
        "validations": {
          "is_input_valid": { "result": "success", "reason": null },
          "cpf_status_valid": { "result": "success", "reason": null }
        },
        "error": null,
        "timestamp": "2026-04-01T10:01:00.000Z"
      }
    }
  },
  "technicalData": {
    "ip": "127.0.0.1"
  }
}

Declined session (CPF holder is deceased)

{
  "status": "success",
  "verification": {
    "id": "12df6045-3846-3e45-946a-14fa6136d78b",
    "attemptId": "00bca969-b53a-4fad-b065-874d41a7b2b8",
    "vendorData": "12345678",
    "endUserId": "a1b2c35d-e8f7-6d5e-3cd2-a1b2c35db3d4",
    "status": "declined",
    "code": 9102,
    "reason": "Unable to validate CPF data",
    "reasonCode": 529,
    "decisionTime": "2026-04-01T10:01:05.916Z",
    "acceptanceTime": "2026-04-01T10:00:27.000Z",
    "submissionTime": "2026-04-01T10:01:00.736Z",
    "person": {
      "firstName": null,
      "lastName": null,
      "dateOfBirth": "1988-11-05",
      "gender": null,
      "nationality": null,
      "idNumber": "12345678901",
      "yearOfBirth": null,
      "placeOfBirth": null
    },
    "document": {
      "number": null,
      "type": null,
      "country": null,
      "state": null
    },
    "additionalVerifiedData": {},
    "registryValidations": {
      "BR_CPF_NON_BIOMETRIC": {
        "status": "failure",
        "data": {
          "countryRegistry": "BR",
          "registryName": "serpro",
          "cpfNumber": "12345678901",
          "fullName": "LUCAS FERREIRA",
          "dateOfBirth": "1988-11-05",
          "yearOfDeath": null,
          "statusCode": "3",
          "statusDescription": "Deceased Holder"
        },
        "validations": {
          "is_input_valid": { "result": "success", "reason": null },
          "cpf_status_valid": { "result": "failure", "reason": "value_mismatch" }
        },
        "error": null,
        "timestamp": "2026-04-01T10:01:00.000Z"
      }
    }
  },
  "technicalData": {
    "ip": "127.0.0.1"
  }
}

Request properties explained

  • status: string Status of the response.

  • verification: object Verification request decision object. null if decision is not available yet.

    • id: string UUID v4 which identifies the verification session.

    • attemptId: string UUID v4 of the attempt which received a status, as shown in verification.status.

    • vendorData: string | null The unique identifier that you created for your end-user. null if not specified.

    • endUserId: string | null The UUID that you created for your end-user. null if not specified.

    • status: string Verification status, one of approved, declined, resubmission_requested, expired, abandoned.

    • code: integer Verification session decision code, one of 9001, 9102, 9103, 9104.

    • reason: string | null Reason why the verification failed.

    • reasonCode: integer | null Reason code of the failed verification.

    • decisionTime: string | null Timestamp of the decision, UTC YYYY-MM-DDTHH:MM:SS.SSS+Timezone Offset (ISO 8601).

    • acceptanceTime: string Timestamp of the session generation, UTC YYYY-MM-DDTHH:MM:SS.SSS+Timezone Offset (ISO 8601).

    • submissionTime: string Timestamp of when the session was submitted, UTC YYYY-MM-DDTHH:MM:SS.SSSSSS+Timezone Offset (ISO 8601).

    • person: object Data about the verified person.

      • firstName: string | null Person's first name.

      • lastName: string | null Person's last name.

      • dateOfBirth: string | null Person's date of birth, YYYY-MM-DD.

      • gender: string | null Person's gender, M, F, X, or null if not present.

      • nationality: string | null Person's nationality, ISO 3166 alpha-2 or alpha-3 code.

      • idNumber: string | null Person's CPF number.

      • yearOfBirth: string | null Person's year of birth, YYYY.

      • placeOfBirth: string | null Person's place of birth.

    • document: object Verified document. null in all fields when no document was captured, as in standalone mode.

      • number: string | null Document number.

      • type: string | null Document type.

      • country: string | null Document issuing country, ISO 3166 alpha-2 code.

      • state: string | null Document issuing state.

    • additionalVerifiedData: object Data that has been optionally verified for the session. Empty {} for this solution, since its result is returned in registryValidations instead.

    • registryValidations: object Registry validation results container.

      • BR_CPF_NON_BIOMETRIC: object Result of the solution's check. Omitted from registryValidations if the check did not produce a result. See Solution-specific parameters above for the full field reference.

  • technicalData: object Technical data object.

    • ip: string | null IP address of the device from which the verification was made.

API call

Sample response

The API response payload is identical to the decision webhook payload. See the sample requests above.

Response properties explained

The API response payload is identical to the decision webhook payload. See the request properties explained above.

Veriff Customer Portal

You can find the verification session related info, including the decision, in the Veriff Customer Portal, under the Webhooks tab.

→ See Review verification in Veriff Customer Portal about how to view the session info in the Veriff Customer portal



Status and reason codes

For a session, see:

  • verification.code for the verification session decision code, one of 9001, 9102, 9103, 9104.

  • verification.status for the verification status, one of approved, declined, resubmission_requested, expired, abandoned.

About declined sessions

By default, if a validation fails, the session is not declined. A failed validation declines a session only if your configuration sets it to decline.

If as per your configuration the session was declined, check verification.reason and verification.reasonCode for more info, and registryValidations.BR_CPF_NON_BIOMETRIC.data.statusDescription for the CPF registry status.

registryValidations.BR_CPF_NON_BIOMETRIC outcomes

verification.status

registryValidations.BR_CPF_NON_BIOMETRIC outcome

What does it mean?

declined

statusDescription is not Regular (for example Suspended, Deceased Holder, Regularization Pending, Canceled by Multiplicity, Canceled ex Officio, or Null)

The CPF exists but is not in good standing

declined

status is failure with data null

The CPF was not found, the date of birth did not match, the CPF holder is a minor, or a mandatory input was missing or not valid

Reason codes in verification.reasonCode

Failed validation

reasonCode

Description

is_input_valid

529

Unable to validate CPF data

cpf_status_valid

529

Unable to validate CPF data

full_name_match

541

Full name does not match the registry

date_of_birth_match

576

Date of birth does not match the registry

Registry or system error

566

System processing failure

The tables above list the most common reasons a session may be declined for this check, but a session may also be declined for a reason unrelated to this check, for example a low-quality document image. For those, refer to:



Additional information

Best practices

  • CPF number format: send person.idNumber as 11 digits with no punctuation, to avoid validation issues.

  • Date of birth is mandatory: in standalone mode, always send person.dateOfBirth in YYYY-MM-DD format. If it is missing, the registry is not queried and is_input_valid returns result: failure with reason: input_not_provided.

  • Detect deceased holders via statusDescription: yearOfDeath is always null; use statusDescription: Deceased Holder instead.

  • Check the CPF status before using registry data: registryValidations.BR_CPF_NON_BIOMETRIC.data is returned for every CPF status, not only Regular, so check statusDescription before you rely on fullName and dateOfBirth.

  • Status handling: implement handling for every possible statusDescription value, including Null, which is the text "Null" and not a JSON null.

  • Session declined due to third-party provider issues: implement a session handling flow for cases where a possibly legitimate end-user's session is declined because the registry had issues.

  • Webhook security: secure your webhook endpoint and verify request signatures. See HMAC Authentication and Endpoint Security.

  • Ensure Backwards compatible changes for webhooks and API connections.

FAQ

What is the difference between this check and Brazil - CPF Biometric Database Verification?

This check validates the CPF number and date of birth against the CPF registry and returns the CPF status and the registered name and date of birth. It does not perform a face match. Brazil - CPF Biometric Database Verification matches the end-user's selfie against the registry portrait and returns its result under registryValidations.BR_CPF_BIOMETRIC, without registry person data.

Why is yearOfDeath always null?

The CPF registry no longer returns year-of-death data. The field is kept in the payload for backward compatibility. Use statusDescription: Deceased Holder to identify deceased holders.

Can I see why the CPF failed to validate?

Check registryValidations.BR_CPF_NON_BIOMETRIC.validations for the specific validation that failed and its reason.

If cpf_status_valid failed with reason: value_mismatch, the CPF was found but its status is not an accepted status. Check data.statusCode and data.statusDescription to see the CPF status, for example 2 Suspended) or 3 Deceased Holder). See Possible CPF status values above.

If data is null, the CPF was not found, the date of birth did not match, the CPF holder is a minor, or an input was missing or not valid. The reason tells you which case applies.

Why are full_name_match and date_of_birth_match missing from my payload?

Both validations are disabled by default, and a disabled validation is left out of the validations object. To enable them, contact your Solutions Engineer or Account Manager. full_name_match also needs the end-user's full name as an input.


Changelog

Date

Description

Dec 2, 2026

Documentation published