---
updatedAt: 2026-10-09T13:25:39.000Z
agentTools:
  projectIndex: https://docs.trinsic.id/llms.txt
---

# Digital CNH (Brazil)

## Overview

Brazil’s digital driver’s license app for managing and displaying driving credentials. It is the official digital version of the national driver’s license (Carteira Nacional de Habilitação), widely accepted as a legal identification document

* **ID**: `brazil-digital-cnh`
* **Type**: eID (app)
* **Category**: Mobile Driver's Licenses
* **Verification Type**: Enrichment
* **Regions**: Latin America
* **Countries**: BR
* **Adoption**: 81,400,000
* **URL**: <https://www.gov.br/pt-br/servicos/obter-carteira-digital-de-transito>

### Integration with Trinsic

CNH verification is integrated into Trinsic's identity acceptance network allowing businesses to verify users against the government system of record in Brazil.

* **Data Inputs:** idNumber (CPF), digital CNH, selfie
* **Permission required:** Yes, this method requires registration before you can activate it for your users. Please [contact Trinsic](https://trinsic.id/contact/) to begin this process.
* **Cost:** [Contact the Trinsic team](https://trinsic.id/contact/).

### User Flow

Trinsic allows a user to upload their digital CNH as an image or PDF and have it verified against the government database. Customers can either utilize Trinsic's UI allowing a user to select a file to upload, or they can send a base64 encoded PDF or image along with the user's CPF number to Trinsic's API. In either scenario, Trinsic's service returns the attributes listed above along with a validation from the government that the ID is still valid.

To see a live demo of this flow, [watch this video](https://www.loom.com/share/951cf39187d34d76a0081db1e50d260b?sid=2588b570-e9da-4db9-83c8-32a2f18a4933).

### How to Test

While using a test mode Verification Profile, launch the widget or the provider directly.

* Enter the credentials below and click submit.
  * cpf: `25774435016`
  * photo: (see below)
  * cnh qr code: (see below)
* At the end, you will be presented with test data for the verification session.

<br />

<Image src="https://apicenter.estaleiro.serpro.gov.br/documentacao/datavalid/simulador/img/exemplos/25774435016_facial_1f8090_sm.jpg" alt="Test Image" align="center" width="300px" />

<br />

<Image align="center" width="268px" src="https://files.readme.io/716d8cc29b464ac5d298c43aca0e262ffbceb93145edb5d97ff6d5bf34dc8d98-cnh-qr.png" />

<br />

<br />

## Direct API Requirements

> 📘 Direct API is not a requirement.
>
> You can integrate with this provider using the [Hosted UI](https://docs.trinsic.id/docs/hosted-provider-session) instead, with no additional integration requirements on your end.

What your integration must support in order to use this provider with the [Direct Provider Sessions API](https://docs.trinsic.id/docs/direct-provider-sessions).

* **Supports Direct Provider Sessions**: ✅
* **Launch Method**: `None` — No user-facing action is required to start the flow.
* **Collection Method**: `PollResult` — Results arrive asynchronously; poll with the `resultsAccessKey` returned at session creation.
* **Requires Input**: This provider requires input before verification can proceed.
* **Trinsic-Hosted UI**: A Trinsic-Hosted Fallback UI exists for this provider, which may be invoked to cover gaps in your integration's capabilities.

<br />

## Outputs

> ℹ️ **Normalized Attributes**
>
> These attributes form part of our normalized model, a standardized set used across providers. Trinsic normalizes this for you and lets you know when a property is available for each provider.

<Tabs>
  <Tab title="Normalized Attributes">

| Field | Availability | Notes |
|-------|--------------|-------|
| `person.fullName` | Always | - |
| `person.dateOfBirth` | Always | - |
| `document.type` | Always | - |
| `document.number` | Always | - |
| `document.issueDate` | Always | - |
| `document.expirationDate` | Always | - |
| `document.issuingCountry` | Always | - |
| `document.issuingAuthority` | Always | - |
| `match.faceMatch` | Sometimes | If selfie is provided |
| `attachments.selfie` | Sometimes | If provided |
| `attachments.documentFront` | Always | - |

  </Tab>

  <Tab title="Provider Attributes">

| Field | Optional | Description | Example Values |
|-------|----------|-------------|----------------|
| `cpfNumber` | Yes | The individual's CPF number.<br /><br /> A CPF (Cadastro de Pessoas Físicas) is the Brazilian individual taxpayer identification number for residents and foreigners.<br /> It is an 11-digit number managed by the Federal Revenue Service, the last 2 digits are check digits, calculated based on the first 9 digits.<br /> The 9th digit indicates the fiscal region responsible for the registration, | 40442820135 |
| `fullName.content` | Yes | Full name decoded from the CNH QR Code and whether it matched the government database. | JOAO ALMEIDA SOUZA |
| `fullName.matchValue` | Yes | Whether the decoded CNH QR Code value matched the government database. | true |
| `fullNameSimilarity` | Yes | Similarity score for the decoded full name from the CNH QR Code.<br /><br /> Ranges from 0.0 to 1.0, where 1.0 is an exact match. | 0.98 |
| `originDocument` | Yes | Source identity document number/reference for the CNH record, decoded from the CNH QR Code. | SSP SP 123456789 |
| `dateOfBirth.content` | No | Date of birth decoded from the CNH QR Code and whether it matched the government database. | 1990-04-15 |
| `dateOfBirth.matchValue` | Yes | Whether the decoded CNH QR Code value matched the government database. | true |
| `motherFullName` | Yes | Mother's full name decoded from the CNH QR Code. | MARIA ALMEIDA SOUZA |
| `fatherFullName` | Yes | Father's full name decoded from the CNH QR Code. | JOSE CARLOS SOUZA |
| `category` | Yes | Driver license category decoded from the CNH QR Code.<br /><br /> Known values:<br /> - A: Two- or three-wheeled motor vehicles, with or without a sidecar.<br /> - B: Motor vehicles outside category A up to 3,500 kg, with capacity for up to eight passengers besides the driver, and without articulation or trailer.<br /> - C: Category B vehicles and rigid cargo vehicles above 3,500 kg.<br /> - D: Category C vehicles and passenger vehicles with capacity above eight passengers besides the driver.<br /> - E: Category D vehicles, trailers, semi-trailers, and articulated buses. | B |
| `registrationNumber.content` | Yes | National Registry (Registro Nacional de Habilitacao) number decoded from the CNH QR Code and whether it matched the government database.<br /><br /> Is an 11-character ID with the format XXXXXXXXX@@:<br /> - XXXXXXXXX: Base characters. The value is unique to the driver for their lifetime.<br /> - @@: Security check digits | 12345678900 |
| `registrationNumber.matchValue` | Yes | Whether the decoded CNH QR Code value matched the government database. | true |
| `registrationNumberCheckDigitsValid` | Yes | Whether the National Registry number satisfies the CNH modulo-11 check digit routine. | true |
| `firstIssueDate` | Yes | Date when the driver was first licensed, decoded from the CNH QR Code. | 2010-08-19 |
| `observations` | Yes | CNH observations decoded from the QR Code.<br /><br /> May include EAR for paid driving activity and one or more restriction codes:<br /> - A: Corrective lenses required.<br /> - B: Hearing prosthesis required.<br /> - C: Left-side accelerator required.<br /> - D: Automatic transmission vehicle required.<br /> - E: Steering-wheel grip, handle, or knob required.<br /> - F: Power steering vehicle required.<br /> - G: Manual clutch, automated clutch, or automatic transmission vehicle required.<br /> - H: Hand accelerator and brake required.<br /> - I: Dashboard control adaptations to the steering wheel required.<br /> - J: Dashboard control adaptations for lower limbs or other body parts required.<br /> - K: Gear-shift lever extension and/or fixed height/depth compensation cushions required.<br /> - L: Pedal extensions and floor elevation and/or fixed height/depth compensation cushions required.<br /> - M: Motorcycle with adapted gear-shift pedal required.<br /> - N: Motorcycle with adapted rear-brake pedal required.<br /> - O: Motorcycle with adapted front-brake handle required.<br /> - P: Motorcycle with adapted clutch handle required.<br /> - Q: Motorcycle with sidecar or tricycle required.<br /> - R: Scooter with sidecar or tricycle required.<br /> - S: Motorcycle with automated gear shifting required.<br /> - T: Driving on highways and high-speed roads prohibited.<br /> - U: Driving after sunset prohibited.<br /> - V: Helmet with visor and unrestricted field of vision required.<br /> - X: Other restrictions. | EAR |
| `issueCity` | Yes | City where the CNH was issued, decoded from the QR Code. | SAO PAULO |
| `issueState` | Yes | Brazilian state where the CNH was issued, decoded from the QR Code.<br /><br /> Format is a two-letter Brazilian state abbreviation when present. | SP |
| `validationNumber` | Yes | Numeric security validation code decoded from the CNH QR Code.<br /><br /> This is an 11-digit code generated from Departamento Estadual de Trânsito (State Traffic Department or DETRAN) owned data for each CNH and used to validate the document.<br /> The algorithm is proprietary, so no further information is available on this number. | 12345678901 |
| `renachNumber` | Yes | Registro Nacional de Condutores Habilitados (RENACH) form number decoded from the CNH QR Code.<br /><br /> Is an 11-character ID with the format FFXXXXXXXX@:<br /> - FF: The issuing federation unit abbreviation. It identifies the state where the driver was licensed or last had record changes.<br /> - XXXXXXXXX: Serial number<br /> - @: Modulo-11 security check digit | SP123456789 |
| `facialBiometry.databaseFaceAvailable` | Yes | Whether the government database had facial biometrics available for comparison. | true |
| `facialBiometry.probability` | Yes | Probability bucket returned by Serpro for the facial biometric comparison.<br /><br /> Known values:<br /> - VeryLow<br /> - Low<br /> - High<br /> - VeryHigh | VeryHigh |
| `facialBiometry.similarityScore` | Yes | Similarity score returned by Serpro for the facial biometric comparison.<br /><br /> Ranges from 0.0 to 1.0, where 1.0 is a perfect match. | 0.99 |
| `facialBiometry.liveness` | Yes | Liveness result returned by Serpro when liveness is part of the validation response.<br /><br /> Known values:<br /> - BAD_QUALITY: The image quality was too low for liveness validation.<br /> - FAKE: Liveness validation detected a presentation attack or non-live face.<br /> - REAL: Liveness validation detected a live face. | REAL |

  </Tab>
</Tabs>

<br />

For identity verification in Brazil, <a href="https://www.trinsic.id/coverage" target="_blank">filter coverage by country</a>.