LedgerType
Ledgers provide the foundation of Kraken’s bookkeeping functionality. Similar to a bank account, they allow us to keep track of financial activity on a particular Kraken account.
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.
True if the current direct debit instruction has been invalidated by vendor. False otherwise.
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.
Arguments
The ledger type code.
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.
paymentsWithNonConcludedRePresentation
:
PaymentWithNonConcludedRePresentationConnectionTypeConnection
Payments with non-concluded re-presentation.
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.
Is it possible for this ledger to contain invoices.
Is it possible for this ledger to contain statements.
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": 33,
"balance": 17,
"billingTriggerConfiguration": BillingTriggerConfiguration,
"creditTransferPermissionsData": CreditTransferPermissionsDataType,
"currentDirectDebitInstructionInvalidatedWithVendor": true,
"debtLedger": LedgerType,
"invoices": InvoiceBillingDocumentConnectionTypeConnection,
"ledgerType": "bag-present-field-address-Mr",
"name": "modern-can-value-sit-it",
"number": "couple-matter-candidate-evidence-stage",
"paymentAdequacy": PaymentAdequacyDetailsType,
"paymentPreferenceAtTime": PreferredInstruction,
"paymentPreferences": PaymentPreferenceConnectionTypeConnection,
"paymentsWithNonConcludedRePresentation": PaymentWithNonConcludedRePresentationConnectionTypeConnection,
"refundRequests": RefundRequestConnectionTypeConnection,
"repaymentRequests": RepaymentRequestConnectionTypeConnection,
"statements": StatementBillingDocumentConnectionTypeConnection,
"supportsInvoices": true,
"supportsStatements": true,
"transactions": TransactionConnectionTypeConnection,
"usablePaymentInstructions": PaymentInstructionConnectionTypeConnection
}