Update Invoice
whmcs_update_invoiceUpdate an existing invoice by changing its status, dates, notes, payment method, or publish options. Provide the invoice ID to apply modifications through the WHMCS API.
Instructions
Update an existing invoice
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Invoice date (YYYY-MM-DD) | |
| notes | No | Invoice notes | |
| status | No | New status | |
| duedate | No | Due date (YYYY-MM-DD) | |
| publish | No | Publish draft invoice | |
| invoiceid | Yes | Invoice ID to update | |
| paymentmethod | No | Payment method | |
| publishandsendemail | No | Publish and send email |