Reports
Various standard accounting reports are available, including balance sheet, income statement, and sales tax reports. The following reports methods are available:
Balance Sheet
GET https://secure.ledgerble.com/api/1.0/reports/balance_sheet
Returns a balance sheet in the following format:
{
"balance_sheet": {
"assets": [
{
"id": 243,
"url": "https://secure.ledgerble.com/api/1.0/accounts/243",
"name": "Checking Account",
"balance": "12635.83"
},
{
"id": 247,
"url": "https://secure.ledgerble.com/api/1.0/accounts/247",
"name": "Accounts Receivable",
"balance": "500.00"
}
],
"assets_total": "13135.83",
"liabilities": [
{
"id": 252,
"url": "https://secure.ledgerble.com/api/1.0/accounts/252",
"name": "Amex Platinum",
"balance": "700.00"
}
],
"liabilities_total": "700.00",
"equity": "12435.83"
}
}
The following options are available:
| Variable | Required? | Description |
|---|---|---|
| date | No | The last day of transactions the report includes. Format YYYY-MM-DD. |
Income Statement
GET https://secure.ledgerble.com/api/1.0/reports/income_statement
Returns an income statement in the following format:
{
"income_statement": {
"income": [
{
"id": 534,
"url": "https://secure.ledgerble.com/api/1.0/accounts/534",
"name": "Programming",
"balance": "50000.00"
}
],
"income_total": "50000.00",
"expenses": [
{
"id": 535,
"url": "https://secure.ledgerble.com/api/1.0/accounts/535",
"name": "Rent",
"balance": "15000.00"
}
],
"expenses_total": "15000.00",
"profit": "35000.00"
}
}
The following options are available:
| Variable | Required? | Description |
|---|---|---|
| start_date | Yes | The first day of data to include. Format YYYY-MM-DD. |
| end_date | Yes | The last day of data to include. Format YYYY-MM-DD. |
Sales Tax Report
GET https://secure.ledgerble.com/api/1.0/reports/sales_taxes/{SALES_TAX_ID}
Returns a sales tax report in the following format:
{
"sales_tax": {
"collected": "500.00",
"paid": "200.00",
"balance": "300.00"
}
}
The following options are avaiable:
| Variable | Required? | Description |
|---|---|---|
| start_date | Yes | The first day of data to include. Format YYYY-MM-DD. |
| end_date | Yes | The last day of data to include. Format YYYY-MM-DD. |
