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
readonlyamount:X12Decimal
Adjustment amount (raw EDI sign).
fiscalPeriodDate
readonlyfiscalPeriodDate:string
PLB-02 - fiscal period date (CCYYMMDD).
providerId
readonlyproviderId:string
PLB-01 - provider identifier.
reasonCode
readonlyreasonCode:string
Adjustment reason code (PLB composite component 1).
subCode?
readonlyoptionalsubCode?:string
Adjustment reference / sub code (PLB composite component 2).