Skip to main content
Version: v0.0.2

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?

readonly optional originatingCompanyId?: string

TRN-03 - originating company identifier.


originatingCompanySupplementalCode?

readonly optional originatingCompanySupplementalCode?: string

TRN-04 - originating company supplemental code.


referenceId

readonly referenceId: string

TRN-02 - reference identification (the trace / check number).


traceTypeCode

readonly traceTypeCode: string

TRN-01 - trace type code (1 current transaction trace numbers).