Skip to main content

Blocks

AssignSignatory​

Lets a user either create a new signatory with full details or invite someone else to become the signatory.

Remarks​

For more granular control, use CompanyOnboarding.CreateSignatory or CompanyOnboarding.InviteSignatory directly.


AssignSignatoryProps​

Props for AssignSignatory.

PropertyTypeDescription
companyIdstringIdentifier of the company the signatory is being assigned to.
onEventOnEventType<EventType, unknown>Callback invoked each time the component emits an event — user interactions, successful API responses, step transitions, or errors. Receives the event type constant and an optional payload whose shape varies by event. See the Event Handling guide and each component's event table for the full list of emitted events.
defaultValues?AssignSignatoryDefaultValuesDefault values for the underlying create and invite forms. Provide a create object, an invite object, or both — see AssignSignatoryDefaultValues.
dictionary?Record<"en", DeepPartial<CompanyAssignSignatory>>Overrides for the component's i18n strings. Supply a partial object whose keys match the component's resource namespace — any omitted keys fall back to SDK defaults. See the Translation guide for details.
signatoryId?stringIdentifier of an existing signatory. When set and matching the current signatory, the create form pre-populates with their information for editing.

Inherits children, className, FallbackComponent, LoaderComponent from BaseComponentInterface.


Events​

EventDescriptionData
company/signatory/assignSignatory/modeUpdatedThe user switched between create and invite modesThe selected mode string ('createSignatory' or 'inviteSignatory')
company/signatory/assignSignatory/doneThe signatory assignment process completed—
company/signatory/createdA new signatory was created (create mode)Response from the create signatory API request
company/signatory/updatedAn existing signatory was updated (create mode)Response from the update signatory API request
company/signatory/invitedA signatory invitation was sent (invite mode)Response from the invite signatory API request

Endpoints​


BankAccount​

Manages a company's bank account — adding, viewing, and verifying it.

Remarks​

Currently supports a single default bank account per company. When no bank account exists, the component renders the add-account form; once one is on file it renders the list view with controls to change or verify the account via micro-deposits.


BankAccountProps​

Props for the BankAccount component.

PropertyTypeDescription
companyIdstringIdentifier of the company whose bank account is being managed.
onEventOnEventType<EventType, unknown>Callback invoked each time the component emits an event — user interactions, successful API responses, step transitions, or errors. Receives the event type constant and an optional payload whose shape varies by event. See the Event Handling guide and each component's event table for the full list of emitted events.
dictionary?Record<"en", DeepPartial<CompanyBankAccount>>Overrides for the component's i18n strings. Supply a partial object whose keys match the component's resource namespace — any omitted keys fall back to SDK defaults. See the Translation guide for details.

Inherits children, className, defaultValues, FallbackComponent, LoaderComponent from BaseComponentInterface.


Events​

EventDescriptionData
company/bankAccount/changeFired when the user chooses to change an existing bank account—
company/bankAccount/createdFired when a new bank account is createdThe created APIModels.CompanyBankAccount
company/bankAccount/verifyFired when the user chooses to verify the bank account after micro-deposits are made—
company/bankAccount/verifiedFired when the bank account has been successfully verifiedThe verified APIModels.CompanyBankAccount
company/bankAccount/doneFired when the user chooses to proceed to the next step—

Endpoints​


CreateSignatory​

Standalone form for creating or editing a company signatory, including name, contact details, SSN, date of birth, and home address.


CreateSignatoryProps​

Props for CreateSignatory.

PropertyTypeDescription
companyIdstringIdentifier of the company the signatory belongs to.
onEventOnEventType<EventType, unknown>Callback invoked each time the component emits an event — user interactions, successful API responses, step transitions, or errors. Receives the event type constant and an optional payload whose shape varies by event. See the Event Handling guide and each component's event table for the full list of emitted events.
defaultValues?CreateSignatoryDefaultValuesInitial values for the form fields. Ignored for fields where a value is already available from the signatory record.
dictionary?Record<"en", DeepPartial<CompanyAssignSignatory>>Overrides for the component's i18n strings. Supply a partial object whose keys match the component's resource namespace — any omitted keys fall back to SDK defaults. See the Translation guide for details.
signatoryId?stringIdentifier of an existing signatory. When provided and matching an existing signatory on the company, the form pre-populates with their information for editing.

