## Mexico Payroll Endpoints

Flux Payroll’s gross-to-net API calculates net pay from gross earnings with country-specific taxes and deductions. Currently supports **Mexico** with full ISR, IMSS, INFONAVIT, and state-level payroll tax calculations.

### [Calculate Payroll](https://docs.fluxpayroll.ai/api-reference/endpoint/mexico-payroll/calculate)
Calculate gross-to-net payroll for employees with predefined earnings.

### [Calculate with Derived Earnings](https://docs.fluxpayroll.ai/api-reference/endpoint/mexico-payroll/calculate-with-derived-earnings)
Calculate payroll with auto-generated earnings from time entries and compensation.

### [Get Available Earnings](https://docs.fluxpayroll.ai/api-reference/endpoint/mexico-payroll/get-earnings)
Retrieve all earning types available for Mexico payroll.

### [Get Taxes](https://docs.fluxpayroll.ai/api-reference/endpoint/mexico-payroll/get-taxes)
Retrieve all tax types for Mexico with jurisdiction and agency details.

### [Get Contributions](https://docs.fluxpayroll.ai/api-reference/endpoint/mexico-payroll/get-contributions)
Retrieve all contribution types for Mexico with jurisdiction and agency details.

### [Generate Earnings](https://docs.fluxpayroll.ai/api-reference/endpoint/mexico-payroll/generate-earnings)
Preview generated earnings from time entries without running tax calculations.

### [Download our OpenAPI JSON](https://docs.fluxpayroll.ai/api-reference/openapi.json)
View or download the OpenAPI specification file.
