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.
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 | |||