Create Draft Invoice
productive_create_invoiceCreates a new draft invoice in Productive.io for a company and document type; finalization and numbering must be completed manually in the UI.
Instructions
Creates a new draft invoice. The invoice will NOT be finalized or assigned a number — finalization must be done manually in the Productive.io UI.
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": {
"company_id": "<company_id>",
"document_type_id": "<document_type_id>"
},
"name": "productive_create_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Internal note on the invoice | |
| footer | No | Footer text | |
| pay_on | No | Due date (YYYY-MM-DD) | |
| subject | No | Invoice subject line | |
| currency | No | Currency code (e.g. EUR, USD) | |
| company_id | Yes | The client/company ID (required) | |
| delivery_on | No | Delivery date (YYYY-MM-DD) | |
| invoiced_on | No | Invoice date (YYYY-MM-DD, defaults to today) | |
| subsidiary_id | No | The subsidiary ID (your company entity) | |
| invoice_type_id | No | Invoice type (1=invoice, 2=credit_note; defaults to 1) | |
| document_type_id | Yes | The document type ID (required) | |
| purchase_order_number | No | PO number |