API Overview
Authentication
Journal Entry
Ledger
Reports
Retrieve a Journal Entry
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>",
"datetime": "2023-11-07T05:31:56Z",
"needs_review": true,
"is_reconciled": true,
"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
The ID of the Business that is associated with the Journal Entry
"biz_Pk2fNFDd8wj7EFeLWJywc7"
512
The ID of the Journal Entry
"je_R2fAXCjqJPdpYata112zyW"
The ID of the associated Transaction if the Journal Entry was created from a Transaction
"txn_WQMDNUHpBThYSNh4AprDBo"
The Line Entries for this Journal Entry
The ID of the Ledger associated with the Line Entry
"ldg_Ns6rRRLYVZPh4cVB7MDby5"
The line entry description
512
Indicates whether this a debit or credit line
The line amount in decimal dollar cents, and it most always be positive
The ID of the Line Entry
"le_GA6EG2qFxA97NZHtxeLPUy"
The ID of the parent Journal Entry
"je_R2fAXCjqJPdpYata112zyW"
The ID of the associated Transaction if the Line Entry was created from a Transaction
"txn_WQMDNUHpBThYSNh4AprDBo"
The method used to categorize the Journal Entry
transfer
, similarity
, ai
, uncategorized
, manual
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>",
"datetime": "2023-11-07T05:31:56Z",
"needs_review": true,
"is_reconciled": true,
"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"
}
}