syncPayslips
Sync recent payslips from a Hilan tenant: log in with stored credentials, retrieve structured Bruto/Neto/parts data, and optionally download PDF copies.
Instructions
Log into a Hilan tenant (using previously ingested credentials) and sync recent payslips (structured Bruto/Neto/parts + PDF)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tenant | No | Tenant subdomain, e.g. "amdocs". Optional if this server has COMPANY_URL / COMPANY_TENANT / COMPANY_CODE set in its env | |
| skipPdf | No | If true, only fetch/store the structured Bruto/Neto/parts data and skip downloading PDFs — much faster for quick numeric questions. Any previously-downloaded PDF for a month is left untouched. Default false. | |
| monthsBack | No | How many recent months to sync (default 3). The tenant itself caps how far back its payslip archive actually goes — this is just a sanity ceiling, not a real limit. |