Supported Data TypesPII / PHI / PCI Entities

PII, PHI & Financial Entities

Complete reference of all supported PII, PHI, and financial entities with descriptions, examples, and masked output.

Protecto detects sensitive data across two built-in categories. All entities below are enabled by default.

PII entities

S.NoEntity NameDescriptionExampleMasked
1PERSONName of a personGeorge Williams<PER>yefNTf jm3Jf</PER>
2EMAIL_ADDRESSEmail addressGeorge@example.com<EMAIL>yefNTf@VxLPAG1Dvm</EMAIL>
3PHONE_NUMBERAll country phone, mobile, and landline numbers+44 7943 582088, (555) 123-4567<PHN>+736785 58609 305</PHN>
4ADDRESSGeographical entities including cities, famous locations, and buildingsParis, Eiffel Tower, Amazon Rainforest<ADDRESS>g5Ua2Fm843</ADDRESS>
5ORGANIZATIONNames of organizationsLakeview Hospital<ORG>fL89cEDrh6 uii8cQSrwT</ORG>
6DATE_OF_BIRTHBirthdate of a personMarch 10, 2023<DOB>sz7jDZyonfgY3y</DOB>
7US_SSNSocial Security Number (USA)756-45-6689<SSN>0402795019673173694705</SSN>
8IP_ADDRESSUnique label for devices in a network192.168.0.1<IPA>368.531.3681.004</IPA>
9MAC_NUMBERUnique identifier for network interfaces00:1A:2B:3C:4D:5E<DEVICE_ID>o5gCeI67k6xDC4ST3</DEVICE_ID>
10URLWeb addresswww.cityhospital.net<URL>02FZUWHoADyGJE08SCqPfxb</URL>
11FAX_NUMBERFax number4256324532<FAX_NO>511694045434</FAX_NO>
12DRIVING_LICENSE_NUMBERDriver's license identifierDL35235<DL_NO>3hm6dQehstF8cSjDTpDDUbJiCm6zkk</DL_NO>
13VEHICLE_REGISTRATION_NUMBERVehicle registration and vehicle numbersMA2334<VEHICLE_REG_NO>FIwaeRko6x7GaegIyZXL</VEHICLE_REG_NO>
14VEHICLE_IDENTIFICATION_NUMBERUnique code for motor vehicles232679GE24<VIN>5t7uzVOu5ZZS06j</VIN>
15LICENCE_NOHealthcare provider, pharmaceutical, and doctor licence numbersHP839232<LICENCE_NO>Y37kcPZWFX6TBb13UQ</LICENCE_NO>
16ACC_NOBank account and general account numbers876543210<ACC_NO>934295135373</ACC_NO>
17CREDIT_CARDNumeric code for financial transactions5000236879543210<CRD>4D67AFZLFh3OBk03cNo0</CRD>

PHI entities

S.NoEntity NameDescriptionExampleMasked
1MRNPatient identification and medical record identifiersP4353<MRN>1020663481</MRN>
2MEDICAL_BENEFICIARY_NUMBERHealth insurance, general insurance, and national health insurance numbersHNFG4343<HEALTH_BENEFICIARY_NO>12vpxhkHTq</HEALTH_BENEFICIARY_NO>
3START_DATE_OF_HOSPITALIZATIONAdmission date to a hospitalApril 10, 2023<ADMIT_DATE>yupFq6xVI9Xkx3I6Odzqo6PO1hFK58</ADMIT_DATE>
4DISCHARGE_DATERelease date from a hospitalSep 5, 2023<DISCHARGE_DATE>08l7xKbswvTev05RD3w7kEwS17Z</DISCHARGE_DATE>
5DEATH_DATEDate of deathFebruary 5, 2024<DEATH_DATE>JOIm57O7rG4co9UuC2d</DEATH_DATE>

Financial entities

S.NoEntity NameDescriptionExampleMasked
1BANK_ACC_NOA unique number assigned to a bank account123456789012<ACC_NO>3984572426</ACC_NO>
2NATIONALITYThe country of a person's citizenshipIndian, American<NATIONALITY>kB3Qc2Jp</NATIONALITY>
3PASSPORT_NUMBERA unique identifier for a passportA1234567<PASSPORT_NO>0mq9wQ7G</PASSPORT_NO>
4ROUTING_NUMBERA bank code used to identify a financial institution21000021<ROUTING_NO>0ngE2YBX</ROUTING_NO>
5PANPermanent Account Number — a 10-character alphanumeric identifier issued by India's Income Tax DepartmentCDLKQ1447Z<PAN>xJio2</PAN>
6CVVA three- or four-digit security code on payment cards123, 4567<CVV>19819</CVV>
7POLICY_NOA unique number for an insurance policyPL-987654321<POLICY_NO>02iUPhbo-013JC0qy</POLICY_NO>
8TANTax Deduction and Collection Account NumberABCD12345E<TAN>13ZBH1Ap</TAN>
9SWIFTA bank identifier code used for international transactionsBOFAUS3NXXX<SWIFT>0qJNDZ4a1</SWIFT>
10PIN_NUMBERA secret numeric code used for authentication1234<CRD_PIN>20776</CRD_PIN>
11INSURANCE_NUMBERA unique number for an insurance policyINS-12324<INSURANCE_NO>50voyk9u7b</INSURANCE_NO>
12CARD_EXPIRY_DATEThe expiration date of a payment card26-Dec<CRD_EXP_DATE>06014573 83596</CRD_EXP_DATE>

Entity names are used by the detection engine and in individual_tokens responses. Use them in policy configurations, custom PII rules, and the Update Entity Category API to control how each entity is handled.

Usage examples

Mask a person's name and email:

{
  "mask": [
    {
      "value": "George Williams sent a note to George@example.com",
      "token_name": "Text Token"
    }
  ]
}

Mask a credit card with explicit format:

{
  "mask": [
    {
      "value": "5000236879543210",
      "format": "Credit Card",
      "token_name": "Numeric Token"
    }
  ]
}

Mask a phone number:

{
  "mask": [
    {
      "value": "+44 7943 582088",
      "format": "Phone Number",
      "token_name": "Numeric Token"
    }
  ]
}

Mask a medical record number:

{
  "mask": [
    {
      "value": "P4353",
      "format": "Medical Record Number",
      "token_name": "Text Token"
    }
  ]
}

Forcing format when detection is ambiguous:

{
  "mask": [
    {
      "value": "A1234567",
      "format": "Passport Number",
      "token_name": "Special Token"
    }
  ]
}