Skip to main content
Version: v0.0.2

Interface: Build835AdjustmentSpec

One CAS adjustment (one reason / amount / quantity triple under a group code). Mirrors "./types.js".X12RemitAdjustment minus the looked-up reasonDescription. The builder re-chunks adjustments that share a groupCode into CAS segments (≤ 6 triples each).

Example

import type { Build835AdjustmentSpec } from "@cosyte/x12";
import { X12Decimal } from "@cosyte/x12";
const cas: Build835AdjustmentSpec = {
groupCode: "PR", reasonCode: "1", amount: X12Decimal.fromString("50.00")!,
};

Properties

amount

readonly amount: X12Decimal

Adjustment amount.


groupCode

readonly groupCode: string

CAS-01 - claim adjustment group code (CO, PR, OA, PI).


quantity?

readonly optional quantity?: X12Decimal

Adjustment quantity (situational).


reasonCode

readonly reasonCode: string

Adjustment reason code (CARC).