Payroll

get/v1/payroll/deductions

Request

  • Base URL: https://open.wenmarpro.com
  • URL: https://open.wenmarpro.com/v1/payroll/deductions
  • Auth: none declared

Query parameters

provincestring

Only ON, Ontario, for now. Left out, Ontario.

frequencystring

weekly, biweekly, semi-monthly or monthly. Required.

grossstring

The gross pay for one pay period, in dollars. Required.

federal_claimstring

The federal claim amount from Form TD1. Left out, the basic personal amount (claim code 1); 0 is claim code 0.

provincial_claimstring

The Ontario claim amount from Form TD1ON. Left out, the basic personal amount (claim code 1); 0 is claim code 0.

pay_datestring

The pay date, YYYY-MM-DD; it chooses the tables. Left out, today. Send it for an answer that does not depend on the day.

ytd_cppstring

CPP (base and first additional) deducted earlier this calendar year. Left out, nothing.

ytd_cpp2string

CPP2 deducted earlier this calendar year. Left out, nothing.

ytd_eistring

EI deducted earlier this calendar year. Left out, nothing.

ytd_pensionablestring

Pensionable earnings earlier this calendar year. Left out, nothing.

Response

The deductions from the pay, the net pay, the employer's share and every T4127 factor used. An estimate.

attributionstring[] required

The data this answer came from; none, the engine's tables are the data.

frequencystring required

The frequency slug: weekly, biweekly, semi-monthly or monthly.

grossnumber double required

The gross pay for the period, in dollars.

net_paynumber double required

Gross pay less the employee's deductions, in dollars.

notestring required

The note that the answer is an estimate.

pay_datestring required

The pay date, YYYY-MM-DD.

pay_date_notestring nullable

Said when the pay date was moved into the tables held.

pdoc_urlstring required

CRA's Payroll Deductions Online Calculator.

periods_per_yearinteger required

Pay periods in the year.

provincestring required

"ON".

Example response

{
  "frequency": "biweekly",
  "gross": 2400,
  "net_pay": 1880.15,
  "pay_date": "2026-07-15",
  "periods_per_year": 26,
  "province": "ON"
}

Changes

No recorded changes to this operation across all 1 revision of this API.