{"uid":"cap_1aeUYeZxj68wpQcG_YQce","slug":"work-time-calc-timesheet-hours-calculator-c42cd5da","name":"Work Time Calc – Timesheet Hours Calculator","description":"Total hours from clock-in/out pairs with unpaid break deduction, optional rounding, per-day totals and overlap flags.","url":"https://work-time-calc.x402tookit.com/timesheet?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["entries"],"properties":{"entries":{"type":"string","description":"Semicolon-separated in/out pairs, e.g. 2026-03-02T09:00/2026-03-02T17:30;2026-03-03T08:45/2026-03-03T17:00 (up to 200)"},"roundMode":{"type":"string","description":"nearest (default, halves round up), up or down"},"breakMinutes":{"type":"integer","description":"Unpaid minutes deducted from every entry (default 0)"},"roundMinutes":{"type":"integer","description":"Round each entry's paid time to a multiple of this many minutes: 1, 5, 6, 10, 15, 30 or 60 (default 0 = exact)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"byDay":{"type":["null","object"],"properties":{"2026-03-02":{"type":["null","number"]},"2026-03-03":{"type":["null","number"]}}},"clock":{"type":["null","string"]},"source":{"type":["null","string"]},"entries":{"type":["array","null"],"items":{"type":"object","properties":{"in":{"type":["null","string"]},"out":{"type":["null","string"]},"paidMinutes":{"type":["null","number"]},"grossMinutes":{"type":["null","number"]}}}},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"warnings":{"type":["array","null"]},"disclaimer":{"type":["null","string"]},"entryCount":{"type":["null","number"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"totalPaidHours":{"type":["null","number"]},"totalPaidMinutes":{"type":["null","number"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xh9rsP6TXFdWgQpTm36aH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates total paid hours from clock-in/out pairs with unpaid break deduction, optional time rounding, per-day totals, and overlap detection.","exampleAgentPrompt":"Calculate my total paid hours for the week from these clock-in/out pairs: Monday 09:00–17:30 and Tuesday 08:45–17:00, deducting a 30-minute unpaid lunch each day and rounding each shift to the nearest 15 minutes.","exampleUseCases":[{"title":"Weekly payroll hours with lunch break","prompt":"I have five days of shifts this week — Mon 08:00–16:30, Tue 09:00–17:00, Wed 08:30–17:30, Thu 09:00–16:00, Fri 08:00–15:30. Deduct 30 minutes unpaid break each day and round everything to the nearest 15 minutes. What are my total paid hours and the per-day breakdown?"},{"title":"Freelancer invoice time calculation","prompt":"Can you add up my billable hours from these three work sessions: 2026-04-07T10:00/2026-04-07T13:45, 2026-04-08T09:30/2026-04-08T12:00, and 2026-04-09T14:00/2026-04-09T18:00? No break deduction needed, just give me the total paid minutes and per-day totals."},{"title":"Overnight shift overlap detection","prompt":"Check these timesheet entries for overlaps and give me the total paid hours: 2026-05-01T22:00/2026-05-02T06:00 and 2026-05-02T05:30/2026-05-02T14:00, deducting 60 minutes unpaid break from each shift and rounding down to the nearest 30 minutes."}],"resultDescription":"Returns a JSON object with totalPaidHours, totalPaidMinutes, an entries array (each with in/out timestamps, grossMinutes, and paidMinutes), a byDay map of daily paid hours, any overlap or rounding warnings, and a human-readable summary string.","failureModes":["Malformed ISO 8601 timestamps in entries parameter returns an error","Clock-out before clock-in triggers a validation warning or error per entry","More than 200 entries submitted exceeds the limit","breakMinutes larger than shift duration results in zero or negative paid time","Invalid roundMinutes value (not in allowed set) returns an error","Overlapping entries are flagged in warnings but may still compute partial results"],"whenToPreferThis":"Use this endpoint when you need to compute paid work hours from raw punch-in/punch-out pairs, especially when break deduction and time rounding (nearest 5, 15, 30, 60 minutes) are required. It handles up to 200 timesheet entries in a single call and returns both per-entry and per-day aggregations, making it ideal for weekly payroll summaries. Prefer it over general date-difference calculations when you specifically need unpaid break logic, rounding modes, and overlap flagging.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:19:26.405Z","isFirstParty":false,"canonicalSlug":"work-time-calc-timesheet-hours-calculator-c42cd5da"}