Balances
¶
Source code in docs_src/capo_payments/types/balances.py
canceled
instance-attribute
¶
canceled: CurrencyAmount
The part of the amount that was canceled and isn't settled, for example when an invoice is voided. When a partly settled record is canceled, it keeps its settled balance, and the rest of the amount moves to canceled. This balance is more than 0 only when the status is CANCELED.
outstanding
instance-attribute
¶
outstanding: CurrencyAmount
The part of the amount that isn't settled and has no settlement in progress. For an invoice, this is what remains to pay. For a credit memo, this is the credit that isn't yet applied. This balance doesn't include processing.
processing
instance-attribute
¶
processing: CurrencyAmount
The part of the amount with a settlement in progress, for example a payment that's submitted but not yet confirmed. It moves to settled when the settlement completes, and back to outstanding when the settlement fails. This balance is more than 0 only when the status is PROCESSING.
settled
instance-attribute
¶
settled: CurrencyAmount
The part of the amount that is settled. For an invoice, this is the amount paid or covered by credit memos. For a credit memo, this is the amount applied to invoices. This balance is 0 when nothing is settled yet.