Skip to main content

Available schemes

Supported pay periods

Applies to ordinario and asimilados. Mexico is the only native scheme: its formulas prorate from period.days themselves, scaling their own caps and floors. The ISR tariff and the subsidy are tables rather than formulas, so they are applied to the equivalent monthly base and the result is scaled back to the period. At period.days = 30 this reduces to the monthly expression, so a monthly calculation is unchanged by construction. Because each period is settled on its own days, there is no balancing rule: a 14-day and a 16-day period are not two halves of anything. They land within one cent per line of the month. weekly is rejected because a month does not contain a whole number of weeks, so four weeks cannot be made to add up to the monthly filing. See Pay periods for the full model and the cost of the naive shortcut.

Example request — biweekly

The response reports period_basis.sequence: 1, periods_in_month: 2 and a monthly_equivalent you can reconcile the month against.

Ordinario

The ordinario scheme covers full-time employees under Mexican labor law (Ley Federal del Trabajo). It includes all mandatory deductions and employer contributions.

What it calculates

Employee deductions:
  • ISR — Progressive income tax (Impuesto Sobre la Renta) using SAT bracket tables
  • Subsidio al empleo — Employment subsidy that reduces ISR for lower salaries
  • IMSS cuota obrera — Employee social security contributions (SEM, IV, CEAV)
  • Infonavit credit — Housing credit deduction (if applicable)
Employer contributions:
  • IMSS cuota patronal — Employer social security (SEM, IV, CEAV, RT, Guarderia)
  • Infonavit aportacion — 5% employer housing contribution
  • RCV — Retiro, Cesantia y Vejez contributions

Employee inputs

risk_class_rate has no default. A request for Mexico that omits it is rejected with 422 VALIDATION_ERROR on employee.risk_class_rate.

Risk class rates (Prima de Riesgo)

The rate comes from the risk class the IMSS assigns to the employer. Clevis never assigns or validates it — it receives the rate already resolved. 0 is a valid value and means the employer owes nothing here — the case for asimilados.

Optional perceptions

Enable optional perceptions using the overrides field:

Example request

Key reference values


Asimilados

The asimilados scheme covers workers under the “asimilados a salarios” tax regime. Only ISR withholding applies. There are no IMSS contributions, Infonavit, or employer social security costs.

What it calculates

  • ISR — Progressive income tax using the same SAT bracket tables as ordinario
  • No subsidio al empleo
  • No IMSS, no Infonavit, no employer contributions

Employee inputs

Example request