Skip to content
gist.link ↗

Payroll types

Type definitions referenced by Payroll queries and mutations.

Scalar. The Boolean scalar type represents true or false.

Input object.

Field Type Description
organization_name String —

Object.

Field Type Description
success Boolean! —
message String! —

Object. A missing configuration the org must complete in the settings app.

Field Type Description
code String! SETTINGS_UNAVAILABLE | LEGAL_NAME | CRA_BUSINESS_NUMBER | US_EIN | EU_TAX_ID
message String! —
settings_field String The settings field to fill in, when applicable.

Input object.

Field Type Description
employee_uuid String! —
pay_type_uuid String —
amount_minor Int! Positive integer minor units.
currency String —
quantity String —
period_start String —
period_end String —
note String —

Input object.

Field Type Description
user_id String! Auth user id of an existing account in the organization (required — name/email come from the account).
employment_status String —
country String —
hired_at String —
employee_number String Org-unique clock in/out code (2-32 letters, digits, dashes).
pay_basis String salary | hourly
base_rate_minor Int Integer minor units: annual salary or hourly rate.
currency String —

Input object.

Field Type Description
pay_date String Defaults to the next scheduled pay date.

Input object. Plaintext exists only in-flight; sealed immediately with libsodium at rest.

Field Type Description
account_holder String! —
bank_name String —
account_number String US/CA account number.
routing_number String US ABA / CA transit-institution routing.
iban String EU/EEA IBAN.
swift_bic String —

Object.

Field Type Description
uuid String! —
employee PayrollEmployee! —
url String Public invite URL (null once accepted/expired).
expires_at String! —
accepted_at String —
created_at String! —

Object. Semi-redacted view of the employee’s sensitive profile. Full direct-deposit and tax-id data are sealed write-only blobs and are NEVER exposed here.

Field Type Description
uuid String! —
country String! —
has_direct_deposit Boolean! —
bank_name String —
account_last4 String —
tax_id_last4 String —
consent_at String —
pay_supplier_uuid String Supplier uuid mirrored into the pay app for direct deposits.
updated_at String! —

Scalar. The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.

Object. Employee self-service view of their own payroll setup.

Field Type Description
configured Boolean! False when the caller is not set up as a payroll employee.
employee PayrollEmployee —
paystubs [Paystub!]! Paystubs from completed pay runs, newest pay date first.

Object.

Field Type Description
configured Boolean! —
employee PayrollEmployee —
open_entry TimeEntry —

Object.

Field Type Description
id Int! —
uuid String! —
employee PayrollEmployee! —
pay_type PayType —
amount_minor Int! —
currency String! —
quantity String Quantity (e.g. hours) as a decimal string.
period_start String —
period_end String —
note String —
status String! pending | approved | paid
pay_bill_payment_uuid String BillPayment uuid in the pay app once deposited.
created_at String! —

Object. Readiness of the org’s tax setup for automatic remittances and filings.

Field Type Description
ready Boolean! —
gaps [ComplianceGap!]! —

Object.

Field Type Description
id Int! —
uuid String! —
organization_id String! —
auth_user_id String The linked auth user account (identity lives only in auth).
first_name String! —
last_name String! —
full_name String! —
email String! —
employment_status String! —
employee_number String Assignable, org-unique clock in/out identifier.
country String! ISO 3166-1 alpha-2 country (US, CA, or an EU/EEA member).
pay_basis String! salary | hourly
base_rate_minor Int! Annual salary (salary basis) or hourly rate (hourly basis), integer minor units.
currency String! —
hired_at String —
created_at String! —
updated_at String! —
pay_profile EmployeePayProfile —

Object.

Field Type Description
employee_first_name String! —
employee_last_name String! —
employee_email String! —
country String! —
expires_at String! —

Object.

Field Type Description
employees_count Int! —
open_pay_runs_count Int! —
upcoming_pay_date String —
period_start String —
period_end String —
hours_this_period String! Closed hours worked in the current pay period (decimal string).
pending_pay_items_total_minor Int! Sum of pending pay items, integer minor units.
employees_missing_direct_deposit Int! —
pay_frequency String weekly | biweekly | semimonthly | monthly (null until settings exist).
last_completed_pay_date String —
last_completed_total_minor Int —

Object.

Field Type Description
uuid String! —
pay_frequency String! weekly | biweekly | semimonthly | monthly
anchor_pay_date String! A known pay date the schedule is projected from (YYYY-MM-DD).
overtime_weekly_threshold_hours Int! —
next_pay_date String! —
updated_at String! —

Input object.

Field Type Description
pay_frequency String weekly | biweekly | semimonthly | monthly
anchor_pay_date String YYYY-MM-DD
overtime_weekly_threshold_hours Int —

Object.

Field Type Description
uuid String! —
period_start String! —
period_end String! —
pay_date String! —
status String! draft | approved | processing | completed | cancelled
currency String! —
total_gross_minor Int! —
lines_count Int! —
approved_at String —
completed_at String —
created_at String! —
lines [PayRunLine!]! —

