<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://secure.freeside.biz/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Rluser</id>
		<title>Freeside - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://secure.freeside.biz/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Rluser"/>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php/Special:Contributions/Rluser"/>
		<updated>2026-05-21T15:27:37Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.27.7</generator>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:User&amp;diff=5972</id>
		<title>Freeside:1.9:Documentation:User</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:User&amp;diff=5972"/>
				<updated>2010-09-24T01:18:20Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: /* Additional notes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction =&lt;br /&gt;
&lt;br /&gt;
== About ==&lt;br /&gt;
&lt;br /&gt;
http://www.freeside.biz/~ivan/freeside-slides/html/slide_1.html ?&lt;br /&gt;
&lt;br /&gt;
AGPL now, and MySQL is also supported&lt;br /&gt;
&lt;br /&gt;
== Navigation and Preferences ==&lt;br /&gt;
&lt;br /&gt;
http://www.freeside.biz/~ivan/freeside-slides/html/slide_2.html&lt;br /&gt;
&lt;br /&gt;
== Customers, Packages and Services ==&lt;br /&gt;
&lt;br /&gt;
http://www.freeside.biz/~ivan/freeside-slides/html/slide_3.html&lt;br /&gt;
&lt;br /&gt;
http://www.freeside.biz/~ivan/freeside-slides/html/slide_4.html (simple case: single package and service)&lt;br /&gt;
&lt;br /&gt;
= Customers =&lt;br /&gt;
&lt;br /&gt;
== Adding customers ==&lt;br /&gt;
&lt;br /&gt;
http://www.freeside.biz/~ivan/freeside-slides/html/slide_5.html&lt;br /&gt;
&lt;br /&gt;
== Searching for customers ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Customer view ==&lt;br /&gt;
&lt;br /&gt;
http://www.freeside.biz/~ivan/freeside-slides/html/slide_6.html&lt;br /&gt;
&lt;br /&gt;
=== Actions ===&lt;br /&gt;
&lt;br /&gt;
==== Edit customer ====&lt;br /&gt;
==== Cancel customer ====&lt;br /&gt;
==== Refer customer ====&lt;br /&gt;
==== View customer's referrals ====&lt;br /&gt;
==== Bill now ====&lt;br /&gt;
&lt;br /&gt;
=== Comments / Notes ===&lt;br /&gt;
&lt;br /&gt;
==== Comments ====&lt;br /&gt;
&lt;br /&gt;
==== Notes ====&lt;br /&gt;
&lt;br /&gt;
=== Tickets ===&lt;br /&gt;
&lt;br /&gt;
http://www.freeside.biz/~ivan/freeside-slides/html/slide_7.html&lt;br /&gt;
&lt;br /&gt;
=== Packages ===&lt;br /&gt;
&lt;br /&gt;
http://www.freeside.biz/~ivan/freeside-slides/html/slide_11.html&lt;br /&gt;
&lt;br /&gt;
==== Services ====&lt;br /&gt;
&lt;br /&gt;
===== Accounts =====&lt;br /&gt;
&lt;br /&gt;
http://www.freeside.biz/~ivan/freeside-slides/html/slide_12.html&lt;br /&gt;
&lt;br /&gt;
===== Domains =====&lt;br /&gt;
===== Mail Forwards =====&lt;br /&gt;
===== Virtual hosting =====&lt;br /&gt;
===== Broadband =====&lt;br /&gt;
===== Phone numbers =====&lt;br /&gt;
===== External =====&lt;br /&gt;
&lt;br /&gt;
=== Payment history and actions === &lt;br /&gt;
&lt;br /&gt;
http://www.freeside.biz/~ivan/freeside-slides/html/slide_13.html&lt;br /&gt;
&lt;br /&gt;
==== Invoices ====&lt;br /&gt;
&lt;br /&gt;
Invoices are generated by the system.  The charges on each invoice reflect the setup/one-time, recurring and usage charges of that customer's packages.  Invoices increase the customer's balance.&lt;br /&gt;
&lt;br /&gt;
To add new packages or charges to a customer, use the &amp;quot;Order new package&amp;quot; or &amp;quot;One-time charge&amp;quot; links in the Packages section of the Customer View page.&lt;br /&gt;
&lt;br /&gt;
To generate a pending invoice for a customer, use the &amp;quot;Bill now&amp;quot; link at the top of the Customer View page.&lt;br /&gt;
&lt;br /&gt;
==== Payments ====&lt;br /&gt;
&lt;br /&gt;
Payments are money the customer pays.  Payments decrease the customer's balance.&lt;br /&gt;
&lt;br /&gt;
===== Check and Cash payments =====&lt;br /&gt;
&lt;br /&gt;
* To post a check or cash payment, use the &amp;quot;Enter check payment&amp;quot; or &amp;quot;Enter cash payment&amp;quot; links at the top of the Payment History section of the customer view page.&lt;br /&gt;
** Enter the amount of the payment.&lt;br /&gt;
** For check payments, enter the check number.&lt;br /&gt;
** Leave &amp;quot;Auto-apply to invoices&amp;quot; set to &amp;quot;yes&amp;quot; if you would like the system to apply the payment to any open invoices (oldest first).  Or change &amp;quot;Auto-apply to invoices&amp;quot; to &amp;quot;no&amp;quot; if you would like to apply the payment to invoice(s) (or refund(s)) manually.&lt;br /&gt;
&lt;br /&gt;
* Multiple check payments can also be entered in a batch under Tools -&amp;gt; Quick Payment Entry.&lt;br /&gt;
&lt;br /&gt;
===== Credit card and electronic check (ACH) payments =====&lt;br /&gt;
&lt;br /&gt;
* Credit card or electronic check payments will be initiated by the system for customers with Billing Type &amp;quot;Credit card (automatic)&amp;quot; or &amp;quot;Electronic Check (automatic)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* Payments can be initiated manually by using the &amp;quot;Process credit card payment&amp;quot; or &amp;quot;Process electronic check (ACH) payment&amp;quot; links, in the Payment History section of the customer view page.&lt;br /&gt;
** Enter the amount to process (defaults to the customer's current outstanding balance).&lt;br /&gt;
** For credit card payments, enter the card number, expiration date, name on card and billing address.  If the customer has a card on-file, the masked card number (&amp;quot;4111xxxxxxxx1111&amp;quot;) and other information can be left as-is to charge the on-file card.&lt;br /&gt;
** For electronic check payments, enter the account number, account type, ABA or routing number, and bank name (other information such as bank state, social security number, or driver's license number may also be required by some payment gateways).  If the customer has electronic checking information on-file, the masked account number and other information can be left as-is to charge the on-file bank account.&lt;br /&gt;
** Check &amp;quot;Remember this information&amp;quot; to save the payment information on-file.&lt;br /&gt;
** Also check &amp;quot;Charge future payments to this credit card/electronic check automatically&amp;quot; to charge the customer automatically in the future.&lt;br /&gt;
&lt;br /&gt;
* Customers may use the self-service interface to pay by credit card or electronic check themselves.&lt;br /&gt;
&lt;br /&gt;
===== Payment application =====&lt;br /&gt;
&lt;br /&gt;
* Payments are applied to a specific invoice (or split between multiple invoices).&lt;br /&gt;
* The &amp;quot;(apply)&amp;quot; and &amp;quot;(unapply)&amp;quot; links next to specific payment (in the Payment History section of the customer view page) can be used to change the application of payments to specific invoice(s) and/or refunds(s).&lt;br /&gt;
&lt;br /&gt;
==== Credits ====&lt;br /&gt;
&lt;br /&gt;
Credits are adjustments to the amount the customer owes.  Credits decrease the customer's balance.&lt;br /&gt;
&lt;br /&gt;
* To post a credit, use the &amp;quot;Enter credit&amp;quot; link at the top of the Payment History section of the customer view page.&lt;br /&gt;
** Enter the amount to credit.&lt;br /&gt;
** Select the reason for the credit or enter a new reason.&lt;br /&gt;
** Leave &amp;quot;Auto-apply to invoices&amp;quot; set to &amp;quot;yes&amp;quot; if you would like the system to apply the credit to any open invoices (oldest first).  Or change &amp;quot;Auto-apply to invoices&amp;quot; to &amp;quot;no&amp;quot; if you would like to apply the credit to invoice(s) (or refund(s)) manually.&lt;br /&gt;
&lt;br /&gt;
* Like payments, credits can be applied to an invoice (or split between multiple invoices).  For example, a credit to reverse an incorrect invoice or write off an invoice as bad debt could be applied to that specific invoice.&lt;br /&gt;
* Credits can also be applied to refunds to indicate that the credit was refunded to the customer instead.&lt;br /&gt;
* The &amp;quot;(apply)&amp;quot; and &amp;quot;(unapply)&amp;quot; links next to specific credits (in the Payment History section of the customer view page) can be used to change the application of credits to specific invoice(s) and/or refunds(s).&lt;br /&gt;
&lt;br /&gt;
==== Refunds ====&lt;br /&gt;
&lt;br /&gt;
Refunds are money paid to the customer.  Refunds increase the customer's balance.&lt;br /&gt;
&lt;br /&gt;
===== Check and Cash refunds =====&lt;br /&gt;
&lt;br /&gt;
* Posting refunds&lt;br /&gt;
* Applying and unapplying refunds.&lt;br /&gt;
&lt;br /&gt;
===== Credit card and electronic check (ACH) refunds =====&lt;br /&gt;
&lt;br /&gt;
* To refund a specific credit card or electronic check (ACH) payment back to the customer, use the &amp;quot;(refund)&amp;quot; link next to that specific payment (in the Payment History section of the customer view page).   This will process a refund for the amount of the payment with the payment gateway.&lt;br /&gt;
&lt;br /&gt;
= Ticketing =&lt;br /&gt;
&lt;br /&gt;
Link to RT documentation&lt;br /&gt;
&lt;br /&gt;
== New ticket ==&lt;br /&gt;
&lt;br /&gt;
http://www.freeside.biz/~ivan/freeside-slides/html/slide_8.html&lt;br /&gt;
&lt;br /&gt;
== Ticketing Main ==&lt;br /&gt;
&lt;br /&gt;
http://www.freeside.biz/~ivan/freeside-slides/html/slide_9.html&lt;br /&gt;
&lt;br /&gt;
== Ticket View ==&lt;br /&gt;
&lt;br /&gt;
http://www.freeside.biz/~ivan/freeside-slides/html/slide_10.html&lt;br /&gt;
&lt;br /&gt;
= Searching and Reporting =&lt;br /&gt;
&lt;br /&gt;
http://www.freeside.biz/~ivan/freeside-slides/html/slide_14.html&lt;br /&gt;
&lt;br /&gt;
== Customers ==&lt;br /&gt;
&lt;br /&gt;
* To search for a customer, enter the customer number, name, company name or contact phone number into the &amp;quot;Search customers&amp;quot; box at the top of each page.  Name and company are &amp;quot;fuzzy&amp;quot; searches that will attempt to find a close match if no exact match is found.&lt;br /&gt;
* Other customer browsing and reporting is available from Reports -&amp;gt; Customers&lt;br /&gt;
* For advanced reporting with specific criteria, use the &amp;quot;Advanced&amp;quot; link next to the &amp;quot;Search customers&amp;quot; box at the top of each page, or go to Reports -&amp;gt; Customers -&amp;gt; Advanced customer reports&lt;br /&gt;
&lt;br /&gt;
* To search for a customer by invoice number or service information (such as username, email address, domain or service phone number), use the invoice or service search, then click on the customer or &amp;quot;View this customer&amp;quot; link.&lt;br /&gt;
&lt;br /&gt;
== Invoices ==&lt;br /&gt;
&lt;br /&gt;
* To search for an invoice, enter the invoice number into the &amp;quot;Search customers&amp;quot; box at the top of each page.&lt;br /&gt;
* Other invoice browsing and reporting is available from Reports -&amp;gt; Invoices&lt;br /&gt;
* For advanced reporting with specific criteria, use the &amp;quot;Advanced&amp;quot; link next to the &amp;quot;Search invoice&amp;quot; box at the top of each page, or go to Reports -&amp;gt; Invoices -&amp;gt; Advanced invoice reports&lt;br /&gt;
&lt;br /&gt;
== Packages ==&lt;br /&gt;
&lt;br /&gt;
* Package browsing and reporting is available from Reports -&amp;gt; Packages&lt;br /&gt;
* For advanced reporting with specific criteria, go to Reports -&amp;gt; Packages -&amp;gt; Advanced package reports&lt;br /&gt;
&lt;br /&gt;
=== FCC Form 477 ===&lt;br /&gt;
&lt;br /&gt;
==== Prerequisites ====&lt;br /&gt;
&lt;br /&gt;
* visit Configuration-&amp;gt;Settings and set cust_main-require_censustract to Yes&lt;br /&gt;
* visit Configuration-&amp;gt;Packages-&amp;gt;Package report classes and add classes to match the FCCs reporting requirements&lt;br /&gt;
* edit your package definitions (Configuration-&amp;gt;Packages-&amp;gt;Package definitions) to include some report classes&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
&lt;br /&gt;
* visit Reports-&amp;gt;Customers-&amp;gt;Advanced customer reports to find customers lacking census tract information&lt;br /&gt;
* edit customers who lack census information - you should either see a popup asking for census information or it will be automatically filled when you save the customer&lt;br /&gt;
* visit Reports-&amp;gt;Packages-&amp;gt;Advanced package reports to generate reports which may filter by ALL selected &amp;quot;report classes&amp;quot; (logically ANDed)&lt;br /&gt;
* visit Reports-&amp;gt;Packages-&amp;gt;FCC Form 477 packages to generate reports collated by census tract&lt;br /&gt;
&lt;br /&gt;
==== Additional notes ====&lt;br /&gt;
&lt;br /&gt;
Once logged into the fcc system, one can offer it one or more files for upload via its html forms.  For 'small' systems (fewer than 5000 broadband subscriptions) we support a single file upload.  The size restriction is an FCC restriction on the number of lines in the XML file.&lt;br /&gt;
&lt;br /&gt;
To prepare the report for upload, one must first tag package definitions with appropriate report classes.  'Appropriate' depends on context.  For example, if a reporting entity must submit FCC Part IIA then the reporting entity must designate which packages contain 'unswitched UNE loops' and must tag the definitions with a report option which means this.  If Part IIA is to be submitted, then each package definition must have the 'voice grade equivalency' for each package (defalt is 0).  The global config cust_pkg-show_fcc_voice_grade_equivalent must be enabled to edit this.&lt;br /&gt;
&lt;br /&gt;
Once the packages are tagged, useful reports may be generated.  By visiting Reports-&amp;gt;Packages-&amp;gt;FCC Form 477 you may choose which 'parts' of the FCC form to generate (since not all parts are meaningful to all companies).  In Part IA all download speeds and all upload speeds must be set meaningfully and at least one technology must be set.  Part IB is not presently supported.  Parts IIA and IIB depend on the ds0 equivalency number.  They make use of the report options to calculate the percentage of the whole number of ds0s.  All of parts I and II rely on the existance of a company name in the customer record for determining if the package is residential or not.  Part III is not supported at this time.  Part IV offers free form comments.  Parts V and VI depend on parts II and I respectively.  Only selection of their generation may be selected (and is ignored if the antecedents are missing).&lt;br /&gt;
&lt;br /&gt;
After pressing the submit button, the top 'XML file' link represents a file suitable for uploading to the FCC as an XML file as long as fewer than 5000 broadband connections are being reported.  Parts V and VI may also be downloaded as CSV files from links adjacent to the section.  This (particularly VI) should be useful for larger entities who must perform the upload in parts.&lt;br /&gt;
&lt;br /&gt;
== Services ==&lt;br /&gt;
&lt;br /&gt;
* To search for a service such as username, email address, IP address, MAC address, domain or service phone number,  enter the search data into the &amp;quot;Search servcies&amp;quot; box at the top of each page.&lt;br /&gt;
* Other service browsing and reporting is available from Reports -&amp;gt; Services&lt;br /&gt;
&lt;br /&gt;
=== Accounts ===&lt;br /&gt;
=== Domains ===&lt;br /&gt;
=== Mail Forwards ===&lt;br /&gt;
=== Virtual hosting ===&lt;br /&gt;
=== Broadband ===&lt;br /&gt;
=== Phone numbers ===&lt;br /&gt;
=== External ===&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
== Tickets ==&lt;br /&gt;
&lt;br /&gt;
* To search for a ticket, enter the ticket number, subject, or email address into the &amp;quot;Search tickets&amp;quot; box at the top of each page.&lt;br /&gt;
* A fulltext ticket search can also be performed by entering &amp;quot;fulltext:searchstring&amp;quot; where searchstring is the string to search for.&lt;br /&gt;
* For advanced reporting with specific criteria, use the &amp;quot;Advanced&amp;quot; link next to the &amp;quot;Search tickets&amp;quot; box at the top of each page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Financial Reports ==&lt;br /&gt;
&lt;br /&gt;
=== Sales, Credits and Receipts ===&lt;br /&gt;
&lt;br /&gt;
=== Sales Report ===&lt;br /&gt;
&lt;br /&gt;
=== Credit Report ===&lt;br /&gt;
&lt;br /&gt;
=== Payment Report ===&lt;br /&gt;
&lt;br /&gt;
=== Payment Batch Report ===&lt;br /&gt;
&lt;br /&gt;
=== A/R Aging ===&lt;br /&gt;
&lt;br /&gt;
Go to Reports -&amp;gt; Financial -&amp;gt; A/R aging to pull up an aging report&lt;br /&gt;
&lt;br /&gt;
* Select &amp;quot;All customers&amp;quot; to pull up a report including all customers.&lt;br /&gt;
* Select &amp;quot;Customers with a balance&amp;quot; (the default) to pull up a report only including customers with a balance.  Optionally enter a number of days to pull up a report only including customers with balances over the specified number of days old.&lt;br /&gt;
&lt;br /&gt;
=== Prepaid income ===&lt;br /&gt;
&lt;br /&gt;
=== Sales tax liability ===&lt;br /&gt;
&lt;br /&gt;
Go to Reports -&amp;gt; Financial -&amp;gt; Sales tax liability to pull up a report of total sales and taxes, for example, to pull up numbers to add to Quickbooks or another accounting package.&lt;br /&gt;
&lt;br /&gt;
* Enter start and end dates to restrict the search to a specific time period.&lt;br /&gt;
* Check &amp;quot;Show tax classes&amp;quot; to break down sales and taxes by tax class.&lt;br /&gt;
* Check &amp;quot;Show package classes&amp;quot; to break down sales and taxes by package class.&lt;br /&gt;
&lt;br /&gt;
* In the resulting sales tax report, all clickable links take you to a detail report of the specific items making up the number reported.&lt;br /&gt;
&lt;br /&gt;
= Tools =&lt;br /&gt;
&lt;br /&gt;
== Quick Payment Entry ==&lt;br /&gt;
&lt;br /&gt;
= Auditing Legacy Data =&lt;br /&gt;
&lt;br /&gt;
http://www.freeside.biz/~ivan/freeside-slides/html/slide_15.html&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:Documentation:Developer:Schema_changes&amp;diff=5951</id>
		<title>Freeside:Documentation:Developer:Schema changes</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:Documentation:Developer:Schema_changes&amp;diff=5951"/>
				<updated>2010-09-08T21:27:54Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: /* Skeleton class autogeneration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Schema.pm ===&lt;br /&gt;
&lt;br /&gt;
* Required&lt;br /&gt;
* Edit the big data structure in FS/FS/Schema.pm and add your tables and columns&lt;br /&gt;
&lt;br /&gt;
=== Essential documentation ===&lt;br /&gt;
&lt;br /&gt;
* The upgrade script will automatically handle new tables as well as new columns, removed columns and changes to columns and indices.  Column changes (other than NULLability) require  DBIx::DBSchema version 0.37 or later.&lt;br /&gt;
* If other schema changes are required (such as renamed or removed tables, etc.), add a quick note to the upgrade instructions at [[Freeside:1.9:Documentation:Upgrading-HEAD]]&lt;br /&gt;
&lt;br /&gt;
=== Skeleton class autogeneration ===&lt;br /&gt;
&lt;br /&gt;
* For new tables.  Optional but recommended.  We're trying to save you work!&lt;br /&gt;
* Make sure the tables have been added to FS/FS/Schema.pm and run &amp;lt;code&amp;gt;make install-perl-modules&amp;lt;/code&amp;gt;&lt;br /&gt;
* From the root freeside directory, run &amp;lt;code&amp;gt;bin/generate-table-module &amp;lt;i&amp;gt;tablename&amp;lt;/i&amp;gt;&amp;lt;/code&amp;gt; for each table.  Use the &amp;lt;code&amp;gt;-n&amp;lt;/code&amp;gt; option if you prefer not to have Mason load the table module.&lt;br /&gt;
* Edit the resulting FS/FS/table.pm&lt;br /&gt;
* FS/MANIFEST is updated and FS/t/table.t is added. Don't forget to cvs add FS/FS/table.pm and FS/t/table.t and check them in.&lt;br /&gt;
&lt;br /&gt;
=== Required Documentation ===&lt;br /&gt;
* For new tables: add to FS/FS.pm&lt;br /&gt;
&lt;br /&gt;
=== Optional: Documentation looking for adopters or innovative autogeneration ===&lt;br /&gt;
&lt;br /&gt;
* somehwat neglected: httemplate/docs/schema.html&lt;br /&gt;
* really neglected: httemplate/docs/schema.dia&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration:VOIP_plan_invoice_layout_variables&amp;diff=5913</id>
		<title>Freeside:1.9:Documentation:Administration:VOIP plan invoice layout variables</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration:VOIP_plan_invoice_layout_variables&amp;diff=5913"/>
				<updated>2010-08-05T20:56:28Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: /* Common VOIP plan options for invoice appearance */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Common VOIP plan options for invoice appearance ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Certain configuration options on telephony plan packages can have significant impact on the appearances of invoices by '''changing the data calculated and stored''' at the time of invoice generation. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;CDR invoice display format [output_format]&lt;br /&gt;
