Get a Transaction by ID
curl --request GET \
--url https://api.bookeeping.ai/public-api/v1/transactions/{id} \
--header 'Authorization: Bearer <token>'{
"message": "<string>",
"metaData": {
"warnings": [
"<string>"
]
},
"data": {
"_id": "<string>",
"projectId": "<string>",
"currency": "<string>",
"totalAmount": 123,
"transactionDate": "2023-11-07T05:31:56Z",
"paymentMethod": {},
"source": {},
"isReconciled": true,
"nonProfitAllocations": [
{
"percentage": 123,
"program": {
"_id": "<string>",
"name": "<string>",
"status": "PLANNING",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"hexColor": "<string>"
},
"grant": {
"_id": "<string>",
"name": "<string>",
"status": "ACTIVE",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"hexColor": "<string>",
"funder": {
"_id": "<string>",
"accountName": "<string>",
"accountNumber": "<string>",
"email": "jsmith@example.com",
"phone": "<string>",
"type": "customer"
}
},
"note": "<string>"
}
],
"entries": [
{
"id": "<string>",
"amount": 123,
"type": "DEBIT",
"parentCategory": "INCOME",
"category": {
"_id": "<string>",
"name": "<string>",
"emoji": "<string>",
"parentCategory": "INCOME",
"number": "<string>",
"group": "<string>"
},
"isMain": true,
"note": "<string>"
}
],
"classes": [
{
"_id": "<string>",
"name": "<string>",
"description": "<string>",
"emoji": "<string>",
"color": "<string>"
}
],
"attachmentsIds": [
"<string>"
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"refNo": "<string>",
"originalAmount": 123,
"originalCurrency": "<string>",
"counterParty": {
"_id": "<string>",
"accountName": "<string>",
"accountNumber": "<string>",
"email": "jsmith@example.com",
"phone": "<string>",
"type": "customer"
},
"account": {
"_id": "<string>",
"accountType": "Depository",
"accountName": "<string>",
"accountNumber": "<string>"
},
"nonProfitGrantId": "<string>",
"attachedTransactionId": "<string>"
}
}API key for authentication. Get your key from the Dashboard > Settings > API Access.
The id of the transaction. Expected to be a valid object id like 666666666666666666666666
Get a Transaction by ID executed successfully
Success message
Show child attributes
The id of the transaction
The project id of the transaction
The currency of the transaction
The total amount of the transaction. Same as the sum of the Total Credit = Total Debit.
The transaction date of the transaction
The payment method of the transaction
The source of the transaction
The reconciliation status of the transaction
The non profit allocations of the transaction
Show child attributes
The percentage of the non profit allocation
Show child attributes
The id of the program
The name of the program
The status of the program
PLANNING, ACTIVE, COMPLETED, CANCELLED The created at of the program
The updated at of the program
Show child attributes
The id of the grant
The name of the grant
The status of the grant
ACTIVE, COMPLETED, CANCELLED The created at of the grant
The updated at of the grant
Show child attributes
The id of the counterparty
customer, vendor, both The entries of the transaction
Show child attributes
The id of the entry
The amount of the entry
The type of the entry
DEBIT, CREDIT INCOME, OTHER_INCOME, SALES, EXPENSE, DEPRECIATION, COST_OF_GOODS_SOLD, OTHER_EXPENSE, OVERHEAD, CURRENT_ASSET, FIXED_ASSET, INVENTORY, NON_CURRENT_ASSET, PREPAYMENT, LIABILITY, CURRENT_LIABILITY, NON_CURRENT_LIABILITY, TAX_PAYABLE, TAX, EQUITY, OTHER Show child attributes
The id of the category
The name of the category
INCOME, OTHER_INCOME, SALES, EXPENSE, DEPRECIATION, COST_OF_GOODS_SOLD, OTHER_EXPENSE, OVERHEAD, CURRENT_ASSET, FIXED_ASSET, INVENTORY, NON_CURRENT_ASSET, PREPAYMENT, LIABILITY, CURRENT_LIABILITY, NON_CURRENT_LIABILITY, TAX_PAYABLE, TAX, EQUITY, OTHER The attachments ids of the transaction
The created at of the transaction
The updated at of the transaction
Show child attributes
The id of the counterparty
customer, vendor, both curl --request GET \
--url https://api.bookeeping.ai/public-api/v1/transactions/{id} \
--header 'Authorization: Bearer <token>'{
"message": "<string>",
"metaData": {
"warnings": [
"<string>"
]
},
"data": {
"_id": "<string>",
"projectId": "<string>",
"currency": "<string>",
"totalAmount": 123,
"transactionDate": "2023-11-07T05:31:56Z",
"paymentMethod": {},
"source": {},
"isReconciled": true,
"nonProfitAllocations": [
{
"percentage": 123,
"program": {
"_id": "<string>",
"name": "<string>",
"status": "PLANNING",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"hexColor": "<string>"
},
"grant": {
"_id": "<string>",
"name": "<string>",
"status": "ACTIVE",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"hexColor": "<string>",
"funder": {
"_id": "<string>",
"accountName": "<string>",
"accountNumber": "<string>",
"email": "jsmith@example.com",
"phone": "<string>",
"type": "customer"
}
},
"note": "<string>"
}
],
"entries": [
{
"id": "<string>",
"amount": 123,
"type": "DEBIT",
"parentCategory": "INCOME",
"category": {
"_id": "<string>",
"name": "<string>",
"emoji": "<string>",
"parentCategory": "INCOME",
"number": "<string>",
"group": "<string>"
},
"isMain": true,
"note": "<string>"
}
],
"classes": [
{
"_id": "<string>",
"name": "<string>",
"description": "<string>",
"emoji": "<string>",
"color": "<string>"
}
],
"attachmentsIds": [
"<string>"
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"refNo": "<string>",
"originalAmount": 123,
"originalCurrency": "<string>",
"counterParty": {
"_id": "<string>",
"accountName": "<string>",
"accountNumber": "<string>",
"email": "jsmith@example.com",
"phone": "<string>",
"type": "customer"
},
"account": {
"_id": "<string>",
"accountType": "Depository",
"accountName": "<string>",
"accountNumber": "<string>"
},
"nonProfitGrantId": "<string>",
"attachedTransactionId": "<string>"
}
}