The NFC Scan module uses a phone's NFC (near-field communication) reader to read the chip in passports and identity cards. Incode checks that the issuing government signed the chip data and that the chip is the original. Incode then adds the holder's data and the chip portrait to the session and compares the portrait with the selfie.
Image-based document checks catch many forgeries, such as printed fakes, edited photos, and documents shown on a screen. A high-quality forgery can still pass them.
Most passports issued today, and every EU identity card issued since August 2021, contain a chip that follows ICAO Doc 9303, the international standard for machine-readable travel documents. The issuing government signs the data on the chip, so if anyone changes a name, a date, or the portrait, the signature no longer matches. This makes chip data more reliable than data read from a photo of the document.
Use NFC Scan for regulated onboarding, high-value accounts, and identity-proofing standards that require cryptographic document checks.
Integrations
❌ Web | ❌ API | ✅ iOS | ✅ Android | ✅ React Native | ✅ Flutter | ✅ Cordova
NFC Scan is available only in Incode's mobile SDKs, because the user's phone must read the chip directly. NFC Scan isn't available in web flows or through the API. If a web flow includes NFC Scan, users skip that step. If the device doesn't have an NFC reader, the step is also skipped.
How It Works
The SDK reads the chip on the phone, and Incode's back end verifies the data. The following diagram shows the steps:
flowchart LR
A[Capture ID<br/>reads MRZ] --> B{Can Incode<br/>verify this document?}
B -- no --> F[Continue without NFC]
B -- yes --> C[Read chip]
C --> D[Back end checks<br/>integrity, issuer, and<br/>clone detection]
D --> E[Face match<br/>chip portrait]
E --> G[Score and<br/>business rules]
F --> G
- Capture: The user photographs the document, and Incode reads its machine-readable zone (MRZ).
- Decide whether to show the step: Incode shows the NFC step only when the document has a chip that Incode can read and verify. Other users continue without it, and the session records why. You don't need to configure this.
- Guide the user: The SDK shows where the chip is on the document (front cover, back cover, data page, or inlay), so the user knows where to hold the phone. If Incode couldn't read the MRZ, the user confirms the document details.
- Read: The user holds the document against the phone. The SDK uses keys from the MRZ to open the chip through PACE or BAC, the two standard chip-access protocols. It reads the personal data (DG1), the portrait (DG2), and the issuer's signed record of the data (SOD). It also runs clone detection on chips that support it. See Chip Data and Opening.
- Verify: Incode's back end checks:
- The data against the issuer's signature
- The signer certificate against the trust store
- The clone detection result
- Match: Incode compares the chip portrait with the selfie and, in 3-way mode, with the printed ID photo.
- Decide: Results appear in the session and feed your business rules.
The phone reads the chip and sends what it read to Incode. Every check that decides trust runs on Incode's back end. The SDK's own result is never treated as proof.
NFC User Experience
Incode shows the NFC step only when it can succeed, guides the user to the chip on their document, and lets the user continue when the read fails. The following diagram shows the user's path through the step:

The new user experience requires the UX v2 NFC screens. See NFC: Design and UX.
When Incode Shows the NFC Step
Users aren't asked whether their document has a chip. After ID Capture and ID Validation, Incode's back end decides whether to show the NFC step. Because the session records the reason, your rules, conditions, and reports can treat a skipped step differently from a user who gave up on the read.
Chip Location Guidance
Chips are in different places: the front or back of an ID card, the front or back cover of a passport, the data page, or a separate chip sheet inside the booklet. The location can change between series of the same passport. Incode maps the chip location for each document series, and the tutorial shows the user where to hold the phone.

When a Read Fails
Genuine users sometimes can't complete a read: for example, because of a worn chip, a thick cover, or a phone with a weak NFC reader. The user can try the read up to five times. From the second failed attempt, the user can choose to try again or continue to the next step. The session records that the document has a chip but wasn't read. Your rules or conditions decide the outcome.
Expand to view a failed read flow

