Named Entity Recognition Grammars Package 26.3
Named Entity Recognition Grammars User Guide

# pci_numbers grammar

The pci_numbers grammar is found in the set PCI.

entity | description | examples | components | checksum
--- | --- | --- | --- | ---
magstripe/context/magstripe | Magnetic stripe data with context.1 To ensure that the entities in this grammar perform correctly, set your TangibleCharacters configuration to include the following characters: %;. For more information, see Configure Tangible Characters. | Magstripe: %B5641821234567890122^SMITH/JOHN A. ^2011126000000000000000000000?c | ✔️ | ❌
magstripe/landmark/magstripe | A magnetic stripe landmark. | Magstripe | ❌ | ❌
magstripe/nocontext/magstripe | Magnetic stripe data without context.2 To ensure that the entities in this grammar perform correctly, set your TangibleCharacters configuration to include the following characters: %;. For more information, see Configure Tangible Characters. | %B5641821234567890122^SMITH/JOHN A. ^2011126000000000000000000000?c | ✔️ | ❌
pan/context/pan | A Primary Account Number with context. This entity includes the following primary account and credit card numbers: American Express, Bankcard, BORICA, China_T_Union, China Union Pay, Dankort, Diners Club Carte Blanche, Diners Club International, Diners Club enRoute, Discover, GPN, Humo, InstaPayment, InterPayment, JCB, LankaPay, Laser, Maestro, Mastercard, Mir, Napas, NPS Pridnestrovie, RuPay, Solo, Switch, Troy, UATP, UkrCard, UzCard, Verve, Visa | PAN: 170102976323764 PAN: 1946861526295852 PAN: 214912345678914 PAN: 2204435887069498 PAN: 2205560489593840 PAN: 2224658877624321 PAN: 30292511443688 PAN: 3139301336652527034 PAN: 345878587411417 PAN: 3528530677703129 PAN: 3571110118982115 PAN: 36685280047719 PAN: 4026596587119255 PAN: 5060990285060248 PAN: 5080123456789124 PAN: 572704419371 PAN: 6040010251690234 PAN: 6054742420396755 PAN: 6221123456789123454 PAN: 6297293738365345 PAN: 6304297823838950 PAN: 6334342433945953 PAN: 6361321792689960 PAN: 6376514295111598 PAN: 6515048172125936 PAN: 6759123456789123453 PAN: 676770186622 PAN: 8600290744599196 PAN: 869912345678912 PAN: 9704228780510118 PAN: 9860636192279744 | ✔️ | ❌
pan/landmark/pan | A Primary Account Number landmark. | PAN | ❌ | ❌
pan/nocontext/pan | A Primary Account Number without context. | 170102976323764 1946861526295852 214912345678914 2204435887069498 2205560489593840 2224658877624321 30292511443688 3139301336652527034 345878587411417 3528530677703129 3571110118982115 36685280047719 4026596587119255 5060990285060248 5080123456789124 572704419371 6040010251690234 6054742420396755 6221123456789123454 6297293738365345 6304297823838950 6334342433945953 6361321792689960 6376514295111598 6515048172125936 6759123456789123453 676770186622 8600290744599196 869912345678912 9704228780510118 9860636192279744 | ✔️ | ❌
pin/context | A card Personal Identification Number with context.3 By default, when there are multiple possible matches, post-processing returns only one country, which is the most efficient option. You can enable ambiguous entity matching by setting ambiguous_entities=true in the pii_postprocessing.lua script. This option returns multiple possible country matches. | PIN: 1234 | ❌ | ❌
pin/landmark | A card Personal Identification Number landmark. | PIN | ❌ | ❌
pin/nocontext | A card Personal Identification Number without context.4 By default, when there are multiple possible matches, post-processing returns only one country, which is the most efficient option. You can enable ambiguous entity matching by setting ambiguous_entities=true in the pii_postprocessing.lua script. This option returns multiple possible country matches. | 1234 | ❌ | ❌
pin_block/context | An encrypted or unencrypted PIN block with context (either base-64, base-16 or base-2). | PIN block: BABCDEFGHIJ= | ❌ | ❌
pin_block/landmark | A PIN block landmark. | PIN block | ❌ | ❌
pin_block/nocontext | An encrypted or unencrypted PIN block without context (either base-64, base-16 or base-2). | BABCDEFGHIJ= | ❌ | ❌
printed_security_code/context/cav2 | A CAV2 security code with context. | CAV2: 123 | ❌ | ❌
printed_security_code/context/cid | A CID security code with context. | CID: 1234 | ❌ | ❌
printed_security_code/context/cvc2 | A CVC2 security code with context. | CVC2: 123 | ❌ | ❌
printed_security_code/context/cvv2 | A CVV2 security code with context. | CVV2: 123 | ❌ | ❌
printed_security_code/landmark/cav2 | A CAV2 security code landmark. | CAV2 | ❌ | ❌
printed_security_code/landmark/cid | A CID security code landmark. | CID | ❌ | ❌
printed_security_code/landmark/cvc2 | A CVC2 security code landmark. | CVC2 | ❌ | ❌
printed_security_code/landmark/cvv2 | A CVV2 security code landmark. | CVV2 | ❌ | ❌
printed_security_code/nocontext | Any of CAV2, CID, CVC2 or CVV2 security code without landmark. | 123 | ❌ | ❌
securities/cusip/context | United States Committee on Uniform Securities Identification Procedures (CUSIP) number, with context.5 A post-processing script is available to validate the checksum and set the score for this entity. | CUSIP: 037833100 | ✔️ | ❌
securities/cusip/nocontext | United States Committee on Uniform Securities Identification Procedures (CUSIP) number, without context.6 A post-processing script is available to validate the checksum and set the score for this entity. | 037833100 | ✔️ | ❌
securities/cusip_internal/context | A CUSIP number from the range reserved for internal use, with context.7 A post-processing script is available to validate the checksum and set the score for this entity. | CUSIP: 990000AB0 | ✔️ | ❌
securities/cusip_internal/nocontext | A CUSIP number from the range reserved for internal use, without context.8 A post-processing script is available to validate the checksum and set the score for this entity. | 990000AB0 | ✔️ | ❌
securities/cusip_ppn/context | A CUSIP number that contains characters from the insurance industry that denote private placement numbers, with context. This entity includes all the values from pii/securities/cusip/.9 A post-processing script is available to validate the checksum and set the score for this entity. | CUSIP: 6838*X105 | ✔️ | ❌
securities/cusip_ppn/nocontext | A CUSIP number that contains characters from the insurance industry that denote private placement numbers, without context. This entity includes all the values from pii/securities/cusip/.10 A post-processing script is available to validate the checksum and set the score for this entity. | 6838*X105 | ✔️ | ❌
securities/figi/context | A Financial Instrument Global Identifier (FIGI) number, with context.11 A post-processing script is available to validate the checksum and set the score for this entity. | FIGI: BBG000BLNQ16 | ❌ | ✔️
securities/figi/nocontext | A Financial Instrument Global Identifier (FIGI) number, without context.12 A post-processing script is available to validate the checksum and set the score for this entity. | BBG000BLNQ16 | ❌ | ✔️
securities/isin/context | An International Securities Identification Number (ISIN), with context.13 A post-processing script is available to validate the checksum and set the score for this entity. | ISIN: US0378331005 | ✔️ | ✔️
securities/isin/nocontext | An International Securities Identification Number (ISIN), without context.14 A post-processing script is available to validate the checksum and set the score for this entity. | AU0000XVGZA3 DE0007664039 GB0002634946 US0378331005 | ✔️ | ✔️
securities/landmark/cusip | A landmark for a United States Committee on Uniform Securities Identification Procedures (CUSIP) number. | CUSIP | ❌ | ❌
securities/landmark/cusip_internal | A landmark for CUSIP numbers from the range reserved for internal use. | CUSIP | ❌ | ❌
securities/landmark/cusip_ppn | A landmark for a CUSIP number that contains characters from the insurance industry that denote private placement numbers. | CUSIP | ❌ | ❌
securities/landmark/figi | A Financial Instrument Global Identifier (FIGI) number landmark. | FIGI | ❌ | ❌
securities/landmark/isin | An International Securities Identification Number (ISIN) landmark. | ISIN | ❌ | ❌
securities/landmark/sedol | A Stock Exchange Daily Official List (SEDOL) number landmark. | SEDOL | ❌ | ❌
securities/landmark/wkn | A Wertpapierkennnummer (WKN) landmark. | WKN | ❌ | ❌
securities/sedol/context | A Stock Exchange Daily Official List (SEDOL) number, with context.15 A post-processing script is available to validate the checksum and set the score for this entity. | SEDOL: 0263494 | ❌ | ✔️
securities/sedol/nocontext | A Stock Exchange Daily Official List (SEDOL) number, without context.16 A post-processing script is available to validate the checksum and set the score for this entity. | 0263494 | ❌ | ✔️
securities/wkn/context | A Wertpapierkennnummer (WKN), with context. | WKN: A0MNRK | ❌ | ❌
securities/wkn/nocontext | A Wertpapierkennnummer (WKN), without context. | A0MNRK | ❌ | ❌
service_code/context | A service code with context. | Service code: 123 | ❌ | ❌
service_code/landmark | A Service code landmark. | Service code | ❌ | ❌
service_code/nocontext | A service code without context. | 123 | ❌ | ❌

