Teams building onboarding flows in Mexico often use "INE OCR" and "CURP verification" as if they meant the same thing. They do not. Both start with a Mexican ID, and both deal with the CURP, so they are easy to confuse. But they solve two different problems, and mixing them up leaves a gap in your KYC process.
In short: INE OCR extracts data from the Mexican ID card, and CURP verification validates that data against the official registry. One reads a document. The other checks an identity. This article explains the difference between INE OCR vs CURP verification, shows what each API takes in and returns, and explains when to use one, the other or both.
The INE (Instituto Nacional Electoral) credential is Mexico's most widely used photo ID, and the one banks, fintechs and lenders ask for first. An INE OCR API takes a photo of the card, usually the front and back, and uses optical character recognition and layout analysis to turn the printed text into structured data, normally JSON.
A typical INE OCR response includes:
The key point is the source of truth. INE OCR only knows what is in the image. If a customer uploads a clear photo of a card with a wrong date of birth, the OCR will faithfully return the wrong date of birth. OCR is a fast and accurate reader. It is not a verifier.
The CURP (Clave Única de Registro de Población) is an 18-character code that identifies every person registered in Mexico. It is issued through RENAPO, the national population registry, and is built from the person's name, date of birth, sex and state of birth, plus check characters. It is printed on the INE, and on birth certificates and many other documents.
A CURP verification API takes a CURP, queries the official registry and confirms whether it exists. Depending on the provider and the access agreement, the response also returns the registered name, date of birth, sex and state of birth, which you can compare with what the customer typed or what the OCR extracted. Some providers also offer a lookup that works the other way round, finding a CURP from personal data.
Here the source of truth is the registry, not an image. CURP verification does not need a document photo at all. It only needs a CURP. That is also its limit: it confirms that a number and a set of details are real, but not who is presenting them.
| INE OCR API | CURP Verification API | |
|---|---|---|
| What it does | Reads the text printed on the INE image and returns structured data | Checks a CURP against the official registry and confirms the linked personal data |
| Input | Photo of the front and back of the INE | A CURP (18 characters), sometimes with name and date of birth to compare |
| Source of truth | The image the customer uploaded | RENAPO, the national population registry |
| Output | Name, address, date of birth, sex, CURP, clave de elector, validity and other fields, with confidence scores | Valid or not found, and the registered name, date of birth, sex and state of birth, depending on the provider |
| Question it answers | What does this document say? | Does this identity exist, and does the data match? |
| Catches | Typing errors, slow manual entry, unreadable fields | Invented, mistyped or mismatched CURPs and personal data |
| Does not catch | A real-looking card with false data, or a card that belongs to someone else | Who is holding the card, or whether the INE image is genuine |
| Typical user | Any business that collects INE images | Banks, fintechs, lenders, insurers and other regulated or high-risk onboarding |
A simple way to remember it: OCR is about extraction, CURP verification is about validation. The first turns pixels into data. The second turns data into a trusted fact.
If you only run INE OCR, you get speed and clean data, but no proof. Three risks remain:
For a low-risk use case, such as prefilling a sign-up form, that is acceptable. For opening an account or granting credit, it is not.
The opposite shortcut has its own problems. If you ask the customer to type their CURP and run a CURP verification, you confirm that the number exists, but you skip several things:
In a well-designed onboarding flow, OCR and CURP verification are two steps in one chain. OCR provides the input for the verification step, and the verification step checks the output of the OCR step.
| Step | Check | What it confirms |
|---|---|---|
| 1 | Document capture with quality and tamper checks | The image is usable and the card is not a photocopy or screen capture |
| 2 | INE OCR | The data printed on the card, as structured fields |
| 3 | Format checks on the extracted data | The CURP has 18 characters in the correct pattern, and dates are plausible |
| 4 | CURP verification | The CURP exists in RENAPO and matches the name and date of birth |
| 5 | INE validation (where required) | The credential is registered and current with INE |
| 6 | Face match and liveness | The person submitting the documents is the person on the card |
| 7 | Decision and audit log | Approve, reject or route to manual review, with the evidence stored |
Two details make this chain work well. First, use the OCR confidence scores. If the CURP field is read with low confidence, ask the customer to retake the photo before spending a verification call on a value that is probably wrong. Second, compare, do not just look up. The strongest check is the match between what the card says (from OCR) and what the registry says (from CURP verification). A mismatch on name or date of birth is a clear signal to review the case.
Requirements for remote account opening depend on the type of institution and on current CNBV and sector rules, so confirm with your compliance team which of these steps are mandatory for your product.
| Scenario | INE OCR | CURP Verification |
|---|---|---|
| Prefilling a form from an INE photo | Yes | Optional |
| Opening a bank or fintech account remotely | Yes | Yes, with INE validation and biometrics |
| Consumer lending and credit decisions | Yes | Yes |
| Insurance policy issuance | Yes | Yes for high-value policies or claims |
| Telecom SIM registration | Yes | Yes where identity must be confirmed |
| Employee or contractor onboarding | Yes | Often yes, for background checks |
| Visitor management or event check-in | Yes | Usually not needed |
| Loyalty or low-risk sign-ups | Optional | Not needed |
As a rule of thumb, add CURP verification whenever the cost of accepting a false identity is higher than the cost of one extra API call. For most financial services, that is every time.
For more on the OCR side, see our guide to the Mexican ID OCR API for faster KYC and secure identity verification and our breakdown of Mexican ID OCR pricing for banks and fintechs.
PixDynamics Mexican ID Reader extracts name, address, date of birth, CURP, clave de elector and other fields from INE and IFE cards as structured data, with confidence scores for every field so that you can pass clean values to your CURP and INE validation step. You can test it on your own INE samples with 50 free credits.
INE OCR reads the text printed on a photo of the INE credential and returns it as structured data, such as name, address, date of birth, CURP and clave de elector. CURP verification checks a CURP against the official registry (RENAPO) to confirm that it exists and that the personal data linked to it is correct. OCR tells you what the document says. CURP verification tells you whether the identity behind it is real.
No. INE OCR only extracts the CURP as it is printed on the card. A well-built OCR engine can check that the value has the correct 18-character format, but it cannot confirm that the CURP is registered with RENAPO or that it belongs to the person named on the card. That needs a separate CURP verification call.
For remote onboarding by banks, fintechs and other regulated entities, usually yes. OCR removes manual typing and gives you clean data. CURP verification and INE validation then confirm that the data is real and current. Lower-risk flows, such as a loyalty programme or a delivery app, may need only OCR.
OCR comes first. The CURP verification API needs a CURP as input, and in a document-based flow that CURP is usually read from the INE by OCR. The verification result is then compared with the other extracted fields to catch mismatches.
No. A valid CURP only proves that the number exists and matches the registry data. It says nothing about who is holding the card. To tie the credential to the person, add face match and liveness checks, and where the regulation requires it, biometric validation against INE's records.
The difference between INE OCR and CURP verification comes down to one question each answers. INE OCR answers "what does this document say?" CURP verification answers "is this identity real, and does the data match?" They use different inputs, rely on different sources of truth and catch different problems.
Used alone, each leaves a gap. Used together, with INE validation and a face match, they give you fast capture, trusted data and an audit trail. Start with an accurate INE OCR API that returns clean, confidence-scored fields, then connect it to your CURP verification step, so that every identity you approve has been both read and checked.
Ready to transform? Commence your Digital Transformation journey now!
Get Started