Check pay stub math
check_pay_stub_mathChecks the figures on a pay stub for internal inconsistencies: gross minus deductions vs net, hours × rate, Social Security and Medicare rates, pay period length, pay date, year-to-date totals, and suspiciously round numbers. Read the numbers off the stub and pass them in. Flags items for follow-up; it does not authenticate a document or prove fraud.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | ||
| net_pay | Yes | ||
| pay_date | No | YYYY-MM-DD | |
| gross_pay | Yes | ||
| ytd_gross | No | ||
| deductions | Yes | Every deduction line, e.g. Federal, Social Security, Medicare, State, 401k | |
| hourly_rate | No | ||
| pay_frequency | No | ||
| pay_period_end | No | YYYY-MM-DD | |
| prior_ytd_gross | No | YTD gross from the previous stub, if available | |
| pay_period_start | No | YYYY-MM-DD |