LedgerInterface
Implemented by
Fields
Whether payments can be posted onto this ledger.
Whether this ledger's balance contributes to the account's balance.
The charged supply agreements of the ledger.
The amount owed from the customer perspective. A positive value implies the customer owes the business, while a negative amount implies the customer is in credit.
The current balance on the ledger in minor units of currency.
The active billing trigger configuration for the ledger.
The possible errors that can be raised are:
- KT-CT-9709: Billing trigger configuration only supports SupplementaryLedger type.
- KT-CT-1113: Disabled GraphQL field requested.
Permissions data for credit transfers involving the given ledger.
The debt ledger assigned to this ledger.
Please use 'ledgerNumber' instead. This is in the form of 'L-123456789A'
- Marked as deprecated on 2024-10-22.
- Scheduled for removal on or after 2025-06-25.
An invoice is a bill that contains individual transactions (i.e. charges, credits, payments, and repayments). These may come from any period of time.
The display name of the ledger.
The canonical name of the ledger.
Paginated payment forecasts for this ledger. Starts from today's date (inclusive). The interface supports last but does not guarantee 'lastness'.
The payment plans for this ledger.
The customer's preferred payment method at a point in time.
The possible errors that can be raised are:
- KT-CT-3976: The ledger has no configured payment preference.
- KT-CT-3977: Ledger was not accepting payments at this time.
- KT-CT-1113: Disabled GraphQL field requested.
Arguments
The time at which to know the payment preference.
The customer's preferred payment methods.
The payments made into this ledger.
Arguments
Whether to include payment promises (of any kind: made, broken or fulfilled) or not. The default is to include them.
Filter for payments that were taken for a particular reason.
Filter for payments by their status.
The payment schedules for this ledger. These schedules describe how we would expect to take payments on a given month.
Refund requests for a given ledger.
Repayment requests for a given ledger.
The repayments that have been requested for this ledger.
Arguments
Only return repayments whose status matches one of these statuses.
A statement is a billing document that contains all entries on a ledger during a period of time. A customer can understand how their ledger's balance has changed by looking at each statement in series.
Transactions on the given ledger.
Arguments
Optional date representing the beginning of the postedDate range filter. This date value is inclusive.
The order in which to return the transactions.
Optional date representing the end of the postedDate range filter. This date value is exclusive.
Include only these specific transaction types in the result.
The usable payment instructions for this ledger.
Example
{
"acceptsPayments": true,
"affectsAccountBalance": true,
"agreements": AgreementConnection,
"amountOwedByCustomer": 73,
"balance": 52,
"billingTriggerConfiguration": BillingTriggerConfiguration,
"creditTransferPermissionsData": CreditTransferPermissionsDataType,
"debtLedger": LedgerInterface,
"invoices": InvoiceBillingDocumentConnectionTypeConnection,
"ledgerType": "peace-evidence-minute-share-mention",
"name": "information-mission-son-method-serve",
"number": "range-them-yet-author-fact",
"paymentAdequacy": PaymentAdequacyDetailsType,
"paymentForecast": PaymentForecastConnectionTypeConnection,
"paymentPlans": PaymentPlanConnectionTypeConnection,
"paymentPreferenceAtTime": PreferredInstruction,
"paymentPreferences": PaymentPreferenceConnectionTypeConnection,
"payments": AccountPaymentConnectionTypeConnection,
"paymentSchedules": ScheduleConnectionTypeConnection,
"refundRequests": RefundRequestConnectionTypeConnection,
"repaymentRequests": RepaymentRequestConnectionTypeConnection,
"repayments": AccountRepaymentConnectionTypeConnection,
"statements": StatementBillingDocumentConnectionTypeConnection,
"transactions": TransactionConnectionTypeConnection,
"usablePaymentInstructions": PaymentInstructionConnectionTypeConnection
}