wf_document_save
Creates or updates a document in the wflow accounting platform, including partner, amount, date, and identifier details.
Instructions
Create or update a document
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "wf_document_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Document ID (for update) | |
| type | No | Document type | |
| number | No | Document number | |
| dueDate | No | Due date (YYYY-MM-DD) | |
| vatDate | No | VAT date (YYYY-MM-DD) | |
| currency | No | Currency code (CZK, EUR, …) | |
| issueDate | No | Issue date (YYYY-MM-DD) | |
| partnerIC | No | Partner IČ | |
| externalId | No | External system ID (query param) | |
| ignoreLock | No | Ignore document lock | |
| partnerVAT | No | Partner DIČ | |
| description | No | Description / note | |
| partnerName | No | Partner name | |
| setAsFilled | No | Mark as filled after save | |
| totalAmount | No | Total amount | |
| internalCode | No | Internal code | |
| organization | No | Organization workspace name (uses default if omitted) | |
| constantSymbol | No | Constant symbol | |
| partnerAddress | No | Partner address | |
| specificSymbol | No | Specific symbol | |
| variableSymbol | No | Variable symbol |