GET
List section entry lines (organization)
Organization space Accounting module For: Accountant · Permission: journal_entries.viewreports Conditions
  • The accounting module must be included in the plan of the organization.
  • The caller must have been granted access to the book named in the path.
  • The section must belong to the book.
  • fiscal_year_id and fiscal_period_id, when sent, must belong to this book.
  • to must not be before from.
  • The period is taken from fiscal_period_id first, then fiscal_year_id, then from/to; when none is sent the fiscal year covering today is used, and the call is refused when no fiscal year covers today.
  • per_page must be between 1 and 100.
  • When the period has an end date, a fiscal year of the book must cover that date to read the currency; otherwise the call answers not found. With only a start date, the latest fiscal year of the book is used.
Part of Allocate lines and read analytic reports.

Authorizations

Authorization
string
header
required

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

Path Parameters

analyticSection
string
required

Identifier of the book (27-character KSUID string): the organization itself or one of its companies. The generated name is misleading; this segment is the book, not the line or section.

analytic_section
string
required

Identifier of the analytic section (27-character KSUID string) whose lines are listed.

Response

book
object
required

The book the report was computed for.

section
object
required

The analytic section whose lines are listed.

from
string<date> | null
required

Start of the period covered, as a date (YYYY-MM-DD). Null when the range was given with only a to date.

to
string<date> | null
required

End of the period covered, as a date (YYYY-MM-DD). Null when the range was given with only a from date.

lines
object
required

A cursor page of the allocations on this section within the period, ordered by accounting date then allocation id.

currency_code
string
required

ISO currency code of the fiscal year covering the end of the period (the latest fiscal year of the book when the period has no end date); all amounts are in this currency.

currency_exponent
integer
required

Number of decimal places of the currency (0 for XOF). An amount in minor units divided by 10 to this power gives the amount in the currency.