:controls the data stored for the usage detail on the invoice. Current choices are&lt;br /&gt;
  default                   - date, time, destination, regionname, duration, price&lt;br /&gt;
  default with source       - source, date, time, destination, regionname, duration, price&lt;br /&gt;
  default with account code - date, time, account code, destination, regionname, duration, price&lt;br /&gt;
  simple                    - date, time, user, destination, duration, price&lt;br /&gt;
  simple with source        - date, time, source, destination, duration, price&lt;br /&gt;
&lt;br /&gt;
;Section in which to place usage charges (whether separated or not) [usage_section]&lt;br /&gt;
:names an [[Freeside:Configuration:invoice_sections|invoice section]] which is to contain the usage portion of the invoiced package.  If the section is to be included in a [[Freeside:Configuration:invoice_usesummary|summary page]] then you will need to ensure the spelling exactly matches a [[Freeside:1.9:Documentation:Administration:pkg_category|package category]]&lt;br /&gt;
&lt;br /&gt;
;Include usage summary with recurring charges when usage is in separate section [summarize_usage]&lt;br /&gt;
:creates an additional (2nd) line on the invoice showing the total usage associated with the package.  Typically appears below a 'setup' and 'recurring' line (if they exist).&lt;br /&gt;
&lt;br /&gt;
;Always put usage details in separate section [usage_mandate]&lt;br /&gt;
:causes freeside to generate an extra section for the usage details even when freeside is not using [[Freeside:Configuration:invoice_sections|invoice sections]].&lt;br /&gt;
&lt;br /&gt;
[[Category:Invoice_Layout]]&lt;br /&gt;
[[Category:Price_Plan_Options]]&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:Configuration:invoice_latexextracouponspace&amp;diff=5912</id>
		<title>Freeside:Configuration:invoice latexextracouponspace</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:Configuration:invoice_latexextracouponspace&amp;diff=5912"/>
				<updated>2010-08-05T20:49:48Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Freeside_Configuration_Settings]]&lt;br /&gt;
[[Category:Invoice_Layout]]&lt;br /&gt;
;invoice_latexextracouponspace&lt;br /&gt;
:Optional LaTeX [[Freeside:Configuration:invoice_latextextheight|invoice textheight]] space to reserve for a tear off [[coupon]]. Include units.&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:Configuration:invoice_latexcouponaddcompanytoaddress&amp;diff=5911</id>
		<title>Freeside:Configuration:invoice latexcouponaddcompanytoaddress</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:Configuration:invoice_latexcouponaddcompanytoaddress&amp;diff=5911"/>
				<updated>2010-08-05T20:47:42Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Freeside_Configuration_Settings]]&lt;br /&gt;
[[Category:Invoice_Layout]]&lt;br /&gt;
;invoice_latexcouponaddcompanytoaddress&lt;br /&gt;
:Add the company name to the 'To' address on the remittance [[coupon]] because the return address does not contain it.&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:Configuration:invoice_latexcoupontoaddresssep&amp;diff=5910</id>
		<title>Freeside:Configuration:invoice latexcoupontoaddresssep</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:Configuration:invoice_latexcoupontoaddresssep&amp;diff=5910"/>
				<updated>2010-08-05T20:45:09Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Freeside_Configuration_Settings]]&lt;br /&gt;
[[Category:Invoice_Layout]]&lt;br /&gt;
;invoice_latexcoupontoaddresssep&lt;br /&gt;
:Optional LaTeX invoice separation between invoice data and the 'to' address (usually [[Freeside:1.9:Documentation:Administration#Invoice_Templates|invoice_latexreturnaddress]]).  Include units.&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:Configuration:invoice_latexaddresssep&amp;diff=5909</id>
		<title>Freeside:Configuration:invoice latexaddresssep</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:Configuration:invoice_latexaddresssep&amp;diff=5909"/>
				<updated>2010-08-05T20:44:15Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Freeside_Configuration_Settings]]&lt;br /&gt;
[[Category:Invoice_Layout]]&lt;br /&gt;
;invoice_latexaddresssep&lt;br /&gt;
:Optional LaTeX invoice separation between invoice data and the 'to' address (usually [[Freeside:1.9:Documentation:Administration#Invoice_Templates|invoice_latexreturnaddress]]).  Include units.&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration:invoice_layout&amp;diff=5908</id>
		<title>Freeside:1.9:Documentation:Administration:invoice layout</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration:invoice_layout&amp;diff=5908"/>
				<updated>2010-08-05T20:37:19Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: /* Other Rendering Variables */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Invoice_Layout]]&lt;br /&gt;
&lt;br /&gt;
===Invoice Layout and Content===&lt;br /&gt;
====Basic Invoice Styles====&lt;br /&gt;
Several variables make significant changes to the appearance of invoices.&lt;br /&gt;
&lt;br /&gt;
{{Freeside:Configuration:invoice_sections}}&lt;br /&gt;
{{Freeside:Configuration:invoice_usesummary}}&lt;br /&gt;
{{Freeside:Configuration:usage_class_as_a_section}}&lt;br /&gt;
{{Freeside:Configuration:svc_phone_sections}}&lt;br /&gt;
&lt;br /&gt;
====Invoice Templates====&lt;br /&gt;
{{Freeside:1.9:Documentation:Administration:invoice_templates|format=latex}}&lt;br /&gt;
&lt;br /&gt;
{{Freeside:1.9:Documentation:Administration:VOIP plan invoice layout variables}}&lt;br /&gt;
&lt;br /&gt;
==== Other Variables Changing Invoice Layout at Billing Time====&lt;br /&gt;
{{Freeside:Configuration:separate_usage}}&lt;br /&gt;
&lt;br /&gt;
==== Variables Neither Perfectly Rendering nor Perfectly Generational====&lt;br /&gt;
{{Freeside:Configuration:date_format}}&lt;br /&gt;
{{Freeside:Configuration:money_char}}&lt;br /&gt;
{{Freeside:Configuration:invoice_default_terms}}&lt;br /&gt;
&lt;br /&gt;
====Boolean Rendering Variables====&lt;br /&gt;
{{Freeside:Configuration:invoice_show_prior_due_date}}&lt;br /&gt;
{{Freeside:Configuration:invoice_include_aging}}&lt;br /&gt;
{{Freeside:Configuration:invoice_smallernotes}}&lt;br /&gt;
{{Freeside:Configuration:invoice_smallerfooter}}&lt;br /&gt;
{{Freeside:Configuration:invoice-ship_address}}&lt;br /&gt;
{{Freeside:Configuration:disable_line_item_date_ranges}}&lt;br /&gt;
{{Freeside:Configuration:disable_previous_balance}}&lt;br /&gt;
{{Freeside:Configuration:previous_balance-summary_only}}&lt;br /&gt;
{{Freeside:Configuration:balance_due_below_line}}&lt;br /&gt;
{{Freeside:Configuration:invoice-unitprice}}&lt;br /&gt;
&lt;br /&gt;
====Other Rendering Variables====&lt;br /&gt;
{{Freeside:Configuration:invoice_latextopmargin}}&lt;br /&gt;
{{Freeside:Configuration:invoice_latexheadsep}}&lt;br /&gt;
{{Freeside:Configuration:invoice_latexaddresssep}}&lt;br /&gt;
{{Freeside:Configuration:invoice_latextextheight}}&lt;br /&gt;
{{Freeside:Configuration:invoice_latexextracouponspace}}&lt;br /&gt;
{{Freeside:Configuration:invoice_latexcouponfootsep}}&lt;br /&gt;
{{Freeside:Configuration:invoice_latexcouponamountenclosedsep}}&lt;br /&gt;
{{Freeside:Configuration:invoice_latexcoupontoaddresssep}}&lt;br /&gt;
{{Freeside:Configuration:invoice_latexverticalreturnaddress}}&lt;br /&gt;
{{Freeside:Configuration:invoice_latexcouponaddcompanytoaddress}}&lt;br /&gt;
{{Freeside:Configuration:previous_balance-exclude_from_total}}&lt;br /&gt;
{{Freeside:Configuration:company_name}}&lt;br /&gt;
{{Freeside:Configuration:company_address}}&lt;br /&gt;
{{Freeside:Configuration:finance_pkgclass}}&lt;br /&gt;
{{Freeside:Configuration:cust_bill-max_same_services}}&lt;br /&gt;
{{Freeside:Configuration:cust_bill-consolidate_services}}&lt;br /&gt;
&lt;br /&gt;
====Miscellaneous Variables Impacting Customer Perception of Invoices====&lt;br /&gt;
&lt;br /&gt;
These variables do not change the invoice per se, but do change what is emailed to a customer as an invoice.&lt;br /&gt;
{{Freeside:Configuration:invoice_email_pdf}}&lt;br /&gt;
{{Freeside:Configuration:invoice_email_pdf_note}}&lt;br /&gt;
{{Freeside:Configuration:voip-cust_email_csv_cdr}}&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:Configuration:invoice_latexcouponfootsep&amp;diff=5907</id>
		<title>Freeside:Configuration:invoice latexcouponfootsep</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:Configuration:invoice_latexcouponfootsep&amp;diff=5907"/>
				<updated>2010-08-05T20:36:19Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Freeside_Configuration_Settings]]&lt;br /&gt;
[[Category:Invoice_Layout]]&lt;br /&gt;
;invoice_latexcouponfootsep&lt;br /&gt;
:Optional LaTeX invoice separation between tear off [[coupon]] and [[Freeside:1.9:Documentation:Administration#Invoice_Templates|footer]]. Include units.&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration:pkg_category&amp;diff=5906</id>
		<title>Freeside:1.9:Documentation:Administration:pkg category</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration:pkg_category&amp;diff=5906"/>
				<updated>2010-08-05T20:25:40Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: /* Package Category */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Package Category==&lt;br /&gt;
&lt;br /&gt;
Package categories define groups of [[Freeside:1.9:Documentation:Administration:pkg_class|package classes]].&lt;br /&gt;
&lt;br /&gt;
;Category name&lt;br /&gt;
:defines an [[Freeside:Configuration:invoice_sections|invoice section]] if that feature is enabled.&lt;br /&gt;
;Weight&lt;br /&gt;
:determines the order in which [[Freeside:Configuration:invoice_sections|invoice_sections]] appear.&lt;br /&gt;
;Collapse identical items into one&lt;br /&gt;
:causes identical packages to appear folded into a single line item with a quantity when checked rather than the default once line item per package.&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration:invoice_templates&amp;diff=5905</id>
		<title>Freeside:1.9:Documentation:Administration:invoice templates</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration:invoice_templates&amp;diff=5905"/>
				<updated>2010-08-05T20:23:51Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*  {{#ifeq: {{{format}}} | latex | LaTeX | HTML }} invoices use Text::Template with {{#ifeq: {{{format}}} | latex | [@-- and --@] | &amp;lt;%= and %&amp;gt; }} delimiters.&lt;br /&gt;
*  {{#ifeq: {{{format}}} | latex | Edit the invoice_{{{format}}}coupon, | The following can be set to override the default behaviour of using the invoice_latex* data transformed to HTML: }} invoice_{{{format}}}returnaddress, invoice_{{{format}}}footer, invoice_{{{format}}}notes, and invoice_{{{format}}}smallfooter configuration options. {{#ifeq: {{{format}}} | latex | If you are adventurous, | You may }} edit invoice_{{{format}}} as well.&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration&amp;diff=5904</id>
		<title>Freeside:1.9:Documentation:Administration</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration&amp;diff=5904"/>
				<updated>2010-08-05T20:22:35Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: /* HTML invoice templates */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Exports (provisioning) =&lt;br /&gt;
&lt;br /&gt;
'''Exports''' allow you to provision services to remote machines, databases and APIs.  Some exports, such as ''sqlradius'' and ''sqlradius_withdomain'',  enable a feed for retrieving rating/usage data.&lt;br /&gt;
&lt;br /&gt;
Exports can be added and edited under&lt;br /&gt;
: Configuration -&amp;gt; Provisioning, services and packages -&amp;gt; View/edit exports&lt;br /&gt;
&lt;br /&gt;
Most exports place jobs in the job queue for new, modified or deleted services.  Jobs are run by [[Freeside:1.9:Documentation:Developer/bin/freeside-queued|freeside-queued]].  This daemon needs to be running before exports are acted upon.&lt;br /&gt;
&lt;br /&gt;
Some exports use SSH, SCP or SFTP to communicate with external machines.  See the documentation on [[Freeside:1.9:Documentation:Administration:SSH_Keys|SSH keys]].&lt;br /&gt;
&lt;br /&gt;
Click on ''Add a new export'' to create a new export.  Select exports from the dropdown to show more information on each export, including available options, setup and usage.&lt;br /&gt;
&lt;br /&gt;
Exports are activated by associating them with one or more '''service definitions'''.&lt;br /&gt;
&lt;br /&gt;
Following is a list of which exports can be associated with each type of service.&lt;br /&gt;
&lt;br /&gt;
==svc_acct==&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:acct_plesk.pm|acct_plesk.pm]]:  Real-time export to Plesk managed mail service&lt;br /&gt;
* acct_sql.pm:  Real-time export of accounts to SQL databases .&lt;br /&gt;
* artera_turbo.pm: &lt;br /&gt;
* bsdshell.pm: &lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:communigate_pro.pm|communigate_pro.pm]]:  Real-time export to a CommuniGate Pro mail server&lt;br /&gt;
* communigate_pro_singledomain.pm: &lt;br /&gt;
* cpanel.pm:  Real-time export to Cpanel control panel.&lt;br /&gt;
* cp.pm:  Real-time export to Critical Path Account Provisioning Protocol&lt;br /&gt;
* cyrus.pm:  Real-time export to Cyrus IMAP server&lt;br /&gt;
* everyone_net.pm:  Real-time export to Everyone.net outsourced mail service&lt;br /&gt;
* infostreet.pm:  Real-time export to InfoStreet streetSmartAPI&lt;br /&gt;
* ldap.pm:  Real-time export to LDAP&lt;br /&gt;
* passwdfile.pm:&lt;br /&gt;
* radiator.pm:  Real-time export to RADIATOR&lt;br /&gt;
* shellcommands.pm: &lt;br /&gt;
* shellcommands_withdomain.pm:  Real-time export via remote SSH (vpopmail, ISPMan)&lt;br /&gt;
* sqlmail.pm:  Real-time export to SQL-backed mail server&lt;br /&gt;
* sqlradius.pm:  Real-time export to SQL-backed RADIUS (FreeRADIUS, ICRADIUS)&lt;br /&gt;
* sqlradius_withdomain.pm:  Real-time export to SQL-backed RADIUS (FreeRADIUS, ICRADIUS) with realms&lt;br /&gt;
* sysvshell.pm: &lt;br /&gt;
* textradius.pm: &lt;br /&gt;
* vpopmail.pm:  Real-time export to vpopmail text files&lt;br /&gt;
&lt;br /&gt;
==svc_domain==&lt;br /&gt;
* bind.pm:  Batch export to BIND named&lt;br /&gt;
* bind_slave.pm: Batch export to slave BIND named&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:communigate_pro.pm|communigate_pro.pm]]:  Real-time export to a CommuniGate Pro mail server&lt;br /&gt;
* domain_shellcommands.pm:  Run remote commands via SSH, for domains (qmail, ISPMan).&lt;br /&gt;
* domain_sql.pm:  Real time export of domains to SQL databases .&lt;br /&gt;
* http.pm:  Send an HTTP or HTTPS GET or POST request&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:opensrs.pm|opensrs.pm]]: OpenSRS integration&lt;br /&gt;
* sqlmail.pm:  Real-time export to SQL-backed mail server&lt;br /&gt;
&lt;br /&gt;
==svc_forward==&lt;br /&gt;
* artera_turbo.pm: &lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:communigate_pro.pm|communigate_pro.pm]]:  Real-time export to a CommuniGate Pro mail server&lt;br /&gt;
* forward_shellcommands.pm:  Run remote commands via SSH, for forwards&lt;br /&gt;
* postfix.pm:  Postfix text files&lt;br /&gt;
* sqlmail.pm:  Real-time export to SQL-backed mail server&lt;br /&gt;
&lt;br /&gt;
==svc_www==&lt;br /&gt;
* apache.pm:  Export an Apache httpd.conf file snippet.&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:www_plesk.pm|www_plesk.pm]]:  Real-time export to Plesk managed hosting service&lt;br /&gt;
* www_shellcommands.pm:  Run remote commands via SSH, for virtual web sites (directory maintenance, FrontPage, ISPMan)&lt;br /&gt;
&lt;br /&gt;
==svc_broadband==&lt;br /&gt;
* nas_wrapper.pm:  A meta-export that triggers other svc_broadband exports.&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:prizm.pm|prizm.pm]]:  Real-time export to Northbound Interface&lt;br /&gt;
* router.pm:  Send a command to a router.&lt;br /&gt;
* snmp.pm:  Sends SNMP SETs to an SNMP agent.&lt;br /&gt;
* trango.pm:  Sends SNMP SETs to a Trango AP.&lt;br /&gt;
&lt;br /&gt;
==svc_phone==&lt;br /&gt;
* globalpops_voip.pm:&lt;br /&gt;
* grandstream.pm: Grandstream phone and ATA provisioning.   This [http://www.freeside.biz/blog/?p=11 blog article] is a start at documentation.&lt;br /&gt;
* indosoft.pm:&lt;br /&gt;
* internal_diddb.pm:&lt;br /&gt;
* netsapiens.pm:&lt;br /&gt;
* phone_shellcommands.pm:&lt;br /&gt;
* phone_sqlradius.pm:&lt;br /&gt;
* thirdlane.pm:&lt;br /&gt;
* vitelity.pm:&lt;br /&gt;
&lt;br /&gt;
==svc_external==&lt;br /&gt;
* artera_turbo.pm:&lt;br /&gt;
&lt;br /&gt;
= Services =&lt;br /&gt;
&lt;br /&gt;
== Accounts (svc_acct) ==&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:svc_acct:_password_encoding|Password encoding in 1.9]]&lt;br /&gt;
&lt;br /&gt;
== Domains (svc_domain) ==&lt;br /&gt;
&lt;br /&gt;
== Forwards (svc_forward) ==&lt;br /&gt;
&lt;br /&gt;
== Hosting (svc_www) ==&lt;br /&gt;
&lt;br /&gt;
== Broadband (svc_broadband) ==&lt;br /&gt;
&lt;br /&gt;
== Phone (svc_phone) ==&lt;br /&gt;
&lt;br /&gt;
== External (svc_external) ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Packages =&lt;br /&gt;
&lt;br /&gt;
{{Freeside:1.9:Documentation:Administration:pkg_category}}&lt;br /&gt;
&lt;br /&gt;
== Price Plans ==&lt;br /&gt;
&lt;br /&gt;
=== Common price plans ===&lt;br /&gt;
&lt;br /&gt;
* flat&lt;br /&gt;
* subscription&lt;br /&gt;
* prorate&lt;br /&gt;
* sqlradacct_hour&lt;br /&gt;
* voip_cdr&lt;br /&gt;
* prepaid&lt;br /&gt;
&lt;br /&gt;
=== Wholesale price plans ===&lt;br /&gt;
&lt;br /&gt;
* bulk&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:Packages:Price_Plans:agent | agent]]&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:Packages:Price_Plans:cdr_termination |&lt;br /&gt;
 cdr_termination ]]&lt;br /&gt;
