sodra_sam_draft
Drafts a monthly SAM insurance notice in EDAS from employee income and contract data, returning draft ID, link, totals and per-person rows for review and submission.
Instructions
Drafts the month's SAM notice (Pranešimas apie apdraustuosius, version 07) in this employer's EDAS account and answers in Markdown with the draft's id, a link that opens it in EDAS, the totals and a row per person. Each person's contributions are the income at their whole rate (the employee's 19.5 %, 22.5 % with the II pillar, plus the employer's by contract and accident group), rounded to cents, as the SAM reports them. The draft is not submitted: a person checks, signs and submits it in EDAS through the link. Personal codes are checked and never repeated back; a personCode, insuranceSeries or insuranceNumber written as $env:NAME is read from that environment variable of this server, so it need not be typed into the call. The period must be a month that has ended. One call uploads one draft; calling again uploads another. Without an EDAS account (SODRA_USER and SODRA_PASSWORD) it answers how to set one up.
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": {
"period": "<period>",
"insurer": "<insurer>",
"accidentGroup": "<accidentGroup>",
"people": "<people>"
},
"name": "sodra_sam_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| people | Yes | Every person insured that month, once each. | |
| period | Yes | The month reported, YYYY-MM. | |
| insurer | Yes | ||
| accidentGroup | Yes | The employer's accidents at work insurance group, 1 to 4; 1 for most offices. |