Copy as a new draft
copy_documentA new draft from any document, any status: the title, lines, tax lines, body, footer, currency and labels; today's date and a fresh due date; no number. For the same client, or client for another. Both threads say it. Counts toward the free documents.
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": {
"document": "<document>"
},
"name": "copy_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client | No | The client the copy is for. Default: the same. | |
| document | Yes | The document's id (from list_documents), or its number once sent, like INV-0007. |