Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .reports/embedded-react-sdk.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ import { FunctionComponent } from 'react';
import { Garnishment } from '@gusto/embedded-api/models/components/garnishment';
import { GarnishmentChildSupport } from '@gusto/embedded-api/models/components/garnishmentchildsupport';
import { GarnishmentType } from '@gusto/embedded-api/models/components/garnishment';
import { GeneratedDocumentStatus } from '@gusto/embedded-api/models/components/generateddocument';
import { HolidayPayPolicy } from '@gusto/embedded-api/models/components/holidaypaypolicy';
import { HolidayPayPolicyEmployees } from '@gusto/embedded-api/models/components/holidaypaypolicy';
import { HourlyCompensations } from '@gusto/embedded-api/models/components/payrollemployeecompensationstype';
Expand Down Expand Up @@ -247,6 +248,8 @@ import { PayScheduleShow } from '@gusto/embedded-api/models/components/payschedu
import { PlaidStatus } from '@gusto/embedded-api/models/components/companybankaccount';
import { PolicyType } from '@gusto/embedded-api/models/components/timeoffpolicy';
import { PresidentsDay } from '@gusto/embedded-api/models/components/holidaypaypolicy';
import { PrintablePayrollChecksBody } from '@gusto/embedded-api/models/components/printablepayrollchecksbody';
import { PrintingFormat } from '@gusto/embedded-api/models/components/printablepayrollchecksbody';
import { QueryClient } from '@tanstack/react-query';
import { Questions } from '@gusto/embedded-api/models/components/employeestatetaxesrequest';
import { RateType } from '@gusto/embedded-api/models/components/taxrequirementmetadata';
Expand Down Expand Up @@ -537,6 +540,7 @@ declare namespace APIModels {
Garnishment,
GarnishmentChildSupport,
PaymentPeriod,
GeneratedDocumentStatus,
ChristmasDay,
ColumbusDay,
HolidayPayPolicyEmployees,
Expand Down Expand Up @@ -656,6 +660,8 @@ declare namespace APIModels {
PayScheduleFrequency_2 as PayScheduleFrequency,
PaySchedulePreviewPayPeriod,
PayScheduleShow,
PrintablePayrollChecksBody,
PrintingFormat,
RecoveryCase,
RecoveryCaseStatus,
IdentityVerificationStatus,
Expand Down Expand Up @@ -1293,6 +1299,13 @@ export const componentEvents: {
readonly CONTRACTOR_PAYMENT_CANCEL: "contractor/payments/cancel";
readonly CONTRACTOR_PAYMENT_EXIT: "contractor/payments/exit";
readonly CONTRACTOR_PAYMENT_RFI_RESPOND: "contractor/payments/rfi/respond";
readonly PRINT_CHECKS_START: "payroll/printChecks/start";
readonly PRINT_CHECKS_GENERATE_START: "payroll/printChecks/generate/start";
readonly PRINT_CHECKS_GENERATE_SUCCEEDED: "payroll/printChecks/generate/succeeded";
readonly PRINT_CHECKS_GENERATE_FAILED: "payroll/printChecks/generate/failed";
readonly PRINT_CHECKS_RETRY: "payroll/printChecks/retry";
readonly PRINT_CHECKS_CANCEL: "payroll/printChecks/cancel";
readonly PRINT_CHECKS_CLOSE: "payroll/printChecks/close";
readonly RECOVERY_CASE_RESOLVE: "recoveryCase/resolve";
readonly RECOVERY_CASE_RESUBMIT: "recoveryCase/resubmit";
readonly RECOVERY_CASE_RESUBMIT_CANCEL: "recoveryCase/resubmit/cancel";
Expand Down Expand Up @@ -4212,6 +4225,8 @@ declare namespace Payroll {
PayrollBlockerListProps,
RecoveryCases,
RecoveryCasesProps,
PrintChecks,
PrintChecksProps,
OffCyclePayPeriodDateFormData,
OffCyclePayrollDateType,
OffCycleCreation,
Expand Down Expand Up @@ -4563,6 +4578,16 @@ export type PreparerSelectFieldProps = HookFieldProps<SelectHookFieldProps<SignE
// @public
export type PreparerTextFieldProps = HookFieldProps<TextInputHookFieldProps<SignEmployeeFormRequiredValidation>>;

// @public
function PrintChecks(input: PrintChecksProps): JSX;

// @public
interface PrintChecksProps extends Omit<BaseComponentInterface<never>, 'onEvent'> {
companyId: string;
onEvent?: BaseComponentInterface['onEvent'];
payrollId: string;
}

// @public
function Profile(input: ProfileProps): JSX;

Expand Down Expand Up @@ -4983,6 +5008,14 @@ export interface Resources {
// (undocumented)
'Payroll.PayrollReceipts': Translations.PayrollPayrollReceipts
// (undocumented)
'Payroll.PrintChecksBanner': Translations.PayrollPrintChecksBanner
// (undocumented)
'Payroll.PrintChecksFailure': Translations.PayrollPrintChecksFailure
// (undocumented)
'Payroll.PrintChecksForm': Translations.PayrollPrintChecksForm
// (undocumented)
'Payroll.PrintChecksSummary': Translations.PayrollPrintChecksSummary
// (undocumented)
'Payroll.RecoveryCasesList': Translations.PayrollRecoveryCasesList
// (undocumented)
'Payroll.RecoveryCasesResubmit': Translations.PayrollRecoveryCasesResubmit
Expand Down
26 changes: 26 additions & 0 deletions docs/guides/endpoint-inventory.json
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,32 @@
"recoveryCaseUuid"
]
},
"Payroll.PrintChecks": {
"endpoints": [
{
"method": "GET",
"path": "/v1/companies/:companyId/payrolls/:payrollId",
"docsUrl": "https://docs.gusto.com/embedded-payroll/v2026-06-15/reference/get-v1-companies-company_id-payrolls-payroll_id"
},
{
"method": "GET",
"path": "/v1/generated_documents/:documentType/:requestUuid",
"docsUrl": "https://docs.gusto.com/embedded-payroll/v2026-06-15/reference/get-v1-generated_documents-document_type-request_uuid"
},
{
"method": "POST",
"path": "/v1/payrolls/:payrollUuid/generated_documents/printable_payroll_checks",
"docsUrl": "https://docs.gusto.com/embedded-payroll/v2026-06-15/reference/post-v1-payrolls-payroll_uuid-generated_documents-printable_payroll_checks"
}
],
"variables": [
"companyId",
"documentType",
"payrollId",
"payrollUuid",
"requestUuid"
]
},
"Payroll.OffCycleCreation": {
"endpoints": [
{
Expand Down
3 changes: 3 additions & 0 deletions docs/guides/endpoint-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,9 @@ import inventory from '@gusto/embedded-react-sdk/endpoint-inventory.json'
| | GET | [`/v1/companies/:companyUuid/recovery_cases`](https://docs.gusto.com/embedded-payroll/v2026-06-15/reference/get-recovery-cases) |
| **Payroll.RecoveryCases** | GET | [`/v1/companies/:companyUuid/recovery_cases`](https://docs.gusto.com/embedded-payroll/v2026-06-15/reference/get-recovery-cases) |
| | PUT | [`/v1/recovery_cases/:recoveryCaseUuid/redebit`](https://docs.gusto.com/embedded-payroll/v2026-06-15/reference/redebit-recovery-case) |
| **Payroll.PrintChecks** | GET | [`/v1/companies/:companyId/payrolls/:payrollId`](https://docs.gusto.com/embedded-payroll/v2026-06-15/reference/get-v1-companies-company_id-payrolls-payroll_id) |
| | GET | [`/v1/generated_documents/:documentType/:requestUuid`](https://docs.gusto.com/embedded-payroll/v2026-06-15/reference/get-v1-generated_documents-document_type-request_uuid) |
| | POST | [`/v1/payrolls/:payrollUuid/generated_documents/printable_payroll_checks`](https://docs.gusto.com/embedded-payroll/v2026-06-15/reference/post-v1-payrolls-payroll_uuid-generated_documents-printable_payroll_checks) |
| **Payroll.OffCycleCreation** | GET | [`/v1/companies/:companyId/employees`](https://docs.gusto.com/embedded-payroll/v2026-06-15/reference/get-v1-companies-company_id-employees) |
| | POST | [`/v1/companies/:companyId/payrolls`](https://docs.gusto.com/embedded-payroll/v2026-06-15/reference/post-v1-companies-company_id-payrolls) |
| | GET | [`/v1/companies/:companyUuid/payment_configs`](https://docs.gusto.com/embedded-payroll/v2026-06-15/reference/get-v1-company-payment-configs) |
Expand Down
83 changes: 83 additions & 0 deletions docs/reference/APIModels/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3036,6 +3036,39 @@ Defined in: [gusto\_embedded\_v\_2026\_06\_15/src/models/components/garnishment.

***

<a id="generateddocumentstatus"></a>

## GeneratedDocumentStatus

> `const` **GeneratedDocumentStatus**: `object`

Defined in: [gusto\_embedded\_v\_2026\_06\_15/src/models/components/generateddocument.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_06_15/v0.1.0/gusto_embedded_v_2026_06_15/src/models/components/generateddocument.ts#L15)

Current status of the Generated Document

### Type Declaration

| Name | Type |
| ------ | ------ |
| <a id="property-generateddocumentstatusfailed"></a> `Failed` | `"failed"` |
| <a id="property-generateddocumentstatuspending"></a> `Pending` | `"pending"` |
| <a id="property-generateddocumentstatusstarted"></a> `Started` | `"started"` |
| <a id="property-generateddocumentstatussucceeded"></a> `Succeeded` | `"succeeded"` |

***

<a id="generateddocumentstatus-1"></a>

## GeneratedDocumentStatus

> **GeneratedDocumentStatus** = `ClosedEnum`\<*typeof* [`GeneratedDocumentStatus`](#generateddocumentstatus)\>

Defined in: [gusto\_embedded\_v\_2026\_06\_15/src/models/components/generateddocument.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_06_15/v0.1.0/gusto_embedded_v_2026_06_15/src/models/components/generateddocument.ts#L15)

Current status of the Generated Document

***

<a id="holidaypaypolicy"></a>

## HolidayPayPolicy
Expand Down Expand Up @@ -6028,6 +6061,56 @@ Defined in: [gusto\_embedded\_v\_2026\_06\_15/src/models/components/holidaypaypo

***

<a id="printablepayrollchecksbody"></a>

## PrintablePayrollChecksBody

> **PrintablePayrollChecksBody** = `object`

Defined in: [gusto\_embedded\_v\_2026\_06\_15/src/models/components/printablepayrollchecksbody.ts:24](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_06_15/v0.1.0/gusto_embedded_v_2026_06_15/src/models/components/printablepayrollchecksbody.ts#L24)

Request body for generating printable payroll checks.

### Properties

| Property | Type | Description |
| ------ | ------ | ------ |
| <a id="property-printablepayrollchecksbodyprintingformat"></a> `printingFormat` | [`PrintingFormat`](#printingformat-1) | The type of check stock being printed. Check the "Types of check stock" section in this [link](https://support.gusto.com/article/999877761000000/Pay-your-team-by-check) for more info on check types |
| <a id="property-printablepayrollchecksbodystartingchecknumber"></a> `startingCheckNumber?` | `number` | The starting check number we will start generating checks from. Use to override the sequence that will be used to generate check numbers. |

***

<a id="printingformat"></a>

## PrintingFormat

> `const` **PrintingFormat**: `object`

Defined in: [gusto\_embedded\_v\_2026\_06\_15/src/models/components/printablepayrollchecksbody.ts:12](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_06_15/v0.1.0/gusto_embedded_v_2026_06_15/src/models/components/printablepayrollchecksbody.ts#L12)

The type of check stock being printed. Check the "Types of check stock" section in this [link](https://support.gusto.com/article/999877761000000/Pay-your-team-by-check) for more info on check types

### Type Declaration

| Name | Type |
| ------ | ------ |
| <a id="property-printingformatbottom"></a> `Bottom` | `"bottom"` |
| <a id="property-printingformattop"></a> `Top` | `"top"` |

***

<a id="printingformat-1"></a>

## PrintingFormat

> **PrintingFormat** = `ClosedEnum`\<*typeof* [`PrintingFormat`](#printingformat)\>

Defined in: [gusto\_embedded\_v\_2026\_06\_15/src/models/components/printablepayrollchecksbody.ts:12](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_06_15/v0.1.0/gusto_embedded_v_2026_06_15/src/models/components/printablepayrollchecksbody.ts#L12)

The type of check stock being printed. Check the "Types of check stock" section in this [link](https://support.gusto.com/article/999877761000000/Pay-your-team-by-check) for more info on check types

***

<a id="questions"></a>

## Questions
Expand Down
82 changes: 79 additions & 3 deletions docs/reference/Translations/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5069,9 +5069,6 @@ Translation keys for the `Payroll.PayrollOverview` i18n namespace.
| Property | Default value |
| ------ | ------ |
| <a id="property-payrollpayrolloverviewalerts"></a> `alerts` | |
| `alerts.checkPaymentWarning_one` | `"You noted {{count}} employee who should be paid by check."` |
| `alerts.checkPaymentWarning_other` | `"You noted {{count}} employees who should be paid by check."` |
| `alerts.checkPaymentWarningDescription` | `"Employees with this payment method will need their checks delivered to them."` |
| `alerts.directDepositDeadline` | `"To pay your employees with direct deposit by {{payDate}}, you'll need to run payroll by {{time}} on {{date}}"` |
| `alerts.payrollNotCalculated` | `"Payroll is not calculated"` |
| `alerts.payrollProcessedMessage` | `"{{amount}} will be debited on {{date}}. Make sure you have these funds available."` |
Expand Down Expand Up @@ -5234,6 +5231,81 @@ Translation keys for the `Payroll.PayrollReceipts` i18n namespace.

***

<a id="payrollprintchecksbanner"></a>

### PayrollPrintChecksBanner

Translation keys for the `Payroll.PrintChecksBanner` i18n namespace.

#### Properties

| Property | Default value |
| ------ | ------ |
| <a id="property-payrollprintchecksbannercta"></a> `cta` | `"View and print checks"` |
| <a id="property-payrollprintchecksbannerdescription"></a> `description` | `"Employees with this payment method will need their checks delivered to them. If you aren't using your own checks, you can view and print checks."` |
| <a id="property-payrollprintchecksbannertitle_one"></a> `title_one` | `"You noted {{count}} employee that should be paid by check."` |
| <a id="property-payrollprintchecksbannertitle_other"></a> `title_other` | `"You noted {{count}} employees that should be paid by check."` |

***

<a id="payrollprintchecksfailure"></a>

### PayrollPrintChecksFailure

Translation keys for the `Payroll.PrintChecksFailure` i18n namespace.

#### Properties

| Property | Default value |
| ------ | ------ |
| <a id="property-payrollprintchecksfailureclosecta"></a> `closeCta` | `"Close"` |
| <a id="property-payrollprintchecksfailurefailedtitle"></a> `failedTitle` | `"We couldn't generate your checks"` |
| <a id="property-payrollprintchecksfailureretrycta"></a> `retryCta` | `"Try again"` |

***

<a id="payrollprintchecksform"></a>

### PayrollPrintChecksForm

Translation keys for the `Payroll.PrintChecksForm` i18n namespace.

#### Properties

| Property | Default value |
| ------ | ------ |
| <a id="property-payrollprintchecksformblankstockdescription"></a> `blankStockDescription` | `"Use this check stock if you have blank check stock and need us to populate your company and bank information. The physical check will always be on the bottom of the check PDF."` |
| <a id="property-payrollprintchecksformblankstocklabel"></a> `blankStockLabel` | `"Blank check stock"` |
| <a id="property-payrollprintchecksformcancelcta"></a> `cancelCta` | `"Cancel"` |
| <a id="property-payrollprintchecksformcustomstockdescription"></a> `customStockDescription` | `"Use this check stock if you have check stock that is pre-printed with your company and bank information. The physical check will appear on the top of the check PDF. Check numbers should already be pre-printed on the check stock you purchased."` |
| <a id="property-payrollprintchecksformcustomstocklabel"></a> `customStockLabel` | `"Custom check stock"` |
| <a id="property-payrollprintchecksformmodaltitle"></a> `modalTitle` | `"Choose check stock"` |
| <a id="property-payrollprintchecksformstartingchecknumberdescription"></a> `startingCheckNumberDescription` | `"This will be the first check number, all other checks will follow sequentially."` |
| <a id="property-payrollprintchecksformstartingchecknumberlabel"></a> `startingCheckNumberLabel` | `"Check number starts with"` |
| <a id="property-payrollprintchecksformsubmitcta"></a> `submitCta` | `"View checks"` |
| <a id="property-payrollprintchecksformsubmitctaloading"></a> `submitCtaLoading` | `"Generating..."` |
| <a id="property-payrollprintchecksformvalidations"></a> `validations` | |
| `validations.startingCheckNumber` | `"Enter a valid check number"` |

***

<a id="payrollprintcheckssummary"></a>

### PayrollPrintChecksSummary

Translation keys for the `Payroll.PrintChecksSummary` i18n namespace.

#### Properties

| Property | Default value |
| ------ | ------ |
| <a id="property-payrollprintcheckssummaryclosecta"></a> `closeCta` | `"Close"` |
| <a id="property-payrollprintcheckssummarysucceededdescription"></a> `succeededDescription` | `"The download should have started automatically. If not, use the link below."` |
| <a id="property-payrollprintcheckssummarysucceededtitle"></a> `succeededTitle` | `"Your checks are ready"` |
| <a id="property-payrollprintcheckssummaryviewcheckscta"></a> `viewChecksCta` | `"View checks"` |

***

<a id="payrollrecoverycaseslist"></a>

### PayrollRecoveryCasesList
Expand Down Expand Up @@ -5606,6 +5678,10 @@ yields that namespace's keys. Backs i18next `t()` typing and `ResourceDictionary
| <a id="property-resourcespayrollpayrolllist"></a> `Payroll.PayrollList` | [`PayrollPayrollList`](#payrollpayrolllist) |
| <a id="property-resourcespayrollpayrolloverview"></a> `Payroll.PayrollOverview` | [`PayrollPayrollOverview`](#payrollpayrolloverview) |
| <a id="property-resourcespayrollpayrollreceipts"></a> `Payroll.PayrollReceipts` | [`PayrollPayrollReceipts`](#payrollpayrollreceipts) |
| <a id="property-resourcespayrollprintchecksbanner"></a> `Payroll.PrintChecksBanner` | [`PayrollPrintChecksBanner`](#payrollprintchecksbanner) |
| <a id="property-resourcespayrollprintchecksfailure"></a> `Payroll.PrintChecksFailure` | [`PayrollPrintChecksFailure`](#payrollprintchecksfailure) |
| <a id="property-resourcespayrollprintchecksform"></a> `Payroll.PrintChecksForm` | [`PayrollPrintChecksForm`](#payrollprintchecksform) |
| <a id="property-resourcespayrollprintcheckssummary"></a> `Payroll.PrintChecksSummary` | [`PayrollPrintChecksSummary`](#payrollprintcheckssummary) |
| <a id="property-resourcespayrollrecoverycaseslist"></a> `Payroll.RecoveryCasesList` | [`PayrollRecoveryCasesList`](#payrollrecoverycaseslist) |
| <a id="property-resourcespayrollrecoverycasesresubmit"></a> `Payroll.RecoveryCasesResubmit` | [`PayrollRecoveryCasesResubmit`](#payrollrecoverycasesresubmit) |
| <a id="property-resourcespayrolltransition"></a> `Payroll.Transition` | [`PayrollTransition`](#payrolltransition) |
Expand Down
1 change: 1 addition & 0 deletions docs/reference/blocks.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ Individual form and UI components with SDK logic built in — use these for cust
| [Payroll.PayrollList](payroll/blocks#payrolllist) | Lists upcoming payrolls and lets users start running them. |
| [Payroll.PayrollOverview](payroll/blocks#payrolloverview) | Final review screen for a calculated payroll before submission, with submit, cancel, and edit controls. After submission, tracks processing status and surfaces the receipt and per-employee paystub downloads once complete. |
| [Payroll.PayrollReceipts](payroll/blocks#payrollreceipts) | Displays a detailed receipt for a completed payroll, including the debited total, per-category breakdown, tax breakdown, and a per-employee summary of payment method, garnishments, reimbursements, taxes, and net pay. |
| [Payroll.PrintChecks](payroll/blocks#printchecks) | Displays a banner prompting the user to print checks for employees paid by check on a processed payroll, and walks them through choosing check stock and generating the check PDF. |
| [Payroll.RecoveryCases](payroll/blocks#recoverycases) | Displays open recovery cases for a company and provides an in-modal resubmit workflow for resolving them. |
| [Payroll.TransitionCreation](payroll/blocks#transitioncreation) | Creation form for transition payrolls covering the gap between an old and new pay schedule. |
| [TimeOff.AddEmployeesHoliday](time-off/blocks#addemployeesholiday) | Employee selection screen for assigning employees to a company's holiday pay policy. |
Expand Down
Loading
Loading