[freeside-devel]
ivan
ivan at 420.am
Tue Dec 25 22:01:58 PST 2001
On Sun, Dec 23, 2001 at 05:04:04PM -0600, Dave Burgess wrote:
> - Generally Accepted Accounting Practice (GAAP) says that when a
> customer has more than one outstanding invoice, any payments received
> will be applied to the oldest invoice first, and the remainder of
> the payment will then be applied to each subsequent invoice. We
> can get into the reasons in private E-Mail if anyone would like.
> The current payment processing system doesn't do this.
Current CVS now does this in all cases. The only missing piece was
calling ->apply_payments on the FS::cust_main object when a new payment
(not against a specific invoice) was entered.
> - Extend the 'invoicing' code so that it looks for unapplied credits
> and applies them to the new invoice (this might already work, I
> haven't even checked).
It does. See the `-p' option to freeside-bill.
> This way, pre-paid accounts (which we
> regularly get) will work correctly. Every once in a while, we'll
> get a customer that drops $50 on us for $15 a month dial-up. From
> what I've seen, we would go in and change his 'next bill' date to
> 100 days from now - that's suboptimal.
Sounds shady from an accounting perspective, too.
--
_ivan
More information about the freeside-devel
mailing list