Developers

Payroll tax calculation API

POST a paycheck. Get every tax line, who pays it, and net pay.

A payroll tax calculation API takes the facts of one paycheck and returns the taxes on it. With Omnia Express that is a single POST /v1/paycheck: earnings, deductions, the employee's Form W-4, year-to-date wages and a work location go in; a list of tax lines and net pay come out, as JSON, with every amount in integer cents. It calculates. It does not file returns, deposit tax or pay anyone.

What one call does

The request below is a single employee in Texas paid $3,000.00 biweekly. Texas has no state income tax, so the response carries federal income tax, Social Security and Medicare for the employee, and Social Security, Medicare, federal unemployment tax and Texas unemployment tax for the employer.

{
  "checkDate": "2026-09-15",
  "payFrequency": "biweekly",
  "earnings": [{ "code": "REG", "category": "regular", "amount": 300000 }],
  "deductions": [],
  "federalW4": { "filingStatus": "single", "multipleJobs": false,
    "dependentCredit": 0, "otherIncome": 0, "deductions": 0, "extraWithholding": 0 },
  "ytd": { "socialSecurity": 0, "medicare": 0, "futa": 0 },
  "workState": { "code": "TX" }
}

The response is shaped like this (abridged; the real one lists every line):

{
  "result": {
    "checkDate": "2026-09-15",
    "grossPay": 300000,
    "taxes": [
      { "id": "US_FIT", "name": "Federal Income Tax", "payer": "employee",
        "taxableWages": 300000, "amount": 32038, "detail": "…" },
      { "id": "US_SS_EE", "name": "Social Security", "payer": "employee",
        "taxableWages": 300000, "amount": 18600, "detail": "…" }
    ],
    "employeeTaxTotal": 54988,
    "employerTaxTotal": 32850,
    "netPay": 245012
  }
}

The lines it returned for that paycheck

TaxPaid byTaxable wagesAmount
Federal Income TaxEmployee$3,000.00$320.38
Social SecurityEmployee$3,000.00$186.00
Social Security (Employer)Employer$3,000.00$186.00
MedicareEmployee$3,000.00$43.50
Medicare (Employer)Employer$3,000.00$43.50
FUTAEmployer$3,000.00$18.00
Texas Unemployment Insurance (Employer)Employer$3,000.00$81.00

Employee taxes total $549.88, so net pay is $2,450.12. The employer's $328.50 is a cost on top of gross pay and is not taken from the employee.

Why the rules live behind an API

Price and trial

A live key costs $0.08 per paycheck calculation after a 14-day free trial. A test key runs the same engine and data with no card and is never billed. The full price table is on the pricing guide.

Keep reading

Payroll tax API · Payroll tax API for developers · Payroll tax API response fields · Payroll tax API integration guide · All guides

Questions

What does a payroll tax calculation API do?

It takes the earnings, deductions, withholding certificates, year-to-date wages and work location of one paycheck and returns each payroll tax with the wages it applied to, who pays it, and net pay.

Does the API file or pay the tax?

No. Omnia Express calculates withholding and employer taxes. You, or your payroll provider, still file returns and deposit the tax.

What format are the requests and responses?

JSON over HTTPS, with every money amount in integer cents. A request that sends a decimal dollar amount is rejected with a field-level error.

Start the 14-day trial Read the docs →

14-day free trial, then $0.08 per paycheck calculation. Omnia Express calculates; it does not file, deposit tax, or give tax advice. Disclaimer.