finalize_sales_document
Finalize a draft sales document to make it fiscally valid and immutable. Confirmation required as the operation cannot be reversed.
Instructions
Finalize (issue) a draft sales document.
Once finalized, the document becomes fiscally valid and immutable.
Requires confirm=true because the operation cannot be reversed.
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": "finalize_sales_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Sales document id (must currently be in draft status). | |
| confirm | No | Must be true. Finalization is fiscally binding and cannot be undone. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||