Is there a JSON Schema for the payroll tax request?
Yes, at https://omniatax.io/v1/schemas/paycheck-request.json. The OpenAPI document embeds the same definitions.
Developers
Validate a paycheck request on your side, before it is sent.
The paycheck request is published as a JSON Schema at https://omniatax.io/v1/schemas/paycheck-request.json. Using it in your own code catches a wrong type or a missing field at the point you build the request, instead of as a 422 from the network.
Amounts are integers (cents), dates are ISO dates, and categories come from a fixed list. The server runs the same checks, so a request that passes the schema will not be refused for its shape. The schema is permissive about extra top-level properties, so a misspelt optional field is not an error by itself; assert on the fields you mean to send in your own tests.
A schema checks shape, not meaning. Whether a state needs a particular certificate answer for a given employee depends on the state's rules, so the server can still return cannot_compute naming the missing field. See the error codes.
{
"error": "The request did not pass validation.",
"code": "invalid_input",
"details": [{ "path": "earnings[0].amount",
"message": "must be integer cents, not 3000.5 — send whole cents (e.g. 300050 for $3,000.50), never dollars." }],
"requestId": "req_01J9Z6Q8X3"
}Payroll tax API OpenAPI spec · Payroll tax API error codes · JSON payroll tax API · Payroll tax API for developers · All guides
Yes, at https://omniatax.io/v1/schemas/paycheck-request.json. The OpenAPI document embeds the same definitions.
It guarantees the shape is valid. A state can still need a certificate answer the schema cannot know about, in which case the API returns cannot_compute and names the missing field.
14-day free trial, then $0.08 per paycheck calculation. Omnia Express calculates; it does not file, deposit tax, or give tax advice. Disclaimer.