List an employer's payroll-deduction statements
employers.list_payroll_deduction_statements(stremployer_id, EmployerListPayrollDeductionStatementsParams**kwargs) -> SyncPageNumberPage[EmployerListPayrollDeductionStatementsResponse]
GET/v1/employers/{employer_id}/payroll-deduction-statements
Returns a paginated list of the employer’s payroll-deduction statements, newest period first, each with its period, generation date, distinct employee count, total deduction, change-file link, and deduction frequency. Statements superseded by a later correction are excluded. The caller must be authorized for the employer; an unknown or unauthorized employer returns 404.
List an employer's payroll-deduction statements
import os
from vitable_connect import VitableConnect
client = VitableConnect(
api_key=os.environ.get("VITABLE_CONNECT_API_KEY"), # This is the default and can be omitted
)
page = client.employers.list_payroll_deduction_statements(
employer_id="empr_abc123def456",
)
page = page.data[0]
print(page.statement_id){
"data": [
{
"statement_id": "pstmt_abc123def456",
"period_start": "2026-05-01",
"period_end": "2026-05-31",
"run_date": "2026-06-01T00:00:00Z",
"employee_count": 12,
"total_deduction_cents": 345600,
"csv_file_url": "https://files.example/pds-1.csv",
"deduction_frequency": "monthly",
"deduction_frequency_label": "Monthly"
}
],
"pagination": {
"page": 1,
"limit": 20,
"total": 1,
"total_pages": 1
}
}Returns Examples
{
"data": [
{
"statement_id": "pstmt_abc123def456",
"period_start": "2026-05-01",
"period_end": "2026-05-31",
"run_date": "2026-06-01T00:00:00Z",
"employee_count": 12,
"total_deduction_cents": 345600,
"csv_file_url": "https://files.example/pds-1.csv",
"deduction_frequency": "monthly",
"deduction_frequency_label": "Monthly"
}
],
"pagination": {
"page": 1,
"limit": 20,
"total": 1,
"total_pages": 1
}
}