[Spce-user] Billing profile's free time and customer creation

Oleg spce at irg-x.net
Thu Sep 29 11:01:38 EDT 2016


Hi,

Well, thank You for a clear and through explanation. Maybe, in the one 
of the next releases, we might find these "formulas" in the Handbook 
(paragraph "Contract balance alchemy" :) )

Thanks again.

Oleg



On 2016-09-29 16:48, Rene Krenn wrote:
> hi,
>> .. than in the Invoice I see 3540€ Shouldnt' the Invoce divide this by
> 100?
> you are right about this point, pdf generation is still under
> refactoring.
> 
>> How is the Contract Balance calculated on Customer creation?
> for the first month when the contract was created (assuming you use
> constant, monthly intervals), the free time is scaled by
> (month_num_of_days - contract_create_day)/month_num_of_days.
> 
>> 2. If I add "Interval free cash = 3854" in the Billing Profile, then,
>> the Contract Balance, I get 2.36 that (Sipwise seems to divide by
> 1500)
> why should we divide by 1500? but i know the logic behind is not that
> intuitive, since it has to met certain requirements; see next answer.
> 
> 3. Will Sipwise reset the Contract Balance of every Customer at the and
>> of the Billing Interval (1st of every month)
> To summarize:
> 
> The free_cash carry over from one to the next month (interval) is
> supposed to work as follows:
> 
> fresh balance = old balance - "unused" old free cash + new free cash
> (old an new free cash may differ, if e.g. the profile was switched)
> 
> Btw. it's only limited to "1st of month" unless you use profile
> packages.
> 
> regards, rene
> 
> On Thu, 2016-09-29 at 16:17 +0200, Oleg wrote:
>> Hello,
>> 
>> Just wondering, if I follow the instructions in the spce-4.4.1's
>> Handbook (/handbook/ar01s09.html#billing_profiles) and put A Billing
>> Profile's Interval charge in cents (ex.: 3540), than in the Invoice I
>> see 3540€ . Shouldnt' the Invoce divide this by 100? Should I put 
>> 38.40
>> if my Currency setting is set to '€'?
>> 
>> 1. Also, if my Billing Plan has "Interval free time = 36000" (600
>> muntes), than -- when I create a new Customer and assign it this 
>> Billing
>> Profile -- strange numbers appear in the Contract Balance: Sipwise 
>> seems
>> to be deviding "Interval free time" by 10 (so in my case I get 3600
>> seconds). How is the Contract Balance calculated on Customer creation?
>> 
>> 2. If I add "Interval free cash = 3854" in the Billing Profile, then, 
>> in
>> the Contract Balance, I get 2.36 that (Sipwise seems to divide by 
>> 1500)
>> 
>> 3. Will Sipwise reset the Contract Balance of every Customer at the 
>> and
>> of the Billing Interval (1st of every month) and put the values found 
>> in
>> "Intervall free time" and "Interval free cash" of the Billing Profile?
>> 
>> 
>> Appreciate any help I can get.
>> 
>> Oleg
>> 
>> _______________________________________________
>> Spce-user mailing list
>> Spce-user at lists.sipwise.com
>> https://lists.sipwise.com/listinfo/spce-user




More information about the Spce-user mailing list