tusker Posted September 26, 2012 Share Posted September 26, 2012 Hi, I could not find anything about that in the the manual: How do I set Tax exempt with the API call "addclient"? I tried $postfields["taxexempt"] = "on" ; but this doesn't work. Any suggestions? Thanks in advance! 0 Quote Link to comment Share on other sites More sharing options...
jclarke Posted September 27, 2012 Share Posted September 27, 2012 Try $postfields["taxexempt"] = "true" ; If that doesn't work, taxexempt is listed as an option in the Update Client call so you could just call update client right after you add the client to change the tax exempt status: http://docs.whmcs.com/API:Update_Client 0 Quote Link to comment Share on other sites More sharing options...
tusker Posted September 27, 2012 Author Share Posted September 27, 2012 Hi Joe, Try$postfields["taxexempt"] = "true" ; If that doesn't work, It doesn't. I even tried 'Yes' and '1'. Seems this function is not included in addclient, that's probably why it's not documented. taxexempt is listed as an option in the Update Client call so you could just call update client right after you add the client to change the tax exempt status:http://docs.whmcs.com/API:Update_Client Thanks for the hint, that worked! 0 Quote Link to comment Share on other sites More sharing options...
jclarke Posted September 27, 2012 Share Posted September 27, 2012 It doesn't. I even tried 'Yes' and '1'. Seems this function is not included in addclient, that's probably why it's not documented. Yeah, I was just hoping it was in there and just not documented 0 Quote Link to comment Share on other sites More sharing options...
thomask Posted July 15, 2013 Share Posted July 15, 2013 I've just added feature request for this - https://requests.whmcs.com/responses/setting-taxexempt-variable-via-addclient-api-call please vote 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.