troykelly Posted May 28, 2007 Share Posted May 28, 2007 Is there any documentation that can show me how to create invoices (with multiple line items) for clients. I would like to take my asterisk billing data (phone calls made etc) and add each call as a line item on an invoice. Cheers, Troy 0 Quote Link to comment Share on other sites More sharing options...
PPH Posted May 28, 2007 Share Posted May 28, 2007 When manually creating an invoice add an item to the line and click save changes. You will then see another line to add another item. 0 Quote Link to comment Share on other sites More sharing options...
troykelly Posted May 28, 2007 Author Share Posted May 28, 2007 Ok thanks - I guess it's my fault for not being clear... I mean with PHP / MySQL - how to automagically (via a script) create an invoice. Again: I would like to take my billing data from our VoIP services and add the calls as line items to the invoices. It would take days to do manually. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted May 28, 2007 WHMCS CEO Share Posted May 28, 2007 You should use the API for this. The documentation for creating an invoice is at the URL below. Won't work until after the next V3.2 release however. http://v3manual.whmcs.com/?id=137 0 Quote Link to comment Share on other sites More sharing options...
troykelly Posted May 28, 2007 Author Share Posted May 28, 2007 Won't work until after the next V3.2 release however. Ok, cheers matt. So - how far away is this release - and how would I test in the interim? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted May 28, 2007 WHMCS CEO Share Posted May 28, 2007 It's a few weeks away yet. If you open a ticket I can send over the latest API file. Matt 0 Quote Link to comment Share on other sites More sharing options...
trine Posted May 28, 2007 Share Posted May 28, 2007 Matt, at the time of the 3.2 release, will we be able to suspend, modify or terminate with the current API? or is that slated for a later release? 0 Quote Link to comment Share on other sites More sharing options...
trine Posted May 28, 2007 Share Posted May 28, 2007 Oh, and one little suggestion... instead of using the admin user/pass would it be possible to use a user + token instead, that is autogenerated why WHMCS? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted May 28, 2007 WHMCS CEO Share Posted May 28, 2007 A token is used anyway - the md5 of the admin password. 0 Quote Link to comment Share on other sites More sharing options...
trine Posted May 29, 2007 Share Posted May 29, 2007 Perfect! what about the suspend modify and terminate features? 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.