delivery_notes_convert
Convert a delivery note into a final invoice, link both documents, and return the new invoice and updated delivery note.
Instructions
Convert a delivery note into a final invoice. Creates a new invoice with all delivery note data, marks the delivery note as converted, and establishes a link between the two documents. Returns both the new invoice and updated delivery note.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | UUID of the delivery note to convert to an invoice | |
| dueDate | No | Override due date for the new invoice (default: delivery note 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 the invoice series to use (if different from delivery note series) |