Headers
Value must be 'Bearer <token>' where <token> is an API key prefixed with 'bc_' or a JWT token.
Example:
"Bearer bc_1234567890abcdef"
Required if Authorization is a JWT token. The organization ID to operate within.
Query Parameters
Accounting basis for the report (e.g., cash, accrual)
Example:
"accrual"
Number of decimal places to display
Example:
2
Whether to divide the number by 1000
Example:
false
Whether to show zero values
Example:
true
How to format money values
Available options:
total
, always
, none
Example:
"total"
How to format negative numbers
Available options:
parentheses
, mines
Example:
"parentheses"
Whether to exclude transactions from the report
Example:
false
Array of account IDs to filter the report
Example:
[1, 2, 3]
Response
General ledger report
The response is of type any
.