Create document draft
create_document_draftCreate a draft accounting document for a partner, specifying the document kind (e.g., sales invoice, payment) and optional details, and receive a confirmation payload.
Instructions
Create a draft accounting document and return a short confirmation payload.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| note | No | ||
| items | No | ||
| company | No | ||
| profile | No | ||
| currency | No | ||
| due_date | No | ||
| tax_date | No | ||
| issue_date | No | ||
| partner_id | Yes | ||
| document_type_id | No | ||
| payment_method_id | No |