Clevis
Payroll Infrastructure for LatAm

Payroll your client can defend before the authority.

Calculate and pay payroll in any LatAm country with a single integration. Every number comes with its formula and the law behind it — no black boxes.

Request
{
  "country": "MX",
  "scheme": "ordinario",
  "year": 2026,
  "period": {
    "type": "monthly",
    "start_date": "2026-03-01",
    "end_date": "2026-03-31",
    "days": 30
  },
  "employee": {
    "id": "emp_001",
    "daily_salary": 800.00,
    "factor_integracion": 1.0493
  },
  "employer": { "id": "employer_001" }
}
Response200 OK
{
  "id": "01HX9B2KM3V4W5X6Y7Z8A9B0CD",
  "status": "success",
  "country": "MX",
  "scheme": "ordinario",
  "dsl_version": "2026.1",
  "summary": {
    "gross_salary": "24000.00",
    "total_deductions": "4116.50",
    "net_salary": "19883.50",
    "employer_total_cost": "28150.40"
  },
  "audit_trail": [
    {
      "step": 4,
      "concept_id": "isr",
      "formula": "(base - limite_inferior) * tasa + cuota_fija",
      "inputs": { "base": "24000.00", "limite_inferior": "15487.72",
                  "tasa": "0.2136", "cuota_fija": "1640.18" },
      "result": "3458.40",
      "legal_ref": "LISR Art. 96 — tarifa mensual"
    }
    /* + 6 steps: SBC (tope 25 UMA), cuotas IMSS, subsidio, neto */
  ]
}

Aligned with local regulations across LATAM

🇲🇽Mexico
ISRIMSSInfonavitNOM-035CFDI 4.0
🇨🇴Colombia
DIANUGPPPILASalario integral
🇧🇷Brazil
Receita FederalINSSFGTSeSocial
🇵🇪Peru
SUNATEsSaludAFP / ONPCTSGratificaciones
🇦🇷Argentina
AFIPANSESSUSSAguinaldoMonotributo
🇨🇱Chile
SIIAFPFonasa / IsapreGratificación
🇲🇽Mexico
ISRIMSSInfonavitNOM-035CFDI 4.0
🇨🇴Colombia
DIANUGPPPILASalario integral
🇧🇷Brazil
Receita FederalINSSFGTSeSocial
🇵🇪Peru
SUNATEsSaludAFP / ONPCTSGratificaciones
🇦🇷Argentina
AFIPANSESSUSSAguinaldoMonotributo
🇨🇱Chile
SIIAFPFonasa / IsapreGratificación

Product

The primitives a serious payroll product needs.

Clevis is a pure computation engine — no UI, no opinions about your data model. Six things we obsess over so you don't have to.

Audit trail per calculation

Every formula, traced step-by-step with resolved inputs and result. Required for legal compliance — and a lifesaver in support tickets.

Decimal-safe by design

Monetary values are returned as strings to prevent floating-point precision loss. Parse with your language's Decimal type — never silently lose a cent.

Calculate and pay, one API

Compute the breakdown, then move the net to the beneficiary's account — same Bearer key, same JSON shape. Mexico, Colombia, Brazil, Peru, Argentina, Chile.

Versioned rule sets

Each scheme is pinned to an explicit DSL version. Tax law changes mid-year don't quietly mutate yesterday's payslips.

Sync + async batch

Run up to 500 employees in a single call. Synchronous under 50, async with a poll URL above. P99 under 2s for typical batches.

Simulate without persisting

Quote-and-preview UIs for free: run multiple salary scenarios in one request. Results never hit your reports or audit logs.

Integration

Calculate, then pay. Same key, same integration.

Four steps end-to-end. Every calculation comes back with the reasoning attached, so your client can answer to the authority line by line.

01

Authenticate

One API key, Bearer auth. No SDK to ship to production.

02

POST employee data

Monthly salary, period, country, payroll scheme. JSON in, JSON out.

03

Get a defensible result

Net pay, perceptions, deductions, employer contributions — every line with the formula that produced it, the caps applied, and the rule it comes from.

04

Pay the beneficiary

POST the net to /v1/payouts with the beneficiary's local account. Idempotent, signed webhooks on every status change.

API surface

A small API. On purpose.

Calculate, batch, simulate, then pay — same Bearer key, same JSON shape for all the countries. Authenticate with a Bearer key and you're calculating and paying within the hour.

Full API reference
POST/v1/payroll/calculate
POST/v1/payroll/batch
POST/v1/payroll/simulate
GET/v1/payroll/schemes
POST/v1/payouts
GET/v1/payouts/{id}
POST/v1/payouts/{id}/cancel

Why Clevis

Build it, buy a SaaS, or embed an API.

The honest comparison. Most platforms under-estimate the compliance tail — and only discover the black box when a client is asked to justify a number.

Build in-house
Generic payroll SaaS
Clevis
Defensible before the authority
Whatever you documented
A number, no proof
Formula, caps and rule per line
Per-formula audit trail
DIY
Black box
Built in, on every call
Reproduce a past calculation
If you versioned the rules
Current rules only
Pinned to its rule set version
Compliance updates
Your team's job
Vendor-managed, unversioned
Versioned rule sets
Multi-country (MX/CO/BR/PE/AR/CL)
Country by country
1–2 countries
One API, all schemes
Calculate and pay in one integration
Two vendors, two contracts
Calc only or pay only
Same key, same JSON
White-label / embeddable
Fully yours
Their UI
Pure API
Engineering headcount
2–3 engineers, ongoing
0
0.25 — integration only
Time to production
12–18 months
Not embeddable
2–3 weeks

Who it's for

Built for platforms that need payroll inside their product.

Vertical SaaS

Restaurant, construction, healthcare software adding payroll to retain customers and grow ARPU.

Restaurant POS calculating biweekly tips and overtime, then paying staff per location.

Neobanks & Fintechs

Offering payroll-as-a-service to SMBs, or pricing earned-wage access against real net pay.

Neobank sizing payroll advances against real net pay and settling them through the same API.

Gig economy platforms

Delivery, transport and on-demand services calculating contractor withholdings at scale.

Delivery platform computing per-driver withholdings and paying drivers next-day across MX and CO.

HR-tech startups

Time tracking and workforce platforms adding payroll without a 12-month build.

Time & attendance product running payroll and the actual payout on the same data set.

Company

Built by people who've shipped payroll at scale.

Every platform that touches payroll in Latin America ends up rebuilding the same compliance work — country by country, rule by rule. Clevis exists to make that a single API call, and to hand back the reasoning behind every number, so your clients are never left defending a figure they can't explain.

6
Countries live across LATAM
2
Payroll engines shipped before Clevis
7+
Years operating regulated fintech APIs

Need to calculate and pay payroll across LATAM?

Book 20 minutes with the team. We'll walk through your use case and show you the calculate-then-pay flow end to end.