Skip to main content
Version: v0.0.2

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

readonly creditDebitFlag: string

BPR-03 - credit/debit flag (C credit, D debit).


method

readonly method: string

BPR-04 - payment method (ACH, CHK, NON, BOP, FWT).


paymentDate

readonly paymentDate: string

BPR-16 - payment effective date (CCYYMMDD).


paymentFormatCode?

readonly optional paymentFormatCode?: string

BPR-05 - payment format code (situational).


totalActualPayment

readonly totalActualPayment: X12Decimal

BPR-02 - total actual provider payment amount.


transactionHandlingCode

readonly transactionHandlingCode: string

BPR-01 - transaction handling code (I remittance + payment, H notification, …).