Update a company's payroll profile

Set a draft company's worker types, pay frequency, revenue and NAICS code.

Use this endpoint to describe how the company pays workers. It is a partial update: fields you leave out keep their current value.

📘

Part of Company details. For how this fits into onboarding, see the guide: Collecting company information: payroll profile.

When you can call this

Only while the onboarding is a DRAFT and the contract documents haven't been signed. Otherwise it returns 409.

Field notes

FieldNotes
payFrequencyOne of DAILY, WEEKLY, BI_WEEKLY, SEMI_MONTHLY or MONTHLY.
payPeriodStartDayApplies only to WEEKLY and BI_WEEKLY. Sending it with any other frequency is a 400, and switching to another frequency clears it.
annualRevenueAn amount and currency, like {"amount": 750000.00, "currency": "USD"}.
naicsCodeSix digits.

What's required before submitting

These appear in readiness.missing until they're provided:

RequirementSatisfied by
WORKER_TYPESpaysW2Employees or paysContractors set to true.
EMPLOYEE_COUNTemployeeCount, when the company pays W-2 employees.
CONTRACTOR_COUNTcontractorCount, when the company pays contractors.
PAY_FREQUENCYpayFrequency.
PAY_PERIOD_START_DAYpayPeriodStartDay, when the frequency is WEEKLY or BI_WEEKLY.
ANNUAL_REVENUE, NATURE_OF_BUSINESS, NAICS_CODEThe matching field.

Errors

StatusMeaning
400payFrequency isn't a supported value, or payPeriodStartDay was sent with a frequency that doesn't use one.
401The API key is missing, malformed or expired.
404No company with this ID belongs to your partner account.
409The onboarding is no longer a DRAFT, or the contract has been signed.
422A value is malformed, for example a naicsCode that isn't six digits or a negative count.
Path Params
integer
required

The company's ID, as returned when the company was created.

Body Params
boolean

Whether the company pays W-2 employees.

boolean

Whether the company pays contractors.

integer
≥ 0

Number of W-2 employees. Zero or more.

integer
≥ 0

Number of contractors. Zero or more.

string
enum

How often the company runs payroll.

Allowed:
string
enum

The day pay periods start. Only for WEEKLY and BI_WEEKLY.

Allowed:
annualRevenue
object
string

What the business does.

string

The company's 6-digit NAICS code.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Choose an example:
application/json