Lägg in tidpost
add_time_entryLägg in en tidpost åt en anställd (t.ex. från en tidlapp). Högst 24 timmar per dag. Posten väntar alltid på attest: tidrapporter attesteras av en människa i Kvickd under Lön, Tidrapporter, aldrig via den här kopplingen. Scope payroll. Argument: orgnr, employee_id, work_date (YYYY-MM-DD), hours (t.ex. 7.5); valfritt kind (arbete|overtid|ob|sjuk|semester|vab|ledig, default arbete), project (kund eller projekt), note.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"orgnr": "<orgnr>",
"employee_id": "<employee_id>",
"work_date": "<work_date>",
"hours": "<hours>"
},
"name": "add_time_entry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | arbete | |
| note | No | ||
| hours | Yes | ||
| orgnr | Yes | Bolagets organisationsnummer, 10 siffror med eller utan bindestreck, t.ex. 559900-1004. Hämta med list_companies. | |
| project | No | ||
| work_date | Yes | ||
| employee_id | Yes |