types/invoices/Payment
@arolariu/website / types/invoices/Payment
types/invoices/Payment
Fileoverview
Payment information type definitions for invoice transactions.
Remarks
This module defines payment-related types capturing how invoices are settled. Payment information is critical for financial analytics, reconciliation, and spending categorization.
Currency Handling: All monetary values use the Currency type from the DDD shared kernel. Amounts are stored as numbers (decimals) with the currency code.
Tax Calculation:
totalTaxAmount is extracted from invoice OCR or calculated from
product-level tax information when available.
See
- Invoice.paymentInformation for payment attachment
- Currency for currency value object
Type Aliases
- PaymentType
- PaymentInformation
- TaxDetail
- PaymentDetail
- CreatePaymentInformationDtoPayload
- UpdatePaymentInformationDtoPayload
- DeletePaymentInformationDtoPayload
Variables
// was this page useful?