Interface: Build820TraceSpec
TRN reassociation trace - pairs the 820 to the originating ACH / check so the receiver can reconcile the premium deposit. At least one is required (TR3 005010X218 mandates the header TRN).
Example
import type { Build820TraceSpec } from "@cosyte/x12";
const trn: Build820TraceSpec = {
traceTypeCode: "1", referenceId: "PREM-202606", originatingCompanyId: "1512345678",
};
Properties
originatingCompanyId?
readonlyoptionaloriginatingCompanyId?:string
TRN-03 - originating company identifier.
originatingCompanySupplementalCode?
readonlyoptionaloriginatingCompanySupplementalCode?:string
TRN-04 - originating company supplemental code.
referenceId
readonlyreferenceId:string
TRN-02 - reference identification (the trace / check number).
traceTypeCode
readonlytraceTypeCode:string
TRN-01 - trace type code (1 current transaction trace numbers).