ksef_draft_validate
Validate an invoice draft against FA(3) rules, checking NIP checksum, required fields, dates, VAT rates, and amount consistency. Passed drafts automatically change status to 'validated'.
Instructions
Zwaliduj draft faktury wg reguł FA(3). Sprawdza: NIP (suma kontrolna), wymagane pola, poprawność dat, stawki VAT, spójność kwot. Jeśli walidacja przejdzie, status zmienia się na 'validated'.
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": {
"id": "<id>"
},
"name": "ksef_draft_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID draftu (UUID) |