No billing in remote function list

Discussion in 'Installation/Configuration' started by arek_bednarczyk, Feb 12, 2013.

  1. arek_bednarczyk

    arek_bednarczyk New Member

    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?
     
    Last edited: Feb 12, 2013
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    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

    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.
     
  3. arek_bednarczyk

    arek_bednarczyk New Member

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

Share This Page