Actions51
- Client Actions
- Custom API Call Actions
- Domain Actions
- Invoice Actions
- Order Actions
- Product / Service Actions
- System Actions
- Ticket Actions
Invoice → Create
AI-generatedSummary
Create a WHMCS invoice for the specified client. Optionally set invoice dates, one line item, payment method, email behavior, status, or additional WHMCS API parameters.
Inputs
- Client ID (userid) (required) — Numeric ID of the client who will receive the invoice. A value of 0 is omitted from the API request.
- Additional Fields — Optionally provide the invoice date and due date (YYYY-MM-DD), line item 1 amount, description and taxed flag, payment method, whether to send the invoice email, and status (Draft, Unpaid or Paid). Empty values are omitted.
- Custom Parameters — Optionally add WHMCS API parameters not covered by the listed fields. Parameter names must match the WHMCS API reference exactly and are sent as supplied.
Output shape
A single n8n item per input item, containing the WHMCS API response in its json field.
Calls the WHMCS CreateInvoice action. API errors are raised unless Continue On Fail is enabled, in which case the item contains an error field.