Transactions
The transactions endpoints allow you to create, retrieve, update, and manage financial transactions for your entities. Transactions represent the core financial activity in your Open Ledger account.
Transaction Objects
A transaction in Open Ledger represents a financial event that affects two ledger accounts through debits and credits. Each transaction consists of:
Transaction Status
Transactions can have the following statuses:
PENDING
: Initial state, transaction is recorded but not finalizedCLEARED
: Transaction has been cleared (e.g., by a bank)POSTED
: Transaction has been permanently posted to the ledger
Get Transactions
Retrieve transactions for an entity with cursor-based pagination.
Query Parameters
Response
Create a Transaction
Create a new transaction for an entity.
Query Parameters
Request Body
Response
Edit a Transaction
Edit an existing transaction by updating its accounts and/or description.
Request Body
Response
Approve Transactions
Approve one or multiple transactions by posting them to the ledger.
Query Parameters
Request Body
The request body can be one of the following formats:
Single transaction ID as string:
Array of transaction IDs:
Array of transaction objects:
Single transaction object:
Response
Delete a Transaction
Delete an existing transaction.
Query Parameters
Response
Get Transactions by Month
Retrieve transactions organized by month.
Query Parameters
Response
Categorize a Transaction
Assign a category to a transaction.
Query Parameters
Request Body
Response
Search Transactions
Search for transactions using advanced criteria.
Query Parameters
Request Body
Filters object:
Response
Transaction Chat
Get AI-assisted answers to questions about transactions.
Query Parameters
Response
Get Entity Counterparties
Get all counterparties for an entity with their transaction history.
Query Parameters
Response
Error Codes
Next Steps
Now that you understand how to manage transactions, you can explore related API resources: