Corneliu Posted August 23, 2011 Share Posted August 23, 2011 Hi, We noticed that in one of the last releases (not sure which) the order of the invoices returned by the "getinvoices" API call has changed. Page 0 now has the newest invoices while the last page has the oldest ones. 1. Is there a way to control this behaviour? This broke our integration with other products that were trying to read the last page only. Can we force them to always be in a specific order? 2. Is there a way through the API to check the version of WHMCS so we can adjust the reading order through the API (first page first in the new version or last page for older version of whmcs)? 3. Could we ask for only the invoices that were changed since a timestamp? Currently we need to reload all the invoices in order to see if any was paid or changed. This implies for few of our customers loading over 10000 invoices every hour to check for changes. Thanks, Corneliu. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.