receipts_convert_to_invoice
Convert an issued receipt into a final invoice, preserving all receipt data, marking the receipt as invoiced, and linking the two documents.
Instructions
Convert an issued receipt into a final invoice. Creates a new invoice with all receipt data, marks the receipt as invoiced, and establishes a link between the two documents. Returns both the new invoice and updated receipt.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | UUID of the issued receipt to convert to an invoice | |
| dueDate | No | Due date for the new invoice (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 receipt series) |