Clevis
Available in πŸ‡²πŸ‡½ MX Β· πŸ‡¨πŸ‡΄ CO Β· πŸ‡§πŸ‡· BR Β· πŸ‡΅πŸ‡ͺ PE Β· πŸ‡¦πŸ‡· AR Β· πŸ‡¨πŸ‡± CL

The payroll infrastructure
API for Latin America.

Compliant payroll, embedded into your platform for Mexico, Brazil, Colombia and beyond β€” with a detailed breakdown, audit trail, and employee payments in a single integration. Integrate in weeks, not months.

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",
  "summary": {
    "gross_salary": "24000.00",
    "total_deductions": "3960.75",
    "net_salary": "20039.25",
    "employer_total_cost": "28150.40"
  },
  "deductions": [
    { "id": "isr", "label": "ISR", "amount": "3210.50" },
    { "id": "imss_obrero", "label": "IMSS", "amount": "750.25" }
  ],
  "dsl_version": "2026.1",
  "audit_trail": [ /* every formula, traced */ ]
}

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.

Two-to-three weeks to production. Four steps end-to-end.

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 fully itemized result

Net pay, perceptions, deductions, employer contributions, audit trail.

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 over-estimate the build path and under-estimate the compliance tail.

Build in-house
Generic payroll SaaS
Clevis
Time to production
12–18 months
Not embeddable
2–3 weeks
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
Per-formula audit trail
DIY
Black box
Built in
White-label / embeddable
Fully yours
Their UI
Pure API
Compliance updates
Your team's job
Vendor-managed
Versioned rule sets
Engineering headcount
2–3 engineers, ongoing
0
0.25 β€” integration only

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.

Team

Built by people who've shipped payroll at scale.

Melvin ZaldaΓ±a, Founder of Clevis
Melvin ZaldaΓ±a
Founder & CEO
β€œAfter building payroll engines and infrastructure twice β€” at RunaHR and adjacent at dLocal β€” I kept seeing the same gap: every technological platform that needs payroll ends up rebuilding the same compliance work. Clevis is the API I wish I'd had.”
RunaHR
Built the core payroll calculation engine that processed payroll for thousands of Mexican companies.
dLocal
Payments infrastructure for Latin America. 7+ years operating regulated fintech APIs across the region.
Connect on LinkedIn

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.