&lt;br /&gt;
=== Other price plans ===&lt;br /&gt;
&lt;br /&gt;
* flat_delayed&lt;br /&gt;
* flat_introrate&lt;br /&gt;
* prorate_delayed&lt;br /&gt;
&lt;br /&gt;
* base_delayed&lt;br /&gt;
* base_rate&lt;br /&gt;
&lt;br /&gt;
* sql_external&lt;br /&gt;
* sql_generic&lt;br /&gt;
&lt;br /&gt;
=== Price plans of questionable functionality ===&lt;br /&gt;
&lt;br /&gt;
* flat_comission_cust&lt;br /&gt;
* flat_comission_pkg&lt;br /&gt;
* flat_comission&lt;br /&gt;
&lt;br /&gt;
* voip_sqlradacct&lt;br /&gt;
&lt;br /&gt;
* sesmon_hour&lt;br /&gt;
* sesmon_minute&lt;br /&gt;
&lt;br /&gt;
== Misc ==&lt;br /&gt;
&lt;br /&gt;
* Some notes on [[Freeside:1.9:Documentation:Administration:Upselling | Upselling]]&lt;br /&gt;
&lt;br /&gt;
= Resellers =&lt;br /&gt;
&lt;br /&gt;
= Employees =&lt;br /&gt;
&lt;br /&gt;
== Employees ==&lt;br /&gt;
&lt;br /&gt;
Go to Configuration -&amp;gt; Employees -&amp;gt; Employees to view the existing employees and add new ones.  It is highly recommended to add a separate account for each person rather than using role accounts.&lt;br /&gt;
&lt;br /&gt;
* To add a new employee, click on &amp;quot;Add an employee&amp;quot;&lt;br /&gt;
* Or to edit an existing group, click on the employee number or name in the list of employees.&lt;br /&gt;
* Enter or edit the username, password and name.  If editing an existing employee and no password change is desired, the password fields can be left blank.&lt;br /&gt;
* Check the &amp;quot;Disable employee&amp;quot; box to disable this employee.&lt;br /&gt;
* In the &amp;quot;Employee groups&amp;quot; section, mark or unmark checkboxes to indicate the access groups for this employee.&lt;br /&gt;
&lt;br /&gt;
== Employee groups and access control == &lt;br /&gt;
&lt;br /&gt;
To setup employee access control or agent/reseller virtualization, you need to setup employee groups.  Go to Configuration -&amp;gt; Employees -&amp;gt; Employee groups to view the existing groups and add new ones.  The system starts with a &amp;quot;Superuser&amp;quot; group which has access to all functionality for the first agent.&lt;br /&gt;
&lt;br /&gt;
* To add a new group, click on &amp;quot;Add an employee group&amp;quot;&lt;br /&gt;
* Or to edit an existing group, click on the group number or name in the list of groups.&lt;br /&gt;
* Enter or edit the group name.&lt;br /&gt;
* In the &amp;quot;Group limited to these agent(s)&amp;quot; section, mark checkboxes next to the agents this employee group should be able to see.  Employees in this group will only see customers of the selected agents in the system and reports.&lt;br /&gt;
* In the &amp;quot;Group access rights&amp;quot; section, mark or unmark checkboxes to indicate the access rights this employee group should have.  Rights marked with an &amp;quot;*&amp;quot; are global rights which provide access to global data which is shared among all agents. Their use is not recommended for groups which are limited to a subset of agents.&lt;br /&gt;
* After adding a new group, don't forget to go back and add or edit employees to place them into the new group.&lt;br /&gt;
&lt;br /&gt;
= Billing =&lt;br /&gt;
&lt;br /&gt;
== Billing events ==&lt;br /&gt;
Billing events are the primary mechanism to implement your business rules.  Rules such as resend invoices, retry cards, suspend or cancel accounts for non-payment, etc. are all handled by billing events.&lt;br /&gt;
&lt;br /&gt;
At a high level, follow the following steps to create billing events:&lt;br /&gt;
* Add a new Billing Event (Configuration &amp;gt; Billing &amp;gt; Billing events)&lt;br /&gt;
* Name the event&lt;br /&gt;
* Choose the type of event:&lt;br /&gt;
** Package - Packages and associated dates (Including Commissions)&lt;br /&gt;
** Invoice - Invoice status and dates&lt;br /&gt;
** Customer - Customer Balances and Information&lt;br /&gt;
** Batch Payment - Batch payment results&lt;br /&gt;
** Statement - Send statement &lt;br /&gt;
* Choose whether to apply to one or all agents&lt;br /&gt;
* Choose the frequency for the system to check and see if the event should run.&lt;br /&gt;
* Choose appropriate filters.  &lt;br /&gt;
* Choose appropriate actions.&lt;br /&gt;
&lt;br /&gt;
The form is dynamic so changing the type of event will change the available filters and actions.&lt;br /&gt;
&lt;br /&gt;
== Daily and Monthly Scripts ==&lt;br /&gt;
* The freeside-daily script should be run daily to bill customers and run invoice collection events.&lt;br /&gt;
** Typically, this is accomplished with an entry in the freeside user's crontab such as: &amp;lt;pre&amp;gt;0 0 * * * /usr/local/bin/freeside-daily&amp;lt;/pre&amp;gt;&lt;br /&gt;
** If running freeside-daily manually, ensure the &amp;lt;code&amp;gt;TZ&amp;lt;/code&amp;gt; variable is set to your timezone with a command such as: &amp;lt;pre&amp;gt;TZ=&amp;quot;US/Pacific&amp;quot; freeside-daily fs_daily&amp;lt;/pre&amp;gt;&lt;br /&gt;
* If any monthly events are enabled, the freeside-monthly script should be run monthly.&lt;br /&gt;
* Invoice events can also be used to implement agent-virtualized invoices. (add more info)&lt;br /&gt;
&lt;br /&gt;
== Invoices ==&lt;br /&gt;
&lt;br /&gt;
=== Typeset (LaTeX) invoice templates ===&lt;br /&gt;
&lt;br /&gt;
==== Prerequisites ====&lt;br /&gt;
&lt;br /&gt;
* Almost all distributions include the necessary prerequisites listed here, manual installation is practically never necessary.&lt;br /&gt;
* Install [http://www.ghostscript.com/ Ghostscript] (gs)&lt;br /&gt;
* Install [http://www.tug.org/tetex/ teTeX] or [http://www.tug.org/texlive/ TeX Live]&lt;br /&gt;
* Ensure that the &amp;lt;code&amp;gt;pslatex&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;dvips&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;pdflatex&amp;lt;/code&amp;gt; command line utilities were installed&lt;br /&gt;
&lt;br /&gt;
==== Logo setup ====&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em title=&amp;quot;Encapsulated Postscript&amp;quot;&amp;gt;EPS&amp;lt;/em&amp;gt; logo is for PDF and printed invoices.&lt;br /&gt;
&lt;br /&gt;
* For best results, save a '''vector format''' logo in EPS (Encapsulated PostScript) format.  &lt;br /&gt;
** Your graphic artist can create vector image from a bitmap (tracing etc).&lt;br /&gt;
** Converting a bitmap such as a JPG can work (the bigger the better), but it may render in lower quality, blurry or with the &amp;quot;jaggies&amp;quot; (especially when actually printed, not just viewed as a PDF)&lt;br /&gt;
* Resize the logo to 90pt X 36pt: &amp;lt;code&amp;gt;epsffit -c 0 0 90 36 yourlogo.eps &amp;gt;logo.eps&amp;lt;/code&amp;gt;&lt;br /&gt;
* Upload the resized logo as the &amp;lt;code&amp;gt;logo.eps&amp;lt;/code&amp;gt; configuration option.&lt;br /&gt;
* Problems?  Try &amp;lt;code&amp;gt;bin/strip-eps &amp;lt;oldlogo.eps &amp;gt;trynewlogo.eps&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em title=&amp;quot;Portable Network Graphic&amp;quot;&amp;gt;PNG&amp;lt;/em&amp;gt; logo is for emailed and online invoices.&lt;br /&gt;
&lt;br /&gt;
Freeside ships with a logo of 92 x 62.  Any logo close to this size should work with the default HTML template.&lt;br /&gt;
&lt;br /&gt;
{{Freeside:1.9:Documentation:Administration:invoice_layout}}&lt;br /&gt;
&lt;br /&gt;
=== HTML invoice templates ===&lt;br /&gt;
&lt;br /&gt;
* Convert your logo to PNG format and upload it as the &amp;lt;code&amp;gt;logo.png&amp;lt;/code&amp;gt; configuration option. &lt;br /&gt;
{{Freeside:1.9:Documentation:Administration:invoice_templates|format=html}}&lt;br /&gt;
&lt;br /&gt;
=== Plaintext invoice templates ===&lt;br /&gt;
&lt;br /&gt;
* See the Text::Template documentation for details on the substitution language.&lt;br /&gt;
* You must call the invoice_lines() function at least once - pass it a number of lines, and it returns a list of array references, each of two elements: a service description column, and a price column. Alternatively, call invoice_lines() with no arguments, and pagination will be disabled - all invoice line items will print on one page, with no padding (recommended for email invoices).&lt;br /&gt;
* Descriptions of variables are available in [[Freeside:1.9:Documentation:Template:invoice_html|invoice_html]]&lt;br /&gt;
&lt;br /&gt;
=== Misc ===&lt;br /&gt;
&lt;br /&gt;
==== Manually setting next invoice number sequence ====&lt;br /&gt;
&lt;br /&gt;
* With PostgreSQL, to number invoices starting at 5000: &amp;lt;pre&amp;gt;SELECT SETVAL(cust_bill_invnum_seq, 4999);&amp;lt;/pre&amp;gt;&lt;br /&gt;
* With MySQL:&lt;br /&gt;
&lt;br /&gt;
== Payment Receipts ==&lt;br /&gt;
&lt;br /&gt;
The [[Freeside:1.9:Documentation:Template:payment_receipt_email|payment_receipt_email]] template is used for manually applied payments.&lt;br /&gt;
&lt;br /&gt;
== Credit cards and Electronic checks ==&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:Real-time_Processing | Real-time credit card and electronic check processing]]&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:Batch_Processing | Batch credit card and electronic check processing]]&lt;br /&gt;
* Credit card expiration alerts: Customize the ''alerter_template'' configuration option and run &amp;lt;code&amp;gt;freeside-expiration-alerter&amp;lt;/code&amp;gt; daily.&lt;br /&gt;
* Credit card decline alerts: Customize the ''declinetemplate'' configuration option and set the ''emaildecline'' configuration option.&lt;br /&gt;
&lt;br /&gt;
= Misc =&lt;br /&gt;
&lt;br /&gt;
* Setting up [[Freeside:1.9:Documentation:Administration:Encrypted Credit Cards | Encrypted Credit Cards]]&lt;br /&gt;
* Setting up [[Freeside:1.9:Documentation:Administration:Texas Tax | Texas Tax]]&lt;br /&gt;
* Setting up [[Freeside:1.9:Documentation:Administration:VoIP | VoIP]]&lt;br /&gt;
&amp;lt;!-- Superseded by Commissions below... * Setting up [[Freeside:1.9:Documentation:Administration:Referral credits|Referral credits]] --&amp;gt;&lt;br /&gt;
* Setting up [[Freeside:1.9:Documentation:Administration:Commission|Commissions and Referrals]]&lt;br /&gt;
* Need to print to Windows printers?  Follow steps 1-4 of  [http://iharder.sourceforge.net/current/macosx/winmacprinter/ Share Your Windows Printer].&lt;br /&gt;
* Setting up [[Freeside:1.9:Documentation:Administration:Slony | Slony replication and failover]]&lt;br /&gt;
* Using a non-standard [[Freeside:1.9:Documentation:Administration:PostgreSQL_Schema | PostgreSQL Schema]]&lt;br /&gt;
&lt;br /&gt;
{{ContextSensitiveHelp}}&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration:invoice_templates&amp;diff=5903</id>
		<title>Freeside:1.9:Documentation:Administration:invoice templates</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration:invoice_templates&amp;diff=5903"/>
				<updated>2010-08-05T20:20:31Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*  {{#ifeq: {{{format}}} | latex | LaTeX | HTML }} invoices use Text::Template with {{#ifeq: {{{format}}} | latex | [@-- and --@] | &amp;lt;%= and %&amp;gt; }} delimiters.&lt;br /&gt;
*  {{#ifeq: {{{format}}} | latex | Edit the invoice_{{{format}}}coupon, | The following configuration options can be set to override the default behaviour of using the invoice_latex* data transformed to HTML: }} invoice_{{{format}}}returnaddress, invoice_{{{format}}}footer, invoice_{{{format}}}notes, and invoice_{{{format}}}smallfooter configuration options. {{#ifeq: {{{format}}} | latex | If you are adventurous, | You may }} edit invoice_{{{format}}} as well.&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration:invoice_templates&amp;diff=5902</id>
		<title>Freeside:1.9:Documentation:Administration:invoice templates</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration:invoice_templates&amp;diff=5902"/>
				<updated>2010-08-05T20:15:16Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*  {{#ifeq: {{{format}}} | latex | Edit the invoice_{{{format}}}coupon, | The following configuration options can be set to override the default behaviour of using the invoice_latex* data transformed to HTML: }} invoice_{{{format}}}returnaddress, invoice_{{{format}}}footer, invoice_{{{format}}}notes, and invoice_{{{format}}}smallfooter configuration options. {{#ifeq: {{{format}}} | latex | If you are adventurous, | You may }} edit invoice_{{{format}}} as well.&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Sandbox&amp;diff=5901</id>
		<title>Sandbox</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Sandbox&amp;diff=5901"/>
				<updated>2010-08-05T20:10:14Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: Removing all content from page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration&amp;diff=5900</id>
		<title>Freeside:1.9:Documentation:Administration</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration&amp;diff=5900"/>
				<updated>2010-08-05T19:03:20Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: /* HTML invoice templates */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Exports (provisioning) =&lt;br /&gt;
&lt;br /&gt;
'''Exports''' allow you to provision services to remote machines, databases and APIs.  Some exports, such as ''sqlradius'' and ''sqlradius_withdomain'',  enable a feed for retrieving rating/usage data.&lt;br /&gt;
&lt;br /&gt;
Exports can be added and edited under&lt;br /&gt;
: Configuration -&amp;gt; Provisioning, services and packages -&amp;gt; View/edit exports&lt;br /&gt;
&lt;br /&gt;
Most exports place jobs in the job queue for new, modified or deleted services.  Jobs are run by [[Freeside:1.9:Documentation:Developer/bin/freeside-queued|freeside-queued]].  This daemon needs to be running before exports are acted upon.&lt;br /&gt;
&lt;br /&gt;
Some exports use SSH, SCP or SFTP to communicate with external machines.  See the documentation on [[Freeside:1.9:Documentation:Administration:SSH_Keys|SSH keys]].&lt;br /&gt;
&lt;br /&gt;
Click on ''Add a new export'' to create a new export.  Select exports from the dropdown to show more information on each export, including available options, setup and usage.&lt;br /&gt;
&lt;br /&gt;
Exports are activated by associating them with one or more '''service definitions'''.&lt;br /&gt;
&lt;br /&gt;
Following is a list of which exports can be associated with each type of service.&lt;br /&gt;
&lt;br /&gt;
==svc_acct==&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:acct_plesk.pm|acct_plesk.pm]]:  Real-time export to Plesk managed mail service&lt;br /&gt;
* acct_sql.pm:  Real-time export of accounts to SQL databases .&lt;br /&gt;
* artera_turbo.pm: &lt;br /&gt;
* bsdshell.pm: &lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:communigate_pro.pm|communigate_pro.pm]]:  Real-time export to a CommuniGate Pro mail server&lt;br /&gt;
* communigate_pro_singledomain.pm: &lt;br /&gt;
* cpanel.pm:  Real-time export to Cpanel control panel.&lt;br /&gt;
* cp.pm:  Real-time export to Critical Path Account Provisioning Protocol&lt;br /&gt;
* cyrus.pm:  Real-time export to Cyrus IMAP server&lt;br /&gt;
* everyone_net.pm:  Real-time export to Everyone.net outsourced mail service&lt;br /&gt;
* infostreet.pm:  Real-time export to InfoStreet streetSmartAPI&lt;br /&gt;
* ldap.pm:  Real-time export to LDAP&lt;br /&gt;
* passwdfile.pm:&lt;br /&gt;
* radiator.pm:  Real-time export to RADIATOR&lt;br /&gt;
* shellcommands.pm: &lt;br /&gt;
* shellcommands_withdomain.pm:  Real-time export via remote SSH (vpopmail, ISPMan)&lt;br /&gt;
* sqlmail.pm:  Real-time export to SQL-backed mail server&lt;br /&gt;
* sqlradius.pm:  Real-time export to SQL-backed RADIUS (FreeRADIUS, ICRADIUS)&lt;br /&gt;
* sqlradius_withdomain.pm:  Real-time export to SQL-backed RADIUS (FreeRADIUS, ICRADIUS) with realms&lt;br /&gt;
* sysvshell.pm: &lt;br /&gt;
* textradius.pm: &lt;br /&gt;
* vpopmail.pm:  Real-time export to vpopmail text files&lt;br /&gt;
&lt;br /&gt;
==svc_domain==&lt;br /&gt;
* bind.pm:  Batch export to BIND named&lt;br /&gt;
* bind_slave.pm: Batch export to slave BIND named&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:communigate_pro.pm|communigate_pro.pm]]:  Real-time export to a CommuniGate Pro mail server&lt;br /&gt;
* domain_shellcommands.pm:  Run remote commands via SSH, for domains (qmail, ISPMan).&lt;br /&gt;
* domain_sql.pm:  Real time export of domains to SQL databases .&lt;br /&gt;
* http.pm:  Send an HTTP or HTTPS GET or POST request&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:opensrs.pm|opensrs.pm]]: OpenSRS integration&lt;br /&gt;
* sqlmail.pm:  Real-time export to SQL-backed mail server&lt;br /&gt;
&lt;br /&gt;
==svc_forward==&lt;br /&gt;
* artera_turbo.pm: &lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:communigate_pro.pm|communigate_pro.pm]]:  Real-time export to a CommuniGate Pro mail server&lt;br /&gt;
* forward_shellcommands.pm:  Run remote commands via SSH, for forwards&lt;br /&gt;
* postfix.pm:  Postfix text files&lt;br /&gt;
* sqlmail.pm:  Real-time export to SQL-backed mail server&lt;br /&gt;
&lt;br /&gt;
==svc_www==&lt;br /&gt;
* apache.pm:  Export an Apache httpd.conf file snippet.&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:www_plesk.pm|www_plesk.pm]]:  Real-time export to Plesk managed hosting service&lt;br /&gt;
* www_shellcommands.pm:  Run remote commands via SSH, for virtual web sites (directory maintenance, FrontPage, ISPMan)&lt;br /&gt;
&lt;br /&gt;
==svc_broadband==&lt;br /&gt;
* nas_wrapper.pm:  A meta-export that triggers other svc_broadband exports.&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:prizm.pm|prizm.pm]]:  Real-time export to Northbound Interface&lt;br /&gt;
* router.pm:  Send a command to a router.&lt;br /&gt;
* snmp.pm:  Sends SNMP SETs to an SNMP agent.&lt;br /&gt;
* trango.pm:  Sends SNMP SETs to a Trango AP.&lt;br /&gt;
&lt;br /&gt;
==svc_phone==&lt;br /&gt;
* globalpops_voip.pm:&lt;br /&gt;
* grandstream.pm: Grandstream phone and ATA provisioning.   This [http://www.freeside.biz/blog/?p=11 blog article] is a start at documentation.&lt;br /&gt;
* indosoft.pm:&lt;br /&gt;
* internal_diddb.pm:&lt;br /&gt;
* netsapiens.pm:&lt;br /&gt;
* phone_shellcommands.pm:&lt;br /&gt;
* phone_sqlradius.pm:&lt;br /&gt;
* thirdlane.pm:&lt;br /&gt;
* vitelity.pm:&lt;br /&gt;
&lt;br /&gt;
==svc_external==&lt;br /&gt;
* artera_turbo.pm:&lt;br /&gt;
&lt;br /&gt;
= Services =&lt;br /&gt;
&lt;br /&gt;
== Accounts (svc_acct) ==&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:svc_acct:_password_encoding|Password encoding in 1.9]]&lt;br /&gt;
&lt;br /&gt;
== Domains (svc_domain) ==&lt;br /&gt;
&lt;br /&gt;
== Forwards (svc_forward) ==&lt;br /&gt;
&lt;br /&gt;
== Hosting (svc_www) ==&lt;br /&gt;
&lt;br /&gt;
== Broadband (svc_broadband) ==&lt;br /&gt;
&lt;br /&gt;
== Phone (svc_phone) ==&lt;br /&gt;
&lt;br /&gt;
== External (svc_external) ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Packages =&lt;br /&gt;
&lt;br /&gt;
{{Freeside:1.9:Documentation:Administration:pkg_category}}&lt;br /&gt;
&lt;br /&gt;
== Price Plans ==&lt;br /&gt;
&lt;br /&gt;
=== Common price plans ===&lt;br /&gt;
&lt;br /&gt;
* flat&lt;br /&gt;
* subscription&lt;br /&gt;
* prorate&lt;br /&gt;
* sqlradacct_hour&lt;br /&gt;
* voip_cdr&lt;br /&gt;
* prepaid&lt;br /&gt;
&lt;br /&gt;
=== Wholesale price plans ===&lt;br /&gt;
&lt;br /&gt;
* bulk&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:Packages:Price_Plans:agent | agent]]&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:Packages:Price_Plans:cdr_termination |&lt;br /&gt;
 cdr_termination ]]&lt;br /&gt;
