Financial and SAT Mexico Calculations API

Integrate our formulas into your software

Connect your ERP, CRM, human resources, or billing software to our commercial tax calculation API. Obtain 100% updated ISR, IMSS, and VAT (IVA) withholdings according to the current legal framework.

🔌 API Playground (Test the API live)

Select a calculator and adjust the input variables in JSON format to see the response returned by the server.

📦 Server Response (JSON)

The server processes the calculation and returns a complete breakdown of structured results and mathematical steps.

Click "Send POST Request" to see the response here.

🛠️ Code Integration Examples

cURL Command

curl -X POST https://calculadorasat.org/api/calculate \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY_HERE" \
  -d '{
    "calculatorId": "calculo-iva",
    "inputs": {
      "monto": 10000,
      "tipo_accion": "agregar",
      "tasa": 16
    }
  }'

JavaScript (Fetch API)

const response = await fetch('https://calculadorasat.org/api/calculate', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'x-api-key': 'YOUR_API_KEY_HERE'
  },
  body: JSON.stringify({
    calculatorId: 'calculo-iva',
    inputs: {
      "monto": 10000,
      "tipo_accion": "agregar",
      "tasa": 16
    }
  })
});
const data = await response.json();
console.log(data);