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": "Walmart purchase",
"line_entries": [
{
"ledger_id": "<string>",
"description": "<string>",
"debit_credit": "debit",
"amount": 123,
"id": "<string>",
"journal_entry_id": "<string>",
"transaction_id": "txn_WQMDNUHpBThYSNh4AprDBo"
}
]
}
],
"pagination": {
"next_page_token": "<string>",
"previous_page_token": "<string>"
},
"ledger_id": "<string>"
}
}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": "Walmart purchase",
"line_entries": [
{
"ledger_id": "<string>",
"description": "<string>",
"debit_credit": "debit",
"amount": 123,
"id": "<string>",
"journal_entry_id": "<string>",
"transaction_id": "txn_WQMDNUHpBThYSNh4AprDBo"
}
]
}
],
"pagination": {
"next_page_token": "<string>",
"previous_page_token": "<string>"
},
"ledger_id": "<string>"
}
}The access token received from the authorization server in the OAuth 2.0 flow.
The ID of the Business
The ID of the Ledger
The start date (inclusive) in ISO-8601 format.
The end date (inclusive) in ISO-8601 format.
1 <= x <= 100Successful Response
Show child attributes
Show child attributes
The ID of the Journal Entry
The ID of the Business that is associated with the Journal Entry
The ID of the associated Transaction if the Journal Entry was created from a Transaction
"txn_WQMDNUHpBThYSNh4AprDBo"
The datetime for the journal entry
The original description of the Journal Entry
A more human-readable version of the description
"Walmart purchase"
The Line Entries for this Journal Entry
Show child attributes
The ID of the Ledger associated with the Line Entry
The line entry description
512Indicates whether this a debit or credit line
debit, credit The line amount in decimal dollar cents, and it most always be positive
The ID of the Line Entry
The ID of the parent Journal Entry
The ID of the associated Transaction if the Line Entry was created from a Transaction
"txn_WQMDNUHpBThYSNh4AprDBo"
The Ledger id