Transactions
Record and manage financial transactions with the Open Ledger API.
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)RECONCILED
: Transaction has been manually reconciledPOSTED
: Transaction has been permanently posted to the ledgerREVERSED
: Transaction has been reversedEXPIRED
: Transaction has expired (e.g., a pending transaction that wasn’t completed)
Create a Transaction
Create a new transaction for an entity.
Headers
Request Body
Response
List Transactions
Retrieve a list of transactions for an entity with optional filters.
Headers
Query Parameters
Response
Get Transactions By Month
Retrieve transactions organized by month.
Headers
Query Parameters
Response
Update a Transaction
Update an existing transaction.
Headers
Request Body
Fields are optional for updates. Only include the fields you want to update. You must include the transaction ID to identify which transaction to update.
Response
Delete a Transaction
Delete an existing transaction.
Headers
Query Parameters
Response
A successful request returns a 204 No Content
response with no body.
Deleting a transaction will permanently remove it from your ledger. This action cannot be undone. Consider using the transaction status (e.g., REVERSED) instead of deletion for proper accounting audit trails.
Approve a Transaction
Approve a pending transaction.
Headers
Request Body
Response
Categorize a Transaction
Assign category information to a transaction.
Headers
Request Body
Response
Search Transactions
Search for transactions using advanced criteria.
Headers
Request Body
Response
Transaction Chat
Get AI-assisted answers to questions about transactions.
Headers
Query Parameters
Response
Suggest Transaction Categories
Get AI-powered suggestions for transaction categorization.
Path Parameters
Request Body
Response
Error Codes
Next Steps
Now that you understand how to manage transactions, you can explore related API resources: