Skip to main content
The payroll and Social Security modules are in preview: we are building them with design partners. The employee roster and the tax returns they feed are live capabilities today. See Availability.
An HR platform already knows when someone is hired, what they earn, what was withheld and when they leave. What it rarely wants to own is the last mile: the Sistema RED, Contrat@, Certific@2 and the AEAT, their deadlines, their error codes and their mailboxes. That last mile is what the Melso API does. Your platform calculates. Melso communicates, settles, declares and answers.

The employee lifecycle

The monthly cycle

1

You send the payroll run

One payroll run per month with each payslip’s days contributed, gross pay, IRPF base, rate and amount withheld, contribution bases and the employee’s share. Melso does not recalculate the payslips: it validates them against each employee’s affiliation and the year’s minimum and maximum bases, and reports issues.
2

Melso settles Social Security

Under the liquidación directa system, Melso requests the TGSS’s calculation for the company’s CCC, compares it with your run employee by employee, and sends the CRA data for the concepts paid. A difference becomes contribution_settlement.discrepancy with the field and both values; a match is confirmed and paid by direct debit by the last day of the next month. The RNT and the RLC are attached to the settlement.
3

Melso declares the withholdings

The run’s IRPF fills the work-income boxes of the modelo 111 (perceptors, amounts paid and withheld, cash and in kind) for the quarter, or the month for a large company. The 111 is approved by the company’s owner like any return and filed by Melso’s professionals. In January, the year’s runs become the key A records of the modelo 190.

What the 111 looks like today

The modelo 111 is a live capability: Melso calculates it today from the withholdings on professionals’ invoices (boxes 07 to 09) and produces its AEAT import file. Payroll runs add the work-income boxes (01 to 06), so one 111 covers both.

Why not just export files

Get started

Write to hello@melso.ai. Design partners choose the order in which we ship the preview modules, starting with affiliation and the monthly settlement.