&lt;br /&gt;
=== Other price plans ===&lt;br /&gt;
&lt;br /&gt;
* flat_delayed&lt;br /&gt;
* flat_introrate&lt;br /&gt;
* prorate_delayed&lt;br /&gt;
&lt;br /&gt;
* base_delayed&lt;br /&gt;
* base_rate&lt;br /&gt;
&lt;br /&gt;
* sql_external&lt;br /&gt;
* sql_generic&lt;br /&gt;
&lt;br /&gt;
=== Price plans of questionable functionality ===&lt;br /&gt;
&lt;br /&gt;
* flat_comission_cust&lt;br /&gt;
* flat_comission_pkg&lt;br /&gt;
* flat_comission&lt;br /&gt;
&lt;br /&gt;
* voip_sqlradacct&lt;br /&gt;
&lt;br /&gt;
* sesmon_hour&lt;br /&gt;
* sesmon_minute&lt;br /&gt;
&lt;br /&gt;
== Misc ==&lt;br /&gt;
&lt;br /&gt;
* Some notes on [[Freeside:1.9:Documentation:Administration:Upselling | Upselling]]&lt;br /&gt;
&lt;br /&gt;
= Resellers =&lt;br /&gt;
&lt;br /&gt;
= Employees =&lt;br /&gt;
&lt;br /&gt;
== Employees ==&lt;br /&gt;
&lt;br /&gt;
Go to Configuration -&amp;gt; Employees -&amp;gt; Employees to view the existing employees and add new ones.  It is highly recommended to add a separate account for each person rather than using role accounts.&lt;br /&gt;
&lt;br /&gt;
* To add a new employee, click on &amp;quot;Add an employee&amp;quot;&lt;br /&gt;
* Or to edit an existing group, click on the employee number or name in the list of employees.&lt;br /&gt;
* Enter or edit the username, password and name.  If editing an existing employee and no password change is desired, the password fields can be left blank.&lt;br /&gt;
* Check the &amp;quot;Disable employee&amp;quot; box to disable this employee.&lt;br /&gt;
* In the &amp;quot;Employee groups&amp;quot; section, mark or unmark checkboxes to indicate the access groups for this employee.&lt;br /&gt;
&lt;br /&gt;
== Employee groups and access control == &lt;br /&gt;
&lt;br /&gt;
To setup employee access control or agent/reseller virtualization, you need to setup employee groups.  Go to Configuration -&amp;gt; Employees -&amp;gt; Employee groups to view the existing groups and add new ones.  The system starts with a &amp;quot;Superuser&amp;quot; group which has access to all functionality for the first agent.&lt;br /&gt;
&lt;br /&gt;
* To add a new group, click on &amp;quot;Add an employee group&amp;quot;&lt;br /&gt;
* Or to edit an existing group, click on the group number or name in the list of groups.&lt;br /&gt;
* Enter or edit the group name.&lt;br /&gt;
* In the &amp;quot;Group limited to these agent(s)&amp;quot; section, mark checkboxes next to the agents this employee group should be able to see.  Employees in this group will only see customers of the selected agents in the system and reports.&lt;br /&gt;
* In the &amp;quot;Group access rights&amp;quot; section, mark or unmark checkboxes to indicate the access rights this employee group should have.  Rights marked with an &amp;quot;*&amp;quot; are global rights which provide access to global data which is shared among all agents. Their use is not recommended for groups which are limited to a subset of agents.&lt;br /&gt;
* After adding a new group, don't forget to go back and add or edit employees to place them into the new group.&lt;br /&gt;
&lt;br /&gt;
= Billing =&lt;br /&gt;
&lt;br /&gt;
== Billing events ==&lt;br /&gt;
Billing events are the primary mechanism to implement your business rules.  Rules such as resend invoices, retry cards, suspend or cancel accounts for non-payment, etc. are all handled by billing events.&lt;br /&gt;
&lt;br /&gt;
At a high level, follow the following steps to create billing events:&lt;br /&gt;
* Add a new Billing Event (Configuration &amp;gt; Billing &amp;gt; Billing events)&lt;br /&gt;
* Name the event&lt;br /&gt;
* Choose the type of event:&lt;br /&gt;
** Package - Packages and associated dates (Including Commissions)&lt;br /&gt;
** Invoice - Invoice status and dates&lt;br /&gt;
** Customer - Customer Balances and Information&lt;br /&gt;
** Batch Payment - Batch payment results&lt;br /&gt;
** Statement - Send statement &lt;br /&gt;
* Choose whether to apply to one or all agents&lt;br /&gt;
* Choose the frequency for the system to check and see if the event should run.&lt;br /&gt;
* Choose appropriate filters.  &lt;br /&gt;
* Choose appropriate actions.&lt;br /&gt;
&lt;br /&gt;
The form is dynamic so changing the type of event will change the available filters and actions.&lt;br /&gt;
&lt;br /&gt;
== Daily and Monthly Scripts ==&lt;br /&gt;
* The freeside-daily script should be run daily to bill customers and run invoice collection events.&lt;br /&gt;
** Typically, this is accomplished with an entry in the freeside user's crontab such as: &amp;lt;pre&amp;gt;0 0 * * * /usr/local/bin/freeside-daily&amp;lt;/pre&amp;gt;&lt;br /&gt;
** If running freeside-daily manually, ensure the &amp;lt;code&amp;gt;TZ&amp;lt;/code&amp;gt; variable is set to your timezone with a command such as: &amp;lt;pre&amp;gt;TZ=&amp;quot;US/Pacific&amp;quot; freeside-daily fs_daily&amp;lt;/pre&amp;gt;&lt;br /&gt;
* If any monthly events are enabled, the freeside-monthly script should be run monthly.&lt;br /&gt;
* Invoice events can also be used to implement agent-virtualized invoices. (add more info)&lt;br /&gt;
&lt;br /&gt;
== Invoices ==&lt;br /&gt;
&lt;br /&gt;
=== Typeset (LaTeX) invoice templates ===&lt;br /&gt;
&lt;br /&gt;
==== Prerequisites ====&lt;br /&gt;
&lt;br /&gt;
* Almost all distributions include the necessary prerequisites listed here, manual installation is practically never necessary.&lt;br /&gt;
* Install [http://www.ghostscript.com/ Ghostscript] (gs)&lt;br /&gt;
* Install [http://www.tug.org/tetex/ teTeX] or [http://www.tug.org/texlive/ TeX Live]&lt;br /&gt;
* Ensure that the &amp;lt;code&amp;gt;pslatex&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;dvips&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;pdflatex&amp;lt;/code&amp;gt; command line utilities were installed&lt;br /&gt;
&lt;br /&gt;
==== Logo setup ====&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em title=&amp;quot;Encapsulated Postscript&amp;quot;&amp;gt;EPS&amp;lt;/em&amp;gt; logo is for PDF and printed invoices.&lt;br /&gt;
&lt;br /&gt;
* For best results, save a '''vector format''' logo in EPS (Encapsulated PostScript) format.  &lt;br /&gt;
** Your graphic artist can create vector image from a bitmap (tracing etc).&lt;br /&gt;
** Converting a bitmap such as a JPG can work (the bigger the better), but it may render in lower quality, blurry or with the &amp;quot;jaggies&amp;quot; (especially when actually printed, not just viewed as a PDF)&lt;br /&gt;
* Resize the logo to 90pt X 36pt: &amp;lt;code&amp;gt;epsffit -c 0 0 90 36 yourlogo.eps &amp;gt;logo.eps&amp;lt;/code&amp;gt;&lt;br /&gt;
* Upload the resized logo as the &amp;lt;code&amp;gt;logo.eps&amp;lt;/code&amp;gt; configuration option.&lt;br /&gt;
* Problems?  Try &amp;lt;code&amp;gt;bin/strip-eps &amp;lt;oldlogo.eps &amp;gt;trynewlogo.eps&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em title=&amp;quot;Portable Network Graphic&amp;quot;&amp;gt;PNG&amp;lt;/em&amp;gt; logo is for emailed and online invoices.&lt;br /&gt;
&lt;br /&gt;
Freeside ships with a logo of 92 x 62.  Any logo close to this size should work with the default HTML template.&lt;br /&gt;
&lt;br /&gt;
{{Freeside:1.9:Documentation:Administration:invoice_layout}}&lt;br /&gt;
&lt;br /&gt;
=== HTML invoice templates ===&lt;br /&gt;
&lt;br /&gt;
* Convert your logo to PNG format and upload it as the &amp;lt;code&amp;gt;logo.png&amp;lt;/code&amp;gt; configuration option.&lt;br /&gt;
* Edit the invoice_html configuration option.  HTML invoices use Text::Template with &amp;lt;%= and %&amp;gt; delimiters. &lt;br /&gt;
* The following configuration options can be set to override the default behaviour of using the invoice_latex* data transformed to HTML: invoice_htmlreturnaddress, and invoice_htmlfooter, invoice_htmlsmallfooter invoice_htmlnotes.&lt;br /&gt;
&lt;br /&gt;
=== Plaintext invoice templates ===&lt;br /&gt;
&lt;br /&gt;
* See the Text::Template documentation for details on the substitution language.&lt;br /&gt;
* You must call the invoice_lines() function at least once - pass it a number of lines, and it returns a list of array references, each of two elements: a service description column, and a price column. Alternatively, call invoice_lines() with no arguments, and pagination will be disabled - all invoice line items will print on one page, with no padding (recommended for email invoices).&lt;br /&gt;
* Descriptions of variables are available in [[Freeside:1.9:Documentation:Template:invoice_html|invoice_html]]&lt;br /&gt;
&lt;br /&gt;
=== Misc ===&lt;br /&gt;
&lt;br /&gt;
==== Manually setting next invoice number sequence ====&lt;br /&gt;
&lt;br /&gt;
* With PostgreSQL, to number invoices starting at 5000: &amp;lt;pre&amp;gt;SELECT SETVAL(cust_bill_invnum_seq, 4999);&amp;lt;/pre&amp;gt;&lt;br /&gt;
* With MySQL:&lt;br /&gt;
&lt;br /&gt;
== Payment Receipts ==&lt;br /&gt;
&lt;br /&gt;
The [[Freeside:1.9:Documentation:Template:payment_receipt_email|payment_receipt_email]] template is used for manually applied payments.&lt;br /&gt;
&lt;br /&gt;
== Credit cards and Electronic checks ==&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:Real-time_Processing | Real-time credit card and electronic check processing]]&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:Batch_Processing | Batch credit card and electronic check processing]]&lt;br /&gt;
* Credit card expiration alerts: Customize the ''alerter_template'' configuration option and run &amp;lt;code&amp;gt;freeside-expiration-alerter&amp;lt;/code&amp;gt; daily.&lt;br /&gt;
* Credit card decline alerts: Customize the ''declinetemplate'' configuration option and set the ''emaildecline'' configuration option.&lt;br /&gt;
&lt;br /&gt;
= Misc =&lt;br /&gt;
&lt;br /&gt;
* Setting up [[Freeside:1.9:Documentation:Administration:Encrypted Credit Cards | Encrypted Credit Cards]]&lt;br /&gt;
* Setting up [[Freeside:1.9:Documentation:Administration:Texas Tax | Texas Tax]]&lt;br /&gt;
* Setting up [[Freeside:1.9:Documentation:Administration:VoIP | VoIP]]&lt;br /&gt;
&amp;lt;!-- Superseded by Commissions below... * Setting up [[Freeside:1.9:Documentation:Administration:Referral credits|Referral credits]] --&amp;gt;&lt;br /&gt;
* Setting up [[Freeside:1.9:Documentation:Administration:Commission|Commissions and Referrals]]&lt;br /&gt;
* Need to print to Windows printers?  Follow steps 1-4 of  [http://iharder.sourceforge.net/current/macosx/winmacprinter/ Share Your Windows Printer].&lt;br /&gt;
* Setting up [[Freeside:1.9:Documentation:Administration:Slony | Slony replication and failover]]&lt;br /&gt;
* Using a non-standard [[Freeside:1.9:Documentation:Administration:PostgreSQL_Schema | PostgreSQL Schema]]&lt;br /&gt;
&lt;br /&gt;
{{ContextSensitiveHelp}}&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration:invoice_templates&amp;diff=5899</id>
		<title>Freeside:1.9:Documentation:Administration:invoice templates</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration:invoice_templates&amp;diff=5899"/>
				<updated>2010-08-05T18:58:50Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*  Edit the {{#ifeq: {{{format}}} | latex | invoice_{{{format}}}coupon, | }} invoice_{{{format}}}returnaddress, invoice_{{{format}}}footer, invoice_{{{format}}}notes, and invoice_{{{format}}}smallfooter configuration options. If you are adventurous, edit invoice_{{{format}}} as well.&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration:invoice_templates&amp;diff=5898</id>
		<title>Freeside:1.9:Documentation:Administration:invoice templates</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration:invoice_templates&amp;diff=5898"/>
				<updated>2010-08-05T18:56:21Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*  Edit the {{#ifeq: {{{format}}} | latex | invoice_{{{format}}}coupon, | } invoice_{{{format}}}returnaddress, invoice_{{{format}}}, invoice_{{{format}}}notes, and invoice_{{{format}}}smallfooter configuration options. If you are adventurous, edit invoice_{{{format}}} as well.&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration:invoice_layout&amp;diff=5897</id>
		<title>Freeside:1.9:Documentation:Administration:invoice layout</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration:invoice_layout&amp;diff=5897"/>
				<updated>2010-08-05T18:53:43Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: /* Invoice Templates */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Invoice_Layout]]&lt;br /&gt;
&lt;br /&gt;
===Invoice Layout and Content===&lt;br /&gt;
====Basic Invoice Styles====&lt;br /&gt;
Several variables make significant changes to the appearance of invoices.&lt;br /&gt;
&lt;br /&gt;
{{Freeside:Configuration:invoice_sections}}&lt;br /&gt;
{{Freeside:Configuration:invoice_usesummary}}&lt;br /&gt;
{{Freeside:Configuration:usage_class_as_a_section}}&lt;br /&gt;
{{Freeside:Configuration:svc_phone_sections}}&lt;br /&gt;
&lt;br /&gt;
====Invoice Templates====&lt;br /&gt;
{{Freeside:1.9:Documentation:Administration:invoice_templates|format=latex}}&lt;br /&gt;
&lt;br /&gt;
{{Freeside:1.9:Documentation:Administration:VOIP plan invoice layout variables}}&lt;br /&gt;
&lt;br /&gt;
==== Other Variables Changing Invoice Layout at Billing Time====&lt;br /&gt;
{{Freeside:Configuration:separate_usage}}&lt;br /&gt;
&lt;br /&gt;
==== Variables Neither Perfectly Rendering nor Perfectly Generational====&lt;br /&gt;
{{Freeside:Configuration:date_format}}&lt;br /&gt;
{{Freeside:Configuration:money_char}}&lt;br /&gt;
{{Freeside:Configuration:invoice_default_terms}}&lt;br /&gt;
&lt;br /&gt;
====Boolean Rendering Variables====&lt;br /&gt;
{{Freeside:Configuration:invoice_show_prior_due_date}}&lt;br /&gt;
{{Freeside:Configuration:invoice_include_aging}}&lt;br /&gt;
{{Freeside:Configuration:invoice_smallernotes}}&lt;br /&gt;
{{Freeside:Configuration:invoice_smallerfooter}}&lt;br /&gt;
{{Freeside:Configuration:invoice-ship_address}}&lt;br /&gt;
{{Freeside:Configuration:disable_line_item_date_ranges}}&lt;br /&gt;
{{Freeside:Configuration:disable_previous_balance}}&lt;br /&gt;
{{Freeside:Configuration:previous_balance-summary_only}}&lt;br /&gt;
{{Freeside:Configuration:balance_due_below_line}}&lt;br /&gt;
{{Freeside:Configuration:invoice-unitprice}}&lt;br /&gt;
&lt;br /&gt;
====Other Rendering Variables====&lt;br /&gt;
{{Freeside:Configuration:invoice_latextopmargin}}&lt;br /&gt;
{{Freeside:Configuration:invoice_latexheadsep}}&lt;br /&gt;
{{Freeside:Configuration:invoice_latexaddresssep}}&lt;br /&gt;
{{Freeside:Configuration:invoice_latextextheight}}&lt;br /&gt;
{{Freeside:Configuration:invoice_latexextracouponspace}}&lt;br /&gt;
{{Freeside:Configuration:invoice_latexcouponfootsep}}&lt;br /&gt;
{{Freeside:Configuration:invoice_latexcouponamountencosedsep}}&lt;br /&gt;
{{Freeside:Configuration:invoice_latexcoupontoaddresssep}}&lt;br /&gt;
{{Freeside:Configuration:invoice_latexverticalreturnaddress}}&lt;br /&gt;
{{Freeside:Configuration:invoice_latexcouponaddcompanytoaddress}}&lt;br /&gt;
{{Freeside:Configuration:previous_balance-exclude_from_total}}&lt;br /&gt;
{{Freeside:Configuration:company_name}}&lt;br /&gt;
{{Freeside:Configuration:company_address}}&lt;br /&gt;
{{Freeside:Configuration:finance_pkgclass}}&lt;br /&gt;
{{Freeside:Configuration:cust_bill-max_same_services}}&lt;br /&gt;
{{Freeside:Configuration:cust_bill-consolidate_services}}&lt;br /&gt;
&lt;br /&gt;
====Miscellaneous Variables Impacting Customer Perception of Invoices====&lt;br /&gt;
&lt;br /&gt;
These variables do not change the invoice per se, but do change what is emailed to a customer as an invoice.&lt;br /&gt;
{{Freeside:Configuration:invoice_email_pdf}}&lt;br /&gt;
{{Freeside:Configuration:invoice_email_pdf_note}}&lt;br /&gt;
{{Freeside:Configuration:voip-cust_email_csv_cdr}}&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration:invoice_templates&amp;diff=5896</id>
		<title>Freeside:1.9:Documentation:Administration:invoice templates</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration:invoice_templates&amp;diff=5896"/>
				<updated>2010-08-05T18:52:32Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*  Edit the {{#ifeq: {{format}} | latex | invoice_{{format}}coupon, | } invoice_{{format}}returnaddress, invoice_{{format}}, invoice_{{format}}notes, and invoice_{{format}}smallfooter configuration options. If you are adventurous, edit invoice_{{format}} as well.&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:Configuration:svc_phone_sections&amp;diff=5895</id>
		<title>Freeside:Configuration:svc phone sections</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:Configuration:svc_phone_sections&amp;diff=5895"/>
				<updated>2010-08-05T18:26:39Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Freeside_Configuration_Settings]]&lt;br /&gt;
[[Category:Invoice_Layout]]&lt;br /&gt;
;svc_phone_sections&lt;br /&gt;
:enables the creation of a section for each [[Freeside:1.9:Documentation:Administration#Phone_.28svc_phone.29|svc_phone]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Invoice_with_usage_and_svc_phone.pdf|svc_phone sections]]&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration:pkg_category&amp;diff=5894</id>
		<title>Freeside:1.9:Documentation:Administration:pkg category</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration:pkg_category&amp;diff=5894"/>
				<updated>2010-08-05T17:57:30Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: /* Package Category */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Package Category==&lt;br /&gt;
&lt;br /&gt;
Package categories define groups of [[Freeside:1.9:Documentation:Administration:pkg_class|package classes]].&lt;br /&gt;
&lt;br /&gt;
;Category name&lt;br /&gt;
:defines an [[Freeside:Configuration:invoice_sections|invoice section]] if that feature is enabled.&lt;br /&gt;
;Weight&lt;br /&gt;
:determines the order in which [[Freeside:Configuration:invoice_sections]] appear.&lt;br /&gt;
;Collapse identical items into one&lt;br /&gt;
:causes identical packages to appear folded into a single line item with a quantity when checked rather than the default once line item per package.&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:Configuration:invoice_sections&amp;diff=5893</id>
		<title>Freeside:Configuration:invoice sections</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:Configuration:invoice_sections&amp;diff=5893"/>
				<updated>2010-08-05T17:57:23Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Freeside_Configuration_Settings]]&lt;br /&gt;
[[Category:Invoice_Layout]]&lt;br /&gt;
;invoice_sections&lt;br /&gt;
:enables the division of invoices into sections defined by [[Freeside:1.9:Documentation:Administration:pkg_category|package categories]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Invoice_with_sections.pdf|With sections]][[Image:Invoice_without_sections.pdf|Without sections]]&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration:pkg_category&amp;diff=5892</id>
		<title>Freeside:1.9:Documentation:Administration:pkg category</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration:pkg_category&amp;diff=5892"/>
				<updated>2010-08-05T17:51:49Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: /* Package Category */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Package Category==&lt;br /&gt;
&lt;br /&gt;
Package categories define groups of [[Freeside:1.9:Documentation:Adminsitration:pkg_class|package classes]].&lt;br /&gt;
&lt;br /&gt;
;Category name&lt;br /&gt;
:defines an [[Freeside:Configuration:invoice_sections|invoice section]] if that feature is enabled.&lt;br /&gt;
;Weight&lt;br /&gt;
:determines the order in which [[Freeside:Configuration:invoice_sections]] appear.&lt;br /&gt;
;Collapse identical items into one&lt;br /&gt;
:causes identical packages to appear folded into a single line item with a quantity when checked rather than the default once line item per package.&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:Configuration:svc_phone_sections&amp;diff=5891</id>
		<title>Freeside:Configuration:svc phone sections</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:Configuration:svc_phone_sections&amp;diff=5891"/>
				<updated>2010-08-05T08:41:17Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Freeside_Configuration_Settings]]&lt;br /&gt;
