GET
List unmatched account lines (organization)
Organization space Accounting module For: Accountant · Permission: journal_entries.list Conditions
  • The permission needed is the one for listing journal entries.
  • The book is the one selected for the request: the {book} segment in the organization space, or the client account’s own books in the client space.
  • The accounting module must be included in the plan of the organization.
  • The book must be set up for accounting (it must have at least one journal).
  • The account must belong to the selected book.
  • to, when sent, must not be before from.
  • direction, when sent, is debit or credit; sort_by accepts only accounting_date.
Part of Match open items.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

account
string
required

Identifier of the book when first in the path (organization space), then identifier of the third-party account whose open items are listed.

Query Parameters

per_page
integer | null

Number of items per page.

Required range: 1 <= x <= 100
cursor
string | null

Position in the list. Pass the meta.next_cursor or meta.prev_cursor value of the previous page; leave it out to get the first page.

sort_by
enum<string> | null

Field the list is sorted by.

Available options:
accounting_date
sort_order
enum<string> | null

asc for ascending order, desc for descending order.

Available options:
asc,
desc
from
string<date-time> | null

Earliest accounting date to include, ISO 8601 date (YYYY-MM-DD). Optional.

to
string<date-time> | null

Latest accounting date to include, ISO 8601 date. Optional; must not be before from.

direction
enum<string> | null

Optional filter on the side of the line: debit or credit.

Available options:
debit,
credit

Response

account
object
required

Third-party account whose open items are listed.

lines
object
required

Page of unmatched journal lines with its cursor metadata.