Inherits children, className, FallbackComponent, LoaderComponent from BaseComponentInterface.


Events​

EventDescriptionData
company/signatory/createdA new signatory was created successfullyThe created signatory record
company/signatory/updatedAn existing signatory was updated successfullyThe updated signatory record
company/signatory/createSignatory/doneThe create-signatory flow completed—

Endpoints​


DocumentList​

Displays the list of company documents to be signed and lets the user manage signatories.

Remarks​

Lower-level building block used internally by CompanyOnboarding.DocumentSigner for its list view. Use this component directly when you need full control over navigation between the document list and the signature form.

When signatoryId matches the currently saved signatory's id, the user is treated as the signatory and is allowed to sign documents.

Each form's description is rendered as returned by the API, unless the dictionary prop supplies a forms.<name>.description override for that form's name (e.g. forms.US_8655.description).


DocumentListProps​

Props for DocumentList.

PropertyTypeDescription
companyIdstringThe associated company identifier.
onEventOnEventType<EventType, unknown>Callback invoked each time the component emits an event — user interactions, successful API responses, step transitions, or errors. Receives the event type constant and an optional payload whose shape varies by event. See the Event Handling guide and each component's event table for the full list of emitted events.
dictionary?Record<"en", DeepPartial<CompanyDocumentList>>Overrides for the component's i18n strings. Supply a partial object whose keys match the component's resource namespace — any omitted keys fall back to SDK defaults. See the Translation guide for details.
signatoryId?stringIdentifier of the signatory viewing the documents. When it matches the company's saved signatory, the user is treated as that signatory and is allowed to sign documents.

Inherits children, className, defaultValues, FallbackComponent, LoaderComponent from BaseComponentInterface.


Events​

EventDescriptionData
company/forms/viewFired when a user selects a form to sign from the document listThe selected company form
company/forms/editSignatoryFired when user requests to change the document signatoryThe current signatory entity
company/forms/doneFired when user completes the document signing process—

Endpoints​


DocumentSigner​

Company onboarding step for reading and signing required company documents.

Remarks​

Handles document listing, signatory management, and the signing workflow. If no signatory has been assigned for the company yet, the flow starts on the assign-signatory step before presenting the document list.


DocumentSignerProps​

Props for DocumentSigner.

PropertyTypeDescription
companyIdstringThe associated company identifier.
onEventOnEventType<EventType, unknown>Callback invoked each time the component emits an event — user interactions, successful API responses, step transitions, or errors. Receives the event type constant and an optional payload whose shape varies by event. See the Event Handling guide and each component's event table for the full list of emitted events.
dictionary?Record<"en", DeepPartial<CompanyDocumentList>>Overrides for the component's i18n strings. Supply a partial object whose keys match the component's resource namespace — any omitted keys fall back to SDK defaults. See the Translation guide for details.
signatoryId?stringID of the signatory. When set and matching the current signatory, the user is treated as the signatory and is allowed to sign documents — the signature form is pre-populated with their information.

Inherits children, className, defaultValues, FallbackComponent, LoaderComponent from BaseComponentInterface.


Events​

EventDescriptionData
company/forms/viewFired when a user selects a form to sign from the document listAPIModels.Form
company/forms/editSignatoryFired when the user requests to change the document signatoryThe current signatory entity
company/forms/doneFired when the user completes the document signing process—
company/forms/sign/signFormFired when a form is successfully signedAPIModels.Form
company/forms/sign/doneFired when the form signing process is complete—
company/forms/sign/backFired when the user navigates back from the signature form—
company/signatory/assignSignatory/modeUpdatedFired when the signatory assignment mode changes'createSignatory' or 'inviteSignatory'
company/signatory/assignSignatory/doneFired when the signatory assignment process is complete—
company/signatory/createdFired when a new signatory is created successfullyAPIModels.Signatory
company/signatory/updatedFired when an existing signatory is updated successfullyAPIModels.Signatory
company/signatory/invitedFired when a signatory is successfully invited to the companyAPIModels.Signatory