[[Category:Invoice_Layout]]&lt;br /&gt;
;svc_phone_sections&lt;br /&gt;
:enables the creation of a section for each [[svc_phone]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Invoice_with_usage_and_svc_phone.pdf|svc_phone sections]]&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:Configuration:usage_class_as_a_section&amp;diff=5890</id>
		<title>Freeside:Configuration:usage class as a section</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:Configuration:usage_class_as_a_section&amp;diff=5890"/>
				<updated>2010-08-05T08:39:14Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Freeside_Configuration_Settings]]&lt;br /&gt;
[[Category:Invoice_Layout]]&lt;br /&gt;
;usage_class_as_a_section&lt;br /&gt;
:enables the construction of a section per [[usage_class]] on invoices&lt;br /&gt;
&lt;br /&gt;
[[Image:Invoice_with_usage_class_as_section.pdf|Usage class as a section]]&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:Configuration:invoice_usesummary&amp;diff=5889</id>
		<title>Freeside:Configuration:invoice usesummary</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:Configuration:invoice_usesummary&amp;diff=5889"/>
				<updated>2010-08-05T08:36:00Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Freeside_Configuration_Settings]]&lt;br /&gt;
[[Category:Invoice_Layout]]&lt;br /&gt;
;invoice_usesummary&lt;br /&gt;
:Indicates that html and latex invoices should be in summary style and make use of invoice_latexsummary or invoice_htmlsummary.&lt;br /&gt;
&lt;br /&gt;
[[Image:Invoice_with_summary.pdf|With summary]][[Image:Invoice_with_sections.pdf|Without summary]]&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:Configuration:invoice_sections&amp;diff=5888</id>
		<title>Freeside:Configuration:invoice sections</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:Configuration:invoice_sections&amp;diff=5888"/>
				<updated>2010-08-05T08:31:34Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Freeside_Configuration_Settings]]&lt;br /&gt;
[[Category:Invoice_Layout]]&lt;br /&gt;
;invoice_sections&lt;br /&gt;
:enables the division of invoices into sections defined by [[package categories]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Invoice_with_sections.pdf|With sections]][[Image:Invoice_without_sections.pdf|Without sections]]&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:Configuration:invoice_sections&amp;diff=5887</id>
		<title>Freeside:Configuration:invoice sections</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:Configuration:invoice_sections&amp;diff=5887"/>
				<updated>2010-08-05T08:24:25Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Freeside_Configuration_Settings]]&lt;br /&gt;
[[Category:Invoice_Layout]]&lt;br /&gt;
;invoice_sections&lt;br /&gt;
:enables the division of invoices into sections defined by [[package categories]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Invoice_with_sections.pdf|Invoice with sections]]&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=File:Invoice_with_usage_class_as_section.pdf&amp;diff=5886</id>
		<title>File:Invoice with usage class as section.pdf</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=File:Invoice_with_usage_class_as_section.pdf&amp;diff=5886"/>
				<updated>2010-08-05T08:15:55Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=File:Invoice_with_usage_and_svc_phone.pdf&amp;diff=5885</id>
		<title>File:Invoice with usage and svc phone.pdf</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=File:Invoice_with_usage_and_svc_phone.pdf&amp;diff=5885"/>
				<updated>2010-08-05T08:15:15Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=File:Invoice_with_summary.pdf&amp;diff=5884</id>
		<title>File:Invoice with summary.pdf</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=File:Invoice_with_summary.pdf&amp;diff=5884"/>
				<updated>2010-08-05T08:14:56Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=File:Invoice_without_sections.pdf&amp;diff=5883</id>
		<title>File:Invoice without sections.pdf</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=File:Invoice_without_sections.pdf&amp;diff=5883"/>
				<updated>2010-08-05T08:14:35Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=File:Invoice_with_sections.pdf&amp;diff=5882</id>
		<title>File:Invoice with sections.pdf</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=File:Invoice_with_sections.pdf&amp;diff=5882"/>
				<updated>2010-08-05T08:13:32Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Sandbox&amp;diff=5881</id>
		<title>Sandbox</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Sandbox&amp;diff=5881"/>
				<updated>2010-08-05T05:07:43Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Invoice_with_sections.png]]&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:Configuration:invoice_usesummary&amp;diff=5857</id>
		<title>Freeside:Configuration:invoice usesummary</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:Configuration:invoice_usesummary&amp;diff=5857"/>
				<updated>2010-07-12T04:46:42Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Freeside_Configuration_Settings]]&lt;br /&gt;
[[Category:Invoice_Layout]]&lt;br /&gt;
;invoice_usesummary&lt;br /&gt;
:Indicates that html and latex invoices should be in summary style and make use of invoice_latexsummary or invoice_htmlsummary.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example placeholder&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration&amp;diff=5856</id>
		<title>Freeside:1.9:Documentation:Administration</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration&amp;diff=5856"/>
				<updated>2010-07-12T04:44:19Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: /* Invoices */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Exports (provisioning) =&lt;br /&gt;
&lt;br /&gt;
'''Exports''' allow you to provision services to remote machines, databases and APIs.  Some exports, such as ''sqlradius'' and ''sqlradius_withdomain'',  enable a feed for retrieving rating/usage data.&lt;br /&gt;
&lt;br /&gt;
Exports can be added and edited under&lt;br /&gt;
: Configuration -&amp;gt; Provisioning, services and packages -&amp;gt; View/edit exports&lt;br /&gt;
&lt;br /&gt;
Most exports place jobs in the job queue for new, modified or deleted services.  Jobs are run by [[Freeside:1.9:Documentation:Developer/bin/freeside-queued|freeside-queued]].  This daemon needs to be running before exports are acted upon.&lt;br /&gt;
&lt;br /&gt;
Some exports use SSH, SCP or SFTP to communicate with external machines.  See the documentation on [[Freeside:1.9:Documentation:Administration:SSH_Keys|SSH keys]].&lt;br /&gt;
&lt;br /&gt;
Click on ''Add a new export'' to create a new export.  Select exports from the dropdown to show more information on each export, including available options, setup and usage.&lt;br /&gt;
&lt;br /&gt;
Exports are activated by associating them with one or more '''service definitions'''.&lt;br /&gt;
&lt;br /&gt;
Following is a list of which exports can be associated with each type of service.&lt;br /&gt;
&lt;br /&gt;
==svc_acct==&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:acct_plesk.pm|acct_plesk.pm]]:  Real-time export to Plesk managed mail service&lt;br /&gt;
* acct_sql.pm:  Real-time export of accounts to SQL databases .&lt;br /&gt;
* artera_turbo.pm: &lt;br /&gt;
* bsdshell.pm: &lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:communigate_pro.pm|communigate_pro.pm]]:  Real-time export to a CommuniGate Pro mail server&lt;br /&gt;
* communigate_pro_singledomain.pm: &lt;br /&gt;
* cpanel.pm:  Real-time export to Cpanel control panel.&lt;br /&gt;
* cp.pm:  Real-time export to Critical Path Account Provisioning Protocol&lt;br /&gt;
* cyrus.pm:  Real-time export to Cyrus IMAP server&lt;br /&gt;
* everyone_net.pm:  Real-time export to Everyone.net outsourced mail service&lt;br /&gt;
* infostreet.pm:  Real-time export to InfoStreet streetSmartAPI&lt;br /&gt;
* ldap.pm:  Real-time export to LDAP&lt;br /&gt;
* passwdfile.pm:&lt;br /&gt;
* radiator.pm:  Real-time export to RADIATOR&lt;br /&gt;
* shellcommands.pm: &lt;br /&gt;
* shellcommands_withdomain.pm:  Real-time export via remote SSH (vpopmail, ISPMan)&lt;br /&gt;
* sqlmail.pm:  Real-time export to SQL-backed mail server&lt;br /&gt;
* sqlradius.pm:  Real-time export to SQL-backed RADIUS (FreeRADIUS, ICRADIUS)&lt;br /&gt;
* sqlradius_withdomain.pm:  Real-time export to SQL-backed RADIUS (FreeRADIUS, ICRADIUS) with realms&lt;br /&gt;
* sysvshell.pm: &lt;br /&gt;
* textradius.pm: &lt;br /&gt;
* vpopmail.pm:  Real-time export to vpopmail text files&lt;br /&gt;
&lt;br /&gt;
==svc_domain==&lt;br /&gt;
* bind.pm:  Batch export to BIND named&lt;br /&gt;
* bind_slave.pm: Batch export to slave BIND named&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:communigate_pro.pm|communigate_pro.pm]]:  Real-time export to a CommuniGate Pro mail server&lt;br /&gt;
* domain_shellcommands.pm:  Run remote commands via SSH, for domains (qmail, ISPMan).&lt;br /&gt;
* domain_sql.pm:  Real time export of domains to SQL databases .&lt;br /&gt;
* http.pm:  Send an HTTP or HTTPS GET or POST request&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:opensrs.pm|opensrs.pm]]: OpenSRS integration&lt;br /&gt;
* sqlmail.pm:  Real-time export to SQL-backed mail server&lt;br /&gt;
&lt;br /&gt;
==svc_forward==&lt;br /&gt;
* artera_turbo.pm: &lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:communigate_pro.pm|communigate_pro.pm]]:  Real-time export to a CommuniGate Pro mail server&lt;br /&gt;
* forward_shellcommands.pm:  Run remote commands via SSH, for forwards&lt;br /&gt;
* postfix.pm:  Postfix text files&lt;br /&gt;
* sqlmail.pm:  Real-time export to SQL-backed mail server&lt;br /&gt;
&lt;br /&gt;
==svc_www==&lt;br /&gt;
* apache.pm:  Export an Apache httpd.conf file snippet.&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:www_plesk.pm|www_plesk.pm]]:  Real-time export to Plesk managed hosting service&lt;br /&gt;
* www_shellcommands.pm:  Run remote commands via SSH, for virtual web sites (directory maintenance, FrontPage, ISPMan)&lt;br /&gt;
&lt;br /&gt;
==svc_broadband==&lt;br /&gt;
* nas_wrapper.pm:  A meta-export that triggers other svc_broadband exports.&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:prizm.pm|prizm.pm]]:  Real-time export to Northbound Interface&lt;br /&gt;
* router.pm:  Send a command to a router.&lt;br /&gt;
* snmp.pm:  Sends SNMP SETs to an SNMP agent.&lt;br /&gt;
* trango.pm:  Sends SNMP SETs to a Trango AP.&lt;br /&gt;
&lt;br /&gt;
==svc_phone==&lt;br /&gt;
* globalpops_voip.pm:&lt;br /&gt;
* grandstream.pm: Grandstream phone and ATA provisioning.   This [http://www.freeside.biz/blog/?p=11 blog article] is a start at documentation.&lt;br /&gt;
* indosoft.pm:&lt;br /&gt;
* internal_diddb.pm:&lt;br /&gt;
* netsapiens.pm:&lt;br /&gt;
* phone_shellcommands.pm:&lt;br /&gt;
* phone_sqlradius.pm:&lt;br /&gt;
* thirdlane.pm:&lt;br /&gt;
* vitelity.pm:&lt;br /&gt;
&lt;br /&gt;
==svc_external==&lt;br /&gt;
* artera_turbo.pm:&lt;br /&gt;
&lt;br /&gt;
= Services =&lt;br /&gt;
&lt;br /&gt;
== Accounts (svc_acct) ==&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:svc_acct:_password_encoding|Password encoding in 1.9]]&lt;br /&gt;
&lt;br /&gt;
== Domains (svc_domain) ==&lt;br /&gt;
&lt;br /&gt;
== Forwards (svc_forward) ==&lt;br /&gt;
&lt;br /&gt;
== Hosting (svc_www) ==&lt;br /&gt;
&lt;br /&gt;
== Broadband (svc_broadband) ==&lt;br /&gt;
&lt;br /&gt;
== Phone (svc_phone) ==&lt;br /&gt;
&lt;br /&gt;
== External (svc_external) ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Packages =&lt;br /&gt;
&lt;br /&gt;
{{Freeside:1.9:Documentation:Administration:pkg_category}}&lt;br /&gt;
&lt;br /&gt;
== Price Plans ==&lt;br /&gt;
&lt;br /&gt;
=== Common price plans ===&lt;br /&gt;
&lt;br /&gt;
* flat&lt;br /&gt;
* subscription&lt;br /&gt;
* prorate&lt;br /&gt;
* sqlradacct_hour&lt;br /&gt;
* voip_cdr&lt;br /&gt;
* prepaid&lt;br /&gt;
&lt;br /&gt;
=== Wholesale price plans ===&lt;br /&gt;
&lt;br /&gt;
* bulk&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:Packages:Price_Plans:agent | agent]]&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:Packages:Price_Plans:cdr_termination |&lt;br /&gt;
 cdr_termination ]]&lt;br /&gt;
