Skip to main content
Didit Raises $7.5M to Build the Infrastructure for Identity and Fraud
Didit
Back to blog
Blog · March 6, 2026

Mastering National Registry & CPF Validation in Brazil

Effectively verifying identities in Brazil requires robust National Registry and CPF validation. This post explores the intricacies of these crucial identity checks, including 1x1 and 2x2 matching methods, and how Didit's.

By DiditUpdated
mastering-national-registry-cpf-validation-in-brazil.png

Brazilian Identity ChallengesBrazil's unique identity landscape, centered around the National Registry and CPF, presents specific challenges for businesses needing to verify users accurately and compliantly.

Understanding 1x1 and 2x2 MatchingEffective database validation relies on methods like 1x1 matching for single identifiers and 2x2 matching for cross-referencing multiple data points, both crucial for robust verification.

Configurable Verification WorkflowsBusinesses can configure automated actions for partial or no matches, allowing for tailored risk management strategies from review to automatic decline, ensuring operational efficiency.

Didit's AI-Native SolutionDidit provides a modular, AI-native platform with Free Core KYC and no setup fees, offering comprehensive National Registry and CPF validation to automate trust and prevent fraud in Brazil.

The Importance of National Registry and CPF Validation in Brazil

Operating in Brazil requires a deep understanding of its unique identity verification ecosystem. At the heart of this system are two critical identifiers: the National Registry (Registro Nacional de Estrangeiros - RNE for foreigners, or Registro Geral - RG for citizens) and the Cadastro de Pessoas Físicas (CPF). The CPF is a national individual taxpayer registry identification number, essential for virtually all financial and legal transactions in Brazil. For businesses, accurately validating these identifiers is not just a best practice; it's a regulatory necessity for compliance and a fundamental step in fraud prevention.

Identity fraud is a significant concern globally, and Brazil is no exception. Without robust validation of National Registry and CPF details against authoritative sources, businesses expose themselves to considerable risks, including financial losses, regulatory penalties, and reputational damage. This is where advanced identity verification platforms become indispensable, ensuring that the individuals you are interacting with are indeed who they claim to be. Didit's Free Core KYC includes robust database validation capabilities, making it easier for businesses to meet these crucial requirements without upfront costs.

Decoding Database Validation: 1x1 and 2x2 Matching Methods

To effectively validate National Registry and CPF data, sophisticated matching methods are employed. Didit utilizes both 1x1 and 2x2 matching, offering different levels of assurance depending on the specific use case and regulatory demands.

1x1 Matching: Single Identifier Verification

The 1x1 matching method involves cross-referencing a single primary identifier, such as a CPF number or National Registry ID, against authoritative databases. If a direct match is found, the identity is confirmed. However, the process doesn't stop there. If the initial attempt fails, Didit's system employs a 'waterfall' approach, querying alternate trusted data sources sequentially until a full and conclusive match is achieved or all options are exhausted. This ensures maximum coverage and accuracy. For instance, if a CPF number is provided, the system will attempt to match it to a name and date of birth in the official registry. A 'full_match' for the CPF and corresponding personal data signifies strong verification.

2x2 Matching: Enhanced Assurance with Multiple Data Points

For scenarios requiring a higher level of assurance, 2x2 matching comes into play. This method necessitates matching two distinct input data points—for example, a CPF number alongside a date of birth, or a National Registry ID combined with a full name—against corresponding fields in authoritative databases. Similar to 1x1 matching, a waterfall approach is used, querying multiple data sources until a definitive two-field match is achieved. Partial or single-field matches are not sufficient; the validation process continues until both specified fields are fully matched. This significantly reduces the risk of identity spoofing and enhances the reliability of the verification outcome. Didit's modular architecture allows businesses to easily implement either 1x1 or 2x2 matching based on their specific risk appetite and regulatory obligations.

Configuring Your Verification Workflows for Brazilian Compliance

Beyond just performing the match, how a business handles the outcome of a database validation is crucial. Didit's platform provides configurable verification settings, allowing businesses to define actions for different validation results, such as 'Partial Match' or 'No Match'. This granular control is vital for optimizing operational efficiency and maintaining compliance.

  • Partial Match Action: When a partial match occurs (e.g., CPF matches but the name has a slight discrepancy), businesses can choose to set the session to 'In Review' for manual assessment by a compliance officer, or 'Decline' it automatically.
  • No Match Action: If no match is found for the provided data, the system can be configured to automatically 'Decline' the transaction or flag it 'In Review' for further investigation, especially if there's a possibility of data entry error.

This flexibility, combined with Didit's AI-native capabilities, means businesses can automate a significant portion of their KYC processes while retaining human oversight for complex cases. The system also intelligently re-triggers validation checks if a COULD_NOT_PERFORM_DATABASE_VALIDATION warning occurs due to missing data, automatically moving the session to 'In Review' until the necessary information is provided and a new validation can complete.

How Didit Helps

Didit stands out as the premier solution for National Registry and CPF validation in Brazil. Our AI-native platform provides a comprehensive suite of identity verification tools designed for global scalability and local compliance. With Didit's Database Validation, businesses gain access to robust 1x1 and 2x2 matching capabilities against authoritative Brazilian sources, ensuring high accuracy and fraud prevention.

Our modular architecture means you can easily integrate these powerful checks into your existing workflows, customizing them to meet specific risk profiles and regulatory requirements. Didit offers Free Core KYC, allowing you to start verifying identities without any upfront costs or setup fees. Our pay-per-successful-check model ensures cost-efficiency, scaling with your business needs. Beyond National Registry and CPF validation, Didit also provides ID Verification (OCR, MRZ, barcodes), Passive & Active Liveness for deepfake prevention, AML Screening & Monitoring, and Proof of Address, creating a holistic and automated trust framework for your users.

Ready to Get Started?

Ready to see Didit in action? Get a free demo today.

Start verifying identities for free with Didit's free tier.

Infrastructure for identity and fraud.

One API for KYC, KYB, Transaction Monitoring, and Wallet Screening. Integrate in 5 minutes.

Ask an AI to summarise this page
Brazil National Registry & CPF Validation: A Guide.