Get Employee Scheduled Deductions
Returns a paginated list of scheduled deductions for employees. A scheduled deduction is a recurring or one-time amount withheld from an employee's paycheck for a specific deduction type (e.g., a weekly 401k contribution).
Optional Filters:
organization-id— limit to deductions for employees in companies belonging to these organizationscompany-ids— limit to deductions for employees in these companiesemployee-ids— limit to deductions for these employeescompany-deduction-ids— limit to deductions of these deduction typesstatus—Activereturns active deductions;InActivereturns stopped deductions onlyeffective-from/effective-to— inclusive date bounds. Required when filtering byorganization-idorcompany-idsonly. Date range cannot exceed 365 days.
Date range behavior: When both dates are provided, returns deductions that started on or after effective-from AND ended on or before effective-to (or have no end date). One-time deductions are included if their start date falls within the range.
EffectiveTo behavior: effectiveTo is always null for one-time deductions. For recurring deductions, it is returned when set.
Multiple filters combine with AND logic; values within one parameter combine with OR.
Access control: Results are limited to companies your integration has access to. When organization-id is supplied, only results from organizations containing at least one accessible company are included. Inaccessible IDs in filter parameters are silently excluded; if none match, an empty list is returned.
Error Details:
- 400 Bad Request —
effective-fromis aftereffective-to, or the date range exceeds 365 days
Authorization
XApiKey Your API key.
In: header
Query Parameters
API version
"3.0""3.0"Limit results to deductions for employees in companies belonging to this organization.
uuidLimit results to deductions for employees in these companies.
Limit results to deductions for these employees.
Limit results to deductions of these deduction types.
Limit results to deductions with this status. When omitted, both active and inactive deductions are returned.
"active" | "inActive"Start of the effective date range (inclusive, YYYY-MM-DD).
dateEnd of the effective date range (inclusive, YYYY-MM-DD).
datePage number (1-based). Defaults to 1 if not specified.
int321 <= value <= 2147483647Number of items per page. Defaults to 100 if not specified. Maximum 500.
int321 <= value <= 500Response Body
curl -X GET "https://external-app-prod.netchexonline.net/employee-scheduled-deductions?api-version=3.0"{
"pageNumber": 0,
"pageSize": 0,
"totalItemsCount": 0,
"items": [
{
"employeeDeductionId": 0,
"employeeId": 0,
"companyDeductionId": 0,
"companyId": 0,
"categoryGroup": "voluntary",
"isLocked": true,
"isActive": true,
"voluntaryDeduction": {
"employeeContributionAmount": {
"flatAmount": 0,
"percentage": 0
},
"frequency": "oneTime",
"effectiveFrom": "2019-08-24T14:15:22Z",
"effectiveTo": "2019-08-24T14:15:22Z",
"isEmployerContributionOverride": true,
"employerContributionAmount": {
"flatAmount": 0,
"percentage": 0
}
}
}
]
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}Get Company Tax Codes GET
Returns a paginated list of tax codes configured for companies. A company tax code identifies a tax jurisdiction or withholding obligation the company is registered for (e.g., a state income tax or local withholding code). **Optional Filters:** - `organization-id` — limit to tax codes for companies belonging to these organizations - `company-ids` — limit to tax codes for these companies - `include-federal` — set to `true` to include federal tax codes alongside state and local codes Multiple filters combine with AND logic; values within one parameter combine with OR. **Access control:** Results are limited to companies your integration has access to. When `organization-id` is supplied, only results from organizations containing at least one accessible company are included. Inaccessible IDs in filter parameters are silently excluded; if none match, an empty list is returned.
Get General Ledger Transactions GET
Returns a paginated list of general ledger journal entries for a specific company and payroll run. Each entry represents a debit or credit transaction used to record payroll costs in the company's accounting system. Use `distribution-options` to control how payroll costs are allocated to departments within each journal entry category. Each category can be independently set to `HomeDepartment` (the employee's primary assigned department), `WorkDepartment` (the department where the employee actually worked during the pay period), or `None` (no department allocation). When a category is omitted, the company's default allocation setting is used. Transaction categories available for distribution: - `salary-expenses` - `employer-tax-expenses` - `employer-tax-liabilities` - `employee-tax-liabilities` - `employer-deduction-expenses` - `employee-deduction-liabilities` - `employer-deduction-liabilities` - `workers-compensation-expenses` (only applies when `include-workers-compensation=true`) - `workers-compensation-liabilities` (only applies when `include-workers-compensation=true`) **Access control:** Results are limited to companies your integration has access to. **Error Details:** - **404 Not Found** — the specified company is not accessible, or no transactions were found for the given company and payroll number