Interface: Build835PaymentSpec
BPR financial-information / payment header. totalActualPayment is the
sum the bank moved - it is the right-hand side of the top-of-remit
balance invariant BPR-02 == Σ(CLP-04) − Σ(PLB) the builder enforces.
Example
import type { Build835PaymentSpec } from "@cosyte/x12";
import { X12Decimal } from "@cosyte/x12";
const bpr: Build835PaymentSpec = {
transactionHandlingCode: "I",
totalActualPayment: X12Decimal.fromString("450.00")!,
creditDebitFlag: "C",
method: "ACH",
paymentDate: "20260601",
};
Properties
creditDebitFlag
readonlycreditDebitFlag:string
BPR-03 - credit/debit flag (C credit, D debit).
method
readonlymethod:string
BPR-04 - payment method (ACH, CHK, NON, BOP, FWT).
paymentDate
readonlypaymentDate:string
BPR-16 - payment effective date (CCYYMMDD).
paymentFormatCode?
readonlyoptionalpaymentFormatCode?:string
BPR-05 - payment format code (situational).
totalActualPayment
readonlytotalActualPayment:X12Decimal
BPR-02 - total actual provider payment amount.
transactionHandlingCode
readonlytransactionHandlingCode:string
BPR-01 - transaction handling code (I remittance + payment, H notification, …).