=item creditbillpkgnum - primary key
-=item creditbillnum - Credit application to the overall invoice (see L<FS::cust_credit::bill>)
+=item creditbillnum - Credit application to the overall invoice (see L<FS::cust_credit_bill>)
=item billpkgnum - Line item to which credit is applied (see L<FS::cust_bill_pkg>)
if ($taxable_per_month >= 0) { #panic if its subzero?
my $groupby = join(',',
- qw(taxnum year month exempt_monthly exempt_cust
+ qw(taxnum taxtype year month exempt_monthly exempt_cust
exempt_cust_taxname exempt_setup exempt_recur));
my $sum = 'SUM(amount)';
my @exemptions = qsearch(