&lt;br /&gt;
=== Other price plans ===&lt;br /&gt;
&lt;br /&gt;
* flat_delayed&lt;br /&gt;
* flat_introrate&lt;br /&gt;
* prorate_delayed&lt;br /&gt;
&lt;br /&gt;
* base_delayed&lt;br /&gt;
* base_rate&lt;br /&gt;
&lt;br /&gt;
* sql_external&lt;br /&gt;
* sql_generic&lt;br /&gt;
&lt;br /&gt;
=== Price plans of questionable functionality ===&lt;br /&gt;
&lt;br /&gt;
* flat_comission_cust&lt;br /&gt;
* flat_comission_pkg&lt;br /&gt;
* flat_comission&lt;br /&gt;
&lt;br /&gt;
* voip_sqlradacct&lt;br /&gt;
&lt;br /&gt;
* sesmon_hour&lt;br /&gt;
* sesmon_minute&lt;br /&gt;
&lt;br /&gt;
== Misc ==&lt;br /&gt;
&lt;br /&gt;
* Some notes on [[Freeside:1.9:Documentation:Administration:Upselling | Upselling]]&lt;br /&gt;
&lt;br /&gt;
= Resellers =&lt;br /&gt;
&lt;br /&gt;
= Employees =&lt;br /&gt;
&lt;br /&gt;
== Employees ==&lt;br /&gt;
&lt;br /&gt;
Go to Configuration -&amp;gt; Employees -&amp;gt; Employees to view the existing employees and add new ones.  It is highly recommended to add a separate account for each person rather than using role accounts.&lt;br /&gt;
&lt;br /&gt;
* To add a new employee, click on &amp;quot;Add an employee&amp;quot;&lt;br /&gt;
* Or to edit an existing group, click on the employee number or name in the list of employees.&lt;br /&gt;
* Enter or edit the username, password and name.  If editing an existing employee and no password change is desired, the password fields can be left blank.&lt;br /&gt;
* Check the &amp;quot;Disable employee&amp;quot; box to disable this employee.&lt;br /&gt;
* In the &amp;quot;Employee groups&amp;quot; section, mark or unmark checkboxes to indicate the access groups for this employee.&lt;br /&gt;
&lt;br /&gt;
== Employee groups and access control == &lt;br /&gt;
&lt;br /&gt;
To setup employee access control or agent/reseller virtualization, you need to setup employee groups.  Go to Configuration -&amp;gt; Employees -&amp;gt; Employee groups to view the existing groups and add new ones.  The system starts with a &amp;quot;Superuser&amp;quot; group which has access to all functionality for the first agent.&lt;br /&gt;
&lt;br /&gt;
* To add a new group, click on &amp;quot;Add an employee group&amp;quot;&lt;br /&gt;
* Or to edit an existing group, click on the group number or name in the list of groups.&lt;br /&gt;
* Enter or edit the group name.&lt;br /&gt;
* In the &amp;quot;Group limited to these agent(s)&amp;quot; section, mark checkboxes next to the agents this employee group should be able to see.  Employees in this group will only see customers of the selected agents in the system and reports.&lt;br /&gt;
* In the &amp;quot;Group access rights&amp;quot; section, mark or unmark checkboxes to indicate the access rights this employee group should have.  Rights marked with an &amp;quot;*&amp;quot; are global rights which provide access to global data which is shared among all agents. Their use is not recommended for groups which are limited to a subset of agents.&lt;br /&gt;
* After adding a new group, don't forget to go back and add or edit employees to place them into the new group.&lt;br /&gt;
&lt;br /&gt;
= Billing =&lt;br /&gt;
&lt;br /&gt;
== Billing events ==&lt;br /&gt;
Billing events are the primary mechanism to implement your business rules.  Rules such as resend invoices, retry cards, suspend or cancel accounts for non-payment, etc. are all handled by billing events.&lt;br /&gt;
&lt;br /&gt;
At a high level, follow the following steps to create billing events:&lt;br /&gt;
* Add a new Billing Event (Configuration &amp;gt; Billing &amp;gt; Billing events)&lt;br /&gt;
* Name the event&lt;br /&gt;
* Choose the type of event:&lt;br /&gt;
** Package - Packages and associated dates (Including Commissions)&lt;br /&gt;
** Invoice - Invoice status and dates&lt;br /&gt;
** Customer - Customer Balances and Information&lt;br /&gt;
** Batch Payment - Batch payment results&lt;br /&gt;
** Statement - Send statement &lt;br /&gt;
* Choose whether to apply to one or all agents&lt;br /&gt;
* Choose the frequency for the system to check and see if the event should run.&lt;br /&gt;
* Choose appropriate filters.  &lt;br /&gt;
* Choose appropriate actions.&lt;br /&gt;
&lt;br /&gt;
The form is dynamic so changing the type of event will change the available filters and actions.&lt;br /&gt;
&lt;br /&gt;
== Daily and Monthly Scripts ==&lt;br /&gt;
* The freeside-daily script should be run daily to bill customers and run invoice collection events.&lt;br /&gt;
** Typically, this is accomplished with an entry in the freeside user's crontab such as: &amp;lt;pre&amp;gt;0 0 * * * /usr/local/bin/freeside-daily&amp;lt;/pre&amp;gt;&lt;br /&gt;
** If running freeside-daily manually, ensure the &amp;lt;code&amp;gt;TZ&amp;lt;/code&amp;gt; variable is set to your timezone with a command such as: &amp;lt;pre&amp;gt;TZ=&amp;quot;US/Pacific&amp;quot; freeside-daily fs_daily&amp;lt;/pre&amp;gt;&lt;br /&gt;
* If any monthly events are enabled, the freeside-monthly script should be run monthly.&lt;br /&gt;
* Invoice events can also be used to implement agent-virtualized invoices. (add more info)&lt;br /&gt;
&lt;br /&gt;
== Invoices ==&lt;br /&gt;
&lt;br /&gt;
=== Typeset (LaTeX) invoice templates ===&lt;br /&gt;
&lt;br /&gt;
==== Prerequisites ====&lt;br /&gt;
&lt;br /&gt;
* Almost all distributions include the necessary prerequisites listed here, manual installation is practically never necessary.&lt;br /&gt;
* Install [http://www.ghostscript.com/ Ghostscript] (gs)&lt;br /&gt;
* Install [http://www.tug.org/tetex/ teTeX] or [http://www.tug.org/texlive/ TeX Live]&lt;br /&gt;
* Ensure that the &amp;lt;code&amp;gt;pslatex&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;dvips&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;pdflatex&amp;lt;/code&amp;gt; command line utilities were installed&lt;br /&gt;
&lt;br /&gt;
==== Logo setup ====&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em title=&amp;quot;Encapsulated Postscript&amp;quot;&amp;gt;EPS&amp;lt;/em&amp;gt; logo is for PDF and printed invoices.&lt;br /&gt;
&lt;br /&gt;
* For best results, save a '''vector format''' logo in EPS (Encapsulated PostScript) format.  &lt;br /&gt;
** Your graphic artist can create vector image from a bitmap (tracing etc).&lt;br /&gt;
** Converting a bitmap such as a JPG can work (the bigger the better), but it may render in lower quality, blurry or with the &amp;quot;jaggies&amp;quot; (especially when actually printed, not just viewed as a PDF)&lt;br /&gt;
* Resize the logo to 90pt X 36pt: &amp;lt;code&amp;gt;epsffit -c 0 0 90 36 yourlogo.eps &amp;gt;logo.eps&amp;lt;/code&amp;gt;&lt;br /&gt;
* Upload the resized logo as the &amp;lt;code&amp;gt;logo.eps&amp;lt;/code&amp;gt; configuration option.&lt;br /&gt;
* Problems?  Try &amp;lt;code&amp;gt;bin/strip-eps &amp;lt;oldlogo.eps &amp;gt;trynewlogo.eps&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em title=&amp;quot;Portable Network Graphic&amp;quot;&amp;gt;PNG&amp;lt;/em&amp;gt; logo is for emailed and online invoices.&lt;br /&gt;
&lt;br /&gt;
Freeside ships with a logo of 92 x 62.  Any logo close to this size should work with the default HTML template.&lt;br /&gt;
&lt;br /&gt;
{{Freeside:1.9:Documentation:Administration:invoice_layout}}&lt;br /&gt;
&lt;br /&gt;
=== HTML invoice templates ===&lt;br /&gt;
&lt;br /&gt;
* Convert your logo to PNG format and upload it as the &amp;lt;code&amp;gt;logo.png&amp;lt;/code&amp;gt; configuration option.&lt;br /&gt;
* Edit the invoice_html configuration option.  HTML invoices use Text::Template with &amp;lt;%= and %&amp;gt; delimiters. &lt;br /&gt;
* The following configuration options can be set to override the default behaviour of using the invoice_latex* data transformed to HTML: invoice_htmlreturnaddress, and invoice_htmlfooter, invoice_htmlnotes.&lt;br /&gt;
&lt;br /&gt;
=== Plaintext invoice templates ===&lt;br /&gt;
&lt;br /&gt;
* See the Text::Template documentation for details on the substitution language.&lt;br /&gt;
* You must call the invoice_lines() function at least once - pass it a number of lines, and it returns a list of array references, each of two elements: a service description column, and a price column. Alternatively, call invoice_lines() with no arguments, and pagination will be disabled - all invoice line items will print on one page, with no padding (recommended for email invoices).&lt;br /&gt;
* Descriptions of variables are available in [[Freeside:1.9:Documentation:Template:invoice_html|invoice_html]]&lt;br /&gt;
&lt;br /&gt;
=== Misc ===&lt;br /&gt;
&lt;br /&gt;
==== Manually setting next invoice number sequence ====&lt;br /&gt;
&lt;br /&gt;
* With PostgreSQL, to number invoices starting at 5000: &amp;lt;pre&amp;gt;SELECT SETVAL(cust_bill_invnum_seq, 4999);&amp;lt;/pre&amp;gt;&lt;br /&gt;
* With MySQL:&lt;br /&gt;
&lt;br /&gt;
== Payment Receipts ==&lt;br /&gt;
&lt;br /&gt;
The [[Freeside:1.9:Documentation:Template:payment_receipt_email|payment_receipt_email]] template is used for manually applied payments.&lt;br /&gt;
&lt;br /&gt;
== Credit cards and Electronic checks ==&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:Real-time_Processing | Real-time credit card and electronic check processing]]&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:Batch_Processing | Batch credit card and electronic check processing]]&lt;br /&gt;
* Credit card expiration alerts: Customize the ''alerter_template'' configuration option and run &amp;lt;code&amp;gt;freeside-expiration-alerter&amp;lt;/code&amp;gt; daily.&lt;br /&gt;
* Credit card decline alerts: Customize the ''declinetemplate'' configuration option and set the ''emaildecline'' configuration option.&lt;br /&gt;
&lt;br /&gt;
= Misc =&lt;br /&gt;
&lt;br /&gt;
* Setting up [[Freeside:1.9:Documentation:Administration:Encrypted Credit Cards | Encrypted Credit Cards]]&lt;br /&gt;
* Setting up [[Freeside:1.9:Documentation:Administration:Texas Tax | Texas Tax]]&lt;br /&gt;
* Setting up [[Freeside:1.9:Documentation:Administration:VoIP | VoIP]]&lt;br /&gt;
&amp;lt;!-- Superseded by Commissions below... * Setting up [[Freeside:1.9:Documentation:Administration:Referral credits|Referral credits]] --&amp;gt;&lt;br /&gt;
* Setting up [[Freeside:1.9:Documentation:Administration:Commission|Commissions and Referrals]]&lt;br /&gt;
* Need to print to Windows printers?  Follow steps 1-4 of  [http://iharder.sourceforge.net/current/macosx/winmacprinter/ Share Your Windows Printer].&lt;br /&gt;
* Setting up [[Freeside:1.9:Documentation:Administration:Slony | Slony replication and failover]]&lt;br /&gt;
* Using a non-standard [[Freeside:1.9:Documentation:Administration:PostgreSQL_Schema | PostgreSQL Schema]]&lt;br /&gt;
&lt;br /&gt;
{{ContextSensitiveHelp}}&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration&amp;diff=5855</id>
		<title>Freeside:1.9:Documentation:Administration</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration&amp;diff=5855"/>
				<updated>2010-07-12T04:39:48Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: /* Typeset (LaTeX) invoice templates */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Exports (provisioning) =&lt;br /&gt;
&lt;br /&gt;
'''Exports''' allow you to provision services to remote machines, databases and APIs.  Some exports, such as ''sqlradius'' and ''sqlradius_withdomain'',  enable a feed for retrieving rating/usage data.&lt;br /&gt;
&lt;br /&gt;
Exports can be added and edited under&lt;br /&gt;
: Configuration -&amp;gt; Provisioning, services and packages -&amp;gt; View/edit exports&lt;br /&gt;
&lt;br /&gt;
Most exports place jobs in the job queue for new, modified or deleted services.  Jobs are run by [[Freeside:1.9:Documentation:Developer/bin/freeside-queued|freeside-queued]].  This daemon needs to be running before exports are acted upon.&lt;br /&gt;
&lt;br /&gt;
Some exports use SSH, SCP or SFTP to communicate with external machines.  See the documentation on [[Freeside:1.9:Documentation:Administration:SSH_Keys|SSH keys]].&lt;br /&gt;
&lt;br /&gt;
Click on ''Add a new export'' to create a new export.  Select exports from the dropdown to show more information on each export, including available options, setup and usage.&lt;br /&gt;
&lt;br /&gt;
Exports are activated by associating them with one or more '''service definitions'''.&lt;br /&gt;
&lt;br /&gt;
Following is a list of which exports can be associated with each type of service.&lt;br /&gt;
&lt;br /&gt;
==svc_acct==&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:acct_plesk.pm|acct_plesk.pm]]:  Real-time export to Plesk managed mail service&lt;br /&gt;
* acct_sql.pm:  Real-time export of accounts to SQL databases .&lt;br /&gt;
* artera_turbo.pm: &lt;br /&gt;
* bsdshell.pm: &lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:communigate_pro.pm|communigate_pro.pm]]:  Real-time export to a CommuniGate Pro mail server&lt;br /&gt;
* communigate_pro_singledomain.pm: &lt;br /&gt;
* cpanel.pm:  Real-time export to Cpanel control panel.&lt;br /&gt;
* cp.pm:  Real-time export to Critical Path Account Provisioning Protocol&lt;br /&gt;
* cyrus.pm:  Real-time export to Cyrus IMAP server&lt;br /&gt;
* everyone_net.pm:  Real-time export to Everyone.net outsourced mail service&lt;br /&gt;
* infostreet.pm:  Real-time export to InfoStreet streetSmartAPI&lt;br /&gt;
* ldap.pm:  Real-time export to LDAP&lt;br /&gt;
* passwdfile.pm:&lt;br /&gt;
* radiator.pm:  Real-time export to RADIATOR&lt;br /&gt;
* shellcommands.pm: &lt;br /&gt;
* shellcommands_withdomain.pm:  Real-time export via remote SSH (vpopmail, ISPMan)&lt;br /&gt;
* sqlmail.pm:  Real-time export to SQL-backed mail server&lt;br /&gt;
* sqlradius.pm:  Real-time export to SQL-backed RADIUS (FreeRADIUS, ICRADIUS)&lt;br /&gt;
* sqlradius_withdomain.pm:  Real-time export to SQL-backed RADIUS (FreeRADIUS, ICRADIUS) with realms&lt;br /&gt;
* sysvshell.pm: &lt;br /&gt;
* textradius.pm: &lt;br /&gt;
* vpopmail.pm:  Real-time export to vpopmail text files&lt;br /&gt;
&lt;br /&gt;
==svc_domain==&lt;br /&gt;
* bind.pm:  Batch export to BIND named&lt;br /&gt;
* bind_slave.pm: Batch export to slave BIND named&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:communigate_pro.pm|communigate_pro.pm]]:  Real-time export to a CommuniGate Pro mail server&lt;br /&gt;
* domain_shellcommands.pm:  Run remote commands via SSH, for domains (qmail, ISPMan).&lt;br /&gt;
* domain_sql.pm:  Real time export of domains to SQL databases .&lt;br /&gt;
* http.pm:  Send an HTTP or HTTPS GET or POST request&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:opensrs.pm|opensrs.pm]]: OpenSRS integration&lt;br /&gt;
* sqlmail.pm:  Real-time export to SQL-backed mail server&lt;br /&gt;
&lt;br /&gt;
==svc_forward==&lt;br /&gt;
* artera_turbo.pm: &lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:communigate_pro.pm|communigate_pro.pm]]:  Real-time export to a CommuniGate Pro mail server&lt;br /&gt;
* forward_shellcommands.pm:  Run remote commands via SSH, for forwards&lt;br /&gt;
* postfix.pm:  Postfix text files&lt;br /&gt;
* sqlmail.pm:  Real-time export to SQL-backed mail server&lt;br /&gt;
&lt;br /&gt;
==svc_www==&lt;br /&gt;
* apache.pm:  Export an Apache httpd.conf file snippet.&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:www_plesk.pm|www_plesk.pm]]:  Real-time export to Plesk managed hosting service&lt;br /&gt;
* www_shellcommands.pm:  Run remote commands via SSH, for virtual web sites (directory maintenance, FrontPage, ISPMan)&lt;br /&gt;
&lt;br /&gt;
==svc_broadband==&lt;br /&gt;
* nas_wrapper.pm:  A meta-export that triggers other svc_broadband exports.&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:prizm.pm|prizm.pm]]:  Real-time export to Northbound Interface&lt;br /&gt;
* router.pm:  Send a command to a router.&lt;br /&gt;
* snmp.pm:  Sends SNMP SETs to an SNMP agent.&lt;br /&gt;
* trango.pm:  Sends SNMP SETs to a Trango AP.&lt;br /&gt;
&lt;br /&gt;
==svc_phone==&lt;br /&gt;
* globalpops_voip.pm:&lt;br /&gt;
* grandstream.pm: Grandstream phone and ATA provisioning.   This [http://www.freeside.biz/blog/?p=11 blog article] is a start at documentation.&lt;br /&gt;
* indosoft.pm:&lt;br /&gt;
* internal_diddb.pm:&lt;br /&gt;
* netsapiens.pm:&lt;br /&gt;
* phone_shellcommands.pm:&lt;br /&gt;
* phone_sqlradius.pm:&lt;br /&gt;
* thirdlane.pm:&lt;br /&gt;
* vitelity.pm:&lt;br /&gt;
&lt;br /&gt;
==svc_external==&lt;br /&gt;
* artera_turbo.pm:&lt;br /&gt;
&lt;br /&gt;
= Services =&lt;br /&gt;
&lt;br /&gt;
== Accounts (svc_acct) ==&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:svc_acct:_password_encoding|Password encoding in 1.9]]&lt;br /&gt;
&lt;br /&gt;
== Domains (svc_domain) ==&lt;br /&gt;
&lt;br /&gt;
== Forwards (svc_forward) ==&lt;br /&gt;
&lt;br /&gt;
== Hosting (svc_www) ==&lt;br /&gt;
&lt;br /&gt;
== Broadband (svc_broadband) ==&lt;br /&gt;
&lt;br /&gt;
== Phone (svc_phone) ==&lt;br /&gt;
&lt;br /&gt;
== External (svc_external) ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Packages =&lt;br /&gt;
&lt;br /&gt;
{{Freeside:1.9:Documentation:Administration:pkg_category}}&lt;br /&gt;
&lt;br /&gt;
== Price Plans ==&lt;br /&gt;
&lt;br /&gt;
=== Common price plans ===&lt;br /&gt;
&lt;br /&gt;
* flat&lt;br /&gt;
* subscription&lt;br /&gt;
* prorate&lt;br /&gt;
* sqlradacct_hour&lt;br /&gt;
* voip_cdr&lt;br /&gt;
* prepaid&lt;br /&gt;
&lt;br /&gt;
=== Wholesale price plans ===&lt;br /&gt;
&lt;br /&gt;
* bulk&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:Packages:Price_Plans:agent | agent]]&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:Packages:Price_Plans:cdr_termination |&lt;br /&gt;
 cdr_termination ]]&lt;br /&gt;
