What does an income tax withholding API return?
For one paycheck, each federal, state and local income tax line with the wages it applied to, the amount in cents and a short explanation, plus the totals and net pay.
Engines and APIs
Which request fields drive income tax withholding, and what comes back.
The income tax part of POST /v1/paycheck is driven by four groups of fields. Everything else on the request (earnings, deductions, year-to-date wages) shapes the wages the tax is applied to.
| Field | What it controls |
|---|---|
federalW4.filingStatus | The standard-deduction adjustment and which bracket table applies. |
federalW4.multipleJobs | Step 2 of the 2020-or-later Form W-4: uses the higher-withholding table. |
federalW4.dependentCredit, otherIncome, deductions | Steps 3, 4(a) and 4(b), in cents. |
federalW4.extraWithholding | Extra federal tax per paycheck, step 4(c). |
workState.code and certificate | Which state formula runs and the state-specific withholding certificate answers. |
residenceState | Needed when the employee lives in a different state, for reciprocity and residence-based tax. |
For a single employee in Texas paid $3,000.00 biweekly (Texas has no state income tax), the income tax line is:
| Tax | Taxable wages | Amount |
|---|---|---|
| Federal Income Tax | $3,000.00 | $320.38 |
There is no state income tax line, because the engine returns a line only where a tax applies.
curl https://omniatax.io/v1/paycheck \
-H "Authorization: Bearer $KEY" \
-H "Content-Type: application/json" \
-d '{
"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 request accepts the W-4 exempt flag, extra withholding, and the voluntary-withholding agreement for categories that are otherwise exempt, so the response follows what the employee actually filed.
See the API reference for every field, or try a paycheck in the calculator.
Income tax calculation engine · Federal income tax withholding calculation · Payroll tax API · API reference · All guides
For one paycheck, each federal, state and local income tax line with the wages it applied to, the amount in cents and a short explanation, plus the totals and net pay.
Yes. It implements the 2020-or-later Form W-4: filing status, the multiple-jobs checkbox, the dependent credit, other income, deductions and extra withholding.
Integer cents everywhere, in requests and responses. A request that sends dollars with a decimal is rejected with a field-level error.
14-day free trial, then $0.08 per paycheck calculation. Omnia Express calculates; it does not file, deposit tax, or give tax advice. Disclaimer.