Search line items

Retrieve individual journal entry line items (debits and credits) matching the given filters, most recent first.

Required permission: Full Read Accounting

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
int32
≥ 1

The id of a journal entry. Returns only that entry's line items.

string

Comma-delimited list of account type ids or codes (coa_type_asset, coa_type_liability, coa_type_equity, coa_type_income, coa_type_expense).

string

Comma-delimited list of journal entry type ids: 1 = Manual, 2 = Fund Transfer, 3 = Register Entry, 4 = Starting Balance, 5 = Bill Payment, 6 = Payable, 7 = Batch Posting, 8 = Transfer, 9 = Credit Memo, 10 = Write-Off, 11 = Closing Entry.

date-time

Return line items dated on or after this date.

date-time

Return line items dated on or before this date.

string

Comma-delimited list of account ids. Returns line items posted to one of those accounts.

string

Comma-delimited list of fund ids. Returns line items in one of those funds.

string

Comma-delimited list of accounting tag ids. Returns line items carrying one of those tags.

string

Comma-delimited list of status ids or codes (je_status_draft, je_status_posted, je_status_voided).

string

Return line items whose description contains the given text.

double

Return line items with a debit of at least this amount.

double

Return line items with a debit of at most this amount.

double

Return line items with a credit of at least this amount.

double

Return line items with a credit of at most this amount.

string

Return line items whose payee's name contains the given text.

string

Return line items created by users whose name contains the given text.

int32
≥ 0

The number of records to skip before returning results, used for paging.

int32
≥ 0

The maximum number of records to return per page. Defaults to 50.

string

The field to sort the results by. The default field depends on the endpoint.

string
enum

The sort direction: "asc" or "desc".

Allowed:
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

401

Authentication is required, or the Ocs-Api-Key header is missing or invalid.

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json