HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   No billing in remote function list (http://www.howtoforge.com/forums/showthread.php?t=60532)

arek_bednarczyk 12th February 2013 17:21

No billing in remote function list
 
Hi all,

I want integrate ispconfig with my page by remote api. But I don't know why if I list available functions by function get_function_list - I don't see any of billing function. Billing module work properly since 2 years and remote user has checked Billing functions.

Where I should search error?

Another question - not really important: when I can change default VAT value? At this moment any new
article have 19% VAT. Is this in database stored or I must search and replace in billing files?

till 12th February 2013 17:39

Do you use the correct API connector? To use the ispconfig remote api with billing functions, the api URL is http://yourdomain.tld:8080/remote/billing.php and not ttp://yourdomain.tld:8080/remote/index.php

Quote:

Another question - not really important: when I can change default VAT value? At this moment any new
article have 19% VAT. Is this in database stored or I must search and replace in billing files?
You can change the default vat rate in the file /usr/local/ispconfig/interface/lib/classes/plugin_invoiceitem.inc.php
in line 47:

$rec['vat'] = $app->functions->currency_format(19);

it is planned to make this setting available in the interface in a future release.

arek_bednarczyk 13th February 2013 01:03

Thank Till - of course remote/billing.php return billing functions!
Your support is best of the best :)


All times are GMT +2. The time now is 16:28.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.