Trial balance

Read trial balance summary lines for a date range or opening balances.

   
SDK service client.TrialBalance (TrialBalanceService)
FreeAgent docs dev.freeagent.com/docs/trial_balance
Sample app /trial-balance

Methods

ListSummaryAsync

Task<IReadOnlyList<TrialBalanceLine>> ListSummaryAsync(
    DateOnly? fromDate = null,
    DateOnly? toDate = null,
    CancellationToken cancellationToken = default)

HTTP: GET /v2/accounting/trial_balance/summary

Optional query parameters: from_date, to_date (YYYY-MM-DD). When omitted, FreeAgent returns the summary for the current date.

ListOpeningBalancesAsync

Task<IReadOnlyList<TrialBalanceLine>> ListOpeningBalancesAsync(CancellationToken cancellationToken = default)

HTTP: GET /v2/accounting/trial_balance/summary/opening_balances

Models

TrialBalanceLine includes category links (Category, CategoryNominalCode), nominal_code, display_nominal_code, name, total, and optional bank_account / user links.


Copyright © Mark Heydon. Distributed under the MIT licence.

This site uses Just the Docs, a documentation theme for Jekyll.