listJournalLines
listJournalLinesRetrieve paginated journal lines with debit and credit entries, filtered by customer, contract, account, currency, or posted date for accounting review.
Instructions
Retrieve a paginated list of journal lines (individual debit/credit entries) across all journal entries. Supports filtering by customer, contract, account, currency, and parent journal entry posted date. Debits and credits are in cents.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "listJournalLines"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of journal lines to return per page. | |
| order | No | Sort order. Prefix with '-' for descending. Defaults to '-created_at'. | |
| cursor | No | Cursor for pagination. | |
| currency | No | Three-letter ISO currency code (e.g. 'USD'). | |
| account_id | No | Filter by GL account UUID. | |
| invoice_id | No | Filter by invoice UUID. | |
| contract_id | No | Filter by billing contract UUID. | |
| customer_id | No | Filter by customer UUID. | |
| search_query | No | Search query to filter journal lines. | |
| __userContext | No | Internal user context for multi-tenant authentication and approval workflow | |
| journal_entry_id | No | Filter by parent journal entry UUID. | |
| revenue_contract_id | No | Filter by revenue recognition contract UUID (distinct from billing contract_id). | |
| performance_obligation_id | No | Filter by performance obligation UUID. | |
| journal_entry__posted_at__gte | No | Parent entry posted-at lower bound (inclusive). YYYY-MM-DD or ISO datetime. | |
| journal_entry__posted_at__lte | No | Parent entry posted-at upper bound (inclusive). |