GetInvoice to return billing contact if assigned
We are develop and Gateway for working with SAGE Accounting program.
GetInvoice return only ID of owner of invoice but not return id of contact of legal contact.
If any customer of WHMCS needs working with automate system for accounting get a terrible problem.
- Customer is a CEE ROI Customer.
- Contact for invoices is other, with same legal type (CEE ROI)
- You must put this invoice in special account for special treatment with VAT .
- But WHMCS return incorrect data, and you assign this type of invoice to other legal person.
WHMCS work fine (+/-) with invoices on dashboard but not with API.
My current workaround process for return correct data with this api, is:
- Get invoice
- Get client details
- With billingcid new consut for get GetContacts
- Programming a new search with results because API has not method for GetContacts by Id
It would be beneficial if the billing contact ID and detials were returned by the GetInvoice API command.