Skip to main content
Version: v0.0.3

Interface: TelecomHeader

The fixed-length Transaction Header that opens every NCPDP Telecommunication request. It carries no field separators: each field is positional. Field numbers/designators are from the NCPDP Telecommunication standard vD.0; the names here are our own paraphrases (we do not redistribute NCPDP prose).

Values are trimmed of pad whitespace; numeric leading zeros are preserved (a BIN or PCN is an identifier, not an arithmetic quantity).

Properties

binNumber

readonly binNumber: string

101-A1: the routing Bank Identification Number (6 chars on the wire).


dateOfService

readonly dateOfService: string

401-D1: Date of Service, verbatim (CCYYMMDD on the wire).


processorControlNumber

readonly processorControlNumber: string

104-A4: Processor Control Number.


serviceProviderId

readonly serviceProviderId: string

201-B1: Service Provider ID (e.g. the pharmacy NPI).


serviceProviderIdQualifier

readonly serviceProviderIdQualifier: string

202-B2: Service Provider ID Qualifier.


softwareCertificationId

readonly softwareCertificationId: string

110-AK: Software Vendor / Certification ID.


transactionCode

readonly transactionCode: string

103-A3: Transaction Code, e.g. "B1" (billing), "B2", "B3", "E1".


transactionCount

readonly transactionCount: string

109-A9: declared number of transactions in the transmission (1 char).


versionRelease

readonly versionRelease: string

102-A2: Version/Release, "D0" for the standard this reader decodes.