Skip to main content
Version: v0.0.2

Interface: Build277StatusSpec

One decoded STC segment - the headline status fields plus the up-to-three Build277StatusCodeSpec composites (STC-01, STC-10, STC-11). The first composite (STC-01) is required and must carry a category code. Mirrors "./types.js".X12StatusInfo.

Example

import type { Build277StatusSpec } from "@cosyte/x12";
import { X12Decimal } from "@cosyte/x12";
const s: Build277StatusSpec = {
statuses: [{ categoryCode: "A2", statusCode: "20" }],
statusEffectiveDate: "20260627",
totalChargeAmount: X12Decimal.fromString("150.00")!,
};

Properties

actionCode?

readonly optional actionCode?: string

STC-03 - action code.


adjudicationDate?

readonly optional adjudicationDate?: string

STC-06 - adjudication / payment date.


message?

readonly optional message?: string

STC-12 - free-form message.


paymentAmount?

readonly optional paymentAmount?: X12Decimal

STC-05 - claim payment amount.


statusEffectiveDate?

readonly optional statusEffectiveDate?: string

STC-02 - status information effective date.


statuses

readonly statuses: readonly Build277StatusCodeSpec[]

STC-01 / STC-10 / STC-11 - 1..3 status composites (first is required).


totalChargeAmount?

readonly optional totalChargeAmount?: X12Decimal

STC-04 - total claim charge amount.