Company Requirements
What Everee needs from a company before it can go live, how to read it, how to provide it, and how new requirements are announced.
Besides the steps of onboarding, Everee needs a few details of every company before the company can go live. This page shows how to read what is missing, how to provide it in one call, and how Everee announces a new requirement before it starts to apply, so your integration doesn't break when one is added.
Read what's missing
Get company requirements lists every requirement and whether the company has it:
[
{
"code": "PAYSTUB_PHONE",
"status": "MISSING",
"blocking": ["GO_LIVE"],
"message": "Add the phone number printed on pay stubs.",
"fields": [{ "path": "paystubPhone", "type": "PHONE_US", "required": true }],
"docsUrl": "https://docs.everee.com/reference/get-partner-company-requirements"
}
]| Field | Meaning |
|---|---|
code | Which requirement. Today: TAX_CONTACT, COMPANY_ADDRESS, DEFAULT_SOC_CODE and PAYSTUB_PHONE |
status | MISSING, SATISFIED, or NOT_APPLICABLE when the company is exempt |
blocking | What the requirement holds up while it is missing. Today only GO_LIVE |
effectiveFrom | When the requirement starts to block, if that is still ahead. See New requirements are announced first |
announcementId | The announcement that tells partners about it, when there is one |
message | What is needed, in a sentence you can show a person |
fields | The properties of Update a company that provide it: path, type and required |
docsUrl | Where it is documented |
The same items appear, as codes, in goLive.missingDetails while goLive.outstanding has COMPANY_DETAILS.
Treat the codes, statuses, blocked actions and field types as open sets. Everee adds new ones over time. Ignore a value you don't recognise, and you can still show a requirement you have no special handling for, using its message and fields.
Provide it
Send what is missing with Update a company. The fields of a requirement are properties of that request, so a screen can be built from the list:
curl -X PATCH https://api.everee.com/integration/v1/partner/companies/$ID \
-u "$KEY:" -H "Content-Type: application/json" \
-d '{
"taxContact": { "firstName": "Pat", "lastName": "Payroll", "email": "[email protected]" },
"paystubPhone": "801-555-1234",
"defaultSocCode": "15-1252.00"
}'A request that carries only taxContact, paystubPhone and/or defaultSocCode is accepted at any time, including after the contract is signed. defaultSocCode can be changed until the company is live. Every other field still follows the rules of Update a company.
If something is wrong, the response is 422 with every problem at once:
{
"errors": [
{ "errorCode": "INVALID_FORMAT", "field": "paystubPhone", "errorMessage": "must be a 10-digit phone number" },
{ "errorCode": "REQUIRED_FIELD", "field": "address.postalCode", "errorMessage": "must not be blank" }
]
}errorCode is stable and machine-readable (REQUIRED_FIELD, INVALID_FORMAT, INVALID_VALUE; more may be added), field is the path of the property at fault, and errorMessage is for people and can change. A request body that can't be read at all, or an unknown enum value, is still a 400.
New requirements are announced first
When Everee adds a requirement, it can apply it from a date rather than at once:
- Until the date, the requirement shows
MISSINGwithblocking: []and aneffectiveFrom. It doesn't hold anything up, so you can ask your customers for it. - From the date,
blockingis["GO_LIVE"]andeffectiveFromis no longer shown. - Sandbox first. A sandbox company can start to be held up before production does, so you can try the requirement before it reaches your customers.
- A company that is already live is never held up. It shows the requirement as
MISSINGwithblocking: [], so you can ask for it, but it keeps running payroll. announcementId, when present, is the announcement about the change. See the Announcements API.- The date is in the company's time zone.
A requirement with no date applies at once, which is how the four requirements above work.
Know when it changes
Everee sends company-onboarding.requirements-updated to the company's webhook when a requirement of a company changes after a change you make (updating the company or its payroll profile, or its tax contact), and when Everee announces or re-dates a requirement for companies that lack it. See Requirements Updated. The event lists the changed items in the same shape as Get company requirements, so you can update a screen without calling again.
It is not sent for every change: a change made in Everee's own admin tools doesn't send it. Read the requirements when you need the current state.
Don't mix this up with
company-onboarding.requirements-changed, which is about the documents Everee requires of a company in onboarding.
The default payroll calendar
A company can't go live without a payroll calendar, so Everee makes one for you from the payroll profile.
- It is created for you. The first time you send a
payFrequency(withpayPeriodStartDayfor weekly and bi-weekly), Everee creates the company's default calendar, named "Default payroll calendar". You can also sendpayFrequencyandpayPeriodStartDaywhen you create the company. It takes effect at the start of the pay period that holds the target go-live date, or, with no target, at the first period start from tomorrow. A sandbox company's takes effect today. - The profile edits it, until it is used. While it is the company's only calendar and has no pay periods or workers, changing the profile changes the calendar, and changing the target go-live date moves it to suit.
- After that, use the calendar API. Once the company has other calendars, or the default is in use, a profile change that would alter the schedule is refused with
409. Sending the current schedule again is accepted. - Find it. Get a company returns
defaultPayrollCalendarIdandpayrollCalendarIds, and each calendar hasisDefault. Make a payroll calendar the default changes it.
Companies on the older pay-period preferences don't get a seeded calendar.
The company address and work location
Saving the company's address also creates a work location named "Headquarters" from it, when the company has none, so workers can be put to work without more setup. If the work location can't be created (an address that can't be geocoded, for example), the address is still saved and no work location is made.
You can send address when you create the company, instead of in a separate call.
Updated 1 day ago