Endpoints​


FederalTaxes​

Collects company federal tax information including EIN, tax payer type, filing form, and legal name.


FederalTaxesProps​

Props for the FederalTaxes component.

PropertyTypeDescription
companyIdstringIdentifier of the company whose federal tax details are being collected.
onEventOnEventType<EventType, unknown>Callback invoked each time the component emits an event — user interactions, successful API responses, step transitions, or errors. Receives the event type constant and an optional payload whose shape varies by event. See the Event Handling guide and each component's event table for the full list of emitted events.
defaultValues?FederalTaxesDefaultValuesPre-populated values for the federal tax form. At least one of taxPayerType, filingForm, or legalName must be provided — see FederalTaxesDefaultValues.
dictionary?Record<"en", DeepPartial<CompanyFederalTaxes>>Overrides for the component's i18n strings. Supply a partial object whose keys match the component's resource namespace — any omitted keys fall back to SDK defaults. See the Translation guide for details.

Inherits children, className, FallbackComponent, LoaderComponent from BaseComponentInterface.


Events​

EventDescriptionData
company/federalTaxes/updatedFederal tax details were successfully updatedAPIModels.FederalTaxDetails
company/federalTaxes/doneThe federal tax update step is complete—

Endpoints​


Industry​

Selects and saves the company's industry classification (NAICS code).

Presents a searchable list of industry options and persists the selection for the given company.


IndustryProps​

Props for the Industry component.

PropertyTypeDescription
companyIdstringThe UUID of the company whose industry classification is being set.
onEventOnEventType<EventType, unknown>Callback invoked each time the component emits an event — user interactions, successful API responses, step transitions, or errors. Receives the event type constant and an optional payload whose shape varies by event. See the Event Handling guide and each component's event table for the full list of emitted events.
dictionary?Record<"en", DeepPartial<CompanyIndustry>>Overrides for the component's i18n strings. Supply a partial object whose keys match the component's resource namespace — any omitted keys fall back to SDK defaults. See the Translation guide for details.

Inherits children, className, defaultValues, FallbackComponent, LoaderComponent from BaseComponentInterface.


Events​

EventDescriptionData
company/industry/selectedFired when an industry is selected and savedThe updated industry returned by the industry selection endpoint

Endpoints​


InviteSignatory​

Standalone form for inviting someone else to become the company signatory.

Remarks​

The invited person receives an email to complete their signatory information. Use this when you want to provide only the invite flow without the create option.


InviteSignatoryProps​

Props for the InviteSignatory component.

PropertyTypeDescription
companyIdstringThe associated company identifier.
onEventOnEventType<EventType, unknown>Callback invoked each time the component emits an event — user interactions, successful API responses, step transitions, or errors. Receives the event type constant and an optional payload whose shape varies by event. See the Event Handling guide and each component's event table for the full list of emitted events.
defaultValues?InviteSignatoryDefaultValuesDefault values to pre-populate the invite form fields.
dictionary?Record<"en", DeepPartial<CompanyAssignSignatory>>Overrides for the component's i18n strings. Supply a partial object whose keys match the component's resource namespace — any omitted keys fall back to SDK defaults. See the Translation guide for details.

Inherits children, className, FallbackComponent, LoaderComponent from BaseComponentInterface.


Events​

EventDescriptionData
company/signatory/invitedA signatory was successfully invited.The invited signatory entity.
company/signatory/inviteSignatory/doneThe invite signatory process is complete.—

Endpoints​


LocationForm​

Standalone form for creating a new company location or editing an existing one.

Remarks​

Pass a locationId to edit an existing location; omit it to create a new one.


LocationFormProps​

