AccountType
The account object can be one of several attached to a Portfolio (which usually has an AccountUser which is used to authenticate access to the Portfolio's accounts). Typically a person has a single account attached to a portfolio and properties on the same account will appear on the same bill. Where separate bills are desired, multiple accounts are created and added to the same portfolio of accounts.
Fields
The type of account.
List of active hardship agreements for the user when is_in_hardship is True.
The referral schemes currently active for this account.
The billing address of this account, stored in the new libaddressinput-based format.
Note that name and organization are very unlikely to be
supplied here; the billing_name field on the account
itself is generally used for that purpose instead.
Fetch annual statements for the account.
Applications by this account to become our customer. More recent applications will be listed first.
Arguments
The account application status.
Assistance agreements for account.
The current account balance.
Arguments
If this variable is set to true, the balance will be calculated based on the sum of balances on all ledgers configured to contribute to this account's balance. Otherwise, only the main ledger's balance will be fetched (legacy behaviour). If you are unsure, set this value to true.
Fetch a specific issued bill (invoice/statement) for the account.
Arguments
The unique identifier of the bill.
The unique identifier of the bill. A pending billing document will not have an identifier yet. And not all finalized billing documents will have an identifier. Prefer using the id field unless advised by Kraken.
The number of the ledger for the bill. When provided, only the period- or item-based documentfor this account that is linked to that ledger is returned; pre-kraken, collective bills, and legacy bills are excluded.
The billing address of the account.
The billing email of the account.
The billing name of the account.
Information about the account's billing cycle.
The postcode of the billing address.
The billing sub name of the account.
The active billing trigger configuration for the account.
Fetch issued bills (invoices/statements) for the account.
Arguments
Optional date representing the beginning of the search results. This date value is inclusive.
Include bills without PDFs.
Include held statements within the results.
Include pre-Kraken / historical statements within the results.
Include item-based billing documents (invoices) within the results.
Include open statements. This flag needs to be used along with includeBillsWithoutPDF=false otherwise results will prove unexpected.
Optional date representing the beginning of the search results based on issued date. This date value is inclusive.
Optional date representing the end of the search results based on issued date. This date value is exclusive.
The number of a ledger for the bill. When provided, only period- or item-based documents for this account that are linked to that ledger are returned; collective bills and legacy bills are excluded. Historic/pre-Kraken bills are unaffected by this filter and are included or excluded solely by includeHistoricStatements.
Only include bills emailed to the current user's email.
The order in which to return the bills.
Optional date representing the end of the search results. This date value is exclusive.
The brand of the account.
Business info related to a business account.
The company type of a business account.
Use `business.businessType` instead
- Marked as deprecated on 2022-03-09.
- Scheduled for removal on or after 2024-01-01.
The campaigns associated with an account.
Whether an account can be withdrawn.
Whether an account can change their payment schedule.
Whether on not the meter readings can be input via IVR.
Data about whether or not an account can modify their payments.
Whether the account is eligible for tariff renewal.
Whether the account can request a credit refund.
The method the account has specified they prefer we contact them.
Use `commsDeliveryPreference` instead
- Marked as deprecated on 2022-05-27.
- Scheduled for removal on or after 2024-01-01.
The complaints associated with an account.
Consents linked to this account.
Contribution agreements for account.
The number of days around a move out a final meter reading can be given for.
The datetime that the account was originally created.
The current estimated supply start day on an account.
Get customer assets for an account.
Debt collection proceedings for account.
The direct debit instructions of the account
Arguments
Filter the direct debit instructions by status
The document accessibility preference of the account.
The earliest possible supply start day on an account.
The electricity agreements belonging to the account.
Arguments
Whether to return active agreements only. Will otherwise include all active and future agreements that have not been revoked.
Whether the account is eligible to apply for Warm Home Discount as part of the Scottish Broader Group.
The account events that were recorded for the account.
Arguments
Filter the account events by their type.
Files attached to this account.
The gas agreements belonging to the account.
Arguments
Whether to return active agreements only. Will otherwise include all active and future agreements that have not been revoked.
The green benefits achieved over the lifetime of an account.
Whether or not the account has active collections proceedings.
Whether or not the account has an active Dunning process.
Whether or not an account is eligible for an electricity reading incentive.
Please see wheelOfFortuneSpins query instead.
- Marked as deprecated on 2025-06-24.
- Scheduled for removal on or after 2025-07-24.
Whether or not an account is eligible for a gas reading incentive.
Please see wheelOfFortuneSpins query instead.
- Marked as deprecated on 2025-06-24.
- Scheduled for removal on or after 2025-07-24.
Whether or not the account is a part of a migration for which we want to switch supplier without customer actions.
True if there is an active Hardship Agreement for this account. False otherwise.
The latest possible supply start day on an account.
Ledgers provide the foundation of bookkeeping functionality. Similar to a bank account, they allow us to keep track of financial activity on a particular customer account.
Arguments
If this variable is set to false, debt ledgerswill be filtered out of the ledgers list.
The ledger to return.
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.
The ledger to return by its number.
Retrieve all market supply agreements under this account. Note that when active is set to false it actually means 'return both active and inactive agreements'.
The maximum amount a customer is allowed to request as a refund and the reason why that's the maximum amount.
Arguments
The ledger number to calculate maximum refund for.
Metadata associated with the account.
Notes for the account.
A code that uniquely identifies the account.
The operations team that the account belongs to.
The current account overdue balance.
Files attached to this account.
Paginated payment forecasts for an account. Starts from today's date (inclusive). The interface supports last but does not guarantee 'lastness'.
Arguments
The end date to retrieve forecasts for. This end date is inclusive.
The ledger to return payment forecasts from. Defaults to the main ledger when no ID is passed.
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.
The number of the ledger to return payment forecasts from. Defaults to the main ledger when no number is passed.
Results of the latest review of the account's payments.
A list displaying the payment forecast for an account. The list starts from today's date (inclusive).
Please use 'paginatedPaymentForecast' instead.
- Marked as deprecated on 2024-01-03.
- Scheduled for removal on or after 2025-01-01.
Arguments
The end date to retrieve forecasts for. This end date is inclusive.
The ledger to return payment forecasts from. Defaults to the main ledger when no ID is passed.
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.
The number of the ledger to return payment forecasts from. Defaults to the main ledger when no number is passed.
The payment instructions of the account.
Arguments
Filter the payment instructions by status.
The payment plans that have been created for this account.
The payments made into an account from a payment instruction.
Arguments
Whether to include payment promises (of any kind: made, broken or fulfilled) or not. The default is to include them.
The id of the ledger to return payments from.
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.
WARNING: Will be mandatory in future versions
The number of the ledger to return payments from.
Filter for payments that were taken for a particular reason.
The schedules that describe how we would expect to take payments for an account on a given month.
Arguments
Please use 'includeDormant' instead.
- Marked as deprecated on 2023-12-06.
- Scheduled for removal on or after 2024-12-06.
If false, we remove the currently valid schedule if it has already fulfilled its purpose and will have no further impact on customer payments, along with any schedules which are not valid from today.
The ledger id to return the payment schedules from.
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.
The ledger number to return the payment schedules from.
The ledger to return transactions from.
The portfolio this account is linked to.
The language that the account preferred for communications.
Expected balance in a year's time.
Properties linked to the account now and in the future.
Arguments
Returns properties that have an effective period that ends at or after the given activeFrom datetime.
Top up payment amount in pence that we recommend for an account.
Account references linked to this account.
The referrals created by this account.
Arguments
Only return referrals with the specified status. Return all referrals by default.
Number of referrals created by this account.
Refund approval data from the Bulk Refund Allocation Query (BRAQ) API. Provides maximum refund amount and any issues. Raises errors if functionality is not configured or data unavailable.
The reminders associated with an account.
The repayments that have been requested for this account.
Arguments
Only return repayments whose status matches one of these statuses.
Details about the eligibility status for requesting a refund.
Arguments
The ledger number to check refund eligibility.
The rewards applied to this account.
Whether the account's payment should be adjusted.
The interest of an account in procuring smart meters.
The reason why the account holder is not interested in having a smart meter installed.
List of billing address lines.
The current status of the account.
Only relevant for Kraken instances that support daily tracker tariffs. Returns null if not applicable.
Fetch transactions that have taken place on the account.
Arguments
Optional date representing the beginning of the postedDate range filter. This date value is inclusive.
In a multi-ledger scenario, include all ledgers' transactions if true. Analogously, if false and no ledgerId or ledger_number argument is present, the list of transactions defaults to the main ledger (legacy behaviour).
The ledger to return transactions from.
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.
The number of the ledger to return transactions from.
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.
Exclude these specific transaction types from the result.
Unique reference number from a 3rd party enrolment.
Get details about warm home discount applications and records.
Example
{
"accountType": "BUSINESS",
"activeHardshipAgreements": [HardshipAgreementType],
"activeReferralSchemes": ReferralSchemeTypes,
"address": RichAddressType,
"annualStatements": AnnualStatementConnectionTypeConnection,
"applications": AccountApplicationConnectionTypeConnection,
"assistanceAgreements": [AssistanceAgreementType],
"balance": 29,
"bill": BillInterface,
"billingAddress": "none-trade-continue-in-road",
"billingAddressLine1": "anyone-between-nation-entire-blood",
"billingAddressLine2": "energy-place-money-bad-authority",
"billingAddressLine3": "sure-poor-community-technology-against",
"billingAddressLine4": "happy-summer-report-exist-through",
"billingAddressLine5": "our-tend-throughout-international-put",
"billingAddressPostcode": "name-war-sometimes-rise-sport",
"billingCountryCode": "your-either-cut-section-show",
"billingDeliveryPointIdentifier": "79026002",
"billingEmail": "then-baby-past-member-official",
"billingName": "international-goal-write-according-whether",
"billingOptions": BillingOptionsType,
"billingPostcode": "receive-politics-must-state-mention",
"billingSubName": "yes-firm-since-population-year",
"billingTriggerConfiguration": BillingTriggerConfiguration,
"bills": BillConnectionTypeConnection,
"brand": "executive-in-vote-unit-military",
"business": BusinessType,
"campaigns": [AccountCampaignType],
"canBeWithdrawn": true,
"canChangePayments": true,
"canInputMeterReadingsViaIvr": true,
"canModifyPayments": CanModifyPaymentsType,
"canRenewTariff": true,
"canRequestRefund": true,
"commsDeliveryPreference": "EMAIL",
"complaints": ComplaintConnectionTypeConnection,
"consents": [ConsentType],
"contributionAgreements": [ContributionAgreementType],
"cotReadingWindowDays": 78,
"createdAt": "2005-08-24T03:09:16.127010+00:00",
"currentEstimatedSsd": "1987-06-01",
"customerAssets": [CustomerAssetType],
"debtCollectionProceedings": [DebtCollectionProceedingType],
"directDebitInstructions": DirectDebitInstructionConnectionTypeConnection,
"documentAccessibility": "LARGE_PRINT",
"earliestPossibleSsd": "1987-01-31",
"electricityAgreements": [ElectricityAgreementType],
"eligibilityForWarmHomeDiscount": WarmHomeDiscountEligibility,
"events": AccountEventConnectionTypeConnection,
"fileAttachments": [AccountFileAttachment],
"gasAgreements": [GasAgreementType],
"greenAccomplishments": GreenAccomplishmentsType,
"hasActiveCollectionsProceedings": true,
"hasActiveDunningProcess": true,
"id": "77956764",
"isInBlockingMigration": true,
"isInHardship": true,
"latestPossibleSsd": "1995-02-18",
"ledgers": [LedgerType],
"marketSupplyAgreements": AgreementConnection,
"maximumRefund": MaximumRefundType,
"metadata": [Metadata],
"notes": [AccountNoteType],
"number": "cell-significant-window-education-act",
"operationsTeam": OperationsTeamType,
"overdueBalance": 55,
"paginatedFileAttachments": AccountFileAttachmentConnectionTypeConnection,
"paginatedPaymentForecast": PaymentForecastConnectionTypeConnection,
"paymentAdequacy": PaymentAdequacyType,
"paymentMethods": PaymentInstructionConnectionTypeConnection,
"paymentPlans": PaymentPlanConnectionTypeConnection,
"payments": AccountPaymentConnectionTypeConnection,
"paymentSchedules": PaymentScheduleConnectionTypeConnection,
"portfolio": PortfolioType,
"preferredLanguageForComms": "save-not-happy-I-view",
"projectedBalance": 97,
"properties": [PropertyType],
"provisionalTransactions": ProvisionalTransactionConnectionTypeConnection,
"recommendedBalanceAdjustment": 86,
"references": [AccountReferenceType],
"referrals": ReferralConnectionTypeConnection,
"referralsCreated": 3,
"refundApproval": RefundApprovalType,
"reminders": AccountReminderConnectionTypeConnection,
"repayments": AccountRepaymentConnectionTypeConnection,
"requestRefundEligibility": RequestRefundEligibilityType,
"rewards": [RewardType],
"shouldReviewPayments": true,
"smets2Interest": "PRIORITY",
"smets2RefusalReason": "SMETS2_INTEREST_REASON_DO_NOT_OWN_HOME",
"splitBillingAddress": "together-understand-suffer-himself-less",
"status": "PENDING",
"trackerTariffDailyPricing": TrackerTariffDailyPricing,
"transactions": TransactionConnectionTypeConnection,
"urn": "somebody-head-see-loss-from",
"users": [AccountUserType],
"warmHomeDiscount": WarmHomeDiscount
}