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 |
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 thefull_name_matchvalidation)
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.
Create the session as you normally would for your identity verification flow.
The end-user submits their Brazilian document.
Veriff takes the CPF number and date of birth from the data source you use, either the document or initData.
Veriff sends the CPF number and date of birth to the CPF registry.
The registry returns the CPF status and the registered name and date of birth.
Check the decision data from the decision webhook and/or query it from the
GET /sessions/{sessionId}/decisionendpoint.
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 responsesequenceDiagram
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.
Generate a verification session using the API keys and the
baseURLof your integration (see the API Documentation and API Reference for how to find these).Make sure to pass the mandatory
person.idNumberparameter with the end-user's CPF number, as 11 digits with no punctuation.Make sure to pass the mandatory
person.dateOfBirthparameter inYYYY-MM-DDformat.Optionally, pass the end-user's full name in the
person.fullNameparameter. It is needed only for thefull_name_matchvalidation.Veriff strongly recommends you create and send the
endUserIdorvendorData.
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"
}
}
}'
Patch the session status to
submittedusing the PATCH /sessions/{sessionId} call.This endpoint requires endpoint-level authentication via the
X-HMAC-SIGNATUREheader. See HMAC Authentication and Endpoint Security for general info about signature creation.
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"
}
}'
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 responsesequenceDiagram
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
Find decision and/or session related info
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}/decisionendpoint. 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:objectThe CPF registry result. Omitted if the check did not produce a result.status:stringThe overall result of the check. See Possible status values below.data:object | nullThe registry response. It is returned whenever the registry finds the CPF, whatever its status. It isnullwhen 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 onlydateOfBirthandyearOfDeathcan benull.countryRegistry:stringAlwaysBR.registryName:stringAlwaysserpro.cpfNumber:stringThe CPF number from the registry, always 11 digits with no punctuation.fullName:stringThe full name of the CPF holder, exactly as the registry returns it. The letter case can vary.dateOfBirth:string | nullThe date of birth in the registry, inYYYY-MM-DDformat.nullif the registry has no date of birth on record.yearOfDeath:number | nullThe year of death, alwaysnull.statusCode:stringThe CPF status code, for example0. See Possible CPF status values below.statusDescription:stringThe CPF status text that matches thestatusCode. See Possible CPF status values below. Handle unknown values gracefully, as this field may gain new values.
validations:object | nullThe validation results.nullifstatusiserror. See Available validation checks below for each check, and Possible validation result values and Possible reason values for theresultandreasonfields shared by every check.error:object | nullThe error details.nullunlessstatusiserror. See Error details below.timestamp:string | nullThe time of the registry response, in ISO 8601 format.nullwhen the registry was not queried or did not respond.
Possible status values
| Description |
|---|---|
| All validations passed or are not applicable |
| One or more validations failed |
| The registry could not be reached, the request timed out, or an internal error occurred. In this case |
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.
|
|
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Available validation checks
Validation check | Description |
|---|---|
| Validates the input CPF number and date of birth |
| Checks that the CPF exists, that it belongs to the person with the input date of birth, and that its status is |
| Compares the input name with the registry name. Needs the end-user's full name as an input. Disabled by default. |
| 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.
| Description |
|---|---|
| The validation passed |
| The validation failed |
| The validation did not run |
Possible validation.reason values
| When it appears |
|---|---|
|
|
| On |
| On |
| On |
| On |
| On |
|
|
| On |
| On any validation, when an internal processing error occurred |
Error details
|
|
|---|---|
| Registry provider is unavailable |
| Registry request timed out |
| 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
Regularand 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:
dataisnullandis_input_validisfailure. Thereasonisinvalid_cpf_numberwhen the CPF number is missing or not valid, andinput_not_providedwhen the date of birth is missing. Validations that need a registry response, such ascpf_status_valid, returnnot_applicablewithreason: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,
statusiserror,validationsisnull, anderror.codeisregistry_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:stringStatus of the response.verification:objectVerification request decision object.nullif decision is not available yet.id:stringUUID v4 which identifies the verification session.attemptId:stringUUID v4 of the attempt which received a status, as shown inverification.status.vendorData:string | nullThe unique identifier that you created for your end-user.nullif not specified.endUserId:string | nullThe UUID that you created for your end-user.nullif not specified.status:stringVerification status, one ofapproved,declined,resubmission_requested,expired,abandoned.code:integerVerification session decision code, one of9001,9102,9103,9104.reason:string | nullReason why the verification failed.reasonCode:integer | nullReason code of the failed verification.decisionTime:string | nullTimestamp of the decision,UTC YYYY-MM-DDTHH:MM:SS.SSS+Timezone Offset(ISO 8601).acceptanceTime:stringTimestamp of the session generation,UTC YYYY-MM-DDTHH:MM:SS.SSS+Timezone Offset(ISO 8601).submissionTime:stringTimestamp of when the session was submitted,UTC YYYY-MM-DDTHH:MM:SS.SSSSSS+Timezone Offset(ISO 8601).person:objectData about the verified person.firstName:string | nullPerson's first name.lastName:string | nullPerson's last name.dateOfBirth:string | nullPerson's date of birth,YYYY-MM-DD.gender:string | nullPerson's gender,M,F,X, ornullif not present.nationality:string | nullPerson's nationality, ISO 3166alpha-2oralpha-3code.idNumber:string | nullPerson's CPF number.yearOfBirth:string | nullPerson's year of birth,YYYY.placeOfBirth:string | nullPerson's place of birth.
document:objectVerified document.nullin all fields when no document was captured, as in standalone mode.number:string | nullDocument number.type:string | nullDocument type.country:string | nullDocument issuing country, ISO 3166alpha-2code.state:string | nullDocument issuing state.
additionalVerifiedData:objectData that has been optionally verified for the session. Empty{}for this solution, since its result is returned inregistryValidationsinstead.registryValidations:objectRegistry validation results container.BR_CPF_NON_BIOMETRIC:objectResult of the solution's check. Omitted fromregistryValidationsif the check did not produce a result. See Solution-specific parameters above for the full field reference.
technicalData:objectTechnical data object.ip:string | nullIP 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.codefor the verification session decision code, one of9001,9102,9103,9104.verification.statusfor the verification status, one ofapproved,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
|
| What does it mean? |
|---|---|---|
|
| The CPF exists but is not in good standing |
|
| 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 |
| Description |
|---|---|---|
|
| Unable to validate CPF data |
|
| Unable to validate CPF data |
|
| Full name does not match the registry |
|
| Date of birth does not match the registry |
Registry or system error |
| 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.idNumberas 11 digits with no punctuation, to avoid validation issues.Date of birth is mandatory: in standalone mode, always send
person.dateOfBirthinYYYY-MM-DDformat. If it is missing, the registry is not queried andis_input_validreturnsresult:failurewithreason:input_not_provided.Detect deceased holders via
statusDescription:yearOfDeathis alwaysnull; usestatusDescription:Deceased Holderinstead.Check the CPF status before using registry data:
registryValidations.BR_CPF_NON_BIOMETRIC.datais returned for every CPF status, not onlyRegular, so checkstatusDescriptionbefore you rely onfullNameanddateOfBirth.Status handling: implement handling for every possible
statusDescriptionvalue, includingNull, which is the text "Null" and not a JSONnull.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?
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?
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 |