Props for the LocationForm component.

PropertyTypeDescription
companyIdstringIdentifier of the company the location belongs to.
onEventOnEventType<EventType, unknown>Callback invoked each time the component emits an event — user interactions, successful API responses, step transitions, or errors. Receives the event type constant and an optional payload whose shape varies by event. See the Event Handling guide and each component's event table for the full list of emitted events.
dictionary?Record<"en", DeepPartial<CompanyLocations>>Overrides for the component's i18n strings. Supply a partial object whose keys match the component's resource namespace — any omitted keys fall back to SDK defaults. See the Translation guide for details.
locationId?stringIdentifier of an existing location. When provided, the form loads and edits that location; when omitted, the form creates a new location.

Inherits children, className, defaultValues, FallbackComponent, LoaderComponent from BaseComponentInterface.


Events​

EventDescriptionData
company/location/add/doneFired when a new location is createdThe created location
company/location/edit/doneFired when a location has been successfully editedThe updated location
CANCELFired when the user cancels editing—

Endpoints​


Locations​

Orchestrated component for managing a company's mailing and filing addresses.

Remarks​

Internally switches between a list view and a create/edit form. For more granular control, use the standalone LocationForm component directly.


LocationsProps​

Props for the Locations component.

PropertyTypeDescription
companyIdstringIdentifier of the company whose locations are being managed.
onEventOnEventType<EventType, unknown>Callback invoked each time the component emits an event — user interactions, successful API responses, step transitions, or errors. Receives the event type constant and an optional payload whose shape varies by event. See the Event Handling guide and each component's event table for the full list of emitted events.
dictionary?Record<"en", DeepPartial<CompanyLocations>>Overrides for the component's i18n strings. Supply a partial object whose keys match the component's resource namespace — any omitted keys fall back to SDK defaults. See the Translation guide for details.

Inherits children, className, defaultValues, FallbackComponent, LoaderComponent from BaseComponentInterface.


Events​

EventDescriptionData
company/location/addA user chooses to add a new location—
company/location/add/doneA new location is createdResponse from the create company location API
company/location/editA user selects an existing location for editing{ uuid: string }
company/location/edit/doneA location is successfully editedResponse from the update location API
company/location/doneA user chooses to proceed to the next step—
cancelA user cancels the create or edit form—

Endpoints​


LocationsList​

Displays the list of work locations for a company.

Remarks​

Standalone building block used internally by the orchestrated Locations component for its list view. Use this directly when you need full control over navigation between the list and form views.


LocationsListProps​

Props for the LocationsList component.

PropertyTypeDescription
companyIdstringThe associated company identifier.
onEventOnEventType<EventType, unknown>Callback invoked each time the component emits an event — user interactions, successful API responses, step transitions, or errors. Receives the event type constant and an optional payload whose shape varies by event. See the Event Handling guide and each component's event table for the full list of emitted events.
dictionary?Record<"en", DeepPartial<CompanyLocations>>Overrides for the component's i18n strings. Supply a partial object whose keys match the component's resource namespace — any omitted keys fall back to SDK defaults. See the Translation guide for details.

Inherits children, className, defaultValues, FallbackComponent, LoaderComponent from BaseComponentInterface.


Events​

EventDescriptionData
company/location/addA user chose to add a new location—
company/location/editA user chose to edit a specific location{ uuid: string }
company/location/doneThe user chose to proceed to the next step—

Endpoints​


OnboardingOverview​

Displays the company's overall onboarding status, showing completed steps alongside any remaining requirements.

Remarks​

Renders as the landing or summary screen of a company onboarding flow. When onboardingCompleted is true, a completion message and "done" action are shown; otherwise a checklist of outstanding steps is rendered with a continue action. Provide children to override the default layout while still consuming the onboarding status via context.


OnboardingOverviewProps​

Props for the OnboardingOverview component.

