Holidays
The organization's holidays — the days a business-day count skips. National ones arrive through sync, which imports from BrasilAPI only what is missing and never resurrects a holiday removed on purpose; state and municipal holidays and optional days off are created by hand.
| Command | HTTP | Description |
|---|---|---|
holidays list | GET /v1/holidays | List holidays |
holidays create | POST /v1/holidays | Create a holiday |
holidays get | GET /v1/holidays/{id} | Get a holiday |
holidays update | PATCH /v1/holidays/{id} | Update a holiday |
holidays delete | DELETE /v1/holidays/{id} | Delete a holiday |
holidays sync | POST /v1/holidays/sync | Import national holidays |
Examples
--params carries query and path parameters (id, page, filters); --json carries the request body; --fields limits which fields come back — worth using on every list/get to save context. See Global flags for the full reference.
# List holidays
kobana billing holidays list \
--params '{"year": 2026}' \
--fields "id,date,name,type,source"
# Import national holidays
kobana billing holidays sync --json '{"years": [2026, 2027]}'
# Create a holiday
kobana billing holidays create \
--json '{"date": "2026-07-09", "name": "Revolução Constitucionalista", "type": "state"}'
# Update a holiday
kobana billing holidays update \
--params '{"id": "HOLIDAY_ID"}' \
--json '{"notes": "São Paulo"}'
# Delete a holiday
kobana billing holidays delete \
--params '{"id": "HOLIDAY_ID"}' \
--dry-run
Next steps
- Credit purchases
- Schema introspection — every parameter this resource accepts.