Skip to main content

Type Alias: PaymentDetail

@arolariu/website


@arolariu/website / types/invoices/Payment / PaymentDetail

Type Alias: PaymentDetail

PaymentDetail = object

Defined in: types/invoices/Payment.ts:174

Represents a single payment method and amount used in a transaction.

Remarks

Receipts may record multiple payment methods (e.g., partial cash + card). Extracted from Document Intelligence v4.0 Payments field.

Example

const payment: PaymentDetail = {
method: "Credit Card",
amount: 157.50
};

Properties

method

method: string

Defined in: types/invoices/Payment.ts:176

The payment method (e.g., "Cash", "Credit Card", "Debit Card").


amount

amount: number

Defined in: types/invoices/Payment.ts:178

The amount paid via this method.

// was this page useful?