Retries behave the same on iOS and Android:
- When the printed data doesn't open the chip, the user returns to the data confirmation screen to correct the document number, date of birth, or expiry date.
- When a read is interrupted—for example, because the phone moved—the SDK goes straight back to scanning.
NFC Scan Checks
NFC Scan returns one result for the chip read and one for each verification check. Review every result before you accept a session.
| Check | What a Pass Means | Where You See It |
|---|---|---|
| Chip read | The SDK opened the chip with keys from the MRZ and read the data. | Data extracted from the chip in the session |
| Data integrity | The personal data (DG1) and portrait (DG2) match what the issuer signed. | nfcDataIntegrityCheck |
| Issuer validation | The certificate that signed the document traces back to the issuing country's root certificate (CSCA) in Incode's trust store. | nfcDocumentSignerCertificateCheck |
| Clone detection | The chip proved it's the original, not a copy. | nfcActiveAuthenticationCheck |
| Chip portrait match | The chip portrait matches the selfie, or matches both the selfie and the printed ID photo. | Face match: NFC vs. selfie, NFC 3-way |
Each check returns Passed or Failed. If a check can't run on a document—for example, because the chip doesn't support clone detection—it doesn't appear in the session.
ICAO Doc 9303 defines DG1, DG2, and the SOD. Together, data integrity and issuer validation make up what ICAO calls passive authentication.
Warning
A successful SDK result means only that the chip was read, not that it was verified. Verification runs on Incode's back end, and the results are stored in the session. Check the session results before you apply your acceptance policy.
Chip Data and Opening
The chip stores the document data in numbered blocks called data groups (DG), and a security object (SOD) that the issuer signs to protect them. The following table shows the items NFC Scan uses:
| Item | What It Holds |
|---|---|
| DG1 | The data printed on the document: name, document number, and dates |
| DG2 | The holder's face image, used for face match |
| DG14 | The chip's public key for Chip Authentication, on chips that support it |
| DG15 | The chip's public key for Active Authentication, on chips that support it |
| SOD | A list of the hash of every data group, signed by the issuing country |
The SDK opens the chip with keys derived from the MRZ, using Basic Access Control (BAC) or Password Authenticated Connection Establishment (PACE). This prevents anyone from reading the chip without seeing the document. It controls access to the chip but doesn't prove that the document is genuine.
The SDK always uses the MRZ values from ID Capture. If some values are missing, the user checks and corrects them before the chip is read. Documents whose chip opens only with a PIN or a separate access number aren't supported.
Issuer Validation
Issuer validation checks the chain of trust from the issuing country's root certificate down to the data on the chip. Every link in the chain must verify:
- Country Signing Certificate Authority (CSCA): The issuing country's root certificate. Incode holds it in its trust store.
- Document Signer Certificate (DSC): Issued and signed by the country root, and stored on the chip.
- Document Security Object (SOD): Signed with the document signer's key. It holds the hash of every data group.
- Data groups: Each data group must match its hash in the SOD.
Expand to view a visual of these steps

The issuer validation check reports these results:
- Passed: The signer certificate chains to a root certificate of the issuing country.
- Failed: The signer certificate doesn't chain to a root certificate of the issuing country.
- If Incode holds no root certificate for the issuing country, the check doesn't run and doesn't appear in the session. A missing check isn't a pass.
Issuer Certificate Sources
Incode builds its trust store from published master lists and country-specific certificates. No single list holds every country's current certificates, so Incode combines multiple sources, such as the ICAO master list and German Federal Office for Information Security (BSI) list.
Incode can validate a country's documents only if that country publishes its certificates. See Supported NFC documents for each country.
Clone Detection
Data integrity and issuer validation confirm that the issuer signed the chip data. They don't confirm that the chip is the original, because signed data can be copied to another chip.
Clone detection checks the chip itself. Each original chip stores a private key that can't be read or copied. During the read, the chip uses this key to answer a random challenge, and Incode verifies the answer. A copied chip doesn't have the key, so the check fails.
Chips use one of two methods:
- Active Authentication: Used by most passports. The chip signs the challenge with its private key.
- Chip Authentication: Used by many EU identity cards. The chip proves it has the private key while it sets up an encrypted connection with the phone.
Incode uses whichever method the chip supports; you don't need to configure it. If the chip supports neither, the check doesn't run and doesn't appear in the session.
Active Authentication
The Active Authentication steps are:
- One-time challenge: Incode's back end creates a random challenge that expires quickly and can be used once.
- The phone relays it: The SDK passes the challenge to the chip. The phone doesn't evaluate the answer.
- The chip signs: The chip signs the challenge with a private key that never leaves the chip.
- The SDK returns the evidence: The SDK sends the signature and the chip data to Incode, not a result.
- Incode verifies: Incode checks the signature with the public key in DG15.
Expand to view a visual of these steps

