API Overview
Authentication
Journal Entry
Ledger
Reports
Transaction
Journal Entry
Retrieve a Journal Entry
GET
/
v0
/
business
/
{business_id}
/
journal-entries
/
{journal_entry_id}
curl --request GET \
--url https://api.sandbox.getasset.com/v0/business/{business_id}/journal-entries/{journal_entry_id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"business_id": "biz_Pk2fNFDd8wj7EFeLWJywc7",
"description": "<string>",
"clean_description": "<string>",
"datetime": "2023-11-07T05:31:56Z",
"needs_review": true,
"is_reconciled": true,
"review_status": "bookkeeper_pending",
"id": "je_R2fAXCjqJPdpYata112zyW",
"transaction_id": "txn_WQMDNUHpBThYSNh4AprDBo",
"line_entries": [
{
"ledger_id": "ldg_Ns6rRRLYVZPh4cVB7MDby5",
"description": "<string>",
"debit_credit": "<string>",
"amount": 123,
"id": "le_GA6EG2qFxA97NZHtxeLPUy",
"journal_entry_id": "je_R2fAXCjqJPdpYata112zyW",
"transaction_id": "txn_WQMDNUHpBThYSNh4AprDBo"
}
],
"categorization_method": "transfer"
}
}
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Response
200
application/json
Successful Response
The response is of type object
.
curl --request GET \
--url https://api.sandbox.getasset.com/v0/business/{business_id}/journal-entries/{journal_entry_id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"business_id": "biz_Pk2fNFDd8wj7EFeLWJywc7",
"description": "<string>",
"clean_description": "<string>",
"datetime": "2023-11-07T05:31:56Z",
"needs_review": true,
"is_reconciled": true,
"review_status": "bookkeeper_pending",
"id": "je_R2fAXCjqJPdpYata112zyW",
"transaction_id": "txn_WQMDNUHpBThYSNh4AprDBo",
"line_entries": [
{
"ledger_id": "ldg_Ns6rRRLYVZPh4cVB7MDby5",
"description": "<string>",
"debit_credit": "<string>",
"amount": 123,
"id": "le_GA6EG2qFxA97NZHtxeLPUy",
"journal_entry_id": "je_R2fAXCjqJPdpYata112zyW",
"transaction_id": "txn_WQMDNUHpBThYSNh4AprDBo"
}
],
"categorization_method": "transfer"
}
}
Assistant
Responses are generated using AI and may contain mistakes.