Skip to navigation

Get Contractor Fees

The contractor and US payroll subscription fees a company was charged for a range of months. Each fee is filed under the month it covered, which is not always the month it was charged in.

Authentication

X-Thera-API-Keystring
API Key authentication via header

Path parameters

companyIdstringRequired

Query parameters

fromMonthstringRequired

First month of the range, as YYYY-MM, within the last 36 months counting the current one.

toMonthstringRequired

Last month of the range, inclusive, as YYYY-MM. The range spans at most 12 months counting both ends, and cannot end in the future.

Response

This endpoint returns an object.
companyIdstring
fromMonthstring
toMonthstring
totalslist of objects
Every contractor and US payroll fee in the range, one entry per currency.
monthslist of objects
contractorslist of objects
unattributedChargeslist of objects
w2Chargeslist of objects
US payroll subscription charges in the range, oldest first. Part of the totals.