| API / Command Line | |
Used to create or modify a Pending Sale or Store Credit Transaction.
/usr/local/billmax/bin/enter_saleorcredit [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.
|
| -g taxregion |
Not applicable for a Service Sale.
|
| -f taxclass | Not Applicable for a Service or Item Sale. A value from the List taxclasses. |
| -k taxrule |
Not applicable for a Service Sale.
|
| -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
|
| -r recurring |
Not Applicable for a General or Item Sale. Not applicable if -U specified
|