Skip to main content
GET
Get the trial balance
Live capability. Melso runs this in production today. Partner keys reach it once your partner account is enabled. See Availability.

Authorizations

Authorization
string
header
required

Your partner secret key, mk_live_… for real companies or mk_test_… for test companies. Keep it on your servers. See Authentication.

Path Parameters

company_id
string<uuid>
required

The company's ID. Every company-scoped call works in exactly this company.

Query Parameters

year
integer
required
Required range: 2000 <= x <= 2100
to
string<date>
digits
integer

Group accounts by this many digits. Defaults to 4.

Required range: 0 <= x <= 12
prefix
string

Only accounts starting with these digits, in full.

Response

The trial balance.

year
integer
from
string<date>
to
string<date>
accounts
object[]
debit
string

An amount in euros as a decimal string with two decimals, such as "121.00".

Pattern: ^-?[0-9]+\.[0-9]{2}$
Example:

"121.00"

credit
string

An amount in euros as a decimal string with two decimals, such as "121.00".

Pattern: ^-?[0-9]+\.[0-9]{2}$
Example:

"121.00"