DODIL BLOG
DocsLog inSign up

Modules / Time off

Time off & absence

Holiday, sickness and family leave in one place: everyone sees what they have left, asks for days off in two clicks, and their manager approves with the team calendar in front of them. Bank holidays follow where people work, part-timers get their fair share, sickness is recorded with its fit notes, and payroll and timesheets see exactly the days that were approved.

People ask for it as: “holiday booking”, “annual leave”, “how many days do I have left”, “sick days”, “absence management”, “the holiday spreadsheet”, “bank holidays”, “maternity leave”, “Bradford factor”, “Urlaubsantrag”

Who uses it

RoleDoesSees
Anyone who works heresees their balances, asks for time off, withdraws a request, records their own sickness and return, uploads a fit noteonly their own requests, balances and absences, and the team calendar's busy days without reasons
Line manager (derived from hr)approves or rejects their team's requests with the team calendar in front of them, records a team member's sickness, confirms a return to workthe requests and absences of people they manage on the absence's dates (sickness reason only with tof:sickness:read_detail)
HR / people operationskeeps leave types and policies, adjusts balances with a reason, records family leave and long-term sickness, reads every absence, runs the year endevery absence of their companies, sickness detail included
The owner (or whoever the owner names)holds the controls (negative balances, carry-over caps, the overlap rule's mode, who may record sickness), signs the migration reconciliationeverything
The systemderives entitlements, accrues from hours, runs the year end (carry-over and expiry), reminds approvers, chases fit notes, takes hr's leaver event, answers payroll and timesheets, loads an Odoo migrationeverything, through its own service account

What it has to do

Reference user stories. Each has a test written into it — the given / when / then — which becomes an automated check once it is built. Expect to keep some, change some and drop some.

Things people do

  • TOF-01As an employee, I want to see how much holiday I have left this year and what it is made of, so that I can plan without asking HR.

    Given employee 4410 (UK01, London, Monday to Friday 7.5 hours, FTE 1.0000) under policy UK-ANNUAL: 25 days plus bank holidays, leave year 2026-01-01 to 2026-12-31; 2 days carried from 2025 (expire 2026-03-31, both used in February); 17 days taken; nothing booked · when I open My time off on 2026-11-02 · then entitlement 25.00 (derived from the policy and hr's employment slices, never stored), carried 2.00 (used 2.00, expired 0.00), taken 17.00 (the 2 carried days are inside it: carried days are used first), booked 0.00, available 10.00 (25.00 + 2.00 - 17.00; v2: was 8.00, which took the carried days off twice), each figure opening to the entries behind it; the 8 bank holidays of England and Wales are listed apart and never deducted from the 25; the figures are as at the business date in business_timezone

    Anyone who works here · screen: My time off · reference: not built

  • TOF-02As an employee, I want to ask for days off and see at once how many days it costs, so that bank holidays and weekends are never counted against me.

    Given employee 4410 with 8.00 days available; hr's calendar GB-EAW: 2026-12-25, 2026-12-28 and 2027-01-01 are bank holidays · when I ask for 2026-12-21 to 2027-01-01, then a colleague in Edinburgh (calendar GB-SCT) asks for 2026-11-30 to 2026-12-04 · then mine costs 7.00 days (21, 22, 23, 24, 29, 30 and 31 December; 25 and 28 December and 1 January are bank holidays; 26, 27 December and the weekend are not working days in hr''s work pattern); the request is requested, its days claimed one row per half day (tof_day_claim), my available shows 1.00 with 7.00 pending; the Edinburgh request costs 4.00 days because 2026-11-30 (St Andrew''s Day) is a bank holiday in GB-SCT only; a request that would take the balance below allow_negative_days (0) is refused 422 {gate: balance, reason: "7.00 asked, 6.00 available"}

    Anyone who works here · screen: My time off · reference: not built

  • TOF-03As an employee, I want a second request for a day I already asked for to be refused, so that the same day is never taken twice.

    Given employee 4410 has requested 2026-12-21 to 2026-12-24 (pending); a second browser tab still shows the old balance · when I ask for 2026-12-24 morning from the second tab, and two approvals of two overlapping requests arrive at the same moment · then the second request is refused 409 {gate: day_free, reason: "2026-12-24 am is already in request UK01-TOF-2026-00381"}; the day claim (person_id, date, part) is a plain INSERT, so of two racing writes exactly one wins and the other reads the winner; a withdrawn or rejected request releases its claims in the same transaction

    Anyone who works here · screen: My time off · reference: not built

  • TOF-04As a manager, I want to approve or reject my team's requests with the team calendar and the balance in front of me, so that I never leave the team uncovered by accident.

    Given request UK01-TOF-2026-00381 of 4410 for 7.00 days; manager of 4410 on 2026-12-21 is 2280 (hr, derived); team of 5, two already off on 2026-12-23; overlap rule warn above 40% · when I approve it · then the approval is recorded (approved_by, approved_sub, at, revision 1); a warning shows 3 of 5 (60%) off on 2026-12-23 and I approve with the warning acknowledged; a ledger entry take of -7.00 is written keyed "req:UK01-TOF-2026-00381:r1"; after commit payroll and timesheets can read the absence; a rejection needs a reason and releases the day claims; I cannot approve a request of my own, or one routed to me as a delegate when I am the requester (email AND sub): my own goes to my manager (level 2 of hr's ManagerOf)

    Line manager (derived from hr) · screen: Approvals · reference: not built

  • TOF-05As an employee, I want to cancel approved leave I no longer need, so that the days come back to me.

    Given request UK01-TOF-2026-00381 approved for 2026-12-21 to 2026-12-31 · when on 2026-12-01 I ask to cancel it; my manager confirms; on 2026-12-22 I try to cancel 2026-12-21 (already past) · then the ask is recorded on the approved request and it moves to cancelled when the manager confirms; a reversal entry +7.00 keyed "req:UK01-TOF-2026-00381:r1:cancel" is written and the day claims are released, so payroll and timesheets read no absence for those days; a day in the past cannot be cancelled by the employee ("ask HR to correct a day already taken"): HR corrects it with an adjustment (TOF-12); nothing moves back to requested

    Anyone who works here · screen: My time off · reference: not built

  • TOF-06As a part-time employee, I want my holiday in hours that match my working days, so that a bank holiday on my day off neither costs nor cheats me.

    Given employee 5120 works Monday, Tuesday and Wednesday, 7.5 hours (FTE 0.6000, hr work pattern); policy UK-ANNUAL in hours: (25 days + 8 bank holidays) x 7.5 hours x 0.6 = 148.50 hours for 2026 · when I view my balance; 2026-12-25 (Friday) and 2026-12-28 (Monday) are bank holidays; I ask for Tuesday 2026-12-29 and Wednesday 2026-12-30 · then the bank holiday on Monday 2026-12-28 (a working day for me) deducts 7.50 hours from my 148.50 automatically (entry bank_holiday, keyed "bh:5120:2026-12-28"); the Friday one costs nothing; my request costs 15.00 hours; hours are NUMERIC(19,4); a request for a day I do not work costs 0 and is refused as empty

    Anyone who works here · screen: My time off · reference: not built

    Usually different per customer: bank holidays inside the allowance (prorated) or on top for everyone who works that day

  • TOF-07As an employee, I want to record that I am off sick today and when I am back, so that my manager knows and my pay is right.

    Given employee 4410 wakes up ill on Tuesday 2026-11-10 · when I record sickness from 2026-11-10, expected back 2026-11-13; on 2026-11-13 my manager confirms my return with last day off 2026-11-12 · then a sickness absence UK01-TOF-2026-00412 open from 2026-11-10, then closed with 3 working days (10, 11, 12 November); self-certified (fewer than 8 calendar days, so no fit note is asked); pay treatment sick, which payroll reads with its qualifying days (TOF-20); the reason is visible only to me and to holders of tof:sickness:read_detail, my manager sees "sick"; the absence is approved by its recording, never requested

    Anyone who works here · screen: My time off · reference: not built

  • TOF-08As a manager, I want a fit note asked for when sickness goes past seven days, so that the evidence is there before payroll needs it.

    Given sickness of employee 4425 open since Monday 2026-11-02; fit_note_after_days 7 · when the daily pass runs on 2026-11-09 (the 8th calendar day), and the employee uploads a fit note on 2026-11-10 covering 2026-11-02 to 2026-11-20 · then on 2026-11-09 the absence shows gate fit_note missing and one reminder goes to the employee and one to me, keyed (kind fit_note, absence_id, business_date) so a second pass the same day sends nothing; the upload is stored as an object raw/time-off/UK01-TOF-2026-00399/<sha256>.pdf with its dates; payroll reads evidence_ok per absence and decides itself what a missing fit note does to sick pay

    Line manager (derived from hr) · screen: Approvals · reference: not built

  • TOF-09As HR, I want maternity leave recorded with its expected week of childbirth and the evidence, so that the leave, the return date and the statutory pay start from the same facts.

    Given employee 4431 gives notice on 2026-06-01: expected week of childbirth starting Sunday 2026-11-15, MATB1 dated 2026-05-28, leave from Monday 2026-11-02, 52 weeks · when I record the maternity leave · then an absence of leave type MATERNITY from 2026-11-02 to 2027-10-31 (52 weeks), pay treatment statutory_maternity, with ewc 2026-11-15 and evidence_received_on 2026-06-01; payroll reads these to assess SMP (it computes the money); up to 10 keeping-in-touch days are recorded on the absence and never end it; annual leave keeps accruing over the leave (the ledger shows it); a start before the 11th week before the EWC (before 2026-08-30) is refused with the date named

    HR / people operations · screen: Absences · reference: not built

    Usually different per customer: enhanced maternity pay is payroll's (a scheme row), never a different leave type

  • TOF-10As a manager, I want one calendar of who is off in my team, so that I can see a clash before I approve.

    Given team of 2280 on December 2026: 4410 (approved 21-31 Dec), 4425 (requested 23-24 Dec), 4431 (maternity) · when I open the team calendar for December · then each person and day shows approved, requested or bank holiday; reasons are shown only as leave type names, sickness as "sick" without detail; the busy-days view an employee sees shows names and days only; the calendar reads one query for the team and the month and contains only the team's rows

    Line manager (derived from hr) · screen: Team calendar · reference: not built

  • TOF-11As HR, I want leave types and policies kept as dated rows per company, so that a new rule for next year is entered, not programmed.

    Given policy UK-ANNUAL 25 days from 2026-01-01; leave types ANNUAL (paid), SICK (pay treatment sick), UNPAID (unpaid), MATERNITY, PATERNITY, ADOPTION, SHARED_PARENTAL (statutory), COMPASSIONATE (paid, 5 days), TOIL (paid, from approved overtime) · when I add a policy UK-ANNUAL-SENIOR of 28 days from 2027-01-01 for employee subgroup SENIOR, and try a policy of 18 days for employees · then the first is a dated row valid from 2027-01-01 (after today), used by every request whose days fall in 2027; the second is refused 422 {gate: statutory_minimum, reason: "18 days plus 8 bank holidays is below 5.6 weeks (28 days for a five-day week, WTR reg. 13 and 13A)"}; a leave type''s pay treatment is one of paid | unpaid | sick | statutory_maternity | statutory_paternity | statutory_adoption | statutory_shared_parental, and only payroll turns it into money

    HR / people operations · screen: Settings · reference: not built

  • TOF-12As HR, I want to adjust a balance with a reason, so that a correction is visible and never a silent overwrite.

    Given employee 4410 took 2026-10-05 as annual leave, then brought a fit note showing they were sick that day · when I record sickness for 2026-10-05 and give the day back with reason "sick during annual leave, fit note 2026-10-07"; I try to adjust my own balance · then an adjustment entry +1.00 keyed "adj:4410:ANNUAL:2026:<n>" with my name, sub and reason, and a sickness absence for that day which payroll reads as a change to a closed period (it corrects in the next run); my own balance is refused ("another HR user adjusts your balance": email AND sub); entries are never edited or deleted

    HR / people operations · screen: Absences · reference: not built

  • TOF-13As HR, I want company closure days (the Christmas shutdown) booked for everyone at once, so that nobody has to ask for them.

    Given closure days 2026-12-29, 2026-12-30, 2026-12-31 for company UK01, taken from the annual allowance · when I publish the closure on 2026-10-01; employee 4410 already has those days approved; a new starter joins on 2026-11-02 · then each employed person gets a closure booking keyed "closure:UK01:2026-12-29:<person_id>" for each closure day they work, deducted like an approved request; 4410''s days are already claimed, so no second deduction is made and the closure is shown as covered by their request; the starter gets the bookings when their employment starts (derived from hr on read); a person whose balance would go negative is listed for HR, never silently negative

    HR / people operations · screen: Settings · reference: not built

  • TOF-14As the owner, I want the controls on balances held by me, so that a manager cannot let their team go into the red.

    Given allow_negative_days 0; carry_over_max_days 5 · when HR tries to set allow_negative_days to 5; I set carry_over_max_days to 3 from 2027-01-01 · then the first is refused 403 (tof:settings:controls); mine is a dated row after today; the 2026 year end still carries up to 5

    The owner (or whoever the owner names) · screen: Settings · reference: not built

  • TOF-23As the owner moving off Odoo, I want this year's allocations and taken leave carried and reconciled per person, so that I can sign that nobody gained or lost a day.

    Given Odoo 17 hr_holidays: allocations and validated leaves for 2026, three requests waiting for approval · when the migration loads, reconciles and I sign · then validated leaves of 2026 become approved requests (request_id odoo:<db>:hr.leave:<id>); allocations become an opening entry per person and type equal to Odoo''s allocated days less what this module derives, so the available days per person equal Odoo''s to the hundredth; waiting requests are not carried (approved in Odoo first, or re-entered); earlier years carry as read-only history. v2 (seemo's decided answer 4, SAP's migration cockpit): load and reconcile write staging rows only; the requests and opening entries reach the ledger when I sign; a discard deletes the staging rows and nothing else, and payroll, which pulls, never sees an unsigned run; a signed run is put right by reversing entries, never deleted

    The owner (or whoever the owner names) · screen: Migration · reference: not built

Things that happen on their own

  • TOF-15on read (derived), whenever a balance or a request's cost is computedThe system derives each person's entitlement from the policy and hr's employment slices, so that starters, leavers and FTE changes are right without anyone recalculating.

    Given employee 4450 starts on 2026-09-01 (FTE 1.0000) under UK-ANNUAL 25 days; employee 4460 changes from FTE 1.0000 to 0.8000 on 2026-07-01 · when their 2026 balances are read · then 4450: 25 x 122 / 365 = 8.36, rounded up to the next half day: 8.50 days; 4460: 25 x (181/365 x 1.0 + 184/365 x 0.8) = 22.48, rounded up 22.50; the calculation shows each slice; the result is never stored, so a backdated change in hr changes it on the next read; a booked day that the new entitlement no longer covers is listed for HR, never cancelled silently

    · reference: not built

  • TOF-16when timesheets approves a sheet of an irregular-hours worker, and on readThe system accrues holiday for irregular-hours workers from the hours they worked, so that the 12.07% rule is applied without a spreadsheet.

    Given worker 4470 on policy UK-IRREGULAR (accrual 12.07% of hours worked, leave year from 2026-01-01); timesheets approved 32.00 hours for week 2026-W46 · when time-off reads the approved hours (timesheets GET /approved-hours) after the sheet's approval, and again after a timeout · then one accrual entry of 32.00 x 12.07% = 3.8624 hours keyed "acc:4470:ts:4470:2026-W46:r1"; the repeat writes nothing; a corrected sheet (revision 2, 30.00 hours) writes a reversal of the r1 entry and an r2 entry of 3.6210, so the balance is a pure sum; hours are NUMERIC(19,4)

    · reference: not built

  • TOF-17on 2027-01-01 for the 2026 leave year (the composition's daily worker; no server-side scheduler)The system carries over unused days and expires what may not be carried, so that the year end needs nobody.

    Given employee 4410 ends 2026 with 1.00 day available; employee 4425 with 7.50; carry_over_max_days 5, carried days expire 2027-03-31 · when the year-end pass runs for 2026, and runs again · then 4410: carry +1.00 into 2027 keyed "carry:4410:ANNUAL:2026"; 4425: carry +5.00 and 2.50 lapse (entry lapse, keyed "lapse:4425:ANNUAL:2026") shown to HR, who may override with a reason before 2027-01-31 (sickness or family leave prevented the leave: such days carry by law); on 2027-04-01 unused carried days expire (keyed "expire:<person>:ANNUAL:2026"); the second run writes nothing

    · reference: not built

    Usually different per customer: whether unused days are carried, paid out or lost, and until when

  • TOF-18daily, in the composition's workerThe system reminds approvers of waiting requests and chases fit notes, so that nothing waits silently.

    Given request UK01-TOF-2026-00390 waiting 3 business days (approval_reminder_days 2); the fit note of TOF-08 missing · when the daily pass runs on 2026-11-09, and again on the same business date · then one reminder to the approver and one fit-note reminder, keyed (kind, ref, business_date); the second pass sends nothing; the business date is in business_timezone

    · reference: not built

Things that cross into other modules

  • TOF-19on every request (cost), approval (approver) and read of a balanceThe person's employment, work pattern, holiday calendar and manager come from hr.

    Given employee 4410 employed in UK01 at location LON (calendar GB-EAW), Monday to Friday 7.5 hours; manager 2280 on 2026-12-21 · when time-off computes a request's cost and its approver · then it reads hr's GET /persons/4410/work-pattern?from=2026-12-21&to=2027-01-01 (contracted minutes and public holidays per day), GET /persons/4410/employment?on= and GET /persons/4410/manager?on=2026-12-21; it keeps no copy of the calendar, the pattern or the manager; the signed-in user's person_id comes from GET /persons?pool_user_sub=

    · owned by hr · reference: not built

  • TOF-20when payroll calculates a pay run, and when timesheets builds a weekPayroll and timesheets read the approved absences of a period, so that pay and hours follow exactly what was approved.

    Given November 2026 in UK01: 4410 sick 10-12 November (3 working days, self-certified), 4431 maternity from 2026-11-02, 4480 unpaid leave 2026-11-16 (1 day) · when payroll calls GET /absences?company_code=UK01&from=2026-11-01&to=2026-11-30, twice, and a sickness is extended after the first call · then one row per absence and revision with its days (date, part, minutes, pay_treatment, evidence_ok, statutory details such as ewc), approved or recorded only (requested and rejected never appear); the second call shows the extended sickness as revision 2 with changed_since, so payroll can tell what changed since its calculation; time-off never computes money and never writes prl_ or ts_ tables

    · owned by time-off · reference: not built

  • TOF-21when hr's Left event commits (hr HR-54)hr tells time-off that a person leaves, so that leave after the last day is cancelled and the final balance is ready for payroll.

    Given employee 4490 leaves; last day 2026-10-16; approved leave 2026-10-26 to 2026-10-30; 2026 entitlement 25 days, 15.00 taken · when hr calls POST /employees/4490/leaver {last_day 2026-10-16, source_ref "hr:left:4490:1"}, twice · then the leave after the last day is cancelled (reason left, its claims released), the entitlement is derived to the last day: 25 x 289 / 365 = 19.79 (to 2 decimals, never rounded up for a leaver), so 4.79 days are owed; payroll reads them through GET /persons/4490/balance?on=2026-10-16; the repeat answers the same; a negative balance is answered negative and payroll decides whether the contract lets it deduct

    · owned by time-off · reference: not built

  • TOF-22when payroll prepares a leaver's final payPayroll reads the leaver's untaken holiday, so that it is paid in lieu once and correctly.

    Given TOF-21's leaver · when payroll calls GET /persons/4490/balance?leave_type_code=ANNUAL&on=2026-10-16 · then {person_id 4490, on 2026-10-16, leave_type_code ANNUAL, unit days, entitled "19.79", carried "0.00", taken "15.00", booked "0.00", adjustments "0.00", available "4.79", day_minutes 450}; time-off never pays it

    · owned by time-off · reference: not built

How things move

leave_request

requested → approved → rejected → withdrawn → cancelled

  • none → requested by employee · when employed on every day (hr); every half day free (one claim row each); the cost within the balance and allow_negative_days; at most max_days_ahead ahead · request_id claimed from the company's yearly series; the day claims written; the approver derived from hr on the first day and fixed
  • requested → approved by manager or hr_admin · when the approver is the request's approver or a delegate and not the requester (email AND sub); the overlap rule answered (warn needs an acknowledgement, block refuses) · ledger entry take keyed req:<request_id>:r<rev>; visible to payroll and timesheets after commit
  • requested → rejected by manager or hr_admin · needs reason · day claims released
  • requested → withdrawn by employee · day claims released
  • approved → approved by employee · when no day of it in the past (a past day is corrected by HR, TOF-12); no open cancellation ask · a cancellation ask recorded on the request (asked_at, by); the leave stands until it is decided
  • approved → cancelled by manager or hr_admin or system · when the canceller is not the requester (email AND sub), except the system for a leaver (TOF-21) · needs reason · reversal entry req:<request_id>:r<rev>:cancel; day claims released
  • approved → approved by manager or hr_admin · when an open cancellation ask; the decider is not the requester · needs reason · the ask closed with its reason; no ledger entry

sickness

open → closed → voided

  • none → open by employee or manager or hr_admin · when employed on the first day; no other absence on the same days (sickness during approved leave is recorded by HR, TOF-12) · absence_id claimed; day claims of the days so far; pay treatment sick
  • open → open by employee or manager or hr_admin · revision +1; payroll reads changed_since
  • open → open by employee or hr_admin · evidence object; evidence_ok when it covers every day past fit_note_after_days
  • closed → closed by employee or hr_admin · evidence only: the days never change; payroll reads changed_since
  • open → closed by manager or hr_admin · when the confirmer is not the sick person · needs last_day_off · the days fixed; claims after last_day_off released
  • open → voided by hr_admin · when no day of it already in a calculated pay run, else HR closes it and corrects with an adjustment · needs reason

tof_migration_run

loaded → reconciled → signed → discarded

  • none → loaded by system · when hr's migration signed · v2 (pattern §11, seemo's decided answer 4): staging rows only (tof_migration_row, keyed by the source id); nothing written to the ledger, balances or journals
  • loaded → reconciled by system
  • reconciled → signed by owner · when every check equal or explained · v2 (decided answer 4): the staged rows written through this module's normal use cases, idempotent on the source key; the first write to the ledger; a signed run is later reversed by reversing entries, never deleted
  • loaded / reconciled → discarded by owner · needs reason · v2 (decided answer 4): the run's staging rows deleted, nothing else (no ledger row was written)

What it keeps

ThingMeaningIdentified byShared?
leave typea kind of time off and how payroll is to treat itcompany_codeleave_type_codevalid_fromSHARED, sole writer (payroll and timesheets read leave_type_code and pay_treatment on each absence)
policyhow much of a leave type a group of people gets and how it accruescompany_codepolicy_codevalid_frommodule-owned
leave requestone ask for time off by one person, or a recorded absence such as maternity leaverequest_id = "<company_code>-TOF-<yyyy>-<nnnnn>" (claimed from the company's yearly series; migrated odoo:<db>:hr.leave:<id>)module-owned
sicknessone spell of sickness of one person, recorded rather than requestedabsence_id = "<company_code>-TOF-<yyyy>-<nnnnn>" (the same yearly series as requests, so one key names any absence)module-owned
day claimthe row a half day of one person races for, so a day is never booked twiceperson_idabsence_datepartmodule-owned (a plain INSERT; a collision is 23505, read as day_free refused; released by delete in the same transaction as a withdrawal, rejection or cancellation)
balance entryone dated movement of a person's balance of a leave typeentry_ref (derived: "req:<request_id>:r<rev>", "req:<request_id>:r<rev>:cancel", "carry:<person_id>:<type>:<year>", "lapse:…", "expire:…", "adj:<person_id>:<type>:<year>:<n>", "acc:<person_id>:<sheet ref>", "bh:<person_id>:<date>", "closure:<company>:<date>:<person_id>", "open:<person_id>:<type>:<year>" from a migration)module-owned (append-only; the entitlement itself is derived, never an entry)
closure daya day the company closes and everyone's allowance pays forcompany_codeclosure_datemodule-owned
evidencea fit note, a MATB1 or another document backing an absenceobject key raw/time-off/<absence_ref>/<sha256>.<ext>module-owned
outboxa side effect waiting after the local commit (a reminder, a notice to payroll that a closed period changed)targetrefmodule-owned
settingsthe controls and defaults, datedkeyvalid_frommodule-owned

A holiday tool with its own staff list and its own bank-holiday table is how a leaver keeps booking holiday and an Edinburgh office loses St Andrew's Day. The person, their pattern and their calendar stay in hr.

What runs on its own

StoryWhenWhat
TOF-15on readthe entitlement from policy and hr slices
TOF-16after timesheets approves a sheet (timesheets calls nothing; time-off reads on its daily pass and on read)accrual entries from approved hours
TOF-17on the first day of each leave year, and on each carried-days expiry datecarry-over, lapse and expiry entries
TOF-18dailyapproval and fit-note reminders

Questions that shape your version

Read these out and let the customer correct one — people rarely recall a policy on demand and can always react to one. Standard is a named authority you can look up and hold us to. Commonly seen is exactly that: arrangements we have met, with no survey behind them. A customer doing none of them is not doing it wrong.

  1. When does your holiday year start, and how many days does everyone get?

    Standard Working Time Regulations 1998 regs. 13 and 13A: 5.6 weeks, at most 28 days for a five-day week

    uk office
    1 January, 25 days plus bank holidays
    public sector style
    1 April, 27 to 30 days plus bank holidays
  2. Are bank holidays part of the allowance, or on top?
    uk office
    on top, for everyone who works that day
    warning
    part-timers must not lose out: on top for full-timers is prorated for part-timers
  3. Can unused days be carried over, how many, and until when?
    uk office
    5 days, used by 31 March
  4. Who may record sickness, and when do you need a fit note?

    Standard Social Security (Medical Evidence) Regulations 1976 (a fit note after 7 calendar days)

  5. Do you close between Christmas and New Year, and does it come out of holiday?
  6. Do you have workers on irregular hours or zero-hours contracts?

    Standard Working Time Regulations 1998 reg. 15A (as amended 2023)

What you can change yourself

These are settings, not code: someone in your team changes them on a screen, without a developer and without a release.

Where the platform limits what we can promise

No read-your-writes inside an open transaction. a request writes its claims and the request in one transaction; the balance shown after it is read in a second
A plain INSERT of a committed key is rejected (23505). day claims and ledger entries are plain INSERTs on purpose: the rejection is the collision guard

For builders

Code

Public repositories, anonymous clone, one release tag each. Read README.md and AGENTS.md first.

Known gaps in the reference

© 2026 DODILHomeDocsConsole