Object.

Field Type Description
uuid String! —
employee PayrollEmployee! —
regular_hours String! —
overtime_hours String! —
base_minor Int! —
overtime_minor Int! —
pay_items_minor Int! —
gross_minor Int! —
income_tax_minor Int! Estimated income tax withheld at source.
employee_contrib_minor Int! Employee statutory contributions withheld (CPP/EI, FICA, EU social).
employer_contrib_minor Int! Employer-side statutory contributions (not deducted from pay).
net_minor Int! Net pay actually deposited or written on the cheque.
currency String! —
method String! direct_deposit | cheque
status String! pending | paid | skipped
cheque_number String Assigned when method=cheque; used by the printable cheque template.
pay_bill_payment_uuid String —

Object. One completed pay run line, from the employee’s own point of view.

Field Type Description
uuid String! —
pay_run_uuid String! —
period_start String! —
period_end String! —
pay_date String! —
regular_hours String! —
overtime_hours String! —
base_minor Int! —
overtime_minor Int! —
pay_items_minor Int! —
gross_minor Int! —
income_tax_minor Int! Estimated income tax withheld at source.
employee_contrib_minor Int! Statutory contributions withheld (CPP/EI, FICA, EU social).
net_minor Int! Net pay received.
currency String! —
method String! direct_deposit | cheque
status String! pending | paid | skipped
cheque_number String —

Object.

Field Type Description
id Int! —
uuid String! —
name String! —
category String! regular | overtime | vacation | bonus | holiday | sick | commission | other
amount_type String! hourly | salary | fixed
rate_multiplier String! Decimal string, e.g. 1.500 for overtime.
default_amount_minor Int! Integer minor units.
currency String! —
active Boolean! —
created_at String! —
updated_at String! —

Input object.

Field Type Description
name String —
category String —
amount_type String —
rate_multiplier String —
default_amount_minor Int —
currency String —
active Boolean —

Input object.

Field Type Description
employee_uuid String! —
amount_minor Int! Positive integer minor units.
currency String —
memo String —

Object.

Field Type Description
status String! —
service String! —
timestamp String! —

Scalar. The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.

Input object.

Field Type Description
consent Boolean! Explicit consent to store payroll data (GDPR / PIPEDA / US state law). Must be true.
country String ISO 3166-1 alpha-2: US, CA, or an EU/EEA member.
direct_deposit DirectDepositInput! —
tax_id String SSN / SIN / national tax id — sealed write-only; only last4 (also encrypted) is readable.

Object.

Field Type Description
success Boolean! —
message String! —

Object. An actual suite user account, from the auth directory.

Field Type Description
id String! —
email String! —
name String! —

Object. An official payroll record kept for compliance: year-end employee forms (T4, W-2, EU annual statement) and remittance receipts. The payload is an immutable JSON snapshot of the form contents.

Field Type Description
uuid String! —
type String! T4 | W2 | EU_ANNUAL | REMITTANCE_RECEIPT
tax_year Int! —
jurisdiction String! CRA | IRS | EU
authority String! —
employee PayrollEmployee Null for organization-level records (remittance receipts).
payload_json String! Immutable JSON snapshot of the form contents (boxes, employer, employee).
generated_at String! —

Object. A scheduled tax deadline reminder, created once per concrete deadline by the daily reminder cron and emailed to the organization’s admins through the suite mail service.

Field Type Description
uuid String! —
type String! REMITTANCE_DUE | REMITTANCE_OVERDUE | YEAR_END_FORMS
due_date String! The statutory deadline the reminder is about.
message String! —
jurisdiction String CRA | IRS | EU — null for year-end form reminders.
authority String —
remittance_uuid String Set for remittance reminders.
tax_year Int Set for year-end form reminders.
status String! pending (email queued) | sent
sent_at String —
created_at String! —

Object. A statutory payroll remittance owed to a tax authority for one pay run and jurisdiction. Auto-remitted when the employer’s registration is configured in settings; otherwise pending until it is.

Field Type Description
uuid String! —
pay_run_uuid String! —
pay_date String! —
jurisdiction String! CRA | IRS | EU
authority String! —
currency String! —
income_tax_minor Int! —
employee_contrib_minor Int! —
employer_contrib_minor Int! —
total_minor Int! —
due_date String! —
status String! pending | remitted
registration_number String Employer registration used for the filing (CRA BN / EIN / EU id).
confirmation_number String —
remitted_at String —
created_at String! —

Object.

Field Type Description
id Int! —
uuid String! —
employee PayrollEmployee! —
clock_in_at String! —
clock_out_at String —
duration_seconds Int! —
open Boolean! —
source String! web | mobile

Input object.

Field Type Description
employment_status String —
country String —
hired_at String —
employee_number String —
pay_basis String —
base_rate_minor Int —
currency String —