Philippine Taxpayer Identification Number (TIN)

Detects Philippine Taxpayer Identification Numbers (TIN) issued by the Bureau of Internal Revenue (BIR) under Section 236(j) of the National Internal Revenue Code. The base TIN is a 9-digit number (the 9th digit is a check digit), usually written XXX-XXX-XXX. Registered businesses append a branch code — historically 3 digits (000 for the head office, 12 digits total) and, since eBIRForms v7.9.6.0 (RMC No. 36-2026, April 2026), up to 5 digits (14 digits total).

Type
regex
Engine
universal
Confidence
medium
Confidence justification
Medium confidence: the 9/12/14-digit structure with optional dash grouping is common enough in unrelated numeric data (order numbers, phone fragments, other countries' IDs) that corroborating TIN/BIR keywords are required on every tier. The dash-separated XXX-XXX-XXX form plus label evidence raises precision substantially; no bare value-only tier is exposed.
Jurisdictions
ph
Regulations
National Internal Revenue Code of 1997 (Philippines), Data Privacy Act of 2012 (Philippines)
Frameworks
ISO 27001, ISO 27701
Data categories
pii, government-id, financial
Scope
narrow
Risk rating
7
Platform compatibility
Purview: Compatible, GCP DLP: Compatible, Macie: Compatible, Zscaler: Compatible, Palo Alto: Compatible, Netskope: Unsupported

Pattern

\b\d{3}[- ]?\d{3}[- ]?\d{3}(?:[- ]?(?:\d{5}|\d{3}))?\b

Corroborative evidence keywords

TIN, Taxpayer Identification Number, BIR, Bureau of Internal Revenue, tax identification, branch code, ID number, identification, ID card, license, permit, registration, certificate, data record, database record, record set, data extract, data export, database table, spreadsheet (+16 more)

Proximity: 300 characters

Should match

Should not match

Known false positives

References