THR Calculator
Religious holiday allowance under Permenaker 6/2016, full or pro rata.
POST /api/v1/thr- API version
- v1
- Output schema
- 1
The endpoint path is always /v1. The schema number below tracks this tool's output shape and changes independently.
Create a free account →Parameters
| Parameter | Type | Required | Default |
|---|---|---|---|
| wage | number | no | 5000000 |
| months | number | no | 7 |
| basis | monthly | daily | piece-rate | no | monthly |
| rounding | whole-months | as-entered | no | whole-months |
| holiday | text | no | — |
Request
curl -X POST https://sinikoding.dev/api/v1/thr \ -H 'content-type: application/json' \ -H 'x-api-key: tk_live_…' \ -d '{"wage":5000000,"months":7,"basis":"monthly","rounding":"whole-months","holiday":"…"}'
Returns
"output": { "kind": "table", "columns": ["…"], "rows": [["…"]] }
Calls a same-origin sandbox endpoint, not /api/v1. No key needed, capped at 15 requests a minute.
Request
curl -X POST https://sinikoding.dev/api/v1/thr \ -H 'content-type: application/json' \ -H 'x-api-key: tk_live_…' \ -d '{"wage":"5000000","months":"7","basis":"monthly","rounding":"whole-months","holiday":""}'
Response
Send a request to see the response.