PropertyTypeDescription
companyIdstringThe associated company identifier.
onEventOnEventType<EventType, unknown>Callback invoked each time the component emits an event — user interactions, successful API responses, step transitions, or errors. Receives the event type constant and an optional payload whose shape varies by event. See the Event Handling guide and each component's event table for the full list of emitted events.
dictionary?Record<"en", DeepPartial<CompanyOnboardingOverview>>Overrides for the component's i18n strings. Supply a partial object whose keys match the component's resource namespace — any omitted keys fall back to SDK defaults. See the Translation guide for details.

Inherits children, className, defaultValues, FallbackComponent, LoaderComponent from BaseComponentInterface.


Events​

EventDescriptionData
company/overview/continueFired when the user chooses to continue to the next outstanding onboarding requirement—
company/overview/doneFired when the user signals they are done with the overview screen, typically after onboarding ends—

Endpoints​


PaySchedule​

Manages a company's pay schedules, including listing existing schedules and creating or editing one.

Remarks​

Renders the schedule list when at least one pay schedule exists and the create form otherwise. Emits the following events through onEvent:


PayScheduleProps​

Props for the PaySchedule component.

PropertyTypeDescription
companyIdstringIdentifier of the company whose pay schedules are managed.
onEventOnEventType<EventType, unknown>Callback invoked each time the component emits an event — user interactions, successful API responses, step transitions, or errors. Receives the event type constant and an optional payload whose shape varies by event. See the Event Handling guide and each component's event table for the full list of emitted events.
defaultValues?PayScheduleDefaultValuesDefault values used to pre-fill the create form. Ignored fields not listed in PayScheduleDefaultValues.
dictionary?Record<"en", DeepPartial<CompanyPaySchedule>>Overrides for the component's i18n strings. Supply a partial object whose keys match the component's resource namespace — any omitted keys fall back to SDK defaults. See the Translation guide for details.

Inherits children, className, FallbackComponent, LoaderComponent from BaseComponentInterface.


Events​

EventDescriptionData
paySchedule/createdA new pay schedule was createdThe created pay schedule entity
paySchedule/updatedAn existing pay schedule was updatedThe updated pay schedule entity

Endpoints​


SignatureForm​

Standalone form for signing an individual company document.

Remarks​

Lower-level building block used internally by the document signer for its signing view. Use this component directly when you need full control over navigation between the document list and the signature form (e.g. routing the user yourself after they select a form).


SignatureFormProps​

Props for SignatureForm.

PropertyTypeDescription
companyIdstringThe associated company identifier.
formIdstringThe identifier of the form the user is signing.
onEventOnEventType<EventType, unknown>Callback invoked each time the component emits an event — user interactions, successful API responses, step transitions, or errors. Receives the event type constant and an optional payload whose shape varies by event. See the Event Handling guide and each component's event table for the full list of emitted events.
defaultValues?undefinedNot applicable to this component — form fields are populated from the API using formId.
dictionary?Record<"en", DeepPartial<CompanySignatureForm>>Overrides for the component's i18n strings. Supply a partial object whose keys match the component's resource namespace — any omitted keys fall back to SDK defaults. See the Translation guide for details.

Inherits children, className, FallbackComponent, LoaderComponent from BaseComponentInterface.


Events​

EventDescriptionData
company/forms/sign/signFormFired when a form is successfully signedResponse from the sign company form API request
company/forms/sign/backFired when the user navigates back from the signature form—
company/forms/sign/doneFired when the form signing process is complete—

StateTaxes​

Orchestrated flow for managing a company's state tax setup.

Remarks​

Switches internally between a list of states with tax requirements and a per-state edit form. For finer-grained control over navigation, use the standalone StateTaxesList and StateTaxesForm building blocks directly.


StateTaxesProps​

Props for the StateTaxes flow.

