I've looked in to this a little more but I believe I need some clarity.
All of my customers are setup as pre-paid. When I log in to the customer interface and click "Preview next billing", it generates a receipt for them. My understanding is that it generates a receipt because they have already paid for those calls as they were deducted from their existing positive balance. I'm assuming that if they were setup as a post-pay card and I allowed them to go in to the negative then they would not have paid for those calls and therefore an invoice would have been generated. Is this a correct assumption?
It looks like a2billing_batch_billing.php performs the same action as the Preview Next Billing customer page but as a batch for each user. I could modify that script to search the user's CDR for the previous month and generate an invoice. But before I go down the path of making a custom script, I want to verify that there isn't any existing functionality out of the box.
Thanks.
|