Skip to main content
GET
Get the profit and loss account
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

from
string<date>
required
to
string<date>
required
compare_from
string<date>
compare_to
string<date>

Response

The account.

from
string<date>
to
string<date>
result
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"

compare_result
string | null
lines
object[]