Skip to content

diDocType

diDocType enumeration contains possible values of document types.

const diDocType = {
    dtNotDefined: 0,
    dtPassport: 11,
    dtIdentityCard: 12,
    dtDiplomaticPassport: 13,
    dtServicePassport: 14,
    dtSeamansIdentityDocument: 15,
    dtIdentityCardforResidence: 16,
    dtTraveldocument: 17,
    dtOther: 99,
    dtVisaID2: 29,
    dtVisaID3: 30,
    dtRegistrationCertificate: 31,
    dtNationalIdentityCard: 20,
    dtSocialIdentityCard: 21,
    dtAliensIdentityCard: 22,
    dtPrivilegedIdentityCard: 23,
    dtResidencePermitIdentityCard: 24,
    dtOriginCard: 25,
    dtEmergencyPassport: 26,
    dtAliensPassport: 27,
    dtAlternativeIdentityCard: 28,
    dtAuthorizationCard: 32,
    dtBeginnerPermit: 33,
    dtBorderCrossingCard: 34,
    dtChauffeurLicense: 35,
    dtChauffeurLicenseUnder18: 36,
    dtChauffeurLicenseUnder21: 37,
    dtCommercialDrivingLicense: 38,
    dtCommercialDrivingLicenseIndtuctionalPermit: 39,
    dtCommercialDrivingLicenseUnder18: 40,
    dtCommercialDrivingLicenseUnder21: 41,
    dtCommercialIndtuctionPermit: 42,
    dtCommercialNewPermit: 43,
    dtConcealedCarryLicense: 44,
    dtConcealedFirearmPermit: 45,
    dtConditionalDrivingLicense: 46,
    dtDepartmentOfVeteransAffairsIdentityCard: 47,
    dtDiplomaticDrivingLicense: 48,
    dtDrivingLicense: 49,
    dtDrivingLicenseIndtuctionalPermit: 50,
    dtDrivingLicenseIndtuctionalPermitUnder18: 51,
    dtDrivingLicenseIndtuctionalPermitUnder21: 52,
    dtDrivingLicenseLearnersPermit: 53,
    dtDrivingLicenseLearnersPermitUnder18: 54,
    dtDrivingLicenseLearnersPermitUnder21: 55,
    dtDrivingLicenseNovice: 56,
    dtDrivingLicenseNoviceUnder18: 57,
    dtDrivingLicenseNoviceUnder21: 58,
    dtDrivingLicenseRegisteredOffender: 59,
    dtDrivingLicenseRedtictedUnder18: 60,
    dtDrivingLicenseRedtictedUnder21: 61,
    dtDrivingLicenseTemporaryVisitor: 62,
    dtDrivingLicenseTemporaryVisitorUnder18: 63,
    dtDrivingLicenseTemporaryVisitorUnder21: 64,
    dtDrivingLicenseUnder18: 65,
    dtDrivingLicenseUnder21: 66,
    dtEmploymentDrivingPermit: 67,
    dtEnhancedChauffeurLicense: 68,
    dtEnhancedChauffeurLicenseUnder18: 69,
    dtEnhancedChauffeurLicenseUnder21: 70,
    dtEnhancedCommercialDrivingLicense: 71,
    dtEnhancedDrivingLicense: 72,
    dtEnhancedDrivingLicenseUnder18: 73,
    dtEnhancedDrivingLicenseUnder21: 74,
    dtEnhancedIdentityCard: 75,
    dtEnhancedIdentityCardUnder18: 76,
    dtEnhancedIdentityCardUnder21: 77,
    dtEnhancedOperatorsLicense: 78,
    dtFirearmsPermit: 79,
    dtFullProvisionalLicense: 80,
    dtFullProvisionalLicenseUnder18: 81,
    dtFullProvisionalLicenseUnder21: 82,
    dtGenevaConventionsIdentityCard: 83,
    dtGraduatedDrivingLicenseUnder18: 84,
    dtGraduatedDrivingLicenseUnder21: 85,
    dtGraduatedIndtuctionPermitUnder18: 86,
    dtGraduatedIndtuctionPermitUnder21: 87,
    dtGraduatedLicenseUnder18: 88,
    dtGraduatedLicenseUnder21: 89,
    dtHandgunCarryPermit: 90,
    dtIdentityAndPrivilegeCard: 91,
    dtIdentityCardMobilityImpaired: 92,
    dtIdentityCardRegisteredOffender: 93,
    dtIdentityCardTemporaryVisitor: 94,
    dtIdentityCardTemporaryVisitorUnder18: 95,
    dtIdentityCardTemporaryVisitorUnder21: 96,
    dtIdentityCardUnder18: 97,
    dtIdentityCardUnder21: 98,
    dtIgnitionInterlockPermit: 100,
    dtImmigrantVisa: 101,
    dtIndtuctionPermit: 102,
    dtIndtuctionPermitUnder18: 103,
    dtIndtuctionPermitUnder21: 104,
    dtInterimDrivingLicense: 105,
    dtInterimIdentityCard: 106,
    dtIntermediateDrivingLicense: 107,
    dtIntermediateDrivingLicenseUnder18: 108,
    dtIntermediateDrivingLicenseUnder21: 109,
    dtJuniorDrivingLicense: 110,
    dtLearnerIndtuctionalPermit: 111,
    dtLearnerLicense: 112,
    dtLearnerLicenseUnder18: 113,
    dtLearnerLicenseUnder21: 114,
    dtLearnerPermit: 115,
    dtLearnerPermitUnder18: 116,
    dtLearnerPermitUnder21: 117,
    dtLimitedLicense: 118,
    dtLimitedPermit: 119,
    dtLimitedTermDrivingLicense: 120,
    dtLimitedTermIdentityCard: 121,
    dtLiquorIdentityCard: 122,
    dtNewPermit: 123,
    dtNewPermitUnder18: 124,
    dtNewPermitUnder21: 125,
    dtNonUsCitizenDrivingLicense: 126,
    dtOccupationalDrivingLicense: 127,
    dtOneidaTribeOfIndiansIdentityCard: 128,
    dtOperatorLicense: 129,
    dtOperatorLicenseUnder18: 130,
    dtOperatorLicenseUnder21: 131,
    dtPermanentDrivingLicense: 132,
    dtPermitToReEnter: 133,
    dtProbationaryAutoLicense: 134,
    dtProbationaryDrivingLicenseUnder18: 135,
    dtProbationaryDrivingLicenseUnder21: 136,
    dtProbationaryVehicleSalespersonLicense: 137,
    dtProvisionalDrivingLicense: 138,
    dtProvisionalDrivingLicenseUnder18: 139,
    dtProvisionalDrivingLicenseUnder21: 140,
    dtProvisionalLicense: 141,
    dtProvisionalLicenseUnder18: 142,
    dtProvisionalLicenseUnder21: 143,
    dtPublicPassengerChauffeurLicense: 144,
    dtRacingAndGamingComissionCard: 145,
    dtRefugeeTravelDocument: 146,
    dtRenewalPermit: 147,
    dtRedtictedCommercialDrivingLicense: 148,
    dtRedtictedDrivingLicense: 149,
    dtRedtictedPermit: 150,
    dtSeasonalPermit: 151,
    dtSeasonalResidentIdentityCard: 152,
    dtSeniorCitizenIdentityCard: 153,
    dtSexOffender: 154,
    dtSocialSecurityCard: 155,
    dtTemporaryDrivingLicense: 156,
    dtTemporaryDrivingLicenseUnder18: 157,
    dtTemporaryDrivingLicenseUnder21: 158,
    dtTemporaryIdentityCard: 159,
    dtTemporaryIndtuctionPermitIdentityCard: 160,
    dtTemporaryIndtuctionPermitIdentityCardUnder18: 161,
    dtTemporaryIndtuctionPermitIdentityCardUnder21: 162,
    dtTemporaryVisitorDrivingLicense: 163,
    dtTemporaryVisitorDrivingLicenseUnder18: 164,
    dtTemporaryVisitorDrivingLicenseUnder21: 165,
    dtUniformedServicesIdentityCard: 166,
    dtVehicleSalespersonLicense: 167,
    dtWorkerIdentificationCredential: 168,
    dtCommercialDrivingLicenseNovice: 169,
    dtCommercialDrivingLicenseNoviceUnder18: 170,
    dtCommercialDrivingLicenseNoviceUnder21: 171,
    dtPassportCard: 172,
    dtPermanentResidentCard: 173,
    dtPersonalIdentificationVerification: 174,
    dtTemporaryOperatorLicense: 175,
    dtDrivingLicenseUnder19: 176,
    dtIdentityCardUnder19: 177,
    dtVisa: 178,
    dtTemporaryPassport: 179,
    dtVotingCard: 180,
    dtHealthCard: 181,
    dtCertificateOfCitizenship: 182,
    dtAddressCard: 183,
    dtAirportImmigrationCard: 184,
    dtAlienRegidtationCard: 185,
    dtAPEHCard: 186,
    dtCoupontoDrivingLicense: 187,
    dtCrewMemberCertificate: 188,
    dtDocumentForReturn: 189,
    dtECard: 190,
    dtEmploymentCard: 191,
    dtHKSARImmigrationForm: 192,
    dtImmigrantcard: 193,
    dtLabourCard: 194,
    dtLaissezPasser: 195,
    dtLawyerIdentityCertificate: 196,
    dtLicenseCard: 197,
    dtPassportStateless: 198,
    dtPassportChild: 199,
    dtPassportConsular: 200,
    dtPassportDiplomaticService: 201,
    dtPassportOfficial: 202,
    dtPassportProvisional: 203,
    dtPassportSpecial: 204,
    dtPermissiontotheLocalBorderTraffic: 205,
    dtSEDESOLCard: 207,
    dtSocialCard: 208,
    dtTBCard: 209,
    dtVehiclePassport: 210,
    dtWDocument: 211,
    dtDiplomaticIdentityCard: 212,
    dtConsularIdentityCard: 213,
    dtIncomeTaxCard: 214,
    dtResidencePermit: 215,
    dtDocumentOfIdentity: 216,
    dtBorderCrossingPermit: 217,
    dtPassportLimitedValidity: 218,
    dtSIMCard: 219,
    dtTaxCard: 220,
    dtCompanyCard: 221,
    dtDomesticPassport: 222,
    dtIdentityCertificate: 223,
    dtResidentIdCard: 224,
    dtArmedForcesIdentityCard: 225,
    dtProfessionalCard: 226,
    dtRegistrationStamp: 227,
    dtDriverCard: 228,
    dtDriverTrainingCertificate: 229,
    dtQualificationDrivingLicense: 230,
    dtMembershipCard: 231,
    dtPublicVehicleDriverAuthorityCard: 232,
    dtMarineLicense: 233,
    dtTemporaryLearnerDrivingLicense: 234,
    dtTemporaryCommercialDrivingLicense: 235,
    dtInterimInstructionalPermit: 236,
    dtCertificateOfCompetency: 237,
    dtCertificateOfProficiency: 238,
}
Constant Description
dtNotDefined unknown type
dtPassport Passport
dtIdentityCard Identity Card
dtDiplomaticPassport Diplomatic Passport
dtServicePassport Service Passport
dtSeamansIdentityDocument Seaman's Identity Document
dtIdentityCardforResidence Identity Card for Residence
dtTraveldocument Travel Document
dtOther Other
dtVisaID2 Visa ID-2
dtVisaID3 Visa ID-3
dtRegistrationCertificate Registration Certificate
dtNationalIdentityCard National Identity Card
dtSocialIdentityCard Social Identity Card
dtAliensIdentityCard Alien's Identity Card
dtPrivilegedIdentityCard Privileged Identity Card
dtResidencePermitIdentityCard Residence Permit Identity Card
dtOriginCard Origin Card
dtEmergencyPassport Emergency Passport
dtAliensPassport Alien's Passport
dtAlternativeIdentityCard Alternative Identity Card
dtAuthorizationCard Authorization Card
dtBeginnerPermit Beginner Permit
dtBorderCrossingCard Border Crossing Card
dtChauffeurLicense Chauffeur License
dtChauffeurLicenseUnder18 Chauffeur License under 18
dtChauffeurLicenseUnder21 Chauffeur License under 21
dtCommercialDrivingLicense Commercial Driving License
dtCommercialDrivingLicenseIndtuctionalPermit Commercial Driving License Indtuctional Permit
dtCommercialDrivingLicenseUnder18 Commercial Driving License under 18
dtCommercialDrivingLicenseUnder21 Commercial Driving License under 21
dtCommercialIndtuctionPermit Commercial Indtuction Permit
dtCommercialNewPermit Commercial New Permit
dtConcealedCarryLicense Concealed Carry License
dtConcealedFirearmPermit Concealed Firearm Permit
dtConditionalDrivingLicense Conditional Driving License
dtDepartmentOfVeteransAffairsIdentityCard Department of Veterans Affairs Identity Card
dtDiplomaticDrivingLicense Diplomatic Driving License
dtDrivingLicense Driving License
dtDrivingLicenseIndtuctionalPermit Driving License Indtuctional Permit
dtDrivingLicenseIndtuctionalPermitUnder18 Driving License Indtuctional Permit under 18
dtDrivingLicenseIndtuctionalPermitUnder21 Driving License Indtuctional Permit under 21
dtDrivingLicenseLearnersPermit Driving License Learners Permit
dtDrivingLicenseLearnersPermitUnder18 Driving License Learners Permit under 18
dtDrivingLicenseLearnersPermitUnder21 Driving License Learners Permit under 21
dtDrivingLicenseNovice Driving License Novice
dtDrivingLicenseNoviceUnder18 Driving License Novice under 18
dtDrivingLicenseNoviceUnder21 Driving License Novice under 21
dtDrivingLicenseRegisteredOffender Driving License Registered Offender
dtDrivingLicenseRedtictedUnder18 Driving License Redticted under 18
dtDrivingLicenseRedtictedUnder21 Driving License Redticted under 21
dtDrivingLicenseTemporaryVisitor Driving License Temporary Visitor
dtDrivingLicenseTemporaryVisitorUnder18 Driving License Temporary Visitor under 18
dtDrivingLicenseTemporaryVisitorUnder21 Driving License Temporary Visitor under 21
dtDrivingLicenseUnder18 Driving License under 18
dtDrivingLicenseUnder21 Driving License under 21
dtEmploymentDrivingPermit Employment Driving Permit
dtEnhancedChauffeurLicense Enhanced Chauffeur License
dtEnhancedChauffeurLicenseUnder18 Enhanced Chauffeur License under 18
dtEnhancedChauffeurLicenseUnder21 Enhanced Chauffeur License under 21
dtEnhancedCommercialDrivingLicense Enhanced Commercial Driving License
dtEnhancedDrivingLicense Enhanced Driving License
dtEnhancedDrivingLicenseUnder18 Enhanced Driving License under 18
dtEnhancedDrivingLicenseUnder21 Enhanced Driving License under 21
dtEnhancedIdentityCard Enhanced Identity Card
dtEnhancedIdentityCardUnder18 Enhanced Identity Card under 18
dtEnhancedIdentityCardUnder21 Enhanced Identity Card under 21
dtEnhancedOperatorsLicense Enhanced Operators License
dtFirearmsPermit Firearms Permit
dtFullProvisionalLicense Full Provisional License
dtFullProvisionalLicenseUnder18 Full Provisional License under 18
dtFullProvisionalLicenseUnder21 Full Provisional License under 21
dtGenevaConventionsIdentityCard Geneva Conventions Identity Card
dtGraduatedDrivingLicenseUnder18 Graduated Driving License under 18
dtGraduatedDrivingLicenseUnder21 Graduated Driving License under 21
dtGraduatedIndtuctionPermitUnder18 Graduated Indtuction Permit under 18
dtGraduatedIndtuctionPermitUnder21 Graduated Indtuction Permit under 21
dtGraduatedLicenseUnder18 Graduated License under 18
dtGraduatedLicenseUnder21 Graduated License under 21
dtHandgunCarryPermit Handgun Carry Permit
dtIdentityAndPrivilegeCard Identity and Privilege Card
dtIdentityCardMobilityImpaired Identity Card Mobility Impaired
dtIdentityCardRegisteredOffender Identity Card Registered Offender
dtIdentityCardTemporaryVisitor Identity Card Temporary Visitor
dtIdentityCardTemporaryVisitorUnder18 Identity Card Temporary Visitor under 18
dtIdentityCardTemporaryVisitorUnder21 Identity Card Temporary Visitor under 21
dtIdentityCardUnder18 Identity Card under 18
dtIdentityCardUnder21 Identity Card under 21
dtIgnitionInterlockPermit Ignition Interlock Permit
dtImmigrantVisa Immigrant Visa
dtIndtuctionPermit Indtuction Permit
dtIndtuctionPermitUnder18 Indtuction Permit under 18
dtIndtuctionPermitUnder21 Indtuction Permit under 21
dtInterimDrivingLicense Interim Driving License
dtInterimIdentityCard Interim Identity Card
dtIntermediateDrivingLicense Intermediate Driving License
dtIntermediateDrivingLicenseUnder18 Intermediate Driving License under 18
dtIntermediateDrivingLicenseUnder21 Intermediate Driving License under 21
dtJuniorDrivingLicense Junior Driving License
dtLearnerIndtuctionalPermit Learner Indtuctional Permit
dtLearnerLicense Learner License
dtLearnerLicenseUnder18 Learner License under 18
dtLearnerLicenseUnder21 Learner License under 21
dtLearnerPermit Learner Permit
dtLearnerPermitUnder18 Learner Permit under 18
dtLearnerPermitUnder21 Learner Permit under 21
dtLimitedLicense Limited License
dtLimitedPermit Limited Permit
dtLimitedTermDrivingLicense Limited Term Driving License
dtLimitedTermIdentityCard Limited Term Identity Card
dtLiquorIdentityCard Liquor Identity Card
dtNewPermit New Permit
dtNewPermitUnder18 New Permit under 18
dtNewPermitUnder21 New Permit under 21
dtNonUsCitizenDrivingLicense Non-US Citizen Driving License
dtOccupationalDrivingLicense Occupational Driving License
dtOneidaTribeOfIndiansIdentityCard Oneida Tribe of Indians Identity Card
dtOperatorLicense Operator License
dtOperatorLicenseUnder18 Operator License under 18
dtOperatorLicenseUnder21 Operator License under 21
dtPermanentDrivingLicense Permanent Driving License
dtPermitToReEnter Permit to Re-enter
dtProbationaryAutoLicense Probationary Auto License
dtProbationaryDrivingLicenseUnder18 Probationary Auto License under 18
dtProbationaryDrivingLicenseUnder21 Probationary Auto License under 21
dtProbationaryVehicleSalespersonLicense Probationary Vehicle Salesperson License
dtProvisionalDrivingLicense Provisional Driving License
dtProvisionalDrivingLicenseUnder18 Provisional Driving License under 18
dtProvisionalDrivingLicenseUnder21 Provisional Driving License under 21
dtProvisionalLicense Provisional License
dtProvisionalLicenseUnder18 Provisional License under 18
dtProvisionalLicenseUnder21 Provisional License under 21
dtPublicPassengerChauffeurLicense Public Passenger Chauffeur License
dtRacingAndGamingComissionCard Racing and Gaming Comission Card
dtRefugeeTravelDocument Refugee Travel Document
dtRenewalPermit Renewal Permit
dtRedtictedCommercialDrivingLicense Redticted Commercial Driving License
dtRedtictedDrivingLicense Redticted Driving License
dtRedtictedPermit Redticted Permit
dtSeasonalPermit Seasonal Permit
dtSeasonalResidentIdentityCard Seasonal Resident Identity Card
dtSeniorCitizenIdentityCard Senior Citizen Identity Card
dtSexOffender Sex Offender
dtSocialSecurityCard Social Security Card
dtTemporaryDrivingLicense Temporary Driving License
dtTemporaryDrivingLicenseUnder18 Temporary Driving License under 18
dtTemporaryDrivingLicenseUnder21 Temporary Driving License under 21
dtTemporaryIdentityCard Temporary Identity Card
dtTemporaryIndtuctionPermitIdentityCard Temporary Indtuction Permit Identity Card
dtTemporaryIndtuctionPermitIdentityCardUnder18 Temporary Indtuction Permit Identity Card under 18
dtTemporaryIndtuctionPermitIdentityCardUnder21 Temporary Indtuction Permit Identity Card under 21
dtTemporaryVisitorDrivingLicense Temporary Visitor Driving License
dtTemporaryVisitorDrivingLicenseUnder18 Temporary Visitor Driving License under 18
dtTemporaryVisitorDrivingLicenseUnder21 Temporary Visitor Driving License under 21
dtUniformedServicesIdentityCard Uniformed Services Identity Card
dtVehicleSalespersonLicense Vehicle Salesperson License
dtWorkerIdentificationCredential Worker Identification Credential
dtCommercialDrivingLicenseNovice Commercial Driving License Novice
dtCommercialDrivingLicenseNoviceUnder18 Commercial Driving License Novice under 18
dtCommercialDrivingLicenseNoviceUnder21 Commercial Driving License Novice under 21
dtPassportCard Passport Card
dtPermanentResidentCard Permanent Resident Card
dtPersonalIdentificationVerification Personal Identification Verification
dtTemporaryOperatorLicense Temporary Operator License
dtDrivingLicenseUnder19 Driving License under 19
dtIdentityCardUnder19 Identity Card under 19
dtVisa Visa
dtTemporaryPassport Temporary Passport
dtVotingCard Voting Card
dtHealthCard Health Card
dtCertificateOfCitizenship Certificate of Citizenship
dtAddressCard Address Card
dtAirportImmigrationCard Airport Immigration Card
dtAlienRegidtationCard Alien Regidtation Card
dtAPEHCard APEH Card
dtCoupontoDrivingLicense Couponto Driving License
dtCrewMemberCertificate Crew Member Certificate
dtDocumentForReturn Document for Return
dtECard E-Card
dtEmploymentCard Employment Card
dtHKSARImmigrationForm HKSAR Immigration Form
dtImmigrantcard Immigrant Card
dtLabourCard Labour Card
dtLaissezPasser Laissez Passer
dtLawyerIdentityCertificate Lawyer Identity Certificate
dtLicenseCard License Card
dtPassportStateless Passport Stateless
dtPassportChild Passport Child
dtPassportConsular Passport Consular
dtPassportDiplomaticService Passport Diplomatic Service
dtPassportOfficial Passport Official
dtPassportProvisional Passport Provisional
dtPassportSpecial Passport Special
dtPermissiontotheLocalBorderTraffic Permission to the Local Border Traffic
dtSEDESOLCard SEDESOL Card
dtSocialCard Social Card
dtTBCard TB Card
dtVehiclePassport Vehicle Passport
dtWDocument W Document
dtDiplomaticIdentityCard Diplomatic Identity Card
dtConsularIdentityCard Consular Identity Card
dtIncomeTaxCard Income Tax Card
dtResidencePermit Residence Permit
dtDocumentOfIdentity Document of Identity
dtBorderCrossingPermit Border Crossing Permit
dtPassportLimitedValidity Passport Limited Validity
dtSIMCard SIM Card
dtTaxCard Tax Card
dtCompanyCard Company Card
dtDomesticPassport Domestic Passport
dtIdentityCertificate Identity Certificate
dtResidentIdCard Resident Id Card
dtArmedForcesIdentityCard Armed Forces Identity Card
dtProfessionalCard Professional Card
dtRegistrationStamp Registration Stamp
dtDriverCard Driver Card
dtDriverTrainingCertificate Driver Training Certificate
dtQualificationDrivingLicense Qualification Driving License
dtMembershipCard Membership Card
dtPublicVehicleDriverAuthorityCard Public Vehicle Driver Authority Card
dtMarineLicense Marine License
dtTemporaryLearnerDrivingLicense Temporary Learner Driving License
dtTemporaryCommercialDrivingLicense Temporary Commercial Driving License
dtInterimInstructionalPermit Interim Instructional Permit
dtCertificateOfCompetency Certificate of Competency
dtCertificateOfProficiency Certificate of Proficiency