The following components are produced by the above entities.

components | description | examples | context
--- | --- | --- | ---
CHECKSUM | checksum digit of an identification number | 1 | 460032197910193621
CUSIP | CUSIP number | 037833100 | US0378331005
CUSIP_6 | CUSIP-6 number (indicating the specific security issue) | 037833 | 037833100
EXPIRATION_DATE | expiration date | 201031 | 6408125<2010315D<<<<<<<<<<<<<4
HOLDER_NAME | name of the document holder |  | MUSTERMANN<<ERIKA<<<<<<<<<<<<<
ISSUE | issue number | 10 | 037833100
ISSUER_AMERICANEXPRESS |  | 3458 | 345878587411417
ISSUER_BORICA |  | 2205 | 2205560489593840
ISSUER_CHINATUNION |  | 3139 | PAN: 3139301336652527034
ISSUER_CHINAUNIONPAY |  | 6297 | PAN: 6297293738365345
ISSUER_DINERSCLUBCARTEBLANCHE |  | 3029 | PAN: 30292511443688
ISSUER_DINERSCLUBENROUTE |  | 2149 | PAN: 214912345678914
ISSUER_DINERSCLUBINTERNATIONAL |  | 3668 | PAN: 36685280047719
ISSUER_DISCOVER |  | 6221 | 6221123456789123454
ISSUER_FUELVOYAGER |  | 8699 | PAN: 869912345678912
ISSUER_GPN |  | 1946 | 1946861526295852
ISSUER_HUMO |  | 9860 | PAN: 9860636192279744
ISSUER_INSTAPAYMENT |  | 6376 | 6376514295111598
ISSUER_INTERPAYMENT |  | 6361 | PAN: 6361321792689960
ISSUER_JCB |  | 3528 | 3528530677703129
ISSUER_LANKAPAY |  | 357111 | PAN: 3571110118982115
ISSUER_LASER |  | 6304 | 6304297823838950
ISSUER_MAESTRO |  | 5727 | 572704419371
ISSUER_MAESTROUK |  | 676770 | PAN: 676770186622
ISSUER_MASTERCARD |  | 2224 | PAN: 2224658877624321
ISSUER_MIR |  | 2204 | PAN: 2204435887069498
ISSUER_NAPAS |  | 9704 | 9704228780510118
ISSUER_NPSPRIDNESTROVIE |  | 60547424 | PAN: 6054742420396755
ISSUER_RUPAY |  | 5080 | 5080123456789124
ISSUER_SOLO |  | 6334 | 6334342433945953
ISSUER_SWITCH |  | 6759 | 6759123456789123453
ISSUER_TROY |  | 6515 | PAN: 6515048172125936
ISSUER_UATP |  | 1701 | 170102976323764
ISSUER_UKRCARD |  | 60400102 | 6040010251690234
ISSUER_UZCARD |  | 8600 | PAN: 8600290744599196
ISSUER_VERVE |  | 506099 | PAN: 5060990285060248
ISSUER_VISA |  | 4026 | PAN: 4026596587119255
ISSUING_COUNTRY | ISO-3166-3 country code of the issuing country | D<< | IDD<<T220001293<<<<<<<<<<<<<<<
NSIN | National Securities Identifying Number (NSIN) | 0000XVGZA | AU0000XVGZA3
PAN | Permanent Account Number | AAPFU0939F | 27AAPFU0939F1ZV
SEDOL | Stock Exchange Daily Official List (SEDOL) number | 0263494 | GB0002634946
WKN | Wertpapierkennnummer (WKN) number | 766403 | DE0007664039

In the tables, ✔️ indicates that the item is always used, and ❌ that the item is never used. The ✓ symbol indicates that the item is only used for some entities (that is, for some but not all countries or languages). For details, refer to the relevant entity page.

Copyright 2026 Open Text
Version 26.3 | Last updated July 2026

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Named Entity Recognition Grammars Package 26.3

Topic Title: pci_numbers grammar