U.S. IRS Preparer Tax Identification Number (PTIN)
Detects 9-character U.S. Internal Revenue Service Preparer Tax Identification Numbers (uppercase P followed by 8 digits, e.g. P01234567) issued under 26 U.S.C. 6109 to paid federal tax-return preparers (CPAs, Enrolled Agents, and tax attorneys).
- Type
- regex
- Engine
- universal
- Confidence
- medium
- Confidence justification
- Medium confidence: P\d{8} is shared with older passport/serial formats, so gating every tier on PTIN / Paid Preparer / IRS return-signature terms ensures high domain precision.
- Jurisdictions
- us
- Regulations
- Internal Revenue Code 26 U.S.C. 6109, Internal Revenue Code 26 U.S.C. 7216, GLBA
- Frameworks
- ISO 27001, ISO 27701
- Data categories
- financial, pii, government-id
- Scope
- narrow
- Risk rating
- 5
- Platform compatibility
- Purview: Compatible, GCP DLP: Compatible, Macie: Compatible, Zscaler: Compatible, CrowdStrike DLP: Compatible, Palo Alto: Adapted from Purview, Netskope: Adapted from Purview
Pattern
(?-i)\b(P\d{8})\b
Corroborative evidence keywords
PTIN, Preparer Tax Identification Number, Paid Preparer Use Only, preparer signature, Form 1040, IRS, Enrolled Agent
Proximity: 300 characters
Should match
PTIN: P01482937— Labelled 9-character IRS Preparer Tax Identification NumberPaid Preparer Use Only — Preparer PTIN P02938471, Firm EIN 12-3456789— Form 1040 Paid Preparer signature block with PTIN (85 tier)P00918273— 9-character IRS PTIN format
Should not match
p01482937— Lowercase p rejected by case-sensitive PTIN ruleP0148293— Seven digits after P (one short of 8-digit PTIN body)Renew your IRS PTIN before preparing federal tax returns— Prose reminder without a PTIN valueSample template: placeholder example record for training only— Template/sample fixture suppressed by shared exclusion dictionary
Known false positives
- Passport numbers or purchase-order numbers starting with P + 8 digits. Mitigation: Every tier requires IRS, PTIN, or Paid Preparer tax-return context within 300 characters; local_noise_filter lets accounting firms exclude their own preparers' PTINs.