The following table shows what Incode verifies and what each check rules out:
| Incode Verifies That | How | What It Rules Out |
|---|---|---|
| The signature is valid | The chip's signature verifies with the DG15 public key. | A chip without the matching private key |
| The key belongs to the issuer | The hash of DG15 matches the issuer-signed SOD. | A forger who replaces the key pair with their own |
| The answer is fresh | The challenge was issued for this session, hasn't expired, and wasn't used before. | Replay of a signature recorded earlier |
Not every chip supports Active Authentication. In that case, the check doesn't run, which isn't suspicious on its own.
Chip Authentication
Many EU identity cards and newer passports use Chip Authentication instead of, or alongside, Active Authentication. The chip's public key is in DG14, which the issuer signs. To set up an encrypted connection, the phone and the chip agree on session keys. Only a chip that holds the matching private key can complete this step, so a copied chip fails.
Expand to view a visual of this process

Use NFC Scan
To set up NFC Scan, add the module to your Flow or Workflow, integrate the NFC build of the SDK, and add rules for the results.
Info
NFC Scan supports chip passports that follow ICAO Doc 9303, and chip identity cards such as EU identity cards, and chip residence permits. See Supported NFC documents for the supported document types in each country.
1. Add the Module to Your Flow or Workflow
Place NFC Scan after the ID Capture and ID Validation modules. The SDK uses the MRZ from the captured document to open the chip. See NFC Scan (Dashboard) for steps and configuration options.
2. Integrate the SDK
Use the NFC build of your SDK and follow the guide for your platform:
| Platform | Integration Guide |
|---|---|
| iOS | NFC (iOS) |
| Android | NFC Scan (Android) |
| React Native | NFCScan (React Native) |
| Flutter | NFCScan (Flutter) |
| Cordova | addNFC (Cordova) |
On iOS, including the React Native, Flutter, and Cordova wrappers, add the NFC usage description, the NFC tag-reading capability, and the chip application IDs to your app. See iOS setup.
Use the latest SDK version. Features that run on the device, such as chip-location guidance and clone detection, reach your users only after you update the SDK. Checks that run on Incode's back end work with every SDK version.
3. Write Rules for NFC Results
NFC results change the session outcome only through rules (Flows) or conditions (Workflows). Without them, a failed check appears in the session but doesn't affect the outcome.
| If | Recommended Action |
|---|---|
| Data integrity is Failed | Reject. The chip data doesn't match the issuer's signature. |
| Clone detection is Failed | Reject. The chip couldn't prove it's the original. |
| Issuer validation is Failed | Reject or send to manual review. |
| The document has a chip, but the user continued without completing the read | Send to manual review, or reject where chip reading is mandatory. |
| The NFC step wasn't shown | Apply your policy for sessions without NFC. |
| Chip portrait doesn't match the selfie | Reject. |
| A check doesn't appear in the session | No action on its own. |
Rules run in order, and the first match applies. Place NFC rules before any broader ID validation rule, or the broader rule may match first and the NFC rules won't run. A check that doesn't run has no value, so it doesn't match a Failed condition.
A retry doesn't clear a failed check. If a check fails and a later attempt passes, the session keeps the first failure.
Info
Chip checks prove that the document is genuine. They don't prove that the person presenting it is the holder. Run face match against the chip portrait (DG2) and liveness in the same session. Together they also reduce the risk of relay attacks, in which an attacker forwards the challenge to a genuine chip held somewhere else.
4. Review Session Results
To see the results for a session, open its session details. The NFC Data table in the Document category shows the chip data and each check.