Skip to main content
POST
Reopen a payroll run
Beta. Melso does not serve this operation yet, and its fields can still change. See what is live.
Its payment record goes too. Refused while a later month of the year is approved.

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.

run_id
string<uuid>
required

The month's payroll run.

Body

application/json
expected_version
integer
required

The version you read.

Response

The payroll run.

id
string<uuid>
required
period
string
required

The month, YYYY-MM.

status
enum<string>
required
Available options:
draft,
approved,
paid
version
integer
required

Send it as expected_version to approve, pay or reopen the month.

pay_date
string<date> | null
issues
object[]

Employees without a payslip and why.

totals
object
payslips
object[]