% include( '/elements/header.html', 'Developer Documentation' ) %> <& /elements/menubar.html, 'Freeside Perl Modules' => $fsurl.'docs/library/FS.html', 'Complete Index' => $fsurl.'docs/library/index.html', &>
cust_bill-credit
cust_bill-credit [ -d date ] [ -s state ] [ -p ] [ -m templatenum ] [ -c reasonnum ] [ -e ] employee_username
Command-line tool to search for and credit invoices.
-d: Search for invoices starting from this date
-s: Search for invoices for packages within this state
-p: Print an informational line for each invoice with invnum, custnum, original tax amount, calculate credit, and credit percentage of original.
-m: Send an email to the customer with this message template.
-c: Credit the invoice for one-half of the taxation amount, using this reason.
-e: re-Email invoice
-r: dRy run
employee_username