Skip to main content
GET
/
v0
/
business
/
{business_id}
/
reports
/
ledger-statement
/
{ledger_id}
Retrieve the Ledger Statement Report
curl --request GET \
  --url https://api.sandbox.getasset.com/v0/business/{business_id}/reports/ledger-statement/{ledger_id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "start_datetime": "2023-11-07T05:31:56Z",
    "end_datetime": "2023-11-07T05:31:56Z",
    "balances": {
      "all_time_balance": 123,
      "range_balance": 123
    },
    "entries": [
      {
        "id": "<string>",
        "business_id": "<string>",
        "transaction_id": "txn_WQMDNUHpBThYSNh4AprDBo",
        "datetime": "2023-11-07T05:31:56Z",
        "description": "<string>",
        "clean_description": "HomeDepot purchase",
        "line_entries": [
          {
            "ledger_id": "<string>",
            "description": "<string>",
            "debit_credit": "debit",
            "amount": 123,
            "id": "<string>",
            "journal_entry_id": "<string>",
            "transaction_id": "txn_WQMDNUHpBThYSNh4AprDBo",
            "tag_value_ids": [
              "<string>"
            ]
          }
        ]
      }
    ],
    "pagination": {
      "next_page_token": "<string>",
      "previous_page_token": "<string>"
    },
    "ledger_id": "ldg_WQMDNUHpBThYSNh4AprDBo"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.getasset.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

business_id
string<biz_string>
required

The ID of the Business

Example:

"biz_GA6EG2qFxA97NZHtxeLPUy"

ledger_id
string<ldg_string>
required

The ID of the Ledger

Example:

"ldg_WQMDNUHpBThYSNh4AprDBo"

Query Parameters

start_datetime
string<date-time>
required

The start date (inclusive) in ISO-8601 format.

Example:

"2025-01-01T00:00:00Z"

end_datetime
string<date-time>
required

The end date (inclusive) in ISO-8601 format.

Example:

"2026-01-01T00:00:00Z"

page_token
string | null

The page token to for the next or previous page

page_size
integer
default:100
Required range: 1 <= x <= 100

Response

Successful Response

data
LedgerStatementDetails · object
required