Get a document by id
wflow_get_documentFetch a full document object by ID, including all fields, VAT subtotals, lines, and accounting data.
Instructions
Fetch the full document object (all fields, VAT subtotals, lines, accounting) by its id.
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": {
"documentId": "<documentId>"
},
"name": "wflow_get_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| documentId | Yes | Document id (uuid). | |
| organization | No | Org slug. Defaults to WFLOW_ORG. |