latestOpenAPI 3.0.02026-08-10233809957.8 KB
5cdfae3fa1fa
Reports
API to retrieve formatted balance sheets report
get/reports/balanceSheets
Query parameters
businessNamestring required
Unique business name identifier.
serviceName'freshbooks' | 'quickbooks' | 'quickbooksDesktop' | 'xero' | 'oracleNetsuite' | 'sageBusinessCloud' | 'sageIntacct' | 'dynamicsBusinessCentral' | 'zohoBooks' | 'byod' required
Name of accounting service provider, reuse currently available enum used in the feeder
startDatestring required
The start date of the report frequency in the format: yyyy-MM-dd.
endDatestring required
The end date of the report frequency in the format: yyyy-MM-dd.
reportFrequency'month' | 'quarter' | 'year' required
The report snapshot frequency.
accountingMethod'cash' | 'accrual'
Response
Successfully returned balance sheets
Example response
{
"meta": {
"reportId": [
"5fad8a342a88364234392fb5"
],
"serviceName": "xero",
"businessName": "Railz",
"endDate": "2020-12-25T01:02:03Z",
"startDate": "2020-11-25T01:02:03Z",
"reportFrequency": "month",
"currency": [
"USD"
]
},
"data": [
{
"period": {
"year": 2020,
"month": 8,
"quarter": 3,
"day": 31,
"date": "2020-08-31T00:00:00.000Z"
},
"currentAssets": 345,
"nonCurrentAssets": 345,
"currentLiabilities": 345,
"nonCurrentLiabilities": 345,
"equity": 345
}
]
}