Break attestations
At clock-out, a person confirms they got their meal and rest breaks. Or they say which breaks they did not get, and why.
The app they clock out at records the answer in Time and Attendance as an attestation. That app can be a kiosk, a phone or a web timecard. Your business rules read the attestation. They use it to pay a premium for a break not provided, to record a waiver, or to raise an exception when nobody answered.
Where a break must be provided by law, the answer is the record of whether it was. Check the rules where you operate, because they vary. A recipe shows a common way to apply them.
What an attestation says
Section titled “What an attestation says”An attestation is about one workday of one person.
| Field | |
|---|---|
id | Your id for it, such as 104552-2026-10-05. |
workday | The workday it is about. |
recorded | When the person answered. |
breaks | The breaks not taken as due. If it is empty or left out, every meal and rest break due was taken. |
Each entry in breaks has:
| Field | |
|---|---|
break | meal or rest. |
number | Which of the day’s breaks of that kind it is. 1 is the first, and the default. The range is 1 to 16. |
issue | missed, short (cut short) or late (taken later than due). Each of these is a break not provided. The other value is waived: a break given up by the person’s own choice. |
reason | What the person wrote, up to 1,000 characters. |
An attestation names at most 16 breaks. If a workday is attested again to put a mistake right, the attestation stored last is the one taken.
Recording one
Section titled “Recording one”Your app sends it with the person’s other facts:
curl -X POST https://hours.example.com/api/attendance/tenants/acme/people/104552/facts \ -H "Authorization: Bearer $TOKEN" -H "content-type: application/json" \ -d '{ "attestation": { "id": "104552-2026-10-05", "workday": "2026-10-05", "recorded": "2026-10-05T23:31:00Z", "breaks": [{ "break": "meal", "number": 1, "issue": "missed", "reason": "called back to the counter" }] } }'A clock does not carry an attestation. The answers a clock asks for are its own questions, such as health and biometric consent. They are not about breaks. So the app sends the attestation to Time and Attendance itself. It uses the same tenant token as for any fact.
An attestation stored after its period closed is a late change to it, like any fact.
What your rules do with it
Section titled “What your rules do with it”Time and Attendance pays nothing for an attestation on its own. Three standard rules read it:
| Rule | What it does |
|---|---|
attested_break_premium | Pays a premium for each meal or rest break the person says was not provided. |
attested_meal_waiver | Treats a meal the person waived as given up by choice, so no premium is owed for it. |
attestation_required | Raises an exception for a workday with no attestation, so someone follows up. |
The cookbook’s break attestation recipe sets them up together and shows what its scenarios prove.