&lt;br /&gt;
=== Other price plans ===&lt;br /&gt;
&lt;br /&gt;
* flat_delayed&lt;br /&gt;
* flat_introrate&lt;br /&gt;
* prorate_delayed&lt;br /&gt;
&lt;br /&gt;
* base_delayed&lt;br /&gt;
* base_rate&lt;br /&gt;
&lt;br /&gt;
* sql_external&lt;br /&gt;
* sql_generic&lt;br /&gt;
&lt;br /&gt;
=== Price plans of questionable functionality ===&lt;br /&gt;
&lt;br /&gt;
* flat_comission_cust&lt;br /&gt;
* flat_comission_pkg&lt;br /&gt;
* flat_comission&lt;br /&gt;
&lt;br /&gt;
* voip_sqlradacct&lt;br /&gt;
&lt;br /&gt;
* sesmon_hour&lt;br /&gt;
* sesmon_minute&lt;br /&gt;
&lt;br /&gt;
== Misc ==&lt;br /&gt;
&lt;br /&gt;
* Some notes on [[Freeside:1.9:Documentation:Administration:Upselling | Upselling]]&lt;br /&gt;
&lt;br /&gt;
= Resellers =&lt;br /&gt;
&lt;br /&gt;
= Employees =&lt;br /&gt;
&lt;br /&gt;
== Employees ==&lt;br /&gt;
&lt;br /&gt;
Go to Configuration -&amp;gt; Employees -&amp;gt; Employees to view the existing employees and add new ones.  It is highly recommended to add a separate account for each person rather than using role accounts.&lt;br /&gt;
&lt;br /&gt;
* To add a new employee, click on &amp;quot;Add an employee&amp;quot;&lt;br /&gt;
* Or to edit an existing group, click on the employee number or name in the list of employees.&lt;br /&gt;
* Enter or edit the username, password and name.  If editing an existing employee and no password change is desired, the password fields can be left blank.&lt;br /&gt;
* Check the &amp;quot;Disable employee&amp;quot; box to disable this employee.&lt;br /&gt;
* In the &amp;quot;Employee groups&amp;quot; section, mark or unmark checkboxes to indicate the access groups for this employee.&lt;br /&gt;
&lt;br /&gt;
== Employee groups and access control == &lt;br /&gt;
&lt;br /&gt;
To setup employee access control or agent/reseller virtualization, you need to setup employee groups.  Go to Configuration -&amp;gt; Employees -&amp;gt; Employee groups to view the existing groups and add new ones.  The system starts with a &amp;quot;Superuser&amp;quot; group which has access to all functionality for the first agent.&lt;br /&gt;
&lt;br /&gt;
* To add a new group, click on &amp;quot;Add an employee group&amp;quot;&lt;br /&gt;
* Or to edit an existing group, click on the group number or name in the list of groups.&lt;br /&gt;
* Enter or edit the group name.&lt;br /&gt;
* In the &amp;quot;Group limited to these agent(s)&amp;quot; section, mark checkboxes next to the agents this employee group should be able to see.  Employees in this group will only see customers of the selected agents in the system and reports.&lt;br /&gt;
* In the &amp;quot;Group access rights&amp;quot; section, mark or unmark checkboxes to indicate the access rights this employee group should have.  Rights marked with an &amp;quot;*&amp;quot; are global rights which provide access to global data which is shared among all agents. Their use is not recommended for groups which are limited to a subset of agents.&lt;br /&gt;
* After adding a new group, don't forget to go back and add or edit employees to place them into the new group.&lt;br /&gt;
&lt;br /&gt;
= Billing =&lt;br /&gt;
&lt;br /&gt;
== Billing events ==&lt;br /&gt;
Billing events are the primary mechanism to implement your business rules.  Rules such as resend invoices, retry cards, suspend or cancel accounts for non-payment, etc. are all handled by billing events.&lt;br /&gt;
&lt;br /&gt;
At a high level, follow the following steps to create billing events:&lt;br /&gt;
* Add a new Billing Event (Configuration &amp;gt; Billing &amp;gt; Billing events)&lt;br /&gt;
* Name the event&lt;br /&gt;
* Choose the type of event:&lt;br /&gt;
** Package - Packages and associated dates (Including Commissions)&lt;br /&gt;
** Invoice - Invoice status and dates&lt;br /&gt;
** Customer - Customer Balances and Information&lt;br /&gt;
** Batch Payment - Batch payment results&lt;br /&gt;
** Statement - Send statement &lt;br /&gt;
* Choose whether to apply to one or all agents&lt;br /&gt;
* Choose the frequency for the system to check and see if the event should run.&lt;br /&gt;
* Choose appropriate filters.  &lt;br /&gt;
* Choose appropriate actions.&lt;br /&gt;
&lt;br /&gt;
The form is dynamic so changing the type of event will change the available filters and actions.&lt;br /&gt;
&lt;br /&gt;
== Daily and Monthly Scripts ==&lt;br /&gt;
* The freeside-daily script should be run daily to bill customers and run invoice collection events.&lt;br /&gt;
** Typically, this is accomplished with an entry in the freeside user's crontab such as: &amp;lt;pre&amp;gt;0 0 * * * /usr/local/bin/freeside-daily&amp;lt;/pre&amp;gt;&lt;br /&gt;
** If running freeside-daily manually, ensure the &amp;lt;code&amp;gt;TZ&amp;lt;/code&amp;gt; variable is set to your timezone with a command such as: &amp;lt;pre&amp;gt;TZ=&amp;quot;US/Pacific&amp;quot; freeside-daily fs_daily&amp;lt;/pre&amp;gt;&lt;br /&gt;
* If any monthly events are enabled, the freeside-monthly script should be run monthly.&lt;br /&gt;
* Invoice events can also be used to implement agent-virtualized invoices. (add more info)&lt;br /&gt;
&lt;br /&gt;
== Invoices ==&lt;br /&gt;
&lt;br /&gt;
=== Templates ===&lt;br /&gt;
&lt;br /&gt;
==== Typeset (LaTeX) invoice templates ====&lt;br /&gt;
&lt;br /&gt;
===== Prerequisites =====&lt;br /&gt;
&lt;br /&gt;
* Almost all distributions include the necessary prerequisites listed here, manual installation is practically never necessary.&lt;br /&gt;
* Install [http://www.ghostscript.com/ Ghostscript] (gs)&lt;br /&gt;
* Install [http://www.tug.org/tetex/ teTeX] or [http://www.tug.org/texlive/ TeX Live]&lt;br /&gt;
* Ensure that the &amp;lt;code&amp;gt;pslatex&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;dvips&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;pdflatex&amp;lt;/code&amp;gt; command line utilities were installed&lt;br /&gt;
&lt;br /&gt;
===== Logo setup =====&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em title=&amp;quot;Encapsulated Postscript&amp;quot;&amp;gt;EPS&amp;lt;/em&amp;gt; logo is for PDF and printed invoices.&lt;br /&gt;
&lt;br /&gt;
* For best results, save a '''vector format''' logo in EPS (Encapsulated PostScript) format.  &lt;br /&gt;
** Your graphic artist can create vector image from a bitmap (tracing etc).&lt;br /&gt;
** Converting a bitmap such as a JPG can work (the bigger the better), but it may render in lower quality, blurry or with the &amp;quot;jaggies&amp;quot; (especially when actually printed, not just viewed as a PDF)&lt;br /&gt;
* Resize the logo to 90pt X 36pt: &amp;lt;code&amp;gt;epsffit -c 0 0 90 36 yourlogo.eps &amp;gt;logo.eps&amp;lt;/code&amp;gt;&lt;br /&gt;
* Upload the resized logo as the &amp;lt;code&amp;gt;logo.eps&amp;lt;/code&amp;gt; configuration option.&lt;br /&gt;
* Problems?  Try &amp;lt;code&amp;gt;bin/strip-eps &amp;lt;oldlogo.eps &amp;gt;trynewlogo.eps&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em title=&amp;quot;Portable Network Graphic&amp;quot;&amp;gt;PNG&amp;lt;/em&amp;gt; logo is for emailed and online invoices.&lt;br /&gt;
&lt;br /&gt;
Freeside ships with a logo of 92 x 62.  Any logo close to this size should work with the default HTML template.&lt;br /&gt;
&lt;br /&gt;
{{Freeside:1.9:Documentation:Administration:invoice_layout}}&lt;br /&gt;
&lt;br /&gt;
==== HTML invoice templates ====&lt;br /&gt;
&lt;br /&gt;
* Convert your logo to PNG format and upload it as the &amp;lt;code&amp;gt;logo.png&amp;lt;/code&amp;gt; configuration option.&lt;br /&gt;
* Edit the invoice_html configuration option.  HTML invoices use Text::Template with &amp;lt;%= and %&amp;gt; delimiters. &lt;br /&gt;
* The following configuration options can be set to override the default behaviour of using the invoice_latex* data transformed to HTML: invoice_htmlreturnaddress, and invoice_htmlfooter, invoice_htmlnotes.&lt;br /&gt;
&lt;br /&gt;
==== Plaintext invoice templates ====&lt;br /&gt;
&lt;br /&gt;
* See the Text::Template documentation for details on the substitution language.&lt;br /&gt;
* You must call the invoice_lines() function at least once - pass it a number of lines, and it returns a list of array references, each of two elements: a service description column, and a price column. Alternatively, call invoice_lines() with no arguments, and pagination will be disabled - all invoice line items will print on one page, with no padding (recommended for email invoices).&lt;br /&gt;
* Descriptions of variables are available in [[Freeside:1.9:Documentation:Template:invoice_html|invoice_html]]&lt;br /&gt;
&lt;br /&gt;
=== Misc ===&lt;br /&gt;
&lt;br /&gt;
==== Manually setting next invoice number sequence ====&lt;br /&gt;
&lt;br /&gt;
* With PostgreSQL, to number invoices starting at 5000: &amp;lt;pre&amp;gt;SELECT SETVAL(cust_bill_invnum_seq, 4999);&amp;lt;/pre&amp;gt;&lt;br /&gt;
* With MySQL:&lt;br /&gt;
&lt;br /&gt;
== Payment Receipts ==&lt;br /&gt;
&lt;br /&gt;
The [[Freeside:1.9:Documentation:Template:payment_receipt_email|payment_receipt_email]] template is used for manually applied payments.&lt;br /&gt;
&lt;br /&gt;
== Credit cards and Electronic checks ==&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:Real-time_Processing | Real-time credit card and electronic check processing]]&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:Batch_Processing | Batch credit card and electronic check processing]]&lt;br /&gt;
* Credit card expiration alerts: Customize the ''alerter_template'' configuration option and run &amp;lt;code&amp;gt;freeside-expiration-alerter&amp;lt;/code&amp;gt; daily.&lt;br /&gt;
* Credit card decline alerts: Customize the ''declinetemplate'' configuration option and set the ''emaildecline'' configuration option.&lt;br /&gt;
&lt;br /&gt;
= Misc =&lt;br /&gt;
&lt;br /&gt;
* Setting up [[Freeside:1.9:Documentation:Administration:Encrypted Credit Cards | Encrypted Credit Cards]]&lt;br /&gt;
* Setting up [[Freeside:1.9:Documentation:Administration:Texas Tax | Texas Tax]]&lt;br /&gt;
* Setting up [[Freeside:1.9:Documentation:Administration:VoIP | VoIP]]&lt;br /&gt;
&amp;lt;!-- Superseded by Commissions below... * Setting up [[Freeside:1.9:Documentation:Administration:Referral credits|Referral credits]] --&amp;gt;&lt;br /&gt;
* Setting up [[Freeside:1.9:Documentation:Administration:Commission|Commissions and Referrals]]&lt;br /&gt;
* Need to print to Windows printers?  Follow steps 1-4 of  [http://iharder.sourceforge.net/current/macosx/winmacprinter/ Share Your Windows Printer].&lt;br /&gt;
* Setting up [[Freeside:1.9:Documentation:Administration:Slony | Slony replication and failover]]&lt;br /&gt;
* Using a non-standard [[Freeside:1.9:Documentation:Administration:PostgreSQL_Schema | PostgreSQL Schema]]&lt;br /&gt;
&lt;br /&gt;
{{ContextSensitiveHelp}}&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration:invoice_layout&amp;diff=5854</id>
		<title>Freeside:1.9:Documentation:Administration:invoice layout</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration:invoice_layout&amp;diff=5854"/>
				<updated>2010-07-12T04:36:47Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: New page: Category:Invoice_Layout  ===Invoice Layout and Content=== ====Basic Invoice Styles==== Several variables make significant changes to the appearance of invoices.  {{Freeside:Configurati...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Invoice_Layout]]&lt;br /&gt;
&lt;br /&gt;
===Invoice Layout and Content===&lt;br /&gt;
====Basic Invoice Styles====&lt;br /&gt;
Several variables make significant changes to the appearance of invoices.&lt;br /&gt;
&lt;br /&gt;
{{Freeside:Configuration:invoice_sections}}&lt;br /&gt;
{{Freeside:Configuration:invoice_usesummary}}&lt;br /&gt;
{{Freeside:Configuration:usage_class_as_a_section}}&lt;br /&gt;
{{Freeside:Configuration:svc_phone_sections}}&lt;br /&gt;
&lt;br /&gt;
====Invoice Templates====&lt;br /&gt;
{{Freeside:1.9:Documentation:Administration:invoice_templates}}&lt;br /&gt;
&lt;br /&gt;
{{Freeside:1.9:Documentation:Administration:VOIP plan invoice layout variables}}&lt;br /&gt;
&lt;br /&gt;
==== Other Variables Changing Invoice Layout at Billing Time====&lt;br /&gt;
{{Freeside:Configuration:separate_usage}}&lt;br /&gt;
&lt;br /&gt;
==== Variables Neither Perfectly Rendering nor Perfectly Generational====&lt;br /&gt;
{{Freeside:Configuration:date_format}}&lt;br /&gt;
{{Freeside:Configuration:money_char}}&lt;br /&gt;
{{Freeside:Configuration:invoice_default_terms}}&lt;br /&gt;
&lt;br /&gt;
====Boolean Rendering Variables====&lt;br /&gt;
{{Freeside:Configuration:invoice_show_prior_due_date}}&lt;br /&gt;
{{Freeside:Configuration:invoice_include_aging}}&lt;br /&gt;
{{Freeside:Configuration:invoice_smallernotes}}&lt;br /&gt;
{{Freeside:Configuration:invoice_smallerfooter}}&lt;br /&gt;
{{Freeside:Configuration:invoice-ship_address}}&lt;br /&gt;
{{Freeside:Configuration:disable_line_item_date_ranges}}&lt;br /&gt;
{{Freeside:Configuration:disable_previous_balance}}&lt;br /&gt;
{{Freeside:Configuration:previous_balance-summary_only}}&lt;br /&gt;
{{Freeside:Configuration:balance_due_below_line}}&lt;br /&gt;
{{Freeside:Configuration:invoice-unitprice}}&lt;br /&gt;
&lt;br /&gt;
====Other Rendering Variables====&lt;br /&gt;
{{Freeside:Configuration:invoice_latextopmargin}}&lt;br /&gt;
{{Freeside:Configuration:invoice_latexheadsep}}&lt;br /&gt;
{{Freeside:Configuration:invoice_latexaddresssep}}&lt;br /&gt;
{{Freeside:Configuration:invoice_latextextheight}}&lt;br /&gt;
{{Freeside:Configuration:invoice_latexextracouponspace}}&lt;br /&gt;
{{Freeside:Configuration:invoice_latexcouponfootsep}}&lt;br /&gt;
{{Freeside:Configuration:invoice_latexcouponamountencosedsep}}&lt;br /&gt;
{{Freeside:Configuration:invoice_latexcoupontoaddresssep}}&lt;br /&gt;
{{Freeside:Configuration:invoice_latexverticalreturnaddress}}&lt;br /&gt;
{{Freeside:Configuration:invoice_latexcouponaddcompanytoaddress}}&lt;br /&gt;
{{Freeside:Configuration:previous_balance-exclude_from_total}}&lt;br /&gt;
{{Freeside:Configuration:company_name}}&lt;br /&gt;
{{Freeside:Configuration:company_address}}&lt;br /&gt;
{{Freeside:Configuration:finance_pkgclass}}&lt;br /&gt;
{{Freeside:Configuration:cust_bill-max_same_services}}&lt;br /&gt;
{{Freeside:Configuration:cust_bill-consolidate_services}}&lt;br /&gt;
&lt;br /&gt;
====Miscellaneous Variables Impacting Customer Perception of Invoices====&lt;br /&gt;
&lt;br /&gt;
These variables do not change the invoice per se, but do change what is emailed to a customer as an invoice.&lt;br /&gt;
{{Freeside:Configuration:invoice_email_pdf}}&lt;br /&gt;
{{Freeside:Configuration:invoice_email_pdf_note}}&lt;br /&gt;
{{Freeside:Configuration:voip-cust_email_csv_cdr}}&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration:invoice_templates&amp;diff=5853</id>
		<title>Freeside:1.9:Documentation:Administration:invoice templates</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration:invoice_templates&amp;diff=5853"/>
				<updated>2010-07-12T04:34:24Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: New page: *  Edit the invoice_latexreturnaddress, invoice_latexfooter, invoice_latexnotes, and invoice_latexsmallfooter configuration options. If you are adventurous, edit invoice_latex as well.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*  Edit the invoice_latexreturnaddress, invoice_latexfooter, invoice_latexnotes, and invoice_latexsmallfooter configuration options. If you are adventurous, edit invoice_latex as well.&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration:VOIP_plan_invoice_layout_variables&amp;diff=5852</id>
		<title>Freeside:1.9:Documentation:Administration:VOIP plan invoice layout variables</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration:VOIP_plan_invoice_layout_variables&amp;diff=5852"/>
				<updated>2010-07-12T04:03:20Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Common VOIP plan options for invoice appearance ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Certain configuration options on telephony plan packages can have significant impact on the appearances of invoices by changing the data calculated and stored at the time of invoice generation. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;CDR invoice display format [output_format]&lt;br /&gt;
:controls the data stored for the usage detail on the invoice. Current choices are&lt;br /&gt;
  default                   - date, time, destination, regionname, duration, price&lt;br /&gt;
  default with source       - source, date, time, destination, regionname, duration, price&lt;br /&gt;
  default with account code - date, time, account code, destination, regionname, duration, price&lt;br /&gt;
  simple                    - date, time, user, destination, duration, price&lt;br /&gt;
  simple with source        - date, time, source, destination, duration, price&lt;br /&gt;
&lt;br /&gt;
;Section in which to place usage charges (whether separated or not) [usage_section]&lt;br /&gt;
:names an [[Freeside:Configuration:invoice_sections|invoice section]] which is to contain the usage portion of the invoiced package.  If the section is to be included in a [[Freeside:Configuration:invoice_usesummary|summary page]] then you will need to ensure the spelling exactly matches a [[Freeside:1.9:Documentation:Administration:pkg_category|package category]]&lt;br /&gt;
&lt;br /&gt;
;Include usage summary with recurring charges when usage is in separate section [summarize_usage]&lt;br /&gt;
:creates an additional (2nd) line on the invoice showing the total usage associated with the package.  Typically appears below a 'setup' and 'recurring' line (if they exist).&lt;br /&gt;
&lt;br /&gt;
;Always put usage details in separate section [usage_mandate]&lt;br /&gt;
:causes freeside to generate an extra section for the usage details even when freeside is not using [[Freeside:Configuration:invoice_sections|invoice sections]].&lt;br /&gt;
&lt;br /&gt;
[[Category:Invoice_Layout]]&lt;br /&gt;
[[Category:Price_Plan_Options]]&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration:VOIP_plan_invoice_layout_variables&amp;diff=5851</id>
		<title>Freeside:1.9:Documentation:Administration:VOIP plan invoice layout variables</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration:VOIP_plan_invoice_layout_variables&amp;diff=5851"/>
				<updated>2010-07-12T03:46:57Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Common VOIP plan options for invoice appearance ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Certain configuration options on telephony plan packages can have significant impact on the appearances of invoices by changing the data calculated and stored at the time of invoice generation. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;CDR invoice display format [output_format]&lt;br /&gt;
:controls the data stored for the usage detail on the invoice. Current choices are&lt;br /&gt;
  default                   - date, time, destination, regionname, duration, price&lt;br /&gt;
  default with source       - source, date, time, destination, regionname, duration, price&lt;br /&gt;
  default with account code - date, time, account code, destination, regionname, duration, price&lt;br /&gt;
  simple                    - date, time, user, destination, duration, price&lt;br /&gt;
  simple with source        - date, time, source, destination, duration, price&lt;br /&gt;
&lt;br /&gt;
;Section in which to place usage charges (whether separated or not) [usage_section]&lt;br /&gt;
:names an [[Freeside:Configuration:invoice_sections|invoice section]] which is to contain the usage portion of the invoiced package.  If the section is to be included in a [[Freeside:Configuration:invoice_usesummary|summary page]] then you will need to ensure the spelling exactly matches a [[Freeside:1.9:Documentation:Administration:pkg_category|package category]]&lt;br /&gt;
&lt;br /&gt;
;Include usage summary with recurring charges when usage is in separate section [summarize_usage]&lt;br /&gt;
:creates an additional (2nd) line on the invoice showing the total usage associated with the package.  Typically appears below a 'setup' and 'recurring' line (if they exist).&lt;br /&gt;
&lt;br /&gt;
;Always put usage details in separate section [usage_mandate]&lt;br /&gt;
:causes freeside to generate an extra section for the usage details even when freeside is not using [[Freeside:Configuration:invoice_sections|invoice sections]].&lt;br /&gt;
&lt;br /&gt;
[[Category:Invoice_Layout]]&lt;br /&gt;
[[Category:Price_Plan_Options]]&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration&amp;diff=5850</id>
		<title>Freeside:1.9:Documentation:Administration</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration&amp;diff=5850"/>
				<updated>2010-07-12T03:38:29Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: /* Packages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Exports (provisioning) =&lt;br /&gt;
&lt;br /&gt;
'''Exports''' allow you to provision services to remote machines, databases and APIs.  Some exports, such as ''sqlradius'' and ''sqlradius_withdomain'',  enable a feed for retrieving rating/usage data.&lt;br /&gt;
&lt;br /&gt;
Exports can be added and edited under&lt;br /&gt;
: Configuration -&amp;gt; Provisioning, services and packages -&amp;gt; View/edit exports&lt;br /&gt;
&lt;br /&gt;
Most exports place jobs in the job queue for new, modified or deleted services.  Jobs are run by [[Freeside:1.9:Documentation:Developer/bin/freeside-queued|freeside-queued]].  This daemon needs to be running before exports are acted upon.&lt;br /&gt;
&lt;br /&gt;
Some exports use SSH, SCP or SFTP to communicate with external machines.  See the documentation on [[Freeside:1.9:Documentation:Administration:SSH_Keys|SSH keys]].&lt;br /&gt;
&lt;br /&gt;
Click on ''Add a new export'' to create a new export.  Select exports from the dropdown to show more information on each export, including available options, setup and usage.&lt;br /&gt;
&lt;br /&gt;
Exports are activated by associating them with one or more '''service definitions'''.&lt;br /&gt;
&lt;br /&gt;
Following is a list of which exports can be associated with each type of service.&lt;br /&gt;
&lt;br /&gt;
==svc_acct==&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:acct_plesk.pm|acct_plesk.pm]]:  Real-time export to Plesk managed mail service&lt;br /&gt;
* acct_sql.pm:  Real-time export of accounts to SQL databases .&lt;br /&gt;
* artera_turbo.pm: &lt;br /&gt;
* bsdshell.pm: &lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:communigate_pro.pm|communigate_pro.pm]]:  Real-time export to a CommuniGate Pro mail server&lt;br /&gt;
* communigate_pro_singledomain.pm: &lt;br /&gt;
* cpanel.pm:  Real-time export to Cpanel control panel.&lt;br /&gt;
* cp.pm:  Real-time export to Critical Path Account Provisioning Protocol&lt;br /&gt;
* cyrus.pm:  Real-time export to Cyrus IMAP server&lt;br /&gt;
* everyone_net.pm:  Real-time export to Everyone.net outsourced mail service&lt;br /&gt;
* infostreet.pm:  Real-time export to InfoStreet streetSmartAPI&lt;br /&gt;
* ldap.pm:  Real-time export to LDAP&lt;br /&gt;
* passwdfile.pm:&lt;br /&gt;
* radiator.pm:  Real-time export to RADIATOR&lt;br /&gt;
* shellcommands.pm: &lt;br /&gt;
* shellcommands_withdomain.pm:  Real-time export via remote SSH (vpopmail, ISPMan)&lt;br /&gt;
* sqlmail.pm:  Real-time export to SQL-backed mail server&lt;br /&gt;
* sqlradius.pm:  Real-time export to SQL-backed RADIUS (FreeRADIUS, ICRADIUS)&lt;br /&gt;
* sqlradius_withdomain.pm:  Real-time export to SQL-backed RADIUS (FreeRADIUS, ICRADIUS) with realms&lt;br /&gt;
* sysvshell.pm: &lt;br /&gt;
* textradius.pm: &lt;br /&gt;
* vpopmail.pm:  Real-time export to vpopmail text files&lt;br /&gt;
&lt;br /&gt;
==svc_domain==&lt;br /&gt;
* bind.pm:  Batch export to BIND named&lt;br /&gt;
* bind_slave.pm: Batch export to slave BIND named&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:communigate_pro.pm|communigate_pro.pm]]:  Real-time export to a CommuniGate Pro mail server&lt;br /&gt;
* domain_shellcommands.pm:  Run remote commands via SSH, for domains (qmail, ISPMan).&lt;br /&gt;
* domain_sql.pm:  Real time export of domains to SQL databases .&lt;br /&gt;
* http.pm:  Send an HTTP or HTTPS GET or POST request&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:opensrs.pm|opensrs.pm]]: OpenSRS integration&lt;br /&gt;
* sqlmail.pm:  Real-time export to SQL-backed mail server&lt;br /&gt;
&lt;br /&gt;
==svc_forward==&lt;br /&gt;
* artera_turbo.pm: &lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:communigate_pro.pm|communigate_pro.pm]]:  Real-time export to a CommuniGate Pro mail server&lt;br /&gt;
* forward_shellcommands.pm:  Run remote commands via SSH, for forwards&lt;br /&gt;
* postfix.pm:  Postfix text files&lt;br /&gt;
* sqlmail.pm:  Real-time export to SQL-backed mail server&lt;br /&gt;
&lt;br /&gt;
==svc_www==&lt;br /&gt;
* apache.pm:  Export an Apache httpd.conf file snippet.&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:www_plesk.pm|www_plesk.pm]]:  Real-time export to Plesk managed hosting service&lt;br /&gt;
* www_shellcommands.pm:  Run remote commands via SSH, for virtual web sites (directory maintenance, FrontPage, ISPMan)&lt;br /&gt;
&lt;br /&gt;
==svc_broadband==&lt;br /&gt;
* nas_wrapper.pm:  A meta-export that triggers other svc_broadband exports.&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:prizm.pm|prizm.pm]]:  Real-time export to Northbound Interface&lt;br /&gt;
* router.pm:  Send a command to a router.&lt;br /&gt;
* snmp.pm:  Sends SNMP SETs to an SNMP agent.&lt;br /&gt;
* trango.pm:  Sends SNMP SETs to a Trango AP.&lt;br /&gt;
&lt;br /&gt;
==svc_phone==&lt;br /&gt;
* globalpops_voip.pm:&lt;br /&gt;
* grandstream.pm: Grandstream phone and ATA provisioning.   This [http://www.freeside.biz/blog/?p=11 blog article] is a start at documentation.&lt;br /&gt;
* indosoft.pm:&lt;br /&gt;
* internal_diddb.pm:&lt;br /&gt;
* netsapiens.pm:&lt;br /&gt;
* phone_shellcommands.pm:&lt;br /&gt;
* phone_sqlradius.pm:&lt;br /&gt;
* thirdlane.pm:&lt;br /&gt;
* vitelity.pm:&lt;br /&gt;
&lt;br /&gt;
==svc_external==&lt;br /&gt;
* artera_turbo.pm:&lt;br /&gt;
&lt;br /&gt;
= Services =&lt;br /&gt;
&lt;br /&gt;
== Accounts (svc_acct) ==&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:svc_acct:_password_encoding|Password encoding in 1.9]]&lt;br /&gt;
&lt;br /&gt;
== Domains (svc_domain) ==&lt;br /&gt;
&lt;br /&gt;
== Forwards (svc_forward) ==&lt;br /&gt;
&lt;br /&gt;
== Hosting (svc_www) ==&lt;br /&gt;
&lt;br /&gt;
== Broadband (svc_broadband) ==&lt;br /&gt;
&lt;br /&gt;
== Phone (svc_phone) ==&lt;br /&gt;
&lt;br /&gt;
== External (svc_external) ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Packages =&lt;br /&gt;
&lt;br /&gt;
{{Freeside:1.9:Documentation:Administration:pkg_category}}&lt;br /&gt;
&lt;br /&gt;
== Price Plans ==&lt;br /&gt;
&lt;br /&gt;
=== Common price plans ===&lt;br /&gt;
&lt;br /&gt;
* flat&lt;br /&gt;
* subscription&lt;br /&gt;
* prorate&lt;br /&gt;
* sqlradacct_hour&lt;br /&gt;
* voip_cdr&lt;br /&gt;
* prepaid&lt;br /&gt;
&lt;br /&gt;
=== Wholesale price plans ===&lt;br /&gt;
&lt;br /&gt;
* bulk&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:Packages:Price_Plans:agent | agent]]&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:Packages:Price_Plans:cdr_termination |&lt;br /&gt;
 cdr_termination ]]&lt;br /&gt;
&lt;br /&gt;
=== Other price plans ===&lt;br /&gt;
&lt;br /&gt;
* flat_delayed&lt;br /&gt;
* flat_introrate&lt;br /&gt;
* prorate_delayed&lt;br /&gt;
&lt;br /&gt;
* base_delayed&lt;br /&gt;
* base_rate&lt;br /&gt;
&lt;br /&gt;
* sql_external&lt;br /&gt;
* sql_generic&lt;br /&gt;
&lt;br /&gt;
=== Price plans of questionable functionality ===&lt;br /&gt;
&lt;br /&gt;
* flat_comission_cust&lt;br /&gt;
* flat_comission_pkg&lt;br /&gt;
* flat_comission&lt;br /&gt;
&lt;br /&gt;
* voip_sqlradacct&lt;br /&gt;
&lt;br /&gt;
* sesmon_hour&lt;br /&gt;
* sesmon_minute&lt;br /&gt;
&lt;br /&gt;
== Misc ==&lt;br /&gt;
&lt;br /&gt;
* Some notes on [[Freeside:1.9:Documentation:Administration:Upselling | Upselling]]&lt;br /&gt;
&lt;br /&gt;
= Resellers =&lt;br /&gt;
&lt;br /&gt;
= Employees =&lt;br /&gt;
&lt;br /&gt;
== Employees ==&lt;br /&gt;
&lt;br /&gt;
Go to Configuration -&amp;gt; Employees -&amp;gt; Employees to view the existing employees and add new ones.  It is highly recommended to add a separate account for each person rather than using role accounts.&lt;br /&gt;
&lt;br /&gt;
* To add a new employee, click on &amp;quot;Add an employee&amp;quot;&lt;br /&gt;
* Or to edit an existing group, click on the employee number or name in the list of employees.&lt;br /&gt;
* Enter or edit the username, password and name.  If editing an existing employee and no password change is desired, the password fields can be left blank.&lt;br /&gt;
* Check the &amp;quot;Disable employee&amp;quot; box to disable this employee.&lt;br /&gt;
* In the &amp;quot;Employee groups&amp;quot; section, mark or unmark checkboxes to indicate the access groups for this employee.&lt;br /&gt;
&lt;br /&gt;
== Employee groups and access control == &lt;br /&gt;
&lt;br /&gt;
To setup employee access control or agent/reseller virtualization, you need to setup employee groups.  Go to Configuration -&amp;gt; Employees -&amp;gt; Employee groups to view the existing groups and add new ones.  The system starts with a &amp;quot;Superuser&amp;quot; group which has access to all functionality for the first agent.&lt;br /&gt;
&lt;br /&gt;
* To add a new group, click on &amp;quot;Add an employee group&amp;quot;&lt;br /&gt;
* Or to edit an existing group, click on the group number or name in the list of groups.&lt;br /&gt;
* Enter or edit the group name.&lt;br /&gt;
* In the &amp;quot;Group limited to these agent(s)&amp;quot; section, mark checkboxes next to the agents this employee group should be able to see.  Employees in this group will only see customers of the selected agents in the system and reports.&lt;br /&gt;
* In the &amp;quot;Group access rights&amp;quot; section, mark or unmark checkboxes to indicate the access rights this employee group should have.  Rights marked with an &amp;quot;*&amp;quot; are global rights which provide access to global data which is shared among all agents. Their use is not recommended for groups which are limited to a subset of agents.&lt;br /&gt;
* After adding a new group, don't forget to go back and add or edit employees to place them into the new group.&lt;br /&gt;
&lt;br /&gt;
= Billing =&lt;br /&gt;
&lt;br /&gt;
== Billing events ==&lt;br /&gt;
Billing events are the primary mechanism to implement your business rules.  Rules such as resend invoices, retry cards, suspend or cancel accounts for non-payment, etc. are all handled by billing events.&lt;br /&gt;
&lt;br /&gt;
At a high level, follow the following steps to create billing events:&lt;br /&gt;
* Add a new Billing Event (Configuration &amp;gt; Billing &amp;gt; Billing events)&lt;br /&gt;
* Name the event&lt;br /&gt;
* Choose the type of event:&lt;br /&gt;
** Package - Packages and associated dates (Including Commissions)&lt;br /&gt;
** Invoice - Invoice status and dates&lt;br /&gt;
** Customer - Customer Balances and Information&lt;br /&gt;
** Batch Payment - Batch payment results&lt;br /&gt;
** Statement - Send statement &lt;br /&gt;
* Choose whether to apply to one or all agents&lt;br /&gt;
* Choose the frequency for the system to check and see if the event should run.&lt;br /&gt;
* Choose appropriate filters.  &lt;br /&gt;
* Choose appropriate actions.&lt;br /&gt;
&lt;br /&gt;
The form is dynamic so changing the type of event will change the available filters and actions.&lt;br /&gt;
&lt;br /&gt;
== Daily and Monthly Scripts ==&lt;br /&gt;
* The freeside-daily script should be run daily to bill customers and run invoice collection events.&lt;br /&gt;
** Typically, this is accomplished with an entry in the freeside user's crontab such as: &amp;lt;pre&amp;gt;0 0 * * * /usr/local/bin/freeside-daily&amp;lt;/pre&amp;gt;&lt;br /&gt;
** If running freeside-daily manually, ensure the &amp;lt;code&amp;gt;TZ&amp;lt;/code&amp;gt; variable is set to your timezone with a command such as: &amp;lt;pre&amp;gt;TZ=&amp;quot;US/Pacific&amp;quot; freeside-daily fs_daily&amp;lt;/pre&amp;gt;&lt;br /&gt;
* If any monthly events are enabled, the freeside-monthly script should be run monthly.&lt;br /&gt;
* Invoice events can also be used to implement agent-virtualized invoices. (add more info)&lt;br /&gt;
&lt;br /&gt;
== Invoices ==&lt;br /&gt;
&lt;br /&gt;
=== Templates ===&lt;br /&gt;
&lt;br /&gt;
==== Typeset (LaTeX) invoice templates ====&lt;br /&gt;
&lt;br /&gt;
===== Prerequisites =====&lt;br /&gt;
&lt;br /&gt;
* Almost all distributions include the necessary prerequisites listed here, manual installation is practically never necessary.&lt;br /&gt;
* Install [http://www.ghostscript.com/ Ghostscript] (gs)&lt;br /&gt;
* Install [http://www.tug.org/tetex/ teTeX] or [http://www.tug.org/texlive/ TeX Live]&lt;br /&gt;
* Ensure that the &amp;lt;code&amp;gt;pslatex&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;dvips&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;pdflatex&amp;lt;/code&amp;gt; command line utilities were installed&lt;br /&gt;
&lt;br /&gt;
===== Content setup =====&lt;br /&gt;
&lt;br /&gt;
* Edit the invoice_latexreturnaddress, invoice_latexfooter, invoice_latexnotes, and invoice_latexsmallfooter configuration options. If you are adventurous, edit invoice_latex as well.&lt;br /&gt;
&lt;br /&gt;
===== Logo setup =====&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em title=&amp;quot;Encapsulated Postscript&amp;quot;&amp;gt;EPS&amp;lt;/em&amp;gt; logo is for PDF and printed invoices.&lt;br /&gt;
&lt;br /&gt;
* For best results, save a '''vector format''' logo in EPS (Encapsulated PostScript) format.  &lt;br /&gt;
** Your graphic artist can create vector image from a bitmap (tracing etc).&lt;br /&gt;
** Converting a bitmap such as a JPG can work (the bigger the better), but it may render in lower quality, blurry or with the &amp;quot;jaggies&amp;quot; (especially when actually printed, not just viewed as a PDF)&lt;br /&gt;
* Resize the logo to 90pt X 36pt: &amp;lt;code&amp;gt;epsffit -c 0 0 90 36 yourlogo.eps &amp;gt;logo.eps&amp;lt;/code&amp;gt;&lt;br /&gt;
* Upload the resized logo as the &amp;lt;code&amp;gt;logo.eps&amp;lt;/code&amp;gt; configuration option.&lt;br /&gt;
* Problems?  Try &amp;lt;code&amp;gt;bin/strip-eps &amp;lt;oldlogo.eps &amp;gt;trynewlogo.eps&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em title=&amp;quot;Portable Network Graphic&amp;quot;&amp;gt;PNG&amp;lt;/em&amp;gt; logo is for emailed and online invoices.&lt;br /&gt;
&lt;br /&gt;
Freeside ships with a logo of 92 x 62.  Any logo close to this size should work with the default HTML template.&lt;br /&gt;
&lt;br /&gt;
==== HTML invoice templates ====&lt;br /&gt;
&lt;br /&gt;
* Convert your logo to PNG format and upload it as the &amp;lt;code&amp;gt;logo.png&amp;lt;/code&amp;gt; configuration option.&lt;br /&gt;
* Edit the invoice_html configuration option.  HTML invoices use Text::Template with &amp;lt;%= and %&amp;gt; delimiters. &lt;br /&gt;
* The following configuration options can be set to override the default behaviour of using the invoice_latex* data transformed to HTML: invoice_htmlreturnaddress, and invoice_htmlfooter, invoice_htmlnotes.&lt;br /&gt;
&lt;br /&gt;
==== Plaintext invoice templates ====&lt;br /&gt;
&lt;br /&gt;
* See the Text::Template documentation for details on the substitution language.&lt;br /&gt;
* You must call the invoice_lines() function at least once - pass it a number of lines, and it returns a list of array references, each of two elements: a service description column, and a price column. Alternatively, call invoice_lines() with no arguments, and pagination will be disabled - all invoice line items will print on one page, with no padding (recommended for email invoices).&lt;br /&gt;
* Descriptions of variables are available in [[Freeside:1.9:Documentation:Template:invoice_html|invoice_html]]&lt;br /&gt;
&lt;br /&gt;
=== Misc ===&lt;br /&gt;
&lt;br /&gt;
==== Manually setting next invoice number sequence ====&lt;br /&gt;
&lt;br /&gt;
* With PostgreSQL, to number invoices starting at 5000: &amp;lt;pre&amp;gt;SELECT SETVAL(cust_bill_invnum_seq, 4999);&amp;lt;/pre&amp;gt;&lt;br /&gt;
* With MySQL:&lt;br /&gt;
&lt;br /&gt;
== Payment Receipts ==&lt;br /&gt;
&lt;br /&gt;
The [[Freeside:1.9:Documentation:Template:payment_receipt_email|payment_receipt_email]] template is used for manually applied payments.&lt;br /&gt;
&lt;br /&gt;
== Credit cards and Electronic checks ==&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:Real-time_Processing | Real-time credit card and electronic check processing]]&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:Batch_Processing | Batch credit card and electronic check processing]]&lt;br /&gt;
* Credit card expiration alerts: Customize the ''alerter_template'' configuration option and run &amp;lt;code&amp;gt;freeside-expiration-alerter&amp;lt;/code&amp;gt; daily.&lt;br /&gt;
* Credit card decline alerts: Customize the ''declinetemplate'' configuration option and set the ''emaildecline'' configuration option.&lt;br /&gt;
&lt;br /&gt;
= Misc =&lt;br /&gt;
&lt;br /&gt;
* Setting up [[Freeside:1.9:Documentation:Administration:Encrypted Credit Cards | Encrypted Credit Cards]]&lt;br /&gt;
* Setting up [[Freeside:1.9:Documentation:Administration:Texas Tax | Texas Tax]]&lt;br /&gt;
* Setting up [[Freeside:1.9:Documentation:Administration:VoIP | VoIP]]&lt;br /&gt;
&amp;lt;!-- Superseded by Commissions below... * Setting up [[Freeside:1.9:Documentation:Administration:Referral credits|Referral credits]] --&amp;gt;&lt;br /&gt;
* Setting up [[Freeside:1.9:Documentation:Administration:Commission|Commissions and Referrals]]&lt;br /&gt;
* Need to print to Windows printers?  Follow steps 1-4 of  [http://iharder.sourceforge.net/current/macosx/winmacprinter/ Share Your Windows Printer].&lt;br /&gt;
* Setting up [[Freeside:1.9:Documentation:Administration:Slony | Slony replication and failover]]&lt;br /&gt;
* Using a non-standard [[Freeside:1.9:Documentation:Administration:PostgreSQL_Schema | PostgreSQL Schema]]&lt;br /&gt;
&lt;br /&gt;
{{ContextSensitiveHelp}}&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration:pkg_category&amp;diff=5849</id>
		<title>Freeside:1.9:Documentation:Administration:pkg category</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration:pkg_category&amp;diff=5849"/>
				<updated>2010-07-12T03:36:58Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: New page: ==Package Category==  Package categories define groups of package classes.  ;Category name :defines an invoice_section if that f...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Package Category==&lt;br /&gt;
&lt;br /&gt;
Package categories define groups of [[Freeside:1.9:Documentation:Adminsitration:pkg_class|package classes]].&lt;br /&gt;
&lt;br /&gt;
;Category name&lt;br /&gt;
:defines an [[invoice_section]] if that feature is enabled.&lt;br /&gt;
;Weight&lt;br /&gt;
:determines the order in which [[invoice_section]]s appear.&lt;br /&gt;
;Collapse identical items into one&lt;br /&gt;
:causes identical packages to appear folded into a single line item with a quantity when checked rather than the default once line item per package.&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration:VOIP_plan_invoice_layout_variables&amp;diff=5848</id>
		<title>Freeside:1.9:Documentation:Administration:VOIP plan invoice layout variables</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration:VOIP_plan_invoice_layout_variables&amp;diff=5848"/>
				<updated>2010-07-12T02:05:02Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Common VOIP plan options for invoice appearance ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Certain configuration options on telephony plan packages can have significant impact on the appearances of invoices by changing the data calculated and stored at the time of invoice generation. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;CDR invoice display format [output_format]&lt;br /&gt;
:controls the data stored for the usage detail on the invoice. Current choices are&lt;br /&gt;
  default                   - date, time, destination, regionname, duration, price&lt;br /&gt;
  default with source       - source, date, time, destination, regionname, duration, price&lt;br /&gt;
  default with account code - date, time, account code, destination, regionname, duration, price&lt;br /&gt;
  simple                    - date, time, user, destination, duration, price&lt;br /&gt;
  simple with source        - date, time, source, destination, duration, price&lt;br /&gt;
&lt;br /&gt;
;Section in which to place usage charges (whether separated or not) [usage_section]&lt;br /&gt;
:names an [[Freeside:Configuration:invoice_sections|invoice section]] which is to contain the usage portion of the invoiced package.  If the section is to be included in a [[Freeside:1.9:Documentation:Administration:summary_page|summary page]] then you will need to ensure the spelling exactly matches a [[Freeside:1.9:Documentation:Administration:pkg_category|package category]]&lt;br /&gt;
&lt;br /&gt;
;Include usage summary with recurring charges when usage is in separate section [summarize_usage]&lt;br /&gt;
:creates an additional (2nd) line on the invoice showing the total usage associated with the package.  Typically appears below a 'setup' and 'recurring' line (if they exist).&lt;br /&gt;
&lt;br /&gt;
;Always put usage details in separate section [usage_mandate]&lt;br /&gt;
:causes freeside to generate an extra section for the usage details even when freeside is not using [[Freeside:1.9:Documentation:Administration:invoice_section|invoice sections]].&lt;br /&gt;
&lt;br /&gt;
[[Category:Invoice_Layout]]&lt;br /&gt;
[[Category:Price_Plan_Options]]&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration:VOIP_plan_invoice_layout_variables&amp;diff=5847</id>
		<title>Freeside:1.9:Documentation:Administration:VOIP plan invoice layout variables</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration:VOIP_plan_invoice_layout_variables&amp;diff=5847"/>
				<updated>2010-07-12T01:48:55Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Common VOIP plan options for invoice appearance ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Certain configuration options on telephony plan packages can have significant impact on the appearances of invoices by changing the data calculated and stored at the time of invoice generation. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;CDR invoice display format [output_format]&lt;br /&gt;
:controls the data stored for the usage detail on the invoice. Current choices are&lt;br /&gt;
  default                   - date, time, destination, regionname, duration, price&lt;br /&gt;
  default with source       - source, date, time, destination, regionname, duration, price&lt;br /&gt;
  default with account code - date, time, account code, destination, regionname, duration, price&lt;br /&gt;
  simple                    - date, time, user, destination, duration, price&lt;br /&gt;
  simple with source        - date, time, source, destination, duration, price&lt;br /&gt;
&lt;br /&gt;
;Section in which to place usage charges (whether separated or not) [usage_section]&lt;br /&gt;
:names an [[Freeside:Configuration:invoice_sections|invoice section]] which is to contain the usage portion of the invoiced package.  If the section is to be included in a [[Freeside:1.9:Documentation:Administration:summary_page|summary page]] then you will need to ensure the spelling exactly matches a [[Freeside:1.9:Documentation:Administration:package_category|package category]]&lt;br /&gt;
&lt;br /&gt;
;Include usage summary with recurring charges when usage is in separate section [summarize_usage]&lt;br /&gt;
:creates an additional (2nd) line on the invoice showing the total usage associated with the package.  Typically appears below a 'setup' and 'recurring' line (if they exist).&lt;br /&gt;
&lt;br /&gt;
;Always put usage details in separate section [usage_mandate]&lt;br /&gt;
:causes freeside to generate an extra section for the usage details even when freeside is not using [[Freeside:1.9:Documentation:Administration:invoice_section|invoice sections]].&lt;br /&gt;
&lt;br /&gt;
[[Category:Invoice_Layout]]&lt;br /&gt;
[[Category:Price_Plan_Options]]&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:Configuration:voip-cust_email_csv_cdr&amp;diff=5846</id>
		<title>Freeside:Configuration:voip-cust email csv cdr</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:Configuration:voip-cust_email_csv_cdr&amp;diff=5846"/>
				<updated>2010-07-11T21:23:23Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Freeside_Configuration_Settings]]&lt;br /&gt;
[[Category:Invoice_Layout]]&lt;br /&gt;
;voip-cust_email_csv_cdr&lt;br /&gt;
:Enable the per-customer option for including CDR information as a CSV attachment on emailed invoices.&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:Configuration:invoice_email_pdf_note&amp;diff=5845</id>
		<title>Freeside:Configuration:invoice email pdf note</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:Configuration:invoice_email_pdf_note&amp;diff=5845"/>
				<updated>2010-07-11T21:20:07Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: New page: Category:Freeside_Configuration_Settings Category:Invoice_Layout ;invoice_email_pdf_note :If defined, this text will replace the default plain text invoice as the body of emailed P...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Freeside_Configuration_Settings]]&lt;br /&gt;
[[Category:Invoice_Layout]]&lt;br /&gt;
;invoice_email_pdf_note&lt;br /&gt;
:If defined, this text will replace the default plain text invoice as the body of emailed PDF invoices.&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:Configuration:invoice_email_pdf&amp;diff=5844</id>
		<title>Freeside:Configuration:invoice email pdf</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:Configuration:invoice_email_pdf&amp;diff=5844"/>
				<updated>2010-07-11T21:19:03Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: New page: Category:Freeside_Configuration_Settings Category:Invoice_Layout ;invoice_email_pdf :Send PDF invoice as an attachment to emailed invoices.  By default, includes the plain text inv...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Freeside_Configuration_Settings]]&lt;br /&gt;
[[Category:Invoice_Layout]]&lt;br /&gt;
;invoice_email_pdf&lt;br /&gt;
:Send PDF invoice as an attachment to emailed invoices.  By default, includes the plain text invoice as the email body, unless [[Freeside:Configuration:invoice_email_pdf_note|invoice_email_pdf_note]] is set.&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:Configuration:disable_previous_balance&amp;diff=5843</id>
		<title>Freeside:Configuration:disable previous balance</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:Configuration:disable_previous_balance&amp;diff=5843"/>
				<updated>2010-07-11T21:14:56Z</updated>
		
		<summary type="html">&lt;p&gt;Rluser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Freeside_Configuration_Settings]]&lt;br /&gt;
[[Category:Invoice_Layout]]&lt;br /&gt;
;disable_previous_balance&lt;br /&gt;
:Disable inclusion of previous balance, payment, and credit lines on invoices.&lt;/div&gt;</summary>
		<author><name>Rluser</name></author>	</entry>

	</feed>