PropertyTypeDefault valueDescription
companyIdstringUUID of the company whose state taxes are being managed.
onEventOnEventType<EventType, unknown>Callback invoked each time the component emits an event — user interactions, successful API responses, step transitions, or errors. Receives the event type constant and an optional payload whose shape varies by event. See the Event Handling guide and each component's event table for the full list of emitted events.
dictionary?Record<"en", DeepPartial<CompanyStateTaxes>>Overrides for the component's i18n strings. Supply a partial object whose keys match the component's resource namespace — any omitted keys fall back to SDK defaults. See the Translation guide for details.
showContinueButton?booleantrueControls visibility of the Continue button below the state tax list. When false, hides the Continue button. Use this when the flow is embedded as one step inside a larger flow that provides its own navigation.

Inherits children, className, defaultValues, FallbackComponent, LoaderComponent from BaseComponentInterface.


Events​

EventDescriptionData
company/stateTaxes/editA state row was selected for editing{ state: string }
company/stateTaxes/manageRatesA state row's tax rate history/scheduling view was opened{ state: string }
company/stateTaxes/updatedState tax requirements were saved—
company/stateTaxes/doneThe list view was completed—
CANCELEditing or rate management was cancelled and the list was shown again—

Endpoints​


StateTaxesForm​

Standalone form for editing a company's state tax requirements for a single state.

Remarks​

Lower-level building block used by StateTaxes for its edit view. Use directly when you need full control over navigation between the list and edit views.


Example​

import { CompanyOnboarding } from '@gusto/embedded-react-sdk'

function MyComponent() {
return (
<CompanyOnboarding.StateTaxesForm
companyId="a007e1ab-3595-43c2-ab4b-af7a5af2e365"
state="CA"
onEvent={() => {}}
/>
)
}

StateTaxesFormProps​

Props for StateTaxesForm.

PropertyTypeDescription
companyIdstringThe associated company identifier.
onEventOnEventType<EventType, unknown>Callback invoked each time the component emits an event — user interactions, successful API responses, step transitions, or errors. Receives the event type constant and an optional payload whose shape varies by event. See the Event Handling guide and each component's event table for the full list of emitted events.
statestringTwo-letter code of the state whose tax requirements are edited.
dictionary?Record<"en", DeepPartial<CompanyStateTaxes>>Overrides for the component's i18n strings. Supply a partial object whose keys match the component's resource namespace — any omitted keys fall back to SDK defaults. See the Translation guide for details.

Inherits children, className, defaultValues, FallbackComponent, LoaderComponent from BaseComponentInterface.


Events​

EventDescriptionData
company/stateTaxes/updatedState tax requirements were saved successfullyResponse from the update state tax requirements API
CANCELThe user cancelled editing—

Endpoints​


StateTaxesList​

Displays the list of state tax requirements for a company with their setup status.

Remarks​

Standalone building block used internally by the orchestrated StateTaxes component for its list view. Use this directly when you need full control over navigation between the list and form views.


StateTaxesListProps​

Props for the StateTaxesList component.

PropertyTypeDefault valueDescription
companyIdstringThe associated company identifier.
onEventOnEventType<EventType, unknown>Callback invoked each time the component emits an event — user interactions, successful API responses, step transitions, or errors. Receives the event type constant and an optional payload whose shape varies by event. See the Event Handling guide and each component's event table for the full list of emitted events.
dictionary?Record<"en", DeepPartial<CompanyStateTaxes>>Overrides for the component's i18n strings. Supply a partial object whose keys match the component's resource namespace — any omitted keys fall back to SDK defaults. See the Translation guide for details.
showContinueButton?booleantrueControls visibility of the Continue button below the state tax list. When false, hides the Continue button. Use this when the list is embedded as one step inside a larger flow that provides its own navigation.

Inherits children, className, defaultValues, FallbackComponent, LoaderComponent from BaseComponentInterface.


Events​

EventDescriptionData
company/stateTaxes/editA user chose to edit requirements for a specific state{ state: string }
company/stateTaxes/manageRatesA user chose to view rate history/scheduling for a specific state{ state: string }
company/stateTaxes/doneThe user chose to proceed to the next step—

Endpoints​


TaxRateManagement​

Standalone view of a company's effective-dated state tax rate history, with the ability to schedule a new future-dated rate.

Remarks​

