Skip to main content
POST
Send a company certificate (Certific@2)
Preview. A contract we are building with design partners. It is not callable yet, and fields can still change. See Availability.
Melso fills the contribution bases of the last 180 days from your payroll runs. The law gives ten days from the end of the employment.

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.

Headers

Idempotency-Key
string

A unique key, such as a UUID, that makes a retried create safe. Reusing a key with a different body is refused.

Maximum string length: 255

Path Parameters

company_id
string<uuid>
required

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

Body

application/json
employee_id
string<uuid>
required
end_date
string<date>
required
termination_reason
enum<string>
required
Available options:
end_of_contract,
dismissal,
objective_dismissal,
collective_dismissal,
probation_not_passed,
voluntary_resignation,
other
unused_vacation_days
integer
Required range: x >= 0

Response

The notification, pending until the SEPE registers it.

id
string<uuid>
required
kind
enum<string>
required
Available options:
contract,
extension,
conversion,
company_certificate
employee_id
string<uuid>
required
status
enum<string>
required
Available options:
pending,
submitted,
registered,
rejected
created_at
string<date-time>
required
reference
string | null

The SEPE's reference.

receipt
object | null
rejection_reason
string | null
deadline
string<date>