Skip to main content
Version: v0.0.2

Interface: X12StatusInfo

One decoded STC segment - the headline status fields plus the up-to-three X12StatusCode composites (STC-01, STC-10, STC-11). A single claim (or service line) can carry multiple STC segments; each becomes one X12StatusInfo.

Example

import type { X12StatusInfo } from "@cosyte/x12";
declare const s: X12StatusInfo;
s.statusEffectiveDate; // "20260627"
s.totalChargeAmount?.toString(); // "150.00"
s.statuses[0]?.statusCode; // "20"

Properties

actionCode

readonly actionCode: string | undefined


adjudicationDate

readonly adjudicationDate: string | undefined


message

readonly message: string | undefined


paymentAmount

readonly paymentAmount: X12Decimal | undefined


statusEffectiveDate

readonly statusEffectiveDate: string | undefined


statuses

readonly statuses: readonly X12StatusCode[]


totalChargeAmount

readonly totalChargeAmount: X12Decimal | undefined