Statutory withholdings are calculated by Nmbr and need no configuration. See Statutory Withholdings. Benefit contributions are configured separately. See Configuring Benefits.
The rest of this guide covers the Deductions you configure yourself: union dues, garnishments, charitable donations, and anything else withheld from an employee’s pay and remitted to a third party.
Configuring a Deduction
A Deduction is a recurring instruction attached to a work assignment. During the effective dates, Nmbr applies it to the payroll as a Deduction Line Item.- Deductions can be a fixed amount, an amount per hour worked, or a percentage of income.
- Deductions can be inherited from a Business Preset, allowing for consistent configuration across multiple work assignments.
- Deductions apply to Employee work assignments. They are not available on contractor work assignments.
Key Fields
For the complete list of accepted fields, see the Create a Deduction API reference.
Amount Types
amount carries the value and amount_type says how to read it.
fixed:amountis a dollar figure, up to 99999.fixed_per_hour:amountis a dollar figure per hour. Nmbr multiplies it by the total hours on the pay stub’s earning line items.percent:amountis a percentage between 0 and 100, applied to the income for the pay period.
Defining Income for Percentage Deductions
income_basis selects the line items on the pay stub that make up income.
Two lists adjust the result:
income_includes adds specific subtypes on top of the basis. Each entry names a type (earning, allowance, reimbursement, or employer_benefit) and a subtype. Employer benefit contributions are only ever income when you name them here; no income_basis value includes them.
income_subtractions takes specific subtypes back off. Each entry names a type (deduction or employee_benefit) and a subtype. Use it when a deduction is calculated on income after another withholding has already been taken, such as union dues charged on earnings net of an RRSP contribution.
Gross and Net Income
income_statutory_withholdings decides whether statutory withholdings come off the income before the percentage is applied.
none(the default): the percentage applies to the income as defined above. This is a deduction on gross income.all: Nmbr subtracts every statutory withholding on the pay stub (CPP or QPP, EI, QPIP, and income tax) and applies the percentage to what’s left. This is a deduction on net income.
all subtracts the full statutory withholding figure even when your definition of income is narrower than the earnings those withholdings were calculated on. If income is defined as 20,000 of allowances, the withholdings subtracted were calculated on the full $30,000. Where that takes income to zero or below, the deduction is zero for the period.
Nmbr handles the calculation ordering for you. Gross-income deductions are calculated before statutory withholdings, and net-income deductions after, so a deduction that reduces taxable income and a deduction that depends on the resulting tax can both sit on the same pay stub.
Pre-Tax and Post-Tax Deductions
Whether a deduction reduces the tax withheld comes fromdeduction_type, not from income_statutory_withholdings. The two are independent choices.
union_duesreduces the income tax withheld, everywhere except Quebec, and reports in T4 box 44.union_dues_post_taxdoes not reduce the income tax withheld.charitable_donationdoes not reduce the income tax withheld, and reports in T4 box 46 and RL-1 box N.garnishment_orderandother_deductiondo not reduce the income tax withheld.
features parameter. See Line Item Type Features.
Exemptions
Two fields exempt part of the income before the percentage is applied. Both are optional and both are read only for percentage deductions.income_exemption_amount: a dollar amount, up to 99999.income_exemption_percent: a percentage of income, between 0 and 100.
income_statutory_withholdings, so a percentage exemption on a net-income deduction is a percentage of income after statutory withholdings.
The full order for a percentage deduction:
- Total the line items selected by
income_basisandincome_includes. - Subtract the line items named in
income_subtractions. - Subtract statutory withholdings, if
income_statutory_withholdingsisall. - Subtract the exemption, taking the greater of the dollar and percentage figures.
- Apply
amountas a percentage of what remains.
Frequency and Allocation
frequency decides how often a deduction reaches a pay stub. Deductions are applied to the next regular draft payroll that falls inside the effective window.
once: applied to the next payroll, then not repeated once that payroll is no longer a draft.per_payroll: the full amount on every payroll in the effective window.per_month: the amount is divided across the selected payrolls in each calendar month.
per_month requires an amount_type of fixed. Percentage and per-hour deductions recalculate against each period’s earnings, so they apply to every paycheque regardless of frequency.
Two fields shape a per_month allocation.
date_basis decides which calendar month a payroll belongs to: by_period_start_date (the default), by_period_end_date, or by_pay_date.
pay_period_cadence lists the pay periods in the month that receive a share, as 1-based positions. -1 means the final period of the month. When omitted, every period in the month receives a share.
A 200 on the first payroll of the month, and nothing on the rest. If a selected position doesn’t exist in a given month, its share is redistributed across the remaining selected periods.
Both fields are read only for
per_month fixed-amount deductions. Sending either one on any other deduction returns a validation error instead of storing a value that would never be used.
Validations
amountmust be between 0 and 100 whenamount_typeispercent, and between 0 and 99999 for the other types.- A deduction must include a
deduction_typeunless inherited from a Business Preset. frequencymay only beper_monthwhenamount_typeisfixed.date_basisandpay_period_cadencemay only be set onper_monthfixed-amount deductions.effective_tomust be on or aftereffective_from.- Every subtype named in
income_includesandincome_subtractionsmust be a valid subtype of itstype. - The work assignment must belong to an Employee.
Deduction Line Items
Deduction Line Items represent the amounts actually withheld during payroll processing. Nmbr generates them from the configured Deductions, and you can create them directly for one-off withholdings.
Updating, ending, and deleting a Deduction is forward-looking. See Updating, ending, and deleting.
Deduction Types
Retrieve the supported types withGET /deduction_types. Each deduction type object includes:
type: the unique identifier used in the API, e.g.union_dues,garnishment_order.label: a human-readable name for display purposes, e.g. “Union Dues”, “Garnishment Order”.

