Live webinar What's new in Sodium: Information Requests, plus Q&A. Thu 19 Nov, 12 noon Information Requests + Q&A, Thu 19 Nov Reserve your place

List Books Report Periods

GET /tenants/{tenant}/clients/{clientCode}/books/report-periods

Lists every period the profit and loss and the trial balance can be run over, each with the dates it stands for today: the client's own financial years first (each with 'financialPeriod' set), then every PresetDateRange except CustomDateRange (each with 'dateRange' set). Pass the one that is set back to the report to run it over those dates. Worked out without calling the client's accounting software.

Requires: ViewAll on ClientBooks.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

clientCode* path string

Responses

200 OK
401 Unauthorized – Invalid or missing API key
403 Forbidden – the caller lacks the permissions this endpoint requires; the detail lists every one missing
application/problem+json
404 Not Found

Try it