Skip to main content
Version: v0.0.2

Interface: Build835ProviderAdjustmentSpec

PLB provider-level adjustment. Sign convention (raw EDI): a POSITIVE amount REDUCES the provider payment (take-back / recoupment); a NEGATIVE amount ADDS to it (interest / advance). The top-of-remit invariant BPR-02 == Σ(CLP-04) − Σ(PLB) relies on this sign. Mirrors "./types.js".X12RemitProviderAdjustment.

Example

import type { Build835ProviderAdjustmentSpec } from "@cosyte/x12";
import { X12Decimal } from "@cosyte/x12";
const plb: Build835ProviderAdjustmentSpec = {
providerId: "1234567890", fiscalPeriodDate: "20261231",
reasonCode: "WO", subCode: "PRIOR-CLAIM-X", amount: X12Decimal.fromString("50.00")!,
};

Properties

amount

readonly amount: X12Decimal

Adjustment amount (raw EDI sign).


fiscalPeriodDate

readonly fiscalPeriodDate: string

PLB-02 - fiscal period date (CCYYMMDD).


providerId

readonly providerId: string

PLB-01 - provider identifier.


reasonCode

readonly reasonCode: string

Adjustment reason code (PLB composite component 1).


subCode?

readonly optional subCode?: string

Adjustment reference / sub code (PLB composite component 2).