Lower-level building block used by StateTaxes for its "manage tax rates" view. Only effective-dated requirement keys (e.g. tax rates, deposit schedules) are shown — non-dated sections like registration numbers have no history/scheduling story and are edited via StateTaxesForm instead.


Example​

import { CompanyOnboarding } from '@gusto/embedded-react-sdk'

function MyComponent() {
return (
<CompanyOnboarding.TaxRateManagement
companyId="a007e1ab-3595-43c2-ab4b-af7a5af2e365"
state="CA"
onEvent={() => {}}
/>
)
}

TaxRateManagementProps​

Props for TaxRateManagement.

PropertyTypeDescription
companyIdstringThe associated company identifier.
onEventOnEventType<EventType, unknown>Callback invoked each time the component emits an event — user interactions, successful API responses, step transitions, or errors. Receives the event type constant and an optional payload whose shape varies by event. See the Event Handling guide and each component's event table for the full list of emitted events.
statestringTwo-letter code of the state whose tax rate history is managed.
dictionary?Record<"en", DeepPartial<CompanyStateTaxes>>Overrides for the component's i18n strings. Supply a partial object whose keys match the component's resource namespace — any omitted keys fall back to SDK defaults. See the Translation guide for details.

Inherits children, className, defaultValues, FallbackComponent, LoaderComponent from BaseComponentInterface.


Events​

EventDescriptionData
CANCELThe user navigated back to the state tax list—

Endpoints​


Utility types​

AssignSignatoryDefaultValues​

AssignSignatoryDefaultValues = RequireAtLeastOne<{ create?: CreateSignatoryDefaultValues; invite?: InviteSignatoryDefaultValues; }>

Default values for the create and invite forms rendered by AssignSignatory.

Remarks​

At least one of create or invite must be provided.


CreateSignatoryDefaultValues​

CreateSignatoryDefaultValues = RequireAtLeastOne<Pick<Signatory, "firstName" | "lastName" | "email" | "title" | "phone" | "birthday"> & Pick<NonNullable<Signatory["homeAddress"]>, "street1" | "street2" | "city" | "state" | "zip"> & object>

Initial values for the CreateSignatory form fields. At least one field must be provided.


FederalTaxesDefaultValues​

FederalTaxesDefaultValues = RequireAtLeastOne<{ filingForm?: FederalTaxFormInputs["filingForm"]; legalName?: FederalTaxFormInputs["legalName"]; taxPayerType?: FederalTaxFormInputs["taxPayerType"]; }>

Pre-populated values for the company federal tax form, supplied via FederalTaxesProps. At least one of taxPayerType, filingForm, or legalName must be provided.


InviteSignatoryDefaultValues​

InviteSignatoryDefaultValues = RequireAtLeastOne<Pick<Signatory, "firstName" | "lastName" | "email" | "title"> & object>

Default values for the invite signatory form fields: firstName, lastName, email, confirmEmail, and title. At least one field is required.


OnboardingFlowDefaultValues​

OnboardingFlowDefaultValues = RequireAtLeastOne<{ federalTaxes?: FederalTaxesDefaultValues; paySchedule?: PayScheduleDefaultValues; }>

Default values for the company onboarding flow's per-step form components.

Remarks​

At least one of the step-level keys must be provided. Per-step values are forwarded to the matching step component. If company data is already available via the API, the corresponding values are overwritten.


PayScheduleDefaultFields​

PayScheduleDefaultFields = { [K in keyof Pick<PayScheduleFormData, "anchorPayDate" | "anchorEndOfPayPeriod" | "day1" | "day2" | "customName" | "frequency" | "workweekStartDay">]: NonNullable<PayScheduleFormData[K]> }

The full set of fields that may be pre-filled on the PaySchedule create form.


PayScheduleDefaultValues​

PayScheduleDefaultValues = RequireAtLeastOne<Partial<PayScheduleDefaultFields>>

Default values for the PaySchedule form fields. Server data for an existing pay schedule takes precedence over these defaults when editing.