Mexico Payroll & Labor API
Complete Mexican payroll compliance: ISR, IMSS, gross-to-net, severance, aguinaldo, vacaciones, and PTU. LFT + LISR + LSS compliantaThe Mexico Payroll & Labor API handles all statutory payroll and labor calculations required for Mexican employment compliance — no spreadsheets, no manual bracket lookups. **Payroll calculations:** - Gross-to-net: Full ISR withholding + IMSS employee deductions +…
Mexico Payroll & Labor API endpoints
| Method | Endpoint | Description |
|---|---|---|
| Payroll | ||
| POST |
Calculate Net Salary /payroll/gross-to-net |
Full gross-to-net breakdown: ISR withholding (with employment subsidy), IMSS employee deductions, and net take-home pay. Includes ISN (state payroll tax) for the employer's… |
| POST |
Find Gross for Target Net /payroll/net-to-gross |
Binary search to find the gross monthly salary that results in a given net pay. ISR is non-linear, so this cannot be solved analytically. Useful for job offers: 'I want to offer… |
| POST |
Total Employer Cost /payroll/employer-cost |
Gross salary + all employer-side IMSS/INFONAVIT contributions + state ISN. The true cost of hiring. Includes overhead percentage over gross. |
| Severance | ||
| POST |
Calculate Severance /severance/calculate |
Calculates the full severance package per Ley Federal del Trabajo. Supports three termination types: sin causa (Art. 48/50 LFT), con causa (Art. 47 LFT), and voluntary… |
| Benefits | ||
| POST |
Estimate PTU /benefits/ptu |
Estimates an employee's share of PTU (Participación de los Trabajadores en las Utilidades). 10% of company's annual pre-tax profit split 50/50: equal + salary-proportional. This… |
| POST |
Calculate Aguinaldo /benefits/aguinaldo |
Minimum 15 days of salary per Art. 87 LFT, paid before December 20. Returns full-year and proportional amounts. |
| POST |
Calculate Vacaciones /benefits/vacaciones |
Progressive vacation days by seniority (LFT 2022 reform, effective 2023). Returns full-year and proportional amounts, plus 5-year forward schedule. |
| Reference Tables | ||
| GET |
IMSS Quota Rates /tables/imss |
Current IMSS employee and employer quota rates (Ley del Seguro Social). |
| GET |
ISN Rates by State /tables/isn |
Impuesto Sobre Nómina rates for all 32 Mexican states. |
| GET |
UMA Values /tables/uma |
Current and historical UMA (Unidad de Medida y Actualización) values published by INEGI. |
| GET |
ISR Monthly Brackets /tables/isr |
Current year SAT ISR monthly brackets (Artículo 96 LISR). |
| System | ||
| GET |
root__get / |
|
| GET |
health_health_get /health |
|
Mexico Payroll & Labor API pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | 1 / second |
|
| PRO | $29 / month | 5 / second |
|
| ULTRA | $79 / month | 15 / second |
|
| MEGA | $199 / month | 30 / second |
|