![]() |
BillMax Billing Solutions 877.245.5629 sales@billmax.com |
enter_charge — Enter a Sale or a Store Credit for an Account
/usr/local/billmax/bin/enter_charge {-a account} {-m amount} [-h] [-v] [-s service] [-p ponumber] [-b startdate] [-e enddate] [-c epaydate] [-q quantity] [-t chargetype] [-n taxable] [-d description] [-U usagecharge] [-k] [-g number_amount:number_amount...] [-w misc01] [-x misc02] [-y misc03] [-z misc04] [-u]
-a accountThe Account for which this Sale or Store Credit is applicable.
-m amountThe amount of the Sale and Store Credit.
-hShow help for this program.
-v
Print on stdout the value of payhist.number of the newly created entry.
-s serviceThe Service for which this Sale or Store Credit is applicable.
-p ponumberPurchase Order.
-b startdateThe starting date for a Sale for a Service for a period of time.
-e enddateThe ending date for a Sale for a Service for a period of time.
-c epaydateThe first date an attempt will be made to collect funds via Electronic Funds Processing for a Sale or a Deposit Charge.
-q quantityThe number of items purchased.
-t chargetypeValue from chargetypes list. Used in reports.
-n taxable-1 - Tax is assessed for the Sale or Store Credit based on the value of account.taxable.
0 - Tax is not assessed for the Sale or Store Credit.
1 - Tax is assessed for the Sale or Store Credit.
-d description
A description of the Financial Transaction.
Required if -s is not specified.
service
-U usage0 - the Sale or Store Credit is not for usage data.
non-zero - the Sale or Store Credit is for usage data.
-kSet payhist.noautoallocate to 1 and do not automatically create Allocations.
-g number_amount:number_amount:...A colon delimited list of payhist.number_amount for creating Allocations.
-w misc01An integer miscellaneous field.
-x misc02A character miscellaneous field.
-y misc03A time miscellaneous field.
-z misc04A date miscellaneous field.
-uIf supplied, create a Store Credit. Otherwise, create a Sale.