Payroll and billing dates
pay_datesUpcoming pay or billing dates for monthly, semi-monthly (e.g. 15th and last day), biweekly or weekly schedules, moved off weekends and public holidays (to the previous, next or nearest business day). Use for payroll calendars, invoice due dates and recurring billing. First 25 calls per day are free, then $0.001 per call (x402).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"schedule": "<schedule>",
"from": "<from>"
},
"name": "pay_dates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | monthly: 1 day, semi_monthly: 2 days of the month (1–31 or "last"; 31 clamps to month end). Defaults: ["last"] and [15, "last"] | |
| from | Yes | ||
| count | No | How many pay dates to return | |
| adjust | No | Where to move a pay date that falls on a weekend or holiday | previous |
| anchor | No | ||
| country | No | ISO 3166-1 alpha-2 country code (207 countries); its public holidays (2000–2050) are excluded from business days | |
| holidays | No | Extra dates excluded from business-day counts (rest days from workdays are always excluded) | |
| schedule | Yes | ||
| workdays | No | Working days of the week, 0 = Sunday. Default [1,2,3,4,5] (Mon–Fri); e.g. [0,1,2,3,4] for Sun–Thu or [1,2,3,4,5,6] for Mon–Sat |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| adjust | Yes | ||
| schedule | Yes | ||
| pay_dates | Yes |