Documentation Index
Fetch the complete documentation index at: https://gusto-preview.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
- Federal tax: Collected by the U.S. federal government based on an employee’s income.
- State tax: Collected by the state where an employee works or lives. Not all states collect income tax.
Federal taxes
An employee must provide federal tax information to file and pay taxes correctly.- To provide federal tax details, you will first need to get the
versionof the tax details using the GET employees/{employee_uuid}/federal_taxes endpoint. - Once you have the
versionyou can update the federal tax details using the PUT employees/{employee_uuid}/federal_taxes endpoint.
State taxes
The data required to calculate an employee’s state taxes correctly varies by home and work location.1. Get the employee’s state tax information
To know which information is needed for an employee’s state taxes, first call the GET employees/{employee_uuid}/state_taxes endpoint. This will return an array of questions that must be answered, and possible answers for each, and what we currently have marked as that answer. Below is an example for California with the following answers:filing_status = Swithholding_allowance = 1additional_withholding = 0.0file_new_hire_report = false
2. Update the employee’s state tax information
Once you know which information needs to be added or updated, you can use the PUT employees/{employee_uuid}/state_taxes endpoint. In this example, the request is changing the following for the employee’s California state tax information:filing_status: from"S"(single) to"M"(married)withholding_allowance: from a previous value (e.g.,0or1) to2additional_withholding: from the previous amount to"25.0"file_new_hire_report: fromfalsetotrue
Adjust for minimum wage W2 employee forms