enter_saleorcredit

Used to create or modify a Pending Sale or Store Credit Transaction.

Usage

/usr/local/billmax/bin/enter_saleorcredit [options]

Options

Option Notes
-s service Service number
-c chargeType Not Applicable for a Service or Item Sale. A value from the List chargetypes.
-m rate Does not have to be a monetary amount. Can be fractional.
-d 'description'  
-a account Account Number
-q quantity  
-M amount The amount of the transaction. Generally should equal rate multiplied by quantity rounded to a monetary amount.
-T taxable

Not applicable for a Service Sale.

0
Not Taxable
1
Taxable
-1
Tax Not Applicable
-g taxregion

Not applicable for a Service Sale.

-1
Not Applicable
>0
A value from the taxregion table
-f taxclass Not Applicable for a Service or Item Sale. A value from the List taxclasses.
-k taxrule

Not applicable for a Service Sale.

-1
Not Applicable
>0
A value from the taxregion table
-b startdate Value in the form YYYY-MM-DD.
-e enddate Value in the form YYYY-MM-DD.
-F item Value of an Item Definition.
-U usage

Not Applicable for a General or Item Sale. Not applicable if -r specified

0
Sale should not be treated as a usage sale
1
Sale should be treated as a usage sale
-r recurring

Not Applicable for a General or Item Sale. Not applicable if -U specified

0
Sale should not be treated as a recurring sale
1
Sale should be treated as a recurring sale