Skip to main content
POST
Generate a SILTRA file
Beta. Melso does not serve this operation yet, and its fields can still change. See what is live.
kind is the cycle’s next_kind by default: the Fichero de Bases first, then the file the TGSS’s answer asks for.

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.

Headers

Idempotency-Key
string

A unique key of yours, such as a UUID, that makes a retried create safe. For 24 hours a retry with the same key and body gets the first answer again, with Idempotent-Replayed: true. The same key with another body answers 422 idempotency_key_reused; while the first request runs, 409 idempotency_key_in_use. A 5xx answer is not kept, so its retry runs again. See Conventions.

Maximum string length: 255

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
kind
enum<string>
Available options:
bases,
vacation-bases,
arrears-bases,
rectification-bases,
l90-bases,
l91-bases

Response

The SILTRA cycle.

confirmed
boolean

SILTRA says the month's L00 is confirmed.

next_kind
string

The file to send next, empty when none.

files
object[]