Get the trial balance of a company
Changed on⚠️ This endpoint is deprecated. Use Get the trial balance from the Company API v2 instead. Your firm token can call it for any company of your firm through the X-Company-Id header. Learn how to use your firm token with the Company API v2.
This endpoint returns the trial balance of the company for the given period.
ℹ️ This endpoint requires the following scope: trial_balance:readonly
Request
- Base URLhttps://app.pennylane.com
- URLhttps://app.pennylane.com/api/external/firm/v1/companies/{company_id}/trial_balance
- AuthOAuth 2Authorization code: https://app.pennylane.com/oauth/authorizeToken URL: https://app.pennylane.com/oauth/oauth/token scopes: trial_balance:readonly
Path parameters
Existing company identifier (id)
Query parameters
The start of the period you want the trial balance for.
The end of the period you want the trial balance for.
Whether to include auxiliary accounts or not.
Items are paginated, this is the current page which will be returned. The page index is starting at 1.
Items are paginated. By default, you get 500 items per page. You can specify another number of items per page.
Response
Returns a list of balances grouped by ledger account.
Example response
{
"items": [
{
"number": "512",
"label": "Capital souscrit - appelé, versé",
"debits": "45353.95",
"credits": "2343.05",
"formatted_number": "51200000"
}
],
"total_pages": 5,
"current_page": 1,
"total_items": 12,
"per_page": 40
}Changes
- info
endpoint deprecated
- info