proforma_invoices_convert
Convert a proforma invoice into a final invoice, creating a new invoice with all data, marking the proforma as converted, and linking both documents for traceability.
Instructions
Convert a proforma invoice into a final invoice. Creates a new invoice with all proforma data, marks proforma as converted, and links the two documents. Returns both the new invoice and updated proforma.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | UUID of the proforma invoice to convert | |
| dueDate | No | Override due date for the new invoice (default: proforma due date, YYYY-MM-DD) | |
| companyId | No | Company UUID (overrides configured default) | |
| issueDate | No | Override issue date for the new invoice (default: today, YYYY-MM-DD) | |
| invoiceSeriesId | No | UUID of invoice series to use (if different from proforma series) |