Skip to main content
Version: v0.0.2

Interface: X12PremiumPaymentHeader

Decoded BPR - Financial Information / payment header (identical segment shape to the 835). totalPremiumAmount is BPR-02, the aggregate premium the bank actually moved; method is BPR-04 (ACH / CHK / NON / …).

Example

import type { X12PremiumPaymentHeader } from "@cosyte/x12";
declare const p: X12PremiumPaymentHeader;
p.totalPremiumAmount.toString(); // "12500.00"
p.method; // "ACH"
p.paymentDate; // "20260601" (CCYYMMDD, verbatim)

Properties

creditDebitFlag

readonly creditDebitFlag: string

BPR-03 credit/debit flag. Spec-defined "C" (credit) or "D" (debit); typed string to preserve any verbatim non-spec value from a quirky sender.


method

readonly method: string


paymentDate

readonly paymentDate: string


paymentFormatCode

readonly paymentFormatCode: string | undefined


totalPremiumAmount

readonly totalPremiumAmount: X12Decimal


transactionHandlingCode

readonly transactionHandlingCode: string