HI,
in the create invoice API we cn only use a description, but its very important to be able to identify products that exist in WHMCS, I sugest that there should be a parameter for Product ID or custom field (this custom field would have the product SKU to clearly identify the product being added to the invoice)
1 Comment
Login to post a comment.
Thanks for your suggestion.
The CreateInvoice API is analogous to creating an invoice via the admin UI. These one-time standalone invoices aren't related to services.
To generate an invoice related to a service, use the GenInvoices API instead: https://developers.whmcs.com/api-reference/geninvoices/