Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Tue Apr 23, 2024 4:54 pm
Voice Broadcast System


All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: billing - discrepancies in amounts
PostPosted: Thu May 14, 2009 9:16 pm 
Offline

Joined: Tue Mar 17, 2009 4:00 pm
Posts: 153
Location: Where the sun shines
Hello

You've all realized now how I loved billing ! ;-)

Couple of issues that I've spotted.... context: postpaid billing, start with a fresh/new postpaid customer account, credit limit high enough. Make a few calls. run the a2billing_batch_billing script. Customer credit should oscillate between 0 and a negative value, at which point a billing is run, the invoice is paid, and the credit returns to 0, and it starts all over again.

I1) a receipt is generated for the calls, as well as as an invoice. However, the invoice value is based on the negative credit outstanding, while the receipt sums the calls since last billing - retrieved from cc_billing_customer that includes hh:mm:ss, to current day, AT 00:00, ie no hh:mm:ss included. So, the calls between cc_billing_customer.date at 00:00 and cc_billing_customer.date actual hh:mm:ss are ignored
-> this should have minimal impact, as you would run your billing batch early morning, but still !
-> I still havent figured out the use of receipts in the postpaid billing, so impact is not so important I guess

I2) Rounding on display
When displaying the invoice (A2B_invoice_view.php), the item line is displayed with rounding, using PHP round function. However, the subtotal excl vat, and the total incl. vat use the CEIL function... .therefore, there is often a 1c difference between the two lines. Its not much, but it is just enough to shed doubt in the customer's mind !

any reason to use these different calculations ?



many thanks for your views on this,

jean


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 
VoIP Billing solution


All times are UTC


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group