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.
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.
Refund requests for a given ledger.
Repayment requests for a given ledger.
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.
Example
{
"acceptsPayments": true,
"affectsAccountBalance": true,
"agreements": AgreementConnection,
"amountOwedByCustomer": 95,
"balance": 11,
"billingTriggerConfiguration": BillingTriggerConfiguration,
"creditTransferPermissionsData": CreditTransferPermissionsDataType,
"debtLedger": LedgerInterface,
"invoices": InvoiceBillingDocumentConnectionTypeConnection,
"ledgerType": "where-cause-simply-success-process",
"name": "red-knowledge-under-will-him",
"number": "sort-item-clearly-for-call",
"paymentAdequacy": PaymentAdequacyDetailsType,
"paymentPreferenceAtTime": PreferredInstruction,
"paymentPreferences": PaymentPreferenceConnectionTypeConnection,
"refundRequests": RefundRequestConnectionTypeConnection,
"repaymentRequests": RepaymentRequestConnectionTypeConnection,
"statements": StatementBillingDocumentConnectionTypeConnection,
"transactions": TransactionConnectionTypeConnection,
"usablePaymentInstructions": PaymentInstructionConnectionTypeConnection
}