Interface: X12AuthHeader
The BHT beginning-of-hierarchical-transaction header. purposeCode
(BHT-02) is 00 (original) / 18 (reissue); transactionTypeCode
(BHT-06) distinguishes a request (RT / cancel) from administrative
variants.
Example
import type { X12AuthHeader } from "@cosyte/x12";
declare const h: X12AuthHeader;
h.referenceId; // "AUTH-202606"
h.date; // "20260601" (BHT-04, CCYYMMDD)
Properties
date
readonlydate:string|undefined
purposeCode
readonlypurposeCode:string|undefined
referenceId
readonlyreferenceId:string|undefined
structurePurposeCode
readonlystructurePurposeCode:string
time
readonlytime:string|undefined
transactionTypeCode
readonlytransactionTypeCode:string|undefined