Is this Sri Lanka NIC real? Check for edits and AI fakes
The Sri Lanka National Identity Card (NIC) is the mandatory identity document for citizens aged fifteen and above, issued by the Department for Registration of Persons. Its number encodes the holder's birth year, day of birth, and gender, so a card whose number disagrees with its own printed fields was assembled rather than issued.
Last updated:
- Most edited
- portrait
- NIC number
- name and address fields
- date of birth
- Reviewed by
- Sri Lankan banks, telcos, and eKYC platforms
Forgery methods seen on a Sri Lanka NIC
Birth-year decode
The leading digits give the birth year, two digits on old numbers and four on new ones. A year that contradicts the printed date of birth shows the number and the print do not belong together.
Day-of-year and gender decode
The three day digits give the day of year, with five hundred added for women. Decoding them against the printed date of birth and sex exposes edited fields, allowing for the 366-day convention.
Range and format rules
Day numbers must fall in 001 to 366 or 501 to 866. Old numbers end in V or X, and a twelve-digit number with a letter suffix, or any other suffix letter, is malformed.
Format against issue date
Twelve-digit numbers were introduced in 2016. A twelve-digit number on a card claiming an earlier issue date contradicts the issuing history.
Photo and data patching
Substituted portraits and edited name or date lines leave cut-line edges, font passes, and sharpening halos, and trilingual labels make baseline breaks easy to localise.
Sri Lanka NIC fraud: your questions answered
What does a Sri Lanka NIC number encode?
The birth year, the day of year of birth with five hundred added for women, a serial, and a check digit. Old numbers end in V or X, and twelve-digit numbers have no letter.
Why does the decoded date look one day off?
The day count treats every year as having 366 days, so from March in non-leap years the number is one higher than a plain calendar count. That is normal, not a forgery sign.
What do the letters V and X mean?
On older numbers, V indicates eligibility to vote and X indicates not. Both are legitimate, while any other letter is malformed.
How does TamperCheck verify a Sri Lanka NIC?
TamperCheck decodes the year, day, and gender from the number and compares them with the printed fields, checks format and range rules, and inspects the portrait and text for patching. Uploads run through a single REST endpoint, are processed ephemerally and not stored, and findings tie to specific regions.
Which forensic checks matter most for a Sri Lanka NIC?
It starts where forgeries of a Sri Lanka NIC most often break: a substituted portrait; the NIC number format; and the Sinhala, Tamil and English fonts. The rest of a Sri Lanka NIC is covered by the general pixel, font and metadata layers.
What inconsistency most often exposes a forged copy of a Sri Lanka NIC?
Look for a mismatch between the birth year and day number encoded in the NIC and the printed date of birth and gender. Edits to a Sri Lanka NIC usually change one side and leave the other as issued.
What is the difference between a fake and an altered Sri Lanka NIC?
An altered Sri Lanka NIC starts from a genuine one with changed fields such as portrait, so a real number may still exist. A fabricated one comes from a template or an AI model. Altered documents pass number checks, fabricated ones pass visual review, and each leaves different forensic traces on a Sri Lanka NIC.
Why does a valid number not prove a Sri Lanka NIC is real?
A number on a Sri Lanka NIC can be well-formed, or even belong to a real person, while the document carrying it was built around someone else. Format validation confirms structure, not provenance. Comparing the number against NIC number and the file itself closes the gap.
Can I automate checks on a Sri Lanka NIC in my own workflow?
Yes. Upload a Sri Lanka NIC through the REST API, receive a JSON verdict, and use async jobs and webhooks for high volume. The docs cover authentication, webhooks and MCP.
What to expect on a genuine Sri Lanka NIC before you test it
Older numbers run nine digits followed by the letter V or X: two digits of birth year, three of day-of-year, a serial, and a check digit. Numbers issued since 2016 run twelve digits with a four-digit year. In both, the day-of-year runs 001 to 366 for men, and 501 to 866 for women, because five hundred is added.
Day-of-year is counted as if every year had 366 days, so dates from March in non-leap years appear one higher than a plain count. Old and new formats coexist, and cards print in Sinhala, Tamil, and English. The check digit algorithm is not published, so the decode checks target year, day, and gender instead.
What looks wrong on a Sri Lanka NIC
A portrait that does not match the page around it
Zoom in on the edge of the portrait. A pasted or generated image often leaves a faint halo, or lighting and texture that do not match the rest of the document.
An NIC number that appears only once
Genuine documents usually repeat an identifier in a header, footer, barcode or reference block. Look for every place the NIC number should appear and check they agree. An edit that updates one and forgets the others is one of the most common mistakes.
A security feature that is printed, not built in
A hologram or foil should change as you tilt it. A flat printed picture of one looks identical in every photograph and never shifts.
Lighting on the portrait that disagrees with the card
Check whether the shadow and glare on the face match the shadow and glare across the rest of the card. A pasted portrait carries the lighting of wherever it came from.
Fonts that are nearly right
Issuers use one tightly specified typeface. Compare digit shapes and letter spacing in the name and number against a genuine specimen of the same edition.
A practical checklist for a Sri Lanka NIC
1. Photograph the document
Capture the card flat at full resolution so the number and printed fields survive close analysis.
2. Decode the number
Split the number into year, day-of-year, and serial, subtracting five hundred for women, and compare the result with the printed date of birth and sex.
3. Mind the calendar convention
Remember that the day count assumes 366 days, so a March to December date in a non-leap year reads one higher than a plain count.
4. Run a forensic check on the file
TamperCheck runs 300+ forensic checks including NIC number decoding and patch detection, returning a risk score from 0 to 100 with findings tied to specific regions of the image.
Inside the forensic analysis of a Sri Lanka NIC
Portrait substitution and face-swap analysis
The document is isolated from whatever it was photographed on, then the portrait region is assessed against the card surface around it. A pasted or generated face rarely matches the substrate it was placed onto.
Reference and document number checks
Document, account, and reference numbers are checked for issuer format conformance and against every other place the same value appears on the page.
Date and validity consistency
Issue, expiry, and period dates are checked against one another and against the file's own creation metadata, which catches backdating and validity extension.
And many more checks
The three above are the layers that carry the most weight on a Sri Lanka NIC. Every upload runs the full suite of 300+ checks regardless of document class, spanning file structure and metadata, pixel-level forensics, font and text rendering, optical and print characteristics, provenance signals, AI-generation signatures, and many more checks.
Check a document
Upload a PDF or a photo of Sri Lanka NIC. TamperCheck returns a risk score from 0 to 100 and marks the region that was edited, usually within seconds.
For developers, the API class is sri_lanka_nic. See the API and MCP documentation.