Skip to main content
GET
Download a payroll file
Beta. Melso does not serve this operation yet, and its fields can still change. See what is live.
scope picks what the file is about and kind the file. Several PDFs come as a zip.

Authorizations

Authorization
string
header
required

A company API key, mk_live_…, that the company's owner creates in the Melso app under Settings, Connect your AI, API keys. It works in that one company with the owner's authority. Test keys (mk_test_…) are not issued. Keep the key 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

scope
enum<string>
required
Available options:
run,
year,
contract,
siltra,
strike
kind
string

run: payslips, settlements, sepa, bases, vacation-bases, arrears-bases, rectification-bases, l90-bases, l91-bases, cra, afi, fdi, certifica or contrata. year: certificates or register. contract: contrata or afi. strike: afi or afi_end.

id
string<uuid>

The run, contract, SILTRA file or strike.

employee_id
string<uuid>

Narrows a run's payslips to one employee.

year
integer

Response

The file.

The response is of type file.