<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.kolmisoft.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Tester2</id>
	<title>Kolmisoft Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.kolmisoft.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Tester2"/>
	<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php/Special:Contributions/Tester2"/>
	<updated>2026-05-19T21:20:15Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Invoices&amp;diff=19194</id>
		<title>Invoices</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Invoices&amp;diff=19194"/>
		<updated>2015-03-25T13:52:21Z</updated>

		<summary type="html">&lt;p&gt;Tester2: /* Invoices list */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Description =&lt;br /&gt;
&lt;br /&gt;
An invoice, bill or tab is a commercial document issued by a seller to a buyer, relating to a sale transaction and indicating the products, quantities, and agreed prices for products or services the seller had provided the buyer.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
= Configuration =&lt;br /&gt;
 &lt;br /&gt;
You can manage Invoices settings, details, Address information and functionality in the Invoices section of the [[Configuration_from_GUI#Invoices | SETTINGS -&amp;gt; Setup -&amp;gt; Settings]] window.&amp;lt;br&amp;gt;&lt;br /&gt;
If you want show user_billsec instead of billsec in Users invoices and last calls, go to [[Configuration_from_GUI#Visual | Settings –&amp;gt; Various]] and check ''Show user_billsec for Users instead of billsec''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Go to User's edit page to enable or disable types of invoices he can see in his invoices details. And also these selected types will be the ones that are sent to user via email. &lt;br /&gt;
&lt;br /&gt;
[[File:Invoices_types.png]]&lt;br /&gt;
&lt;br /&gt;
=Invoices list=&lt;br /&gt;
&lt;br /&gt;
Invoices can be viewed, generated, recalculated, sent, also &amp;lt;!---...from MOR 9---&amp;gt; list of Invoices can be exported to CSV file (Invoice number is included in the output data) in '''SETTINGS –&amp;gt; Accounting –&amp;gt; Invoices'''. In the main window, you can see list of all Invoices:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:invoices_list_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The icons [[Image:icon_check.png]] and [[Image:icon_cross.png]] show whether this invoice is Paid or Unpaid, Sent or Not Sent. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
'''NOTE''' Each Invoice generated in particular Time Zone and on particular Currency. That means that in each line of Invoice Price and Price with TAX will be shown in currency which is written in Currency column. The Currency column tells which currency Invoice was generated with. Also the exchange rate at the invoice generation moment is saved in the database so it may differ from the up to date exchange rate.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Total Price and Price with TAX are calculated into viewing Currency, which you can choose in upper corner of page. In Total price calculation there are used saved exchange Rate of each Invoice.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Example'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Default system Currency is USD&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Invoice A is generated on price = 100 in currency EUR with exchange rate 0.5&amp;lt;br&amp;gt;&lt;br /&gt;
Invoice B is generated on price = 100 in currency DZD with exchange rate 0.25&amp;lt;br&amp;gt;&lt;br /&gt;
Invoice C is generated on price = 100 in currency ALL with exchange rate 0.75&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
But now exchange rate are different: EUR - 0.75, DZD - 0.5 and ALL - 1.0. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If you want to see Total price(sum of these 3 Invoices) in EUR. For Invoice B and C will be set exchange rate of today, but for Invoice A exchange rate will be from that day when Invoice was generated (0.5).&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Same calculations with other currencies:&amp;lt;br&amp;gt;&lt;br /&gt;
If you want to see Total price in USD. For Invoice A, B and C the exchange rates will be set from the day when invoice was generated (EUR - 0.5, DZD - 0.25 and ALL - 0.75).&amp;lt;br&amp;gt;&lt;br /&gt;
If you want to see Total price in DZD. For Invoice A and C will be set exchange rate of today, but for Invoice B exchange rate will be from the day when Invoice was generated (0.25).&amp;lt;br&amp;gt;&lt;br /&gt;
If you want to see Total price in ALL. For Invoice A and B will be set exchange rate of today, but for Invoice C exchange rate will be from the day when Invoice was generated (0.75).&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Total price will be 733.3333 USD, or 500 EUR, or 266.6667 DZD, or 700 ALL&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Invoice details=&lt;br /&gt;
&lt;br /&gt;
Click on the [[Image:icon_details.png]] icon to get details of the Invoice:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:invoice_details_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Invoice details are shown in Currency which was used to generate Invoice. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
==General Details==&lt;br /&gt;
&lt;br /&gt;
'''Payment date''' - An option which will set the period of payment on current month. By default ''Years'' and ''Month'' is current, it is only possible to change ''Day of Month'' which is indicating the last date of ''Invoice'' issue.&amp;lt;br&amp;gt;&lt;br /&gt;
'''Currecy of Invoice''' - &amp;lt;!---This functionality is available from MOR X6---&amp;gt; Invoices are exported in Invoice currency.&lt;br /&gt;
&lt;br /&gt;
'''Language of Invoice'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Default language in MOR is English. However, you can send invoices in different languages (click on the flag icon on the top of the page).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==User Details==&lt;br /&gt;
&lt;br /&gt;
User Details which will be used in xlsx file of invoice. These Details are taken form [[User Details]] and it can be changed manually, but after recalculate it will be reset to same information as it is in [[User Details]].&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
==Files to send or download==&lt;br /&gt;
&lt;br /&gt;
Here you can view the details of all invoices and click on the [[Image:icon_pdf.png]] or [[Image:icon_csv.png]] icons to generate invoice files in PDF or CSV formats accordingly. First icon [[Image:icon_csv.png]] will download a xlsx file.&lt;br /&gt;
&lt;br /&gt;
*'''Invoice''' xlsx file shows information which are set by you. Check [[Invoices_(MOR_X6)#XLSX_Invoices | XLSX Invoice]]&lt;br /&gt;
*'''Invoice detailed''' PDF shows same information like simple invoice and includes calls list.&lt;br /&gt;
*'''Invoice by CallerID'''  shows calls list grouped by CallerID.&lt;br /&gt;
*'''Invoice Destinations''' shows calls list grouped by Destination. &lt;br /&gt;
&lt;br /&gt;
You can manage what kind of Invoice should be showed for User and/or sent to User as email attachment in [[User_Details#Invoices |User Details]]. Here you can check ''Show zero Calls'' option if you need to calculate 0 price Calls into Invoices.&lt;br /&gt;
=== XLSX Invoices ===&lt;br /&gt;
&lt;br /&gt;
XLSX file to export an Invoice is made from your own XLSX format template and information from Invoices main window.&lt;br /&gt;
Example of template can be downloaded for [http://www.kolmisoft.com/packets/x6_invoice_template.xlsx here].&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Default XLSX template'''&lt;br /&gt;
&lt;br /&gt;
Create a xlsx file. Template you can prepare as you wish, you can fill it with information of company, draw tables with column names, describe information taken from Invoice main window and so on. Template '''have to be uploaded in SETTINGS -&amp;gt; Setup -&amp;gt; Settings''', Invoices - XLSX tab setting  '''XSLX Template'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:invoice_xlsx_settings_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Balance Line settings'''&lt;br /&gt;
&lt;br /&gt;
''Outstanding balance (Debt)'', ''Outstanding balance (Debt) with TAX'', ''Total amount due'' options are present when ''Show balance line'' ('''SETTINGS -&amp;gt; Setup -&amp;gt; Settings''', Invoices - Postpaid - Settings) setting is enabled.&lt;br /&gt;
&lt;br /&gt;
'''Configuration for Dynamic information'''&lt;br /&gt;
&lt;br /&gt;
When you already have a template for example with all data of your company, with drawn tables and so on, you need to define where should be shown the dynamic information of invoice. How and what information is displayed can be set same '''SETTINGS -&amp;gt; Setup -&amp;gt; Settings''', Invoices - XLSX tab. Just need to define cell address in correct format. &lt;br /&gt;
&lt;br /&gt;
For example &amp;quot;A2&amp;quot;, &amp;quot;B15&amp;quot;, &amp;quot;AA9&amp;quot;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:callc.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== PDF invoices ===&lt;br /&gt;
&lt;br /&gt;
The layout of PDF invoices is not customizable. &lt;br /&gt;
&lt;br /&gt;
Logos are not supported in PDF invoices.&lt;br /&gt;
&lt;br /&gt;
You can print your invoices on paper with a pre-printed logo if you want to send paper invoices.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=== CSV invoices ===&lt;br /&gt;
&lt;br /&gt;
Detailed CSV invoice does not include list of all calls. Please use [[How_to_export_CDRs|CDR export]] if you need list of calls in CSV format.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Comment==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR 9---&amp;gt;&lt;br /&gt;
Sometimes it is useful to add a comment to the invoice. It can be used in xlsx file also.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
==Invoice  Details==&lt;br /&gt;
Click on the Invoice Details icon in the Invoice details page &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:Service_details.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
to get Services Details of the Invoice: &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:invoice_services_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Services:'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* '''SMS''' – quantity and price of SMS sent in selected period. Invoice for Reseller counts all SMS that was sent by his users using price for Reseller. Note, that SMS are included to Invoice only when [[SMS Addon]] is used&lt;br /&gt;
* '''DID Owner Cost''' – price for having and using own DID(s)&lt;br /&gt;
* '''Subscriptions''' – price of subscription applied to selected period. Period considered as month is from first till last day of month and from concrete day of month till next month one day before selected last month. Eg. from 2013-02-26 till 2013-03-25&lt;br /&gt;
* '''Calls''' – quantity and price of outgoing calls&lt;br /&gt;
* '''Calls from Users''' – quantity and price of resellers users calls&lt;br /&gt;
* '''Calls to DIDs''' – price for calling to DID(s)&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Invoice generation =&lt;br /&gt;
&lt;br /&gt;
In the main Invoices window, click [[Image:icon_generate_invoices.png]] '''Generate Invoices''' to generate additional invoices:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:generate_invoices_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Select for which users to generate invoices. Prepaid and Postpaid users can have separate details. Also, you can check to generate an invoice for only one particular user. Invoice will be generated if selected User existed at least one day of all Invoice period. When Invoice Generation Task is created, admin can check the progress in [[Background Tasks]]. &lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' For Prepaid User after every executed Manual Payment will be generated Invoice automatically.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR X5---&amp;gt;&lt;br /&gt;
'''NOTE:''' If Currency of User is different than default System Currency. All his Invoices will be generated with [[Currencies| Currency]] Exchange Rate of current day. &amp;lt;br&amp;gt;&lt;br /&gt;
'''NOTE:''' When generating invoice, current user details will be used.  &amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Invoice recalculation =&lt;br /&gt;
&lt;br /&gt;
An invoice cannot be modified after being sent. But if you want to allow recalculations after sending invoices, go to: '''Settings -&amp;gt; Setup -&amp;gt; Settings'''. Then click on the tabs: '''Invoices -&amp;gt; Functionality'''. Select ''Invoice allow recalculate after send'':&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:ivoicesnewnew.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Recalculate a group of Invoices===&lt;br /&gt;
&lt;br /&gt;
To recalculate invoices in the main Invoices window click [[Image:icon_generate_invoices.png]] '''Recalculate invoices''':&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:recalc.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Select which type of Invoices or whose Invoices to recalculate.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Recalculate a single Invoice ===&lt;br /&gt;
&lt;br /&gt;
If an invoice is not marked as paid - it can be recalculated for the same user, same period. To achieve this - press the marked icon:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Recalculate_single_invoice_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
= Send invoices by email (manual) =&lt;br /&gt;
&lt;br /&gt;
Click [[Image:icon_email_send.png]] to open more options to enter the period in which you want to send invoices. Click '''Send''' to send invoices to their Users in this period:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:invoices_send_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
You can use these settings to choose which users should get an email with the invoice. Using these settings you can send emails in parts.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* '''Email sending''' option must be enabled in Email Settings to use this feature&lt;br /&gt;
* Tip: you can '''send invoices in parts''' by using text fields to send invoices for users which '''Username, First name, Last name''' or '''Number''' begins with some letters. For example: you have users with usernames john, albert and alex. You want to send invoices only for users whose usernames begins with '''&amp;quot;a&amp;quot;''' so you just have to enter '''&amp;quot;a&amp;quot;''' in a '''Username text field''' to send invoices only to albert and alex.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
= Generate and send invoices by email (automatically) =&lt;br /&gt;
&lt;br /&gt;
Use [http://wiki.kolmisoft.com/index.php/Cron_actions#Generate_Invoices_and_send_by_Email Cron Actions] to Generate and send Emails automatically.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[Accounting]]&lt;br /&gt;
* [[Invoice configuration]]&lt;br /&gt;
* [[Pay Invoice with balance deduction]]&lt;br /&gt;
* [[Outstanding balance(Debt)]]&lt;br /&gt;
* [[Invoice by CallerID]]&lt;br /&gt;
* [[MOR API invoices_get]]&lt;br /&gt;
* [[Cannot generate Invoice]]&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Invoices&amp;diff=19190</id>
		<title>Invoices</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Invoices&amp;diff=19190"/>
		<updated>2015-03-25T13:48:01Z</updated>

		<summary type="html">&lt;p&gt;Tester2: /* Invoices list */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Description =&lt;br /&gt;
&lt;br /&gt;
An invoice, bill or tab is a commercial document issued by a seller to a buyer, relating to a sale transaction and indicating the products, quantities, and agreed prices for products or services the seller had provided the buyer.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
= Configuration =&lt;br /&gt;
 &lt;br /&gt;
You can manage Invoices settings, details, Address information and functionality in the Invoices section of the [[Configuration_from_GUI#Invoices | SETTINGS -&amp;gt; Setup -&amp;gt; Settings]] window.&amp;lt;br&amp;gt;&lt;br /&gt;
If you want show user_billsec instead of billsec in Users invoices and last calls, go to [[Configuration_from_GUI#Visual | Settings –&amp;gt; Various]] and check ''Show user_billsec for Users instead of billsec''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Go to User's edit page to enable or disable types of invoices he can see in his invoices details. And also these selected types will be the ones that are sent to user via email. &lt;br /&gt;
&lt;br /&gt;
[[File:Invoices_types.png]]&lt;br /&gt;
&lt;br /&gt;
=Invoices list=&lt;br /&gt;
&lt;br /&gt;
Invoices can be viewed, generated, recalculated, sent, also &amp;lt;!---...from MOR 9---&amp;gt; list of Invoices can be exported to CSV file (Invoice number is included in the output data) in '''SETTINGS –&amp;gt; Accounting –&amp;gt; Invoices'''. In the main window, you can see list of all Invoices:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:invoices_list_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The icons [[Image:icon_check.png]] and [[Image:icon_cross.png]] show whether this invoice is Paid or Unpaid, Sent or Not Sent. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
'''NOTE''' Each Invoice generated in particular Time Zone and on particular Currency. That means that in each line of Invoice Price and Price with TAX will be shown in currency which is written in Currency column. The Currency column tells which currency Invoice was generated with. Also the exchange rate at the invoice generation moment is saved in the database so it may differ from the up to date exchange rate.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Total Price and Price with TAX are calculated into viewing Currency, which you can choose in upper corner of page. In Total price calculation there are used saved exchange Rate of each Invoice.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Example'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Default system Currency is USD&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Invoice A is generated on price = 100 in currency EUR with exchange rate 0.5&amp;lt;br&amp;gt;&lt;br /&gt;
Invoice B is generated on price = 100 in currency DZD with exchange rate 0.25&amp;lt;br&amp;gt;&lt;br /&gt;
Invoice C is generated on price = 100 in currency ALL with exchange rate 0.75&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
But now exchange rate are different: EUR - 0.75, DZD - 0.5 and ALL - 1.0. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If you want to see Total price(sum of these 3 Invoices) in EUR. For Invoice B and C will be set exchange rate of today, but for Invoice A exchange rate will be from that day when Invoice was generated (0.5).&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Same calculations with other currencies:&amp;lt;br&amp;gt;&lt;br /&gt;
If you want to see Total price in USD. For Invoice A, B and C the exchange rate will be set from the day when invoice was generated (0.25).&amp;lt;br&amp;gt;&lt;br /&gt;
If you want to see Total price in DZD. For Invoice A and C will be set exchange rate of today, but for Invoice B exchange rate will be from the day when Invoice was generated (0.25).&amp;lt;br&amp;gt;&lt;br /&gt;
If you want to see Total price in ALL. For Invoice A and B will be set exchange rate of today, but for Invoice C exchange rate will be from the day when Invoice was generated (0.75).&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Total price will be 733.3333 USD, or 500 EUR, or 266.6667 DZD, or 700 ALL&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Invoice details=&lt;br /&gt;
&lt;br /&gt;
Click on the [[Image:icon_details.png]] icon to get details of the Invoice:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:invoice_details_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Invoice details are shown in Currency which was used to generate Invoice. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
==General Details==&lt;br /&gt;
&lt;br /&gt;
'''Payment date''' - An option which will set the period of payment on current month. By default ''Years'' and ''Month'' is current, it is only possible to change ''Day of Month'' which is indicating the last date of ''Invoice'' issue.&amp;lt;br&amp;gt;&lt;br /&gt;
'''Currecy of Invoice''' - &amp;lt;!---This functionality is available from MOR X6---&amp;gt; Invoices are exported in Invoice currency.&lt;br /&gt;
&lt;br /&gt;
'''Language of Invoice'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Default language in MOR is English. However, you can send invoices in different languages (click on the flag icon on the top of the page).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==User Details==&lt;br /&gt;
&lt;br /&gt;
User Details which will be used in xlsx file of invoice. These Details are taken form [[User Details]] and it can be changed manually, but after recalculate it will be reset to same information as it is in [[User Details]].&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
==Files to send or download==&lt;br /&gt;
&lt;br /&gt;
Here you can view the details of all invoices and click on the [[Image:icon_pdf.png]] or [[Image:icon_csv.png]] icons to generate invoice files in PDF or CSV formats accordingly. First icon [[Image:icon_csv.png]] will download a xlsx file.&lt;br /&gt;
&lt;br /&gt;
*'''Invoice''' xlsx file shows information which are set by you. Check [[Invoices_(MOR_X6)#XLSX_Invoices | XLSX Invoice]]&lt;br /&gt;
*'''Invoice detailed''' PDF shows same information like simple invoice and includes calls list.&lt;br /&gt;
*'''Invoice by CallerID'''  shows calls list grouped by CallerID.&lt;br /&gt;
*'''Invoice Destinations''' shows calls list grouped by Destination. &lt;br /&gt;
&lt;br /&gt;
You can manage what kind of Invoice should be showed for User and/or sent to User as email attachment in [[User_Details#Invoices |User Details]]. Here you can check ''Show zero Calls'' option if you need to calculate 0 price Calls into Invoices.&lt;br /&gt;
=== XLSX Invoices ===&lt;br /&gt;
&lt;br /&gt;
XLSX file to export an Invoice is made from your own XLSX format template and information from Invoices main window.&lt;br /&gt;
Example of template can be downloaded for [http://www.kolmisoft.com/packets/x6_invoice_template.xlsx here].&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Default XLSX template'''&lt;br /&gt;
&lt;br /&gt;
Create a xlsx file. Template you can prepare as you wish, you can fill it with information of company, draw tables with column names, describe information taken from Invoice main window and so on. Template '''have to be uploaded in SETTINGS -&amp;gt; Setup -&amp;gt; Settings''', Invoices - XLSX tab setting  '''XSLX Template'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:invoice_xlsx_settings_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Balance Line settings'''&lt;br /&gt;
&lt;br /&gt;
''Outstanding balance (Debt)'', ''Outstanding balance (Debt) with TAX'', ''Total amount due'' options are present when ''Show balance line'' ('''SETTINGS -&amp;gt; Setup -&amp;gt; Settings''', Invoices - Postpaid - Settings) setting is enabled.&lt;br /&gt;
&lt;br /&gt;
'''Configuration for Dynamic information'''&lt;br /&gt;
&lt;br /&gt;
When you already have a template for example with all data of your company, with drawn tables and so on, you need to define where should be shown the dynamic information of invoice. How and what information is displayed can be set same '''SETTINGS -&amp;gt; Setup -&amp;gt; Settings''', Invoices - XLSX tab. Just need to define cell address in correct format. &lt;br /&gt;
&lt;br /&gt;
For example &amp;quot;A2&amp;quot;, &amp;quot;B15&amp;quot;, &amp;quot;AA9&amp;quot;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:callc.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== PDF invoices ===&lt;br /&gt;
&lt;br /&gt;
The layout of PDF invoices is not customizable. &lt;br /&gt;
&lt;br /&gt;
Logos are not supported in PDF invoices.&lt;br /&gt;
&lt;br /&gt;
You can print your invoices on paper with a pre-printed logo if you want to send paper invoices.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=== CSV invoices ===&lt;br /&gt;
&lt;br /&gt;
Detailed CSV invoice does not include list of all calls. Please use [[How_to_export_CDRs|CDR export]] if you need list of calls in CSV format.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Comment==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR 9---&amp;gt;&lt;br /&gt;
Sometimes it is useful to add a comment to the invoice. It can be used in xlsx file also.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
==Invoice  Details==&lt;br /&gt;
Click on the Invoice Details icon in the Invoice details page &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:Service_details.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
to get Services Details of the Invoice: &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:invoice_services_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Services:'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* '''SMS''' – quantity and price of SMS sent in selected period. Invoice for Reseller counts all SMS that was sent by his users using price for Reseller. Note, that SMS are included to Invoice only when [[SMS Addon]] is used&lt;br /&gt;
* '''DID Owner Cost''' – price for having and using own DID(s)&lt;br /&gt;
* '''Subscriptions''' – price of subscription applied to selected period. Period considered as month is from first till last day of month and from concrete day of month till next month one day before selected last month. Eg. from 2013-02-26 till 2013-03-25&lt;br /&gt;
* '''Calls''' – quantity and price of outgoing calls&lt;br /&gt;
* '''Calls from Users''' – quantity and price of resellers users calls&lt;br /&gt;
* '''Calls to DIDs''' – price for calling to DID(s)&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Invoice generation =&lt;br /&gt;
&lt;br /&gt;
In the main Invoices window, click [[Image:icon_generate_invoices.png]] '''Generate Invoices''' to generate additional invoices:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:generate_invoices_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Select for which users to generate invoices. Prepaid and Postpaid users can have separate details. Also, you can check to generate an invoice for only one particular user. Invoice will be generated if selected User existed at least one day of all Invoice period. When Invoice Generation Task is created, admin can check the progress in [[Background Tasks]]. &lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' For Prepaid User after every executed Manual Payment will be generated Invoice automatically.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR X5---&amp;gt;&lt;br /&gt;
'''NOTE:''' If Currency of User is different than default System Currency. All his Invoices will be generated with [[Currencies| Currency]] Exchange Rate of current day. &amp;lt;br&amp;gt;&lt;br /&gt;
'''NOTE:''' When generating invoice, current user details will be used.  &amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Invoice recalculation =&lt;br /&gt;
&lt;br /&gt;
An invoice cannot be modified after being sent. But if you want to allow recalculations after sending invoices, go to: '''Settings -&amp;gt; Setup -&amp;gt; Settings'''. Then click on the tabs: '''Invoices -&amp;gt; Functionality'''. Select ''Invoice allow recalculate after send'':&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:ivoicesnewnew.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Recalculate a group of Invoices===&lt;br /&gt;
&lt;br /&gt;
To recalculate invoices in the main Invoices window click [[Image:icon_generate_invoices.png]] '''Recalculate invoices''':&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:recalc.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Select which type of Invoices or whose Invoices to recalculate.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Recalculate a single Invoice ===&lt;br /&gt;
&lt;br /&gt;
If an invoice is not marked as paid - it can be recalculated for the same user, same period. To achieve this - press the marked icon:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Recalculate_single_invoice_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
= Send invoices by email (manual) =&lt;br /&gt;
&lt;br /&gt;
Click [[Image:icon_email_send.png]] to open more options to enter the period in which you want to send invoices. Click '''Send''' to send invoices to their Users in this period:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:invoices_send_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
You can use these settings to choose which users should get an email with the invoice. Using these settings you can send emails in parts.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* '''Email sending''' option must be enabled in Email Settings to use this feature&lt;br /&gt;
* Tip: you can '''send invoices in parts''' by using text fields to send invoices for users which '''Username, First name, Last name''' or '''Number''' begins with some letters. For example: you have users with usernames john, albert and alex. You want to send invoices only for users whose usernames begins with '''&amp;quot;a&amp;quot;''' so you just have to enter '''&amp;quot;a&amp;quot;''' in a '''Username text field''' to send invoices only to albert and alex.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
= Generate and send invoices by email (automatically) =&lt;br /&gt;
&lt;br /&gt;
Use [http://wiki.kolmisoft.com/index.php/Cron_actions#Generate_Invoices_and_send_by_Email Cron Actions] to Generate and send Emails automatically.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[Accounting]]&lt;br /&gt;
* [[Invoice configuration]]&lt;br /&gt;
* [[Pay Invoice with balance deduction]]&lt;br /&gt;
* [[Outstanding balance(Debt)]]&lt;br /&gt;
* [[Invoice by CallerID]]&lt;br /&gt;
* [[MOR API invoices_get]]&lt;br /&gt;
* [[Cannot generate Invoice]]&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Invoices&amp;diff=19188</id>
		<title>Invoices</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Invoices&amp;diff=19188"/>
		<updated>2015-03-25T13:47:24Z</updated>

		<summary type="html">&lt;p&gt;Tester2: /* Invoices list */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Description =&lt;br /&gt;
&lt;br /&gt;
An invoice, bill or tab is a commercial document issued by a seller to a buyer, relating to a sale transaction and indicating the products, quantities, and agreed prices for products or services the seller had provided the buyer.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
= Configuration =&lt;br /&gt;
 &lt;br /&gt;
You can manage Invoices settings, details, Address information and functionality in the Invoices section of the [[Configuration_from_GUI#Invoices | SETTINGS -&amp;gt; Setup -&amp;gt; Settings]] window.&amp;lt;br&amp;gt;&lt;br /&gt;
If you want show user_billsec instead of billsec in Users invoices and last calls, go to [[Configuration_from_GUI#Visual | Settings –&amp;gt; Various]] and check ''Show user_billsec for Users instead of billsec''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Go to User's edit page to enable or disable types of invoices he can see in his invoices details. And also these selected types will be the ones that are sent to user via email. &lt;br /&gt;
&lt;br /&gt;
[[File:Invoices_types.png]]&lt;br /&gt;
&lt;br /&gt;
=Invoices list=&lt;br /&gt;
&lt;br /&gt;
Invoices can be viewed, generated, recalculated, sent, also &amp;lt;!---...from MOR 9---&amp;gt; list of Invoices can be exported to CSV file (Invoice number is included in the output data) in '''SETTINGS –&amp;gt; Accounting –&amp;gt; Invoices'''. In the main window, you can see list of all Invoices:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:invoices_list_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The icons [[Image:icon_check.png]] and [[Image:icon_cross.png]] show whether this invoice is Paid or Unpaid, Sent or Not Sent. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
'''NOTE''' Each Invoice generated in particular Time Zone and on particular Currency. That means that in each line of Invoice Price and Price with TAX will be shown in currency which is written in Currency column. The Currency column tells which currency Invoice was generated with. Also the exchange rate at the invoice generation moment is saved in the database so it may differ from the up to date exchange rate.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Total Price and Price with TAX are calculated into viewing Currency, which you can choose in upper corner of page. In Total price calculation there are used saved exchange Rate of each Invoice.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Example'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Default system Currency is USD&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Invoice A is generated on price = 100 in currency EUR with exchange rate 0.5&amp;lt;br&amp;gt;&lt;br /&gt;
Invoice B is generated on price = 100 in currency DZD with exchange rate 0.25&amp;lt;br&amp;gt;&lt;br /&gt;
Invoice C is generated on price = 100 in currency ALL with exchange rate 0.75&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
But now exchange rate are different: EUR - 0.75, DZD - 0.5 and ALL - 1.0. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If you want to see Total price(sum of these 3 Invoices) in EUR. For Invoice B and C will be set exchange rate of today, but for Invoice A exchange rate will be from that day when Invoice was generated (0.5).&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Same calculations with other currencies:&amp;lt;br&amp;gt;&lt;br /&gt;
If you want to see Total price in USD. For Invoice A, B and C exchange rate will be set from the day when invoice was generated (0.25).&amp;lt;br&amp;gt;&lt;br /&gt;
If you want to see Total price in DZD. For Invoice A and C will be set exchange rate of today, but for Invoice B exchange rate will be from the day when Invoice was generated (0.25).&amp;lt;br&amp;gt;&lt;br /&gt;
If you want to see Total price in ALL. For Invoice A and B will be set exchange rate of today, but for Invoice C exchange rate will be from the day when Invoice was generated (0.75).&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Total price will be 733.3333 USD, or 500 EUR, or 266.6667 DZD, or 700 ALL&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Invoice details=&lt;br /&gt;
&lt;br /&gt;
Click on the [[Image:icon_details.png]] icon to get details of the Invoice:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:invoice_details_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Invoice details are shown in Currency which was used to generate Invoice. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
==General Details==&lt;br /&gt;
&lt;br /&gt;
'''Payment date''' - An option which will set the period of payment on current month. By default ''Years'' and ''Month'' is current, it is only possible to change ''Day of Month'' which is indicating the last date of ''Invoice'' issue.&amp;lt;br&amp;gt;&lt;br /&gt;
'''Currecy of Invoice''' - &amp;lt;!---This functionality is available from MOR X6---&amp;gt; Invoices are exported in Invoice currency.&lt;br /&gt;
&lt;br /&gt;
'''Language of Invoice'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Default language in MOR is English. However, you can send invoices in different languages (click on the flag icon on the top of the page).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==User Details==&lt;br /&gt;
&lt;br /&gt;
User Details which will be used in xlsx file of invoice. These Details are taken form [[User Details]] and it can be changed manually, but after recalculate it will be reset to same information as it is in [[User Details]].&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
==Files to send or download==&lt;br /&gt;
&lt;br /&gt;
Here you can view the details of all invoices and click on the [[Image:icon_pdf.png]] or [[Image:icon_csv.png]] icons to generate invoice files in PDF or CSV formats accordingly. First icon [[Image:icon_csv.png]] will download a xlsx file.&lt;br /&gt;
&lt;br /&gt;
*'''Invoice''' xlsx file shows information which are set by you. Check [[Invoices_(MOR_X6)#XLSX_Invoices | XLSX Invoice]]&lt;br /&gt;
*'''Invoice detailed''' PDF shows same information like simple invoice and includes calls list.&lt;br /&gt;
*'''Invoice by CallerID'''  shows calls list grouped by CallerID.&lt;br /&gt;
*'''Invoice Destinations''' shows calls list grouped by Destination. &lt;br /&gt;
&lt;br /&gt;
You can manage what kind of Invoice should be showed for User and/or sent to User as email attachment in [[User_Details#Invoices |User Details]]. Here you can check ''Show zero Calls'' option if you need to calculate 0 price Calls into Invoices.&lt;br /&gt;
=== XLSX Invoices ===&lt;br /&gt;
&lt;br /&gt;
XLSX file to export an Invoice is made from your own XLSX format template and information from Invoices main window.&lt;br /&gt;
Example of template can be downloaded for [http://www.kolmisoft.com/packets/x6_invoice_template.xlsx here].&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Default XLSX template'''&lt;br /&gt;
&lt;br /&gt;
Create a xlsx file. Template you can prepare as you wish, you can fill it with information of company, draw tables with column names, describe information taken from Invoice main window and so on. Template '''have to be uploaded in SETTINGS -&amp;gt; Setup -&amp;gt; Settings''', Invoices - XLSX tab setting  '''XSLX Template'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:invoice_xlsx_settings_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Balance Line settings'''&lt;br /&gt;
&lt;br /&gt;
''Outstanding balance (Debt)'', ''Outstanding balance (Debt) with TAX'', ''Total amount due'' options are present when ''Show balance line'' ('''SETTINGS -&amp;gt; Setup -&amp;gt; Settings''', Invoices - Postpaid - Settings) setting is enabled.&lt;br /&gt;
&lt;br /&gt;
'''Configuration for Dynamic information'''&lt;br /&gt;
&lt;br /&gt;
When you already have a template for example with all data of your company, with drawn tables and so on, you need to define where should be shown the dynamic information of invoice. How and what information is displayed can be set same '''SETTINGS -&amp;gt; Setup -&amp;gt; Settings''', Invoices - XLSX tab. Just need to define cell address in correct format. &lt;br /&gt;
&lt;br /&gt;
For example &amp;quot;A2&amp;quot;, &amp;quot;B15&amp;quot;, &amp;quot;AA9&amp;quot;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:callc.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== PDF invoices ===&lt;br /&gt;
&lt;br /&gt;
The layout of PDF invoices is not customizable. &lt;br /&gt;
&lt;br /&gt;
Logos are not supported in PDF invoices.&lt;br /&gt;
&lt;br /&gt;
You can print your invoices on paper with a pre-printed logo if you want to send paper invoices.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=== CSV invoices ===&lt;br /&gt;
&lt;br /&gt;
Detailed CSV invoice does not include list of all calls. Please use [[How_to_export_CDRs|CDR export]] if you need list of calls in CSV format.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Comment==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR 9---&amp;gt;&lt;br /&gt;
Sometimes it is useful to add a comment to the invoice. It can be used in xlsx file also.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
==Invoice  Details==&lt;br /&gt;
Click on the Invoice Details icon in the Invoice details page &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:Service_details.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
to get Services Details of the Invoice: &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:invoice_services_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Services:'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* '''SMS''' – quantity and price of SMS sent in selected period. Invoice for Reseller counts all SMS that was sent by his users using price for Reseller. Note, that SMS are included to Invoice only when [[SMS Addon]] is used&lt;br /&gt;
* '''DID Owner Cost''' – price for having and using own DID(s)&lt;br /&gt;
* '''Subscriptions''' – price of subscription applied to selected period. Period considered as month is from first till last day of month and from concrete day of month till next month one day before selected last month. Eg. from 2013-02-26 till 2013-03-25&lt;br /&gt;
* '''Calls''' – quantity and price of outgoing calls&lt;br /&gt;
* '''Calls from Users''' – quantity and price of resellers users calls&lt;br /&gt;
* '''Calls to DIDs''' – price for calling to DID(s)&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Invoice generation =&lt;br /&gt;
&lt;br /&gt;
In the main Invoices window, click [[Image:icon_generate_invoices.png]] '''Generate Invoices''' to generate additional invoices:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:generate_invoices_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Select for which users to generate invoices. Prepaid and Postpaid users can have separate details. Also, you can check to generate an invoice for only one particular user. Invoice will be generated if selected User existed at least one day of all Invoice period. When Invoice Generation Task is created, admin can check the progress in [[Background Tasks]]. &lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' For Prepaid User after every executed Manual Payment will be generated Invoice automatically.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR X5---&amp;gt;&lt;br /&gt;
'''NOTE:''' If Currency of User is different than default System Currency. All his Invoices will be generated with [[Currencies| Currency]] Exchange Rate of current day. &amp;lt;br&amp;gt;&lt;br /&gt;
'''NOTE:''' When generating invoice, current user details will be used.  &amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Invoice recalculation =&lt;br /&gt;
&lt;br /&gt;
An invoice cannot be modified after being sent. But if you want to allow recalculations after sending invoices, go to: '''Settings -&amp;gt; Setup -&amp;gt; Settings'''. Then click on the tabs: '''Invoices -&amp;gt; Functionality'''. Select ''Invoice allow recalculate after send'':&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:ivoicesnewnew.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Recalculate a group of Invoices===&lt;br /&gt;
&lt;br /&gt;
To recalculate invoices in the main Invoices window click [[Image:icon_generate_invoices.png]] '''Recalculate invoices''':&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:recalc.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Select which type of Invoices or whose Invoices to recalculate.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Recalculate a single Invoice ===&lt;br /&gt;
&lt;br /&gt;
If an invoice is not marked as paid - it can be recalculated for the same user, same period. To achieve this - press the marked icon:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Recalculate_single_invoice_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
= Send invoices by email (manual) =&lt;br /&gt;
&lt;br /&gt;
Click [[Image:icon_email_send.png]] to open more options to enter the period in which you want to send invoices. Click '''Send''' to send invoices to their Users in this period:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:invoices_send_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
You can use these settings to choose which users should get an email with the invoice. Using these settings you can send emails in parts.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* '''Email sending''' option must be enabled in Email Settings to use this feature&lt;br /&gt;
* Tip: you can '''send invoices in parts''' by using text fields to send invoices for users which '''Username, First name, Last name''' or '''Number''' begins with some letters. For example: you have users with usernames john, albert and alex. You want to send invoices only for users whose usernames begins with '''&amp;quot;a&amp;quot;''' so you just have to enter '''&amp;quot;a&amp;quot;''' in a '''Username text field''' to send invoices only to albert and alex.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
= Generate and send invoices by email (automatically) =&lt;br /&gt;
&lt;br /&gt;
Use [http://wiki.kolmisoft.com/index.php/Cron_actions#Generate_Invoices_and_send_by_Email Cron Actions] to Generate and send Emails automatically.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[Accounting]]&lt;br /&gt;
* [[Invoice configuration]]&lt;br /&gt;
* [[Pay Invoice with balance deduction]]&lt;br /&gt;
* [[Outstanding balance(Debt)]]&lt;br /&gt;
* [[Invoice by CallerID]]&lt;br /&gt;
* [[MOR API invoices_get]]&lt;br /&gt;
* [[Cannot generate Invoice]]&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Tariffs&amp;diff=19124</id>
		<title>Tariffs</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Tariffs&amp;diff=19124"/>
		<updated>2015-03-17T15:01:09Z</updated>

		<summary type="html">&lt;p&gt;Tester2: /* Usage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Description=&lt;br /&gt;
&lt;br /&gt;
Tariffs are sets of rates (prices) to different destinations. There are three types of tariffs: providers wholesale (inbound), users wholesale (outbound) and users retail (outbound).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Tariff types===&lt;br /&gt;
&lt;br /&gt;
There are two types of tariffs – '''Wholesale''' and '''Retail'''. Note that Tariffs for [[Providers]] type are also Wholesale. The difference between '''wholesale''' and '''retail''' tariffs is in the way rates are set for destinations.&lt;br /&gt;
&lt;br /&gt;
In wholesale tariffs, rates can be set to every destination possible. In retail tariffs, destinations are grouped, which makes it possible to have lower rates. Wholesale and retail tariffs are used in different situations, and each type has its  advantages and disadvantages.&lt;br /&gt;
&lt;br /&gt;
The advantage for wholesale providers is the possibility of entering different rates for different destinations. It is useful to set this tariff when you resell services to other providers.&lt;br /&gt;
&lt;br /&gt;
If your clients are retail end-users, it is better to use the retail tariff. They are easier to manage and understand for the final user.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
Go to '''SETTINGS –&amp;gt; Billing –&amp;gt; Tariffs'''.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:tariffs_path.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
You will see full list of all types of tariff:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:tariffs.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
* Click on [[Image:icon_add.png]]'''New tariff''' to create new tariff. &amp;lt;br&amp;gt;&lt;br /&gt;
* [[Image:excel.png]]'''Destinations CSV''' exports all destinations list. &amp;lt;br&amp;gt;&lt;br /&gt;
* Click on [[image:icon_edit.png]]'''Change Tariff for Users''' to [[Bulk change Tariffs for Users]].&lt;br /&gt;
* Search applied for searching tariffs where chosen prefix has rate.&lt;br /&gt;
* You can see two numbers in Rates count, for example 251/251. First number shows active rates number, the second number shows total rates number. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Wholesale tariff===&lt;br /&gt;
&lt;br /&gt;
As you can see in picture above there are ability to manage [[Image:coins.png]] '''[[Entering Rates for Wholesale Tariff | Rates ()]]''' manually,  [[Image:excel.png]][[Rate import from CSV|Import from CSV]], delete all rates form tariff. Also you can [[Make Retail Tariff from Wholesale Tariff explained | Make user retail tariff]] from wholesale tariff or make new wholesale tariff from old one. When Tariff has [[Rate Effective From | Effective From]] Rates then Active Rates will be taken. Check your tariff rates by exporting CSV files. Click on [[Image:Details-icon.png]] icon to see list of places, where this tariff is assigned.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Effective from for Provider tariff'''&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;!--veikia su x5_functionality_12--&amp;gt;&lt;br /&gt;
Provider's tariff list has column named [[Rate Effective From | Effective from]] which shows the date when the rate specified becomes active. This date cannot be changed or created in GUI, it can be added to GUI through [[Rate import from CSV |Tariff import]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Retail tariff===&lt;br /&gt;
&lt;br /&gt;
As you can see in picture above there is an ability to manage [[Image:coins.png]] '''[[Entering Rates for Retail Tariff | Rates]]''' manually and to delete all rates from tariff. Check your tariff rates by exporting CSV files. Click on [[Image:Details-icon.png]] icon to see list of places, where this tariff is assigned.&lt;br /&gt;
&lt;br /&gt;
=From Accountant=&lt;br /&gt;
&lt;br /&gt;
Accountant must have [[Accountant permissions]] to manage Admins Tariffs.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=From Reseller/Reseller PRO=&lt;br /&gt;
&lt;br /&gt;
Resellers have their own tariffs list and they are able to manage them independent from Admin.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[Entering Rates for Wholesale Tariff]]&lt;br /&gt;
* [[Entering Rates for Retail Tariff]]&lt;br /&gt;
* [[Advanced Rates]]&lt;br /&gt;
* [[Rate import from CSV]]&lt;br /&gt;
* [[Importing Tariffs from CSV with wrong Regional Settings]]&lt;br /&gt;
* [[Make Retail Tariff from Wholesale Tariff explained]]&lt;br /&gt;
* [[Bulk change Tariffs for Users]]&lt;br /&gt;
* [[Day setup]]&lt;br /&gt;
* [[LCR/Tariff change based on call prefix]]&lt;br /&gt;
* [[Change Tariff for Connection Points]]&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Invoices&amp;diff=18980</id>
		<title>Invoices</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Invoices&amp;diff=18980"/>
		<updated>2015-02-24T18:32:36Z</updated>

		<summary type="html">&lt;p&gt;Tester2: /* Invoice generation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Description =&lt;br /&gt;
&lt;br /&gt;
An invoice, bill or tab is a commercial document issued by a seller to a buyer, relating to a sale transaction and indicating the products, quantities, and agreed prices for products or services the seller had provided the buyer.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
= Configuration =&lt;br /&gt;
 &lt;br /&gt;
You can manage Invoices settings, details, Address information and functionality in the Invoices section of the [[Configuration_from_GUI#Invoices | SETTINGS -&amp;gt; Setup -&amp;gt; Settings]] window.&amp;lt;br&amp;gt;&lt;br /&gt;
If you want show user_billsec instead of billsec in Users invoices and last calls, go to [[Configuration_from_GUI#Visual | Settings –&amp;gt; Various]] and check ''Show user_billsec for Users instead of billsec''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Go to User's edit page to enable or disable types of invoices he can see in his invoices details. And also these selected types will be the ones that are sent to user via email. &lt;br /&gt;
&lt;br /&gt;
[[File:Invoices_types.png]]&lt;br /&gt;
&lt;br /&gt;
=Invoices list=&lt;br /&gt;
&lt;br /&gt;
Invoices can be viewed, generated, recalculated, sent, also &amp;lt;!---...from MOR 9---&amp;gt; list of Invoices can be exported to CSV file (Invoice number is included in the output data) in '''SETTINGS –&amp;gt; Accounting –&amp;gt; Invoices'''. In the main window, you can see list of all Invoices:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:invoices_list_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The icons [[Image:icon_check.png]] and [[Image:icon_cross.png]] show whether this invoice is Paid or Unpaid, Sent or Not Sent. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
'''NOTE''' Each Invoice generated in particular Time Zone and on particular Currency. In different currency you are able to check just total value of all selected Invoices.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Invoice details=&lt;br /&gt;
&lt;br /&gt;
Click on the [[Image:icon_details.png]] icon to get details of the Invoice:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:invoice_details_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
==General Details==&lt;br /&gt;
&lt;br /&gt;
'''Payment date''' - An option which will set the period of payment on current month. By default ''Years'' and ''Month'' is current, it is only possible to change ''Day of Month'' which is indicating the last date of ''Invoice'' issue.&amp;lt;br&amp;gt;&lt;br /&gt;
'''Currecy of Invoice''' - &amp;lt;!---This functionality is available from MOR X6---&amp;gt; Invoices are exported in Invoice currency.&lt;br /&gt;
&lt;br /&gt;
'''Language of Invoice'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Default language in MOR is English. However, you can send invoices in different languages (click on the flag icon on the top of the page).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==User Details==&lt;br /&gt;
&lt;br /&gt;
User Details which will be used in xlsx file of invoice. These Details are taken form [[User Details]] and it can be changed manually, but after recalculate it will be reset to same information as it is in [[User Details]].&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
==Files to send or download==&lt;br /&gt;
&lt;br /&gt;
Here you can view the details of all invoices and click on the [[Image:icon_pdf.png]] or [[Image:icon_csv.png]] icons to generate invoice files in PDF or CSV formats accordingly. First icon [[Image:icon_csv.png]] will download a xlsx file.&lt;br /&gt;
&lt;br /&gt;
*'''Invoice''' xlsx file shows information which are set by you. Check [[Invoices_(MOR_X6)#XLSX_Invoices | XLSX Invoice]]&lt;br /&gt;
*'''Invoice detailed''' PDF shows same information like simple invoice and includes calls list.&lt;br /&gt;
*'''Invoice by CallerID'''  shows calls list grouped by CallerID.&lt;br /&gt;
*'''Invoice Destinations''' shows calls list grouped by Destination. &lt;br /&gt;
&lt;br /&gt;
You can manage what kind of Invoice should be showed for User and/or sent to User as email attachment in [[User_Details#Invoices |User Details]]. Here you can check ''Show zero Calls'' option if you need to calculate 0 price Calls into Invoices.&lt;br /&gt;
=== XLSX Invoices ===&lt;br /&gt;
&lt;br /&gt;
XLSX file to export an Invoice is made from your own XLSX format template and information from Invoices main window. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Default XLSX template'''&lt;br /&gt;
&lt;br /&gt;
Create a xlsx file. Template you can prepare as you wish, you can fill it with information of company, draw tables with column names, describe information taken from Invoice main window and so on. Template '''have to be uploaded in SETTINGS -&amp;gt; Setup -&amp;gt; Settings''', Invoices - XLSX tab setting  '''XSLX Template'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:invoice_xlsx_settings_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Balance Line settings'''&lt;br /&gt;
&lt;br /&gt;
''Outstanding balance (Debt)'', ''Outstanding balance (Debt) with TAX'', ''Total amount due'' options are present when ''Show balance line'' ('''SETTINGS -&amp;gt; Setup -&amp;gt; Settings''', Invoices - Postpaid - Settings) setting is enabled.&lt;br /&gt;
&lt;br /&gt;
'''Configuration for Dynamic information'''&lt;br /&gt;
&lt;br /&gt;
When you already have a template for example with all data of your company, with drawn tables and so on, you need to define where should be shown the dynamic information of invoice. How and what information is displayed can be set same '''SETTINGS -&amp;gt; Setup -&amp;gt; Settings''', Invoices - XLSX tab. Just need to define cell address in correct format. &lt;br /&gt;
&lt;br /&gt;
For example &amp;quot;A2&amp;quot;, &amp;quot;B15&amp;quot;, &amp;quot;AA9&amp;quot;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:callc.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== PDF invoices ===&lt;br /&gt;
&lt;br /&gt;
The layout of PDF invoices is not customizable. &lt;br /&gt;
&lt;br /&gt;
Logos are not supported in PDF invoices.&lt;br /&gt;
&lt;br /&gt;
You can print your invoices on paper with a pre-printed logo if you want to send paper invoices.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=== CSV invoices ===&lt;br /&gt;
&lt;br /&gt;
Detailed CSV invoice does not include list of all calls. Please use [[How_to_export_CDRs|CDR export]] if you need list of calls in CSV format.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Comment==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR 9---&amp;gt;&lt;br /&gt;
Sometimes it is useful to add a comment to the invoice. It can be used in xlsx file also.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
==Invoice  Details==&lt;br /&gt;
Click on the Invoice Details icon in the Invoice details page &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:Service_details.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
to get Services Details of the Invoice: &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:invoice_services_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Services:'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* '''SMS''' – quantity and price of SMS sent in selected period. Invoice for Reseller counts all SMS that was sent by his users using price for Reseller. Note, that SMS are included to Invoice only when [[SMS Addon]] is used&lt;br /&gt;
* '''DID Owner Cost''' – price for having and using own DID(s)&lt;br /&gt;
* '''Subscriptions''' – price of subscription applied to selected period. Period considered as month is from first till last day of month and from concrete day of month till next month one day before selected last month. Eg. from 2013-02-26 till 2013-03-25&lt;br /&gt;
* '''Calls''' – quantity and price of outgoing calls&lt;br /&gt;
* '''Calls from Users''' – quantity and price of resellers users calls&lt;br /&gt;
* '''Calls to DIDs''' – price for calling to DID(s)&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Invoice generation =&lt;br /&gt;
&lt;br /&gt;
In the main Invoices window, click [[Image:icon_generate_invoices.png]] '''Generate Invoices''' to generate additional invoices:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:generate_invoices_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Select for which users to generate invoices. Prepaid and Postpaid users can have separate details. Also, you can check to generate an invoice for only one particular user. Invoice will be generated if selected User existed at least one day of all Invoice period. When Invoice Generation Task is created, admin can check the progress in [[Background Tasks]]. &lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' For Prepaid User after every executed Manual Payment will be generated Invoice automatically.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR X5---&amp;gt;&lt;br /&gt;
'''NOTE:''' If Currency of User is different than default System Currency. All his Invoices will be generated with [[Currencies| Currency]] Exchange Rate of current day. &amp;lt;br&amp;gt;&lt;br /&gt;
'''NOTE:''' When generating invoice, current user details will be used.  &amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Invoice recalculation =&lt;br /&gt;
&lt;br /&gt;
An invoice cannot be modified after being sent. But if you want to allow recalculations after sending invoices, go to: '''Settings -&amp;gt; Setup -&amp;gt; Settings'''. Then click on the tabs: '''Invoices -&amp;gt; Functionality'''. Select ''Invoice allow recalculate after send'':&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:ivoicesnewnew.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Recalculate a group of Invoices===&lt;br /&gt;
&lt;br /&gt;
To recalculate invoices in the main Invoices window click [[Image:icon_generate_invoices.png]] '''Recalculate invoices''':&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:recalc.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Select for which users to recalculate invoices.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=== Recalculate a single Invoice ===&lt;br /&gt;
&lt;br /&gt;
If an invoice is not marked as paid - it can be recalculated for the same user, same period. To achieve this - press the marked icon:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Recalculate_single_invoice_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
= Send invoices by email =&lt;br /&gt;
&lt;br /&gt;
Click [[Image:icon_email_send.png]] to open more options to enter the period in which you want to send invoices. Click '''Send''' to send invoices to their Users in this period:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:invoices_send_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
You can use these settings to choose which users should get an email with the invoice. Using these settings you can send emails in parts.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* '''Email sending''' option must be enabled in Email Settings to use this feature&lt;br /&gt;
* Tip: you can '''send invoices in parts''' by using text fields to send invoices for users which '''Username, First name, Last name''' or '''Number''' begins with some letters. For example: you have users with usernames john, albert and alex. You want to send invoices only for users whose usernames begins with '''&amp;quot;a&amp;quot;''' so you just have to enter '''&amp;quot;a&amp;quot;''' in a '''Username text field''' to send invoices only to albert and alex.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[Accounting]]&lt;br /&gt;
* [[Invoice configuration]]&lt;br /&gt;
* [[Pay Invoice with balance deduction]]&lt;br /&gt;
* [[Outstanding balance(Debt)]]&lt;br /&gt;
* [[Invoice by CallerID]]&lt;br /&gt;
* [[MOR API invoices_get]]&lt;br /&gt;
* [[Cannot generate Invoice]]&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=CDR_Rerating&amp;diff=18890</id>
		<title>CDR Rerating</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=CDR_Rerating&amp;diff=18890"/>
		<updated>2015-02-03T14:53:47Z</updated>

		<summary type="html">&lt;p&gt;Tester2: /* Usage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Description = &lt;br /&gt;
&lt;br /&gt;
This function is used when you change Tariff for some customer and you want to recalculate Price for his Calls in the past. You need to select User, Period and system recalculates all Prices for all Calls in selected period for selected User. It affects balance of User and statistics will show information with new Prices.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
Go to '''SETTINGS –&amp;gt; Billing –&amp;gt; CDR –&amp;gt; Rerating''':&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:cdrrerating_image1.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Select date interval and User whose Calls you want to rerate. You can select All Users and include calls of Reseller Users.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!---This functionality is available from MOR X5---&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Also you are able su set '''Ghost Time''' percent, this value will increase user_billsec and/or reseller_billsec and price which depends on changed user_billsec and/or reseller_billsec. Ghost Time will be calculated just from initial billsec,  and if you will rerate two timesr with same percentage value, on second time nothing will change. 0 leaves or returns initial user_billsec and/or reseller price.&lt;br /&gt;
&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
Table below will show which data of Calls will be affected according each selection scenario.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot; style=&amp;quot;border-collapse: separate; border-spacing: 0; border-width: 1px; border-style: solid; border-color: #C0C0C0; padding: 0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! &lt;br /&gt;
! One of Admin Users&lt;br /&gt;
! One of Admin Resellers&lt;br /&gt;
! &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;All Users&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&lt;br /&gt;
! One of particular Reseller Users&lt;br /&gt;
! All Users (Reseller Users Included)&lt;br /&gt;
|-&lt;br /&gt;
| user_billsec, &lt;br /&gt;
user_rate, &lt;br /&gt;
user_price&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+ &lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(just for Admin Users Calls)&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+&lt;br /&gt;
|-&lt;br /&gt;
| reseller_billsec, &lt;br /&gt;
reseller_rate, &lt;br /&gt;
reseller_price&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+ &lt;br /&gt;
&amp;amp;nbsp;(for Calls of All Reseller Users)&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+ &lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(just for Reseller User Calls)&lt;br /&gt;
|}&lt;br /&gt;
'''NOTE''' If in Call of Reseller User will be used one of [[Common Use Providers]] Tariff to rerate Reseller Price will be taken form ADDONS -&amp;gt; Resellers -&amp;gt; Common use Providers. If in Call of Reseller User will be used one of Provider which belongs just to Reseller, Provider Price will be rerated by that Provider tariff.&lt;br /&gt;
&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&amp;lt;!---Nuo x6 lieka tik FAST rerating ir test mode---&amp;gt;&lt;br /&gt;
* Press '''Rerate in Background(FAST)''' if you want to send Rerating task to [[Background Tasks]]. This way rerating of huge amount of Calls goes faster than SLOW method and also you do not need to wait in current page till rerating will be finished. '''Also Provider Billing details will be rerated'''&lt;br /&gt;
&amp;lt;!---SLOW rerating tik iki x5---&amp;gt;&lt;br /&gt;
* Press '''Rerate in GUI(SLOW)'''. The rating mechanism is the same as in MOR application but here rating is done by GUI. '''Be patient – if there are many calls – it can take some time to rerate all of them'''. '''Provider Billing details will NOT be rerated.''' If you choose this way for Rerating you will be redirected to second step:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:cdrrerating2.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Here you see call stats for selected date interval. When you are sure everything is correct – press '''Rerate''':&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:cdrrerating3.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Here you will see the Difference after Rerating.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== Rerate all users == &lt;br /&gt;
&amp;lt;!---This functionality is available from MOR 11---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Select 'All Users' from User selection to rerate all Users at once in selected period.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== Testing mode == &lt;br /&gt;
&lt;br /&gt;
Select '''Tariff for User''' below '''TESTING MODE''' header: &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:cdrtestrerating.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
...and press '''Test with selected Tariff (SLOW)''' to check differences of Rates for selected User. This way Rerating will not save changes to Calls/Users.&lt;br /&gt;
&lt;br /&gt;
Testing mode is useful for testing &amp;quot;What if User had this Tariff&amp;quot; scenarios.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Selected Tariff is used just in [[Image:icon_test.png]]Testing mode.''' Rerating functionality rerates old Calls by Tariff set in User Settings, if you did not change Tariff for User, after rerating Calls Prices will be same as were before.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== Tariff from Localization ==&lt;br /&gt;
&lt;br /&gt;
If call's prefix is in Localization Rule which has some Tariff, this Tariff is used to count call's price instead of User's Tariff.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Other notes=&lt;br /&gt;
&lt;br /&gt;
* Re-rate does not take into account Flat Rates and User will be charged for such Calls. Do not do rerating for such User.&lt;br /&gt;
&lt;br /&gt;
* Re-rate does not work when call's DID, LCR or Owner Device is changed by Localization rules.&lt;br /&gt;
&lt;br /&gt;
* Re-rate will take Active Rate when Rates with [[Rate Effective From | Effective From]] are re-rated.&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=CDR_Rerating&amp;diff=18889</id>
		<title>CDR Rerating</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=CDR_Rerating&amp;diff=18889"/>
		<updated>2015-02-03T14:53:15Z</updated>

		<summary type="html">&lt;p&gt;Tester2: /* Usage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Description = &lt;br /&gt;
&lt;br /&gt;
This function is used when you change Tariff for some customer and you want to recalculate Price for his Calls in the past. You need to select User, Period and system recalculates all Prices for all Calls in selected period for selected User. It affects balance of User and statistics will show information with new Prices.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
Go to '''SETTINGS –&amp;gt; Billing –&amp;gt; CDR –&amp;gt; Rerating''':&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:cdrrerating_image1.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Select date interval and User whose Calls you want to rerate. You can select All Users and include calls of Reseller Users.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!---This functionality is available from MOR X5---&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Also you are able su set '''Ghost Time''' percent, this value will increase user_billsec and/or reseller_billsec and price which depends on changed user_billsec and/or reseller_billsec. Ghost Time will be calculated just from initial billsec,  and if you will rerate two timesr with same percentage value, on second time nothing will change. 0 leaves or returns initial user_billsec and/or reseller price.&lt;br /&gt;
&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
Table below will show which data of Calls will be affected according each selection scenario.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot; style=&amp;quot;border-collapse: separate; border-spacing: 0; border-width: 1px; border-style: solid; border-color: #C0C0C0; padding: 0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! &lt;br /&gt;
! One of Admin Users&lt;br /&gt;
! One of Admin Resellers&lt;br /&gt;
! &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;All Users&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&lt;br /&gt;
! One of particular Reseller Users&lt;br /&gt;
! All Users (Reseller Users Included)&lt;br /&gt;
|-&lt;br /&gt;
| user_billsec, &lt;br /&gt;
user_rate, &lt;br /&gt;
user_price&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+ &lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(just for Admin Users Calls)&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+&lt;br /&gt;
|-&lt;br /&gt;
| reseller_billsec, &lt;br /&gt;
reseller_rate, &lt;br /&gt;
reseller_price&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+ &lt;br /&gt;
&amp;amp;nbsp;(for Calls of All Reseller Users)&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+ &lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(just for Reseller User Calls)&lt;br /&gt;
|}&lt;br /&gt;
'''NOTE''' If in Call of Reseller User will be used one of [[Common Use Providers]] Tariff to rerate Reseller Price will be taken form ADDONS -&amp;gt; Resellers -&amp;gt; Common use Providers. If in Call of Reseller User will be used one of Provider which belongs just to Reseller, Provider Price will be rerated by that Provider tariff.&lt;br /&gt;
&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
* Press '''Rerate in Background(FAST)''' if you want to send Rerating task to [[Background Tasks]]. This way rerating of huge amount of Calls goes faster than SLOW method and also you do not need to wait in current page till rerating will be finished. '''Also Provider Billing details will be rerated'''&lt;br /&gt;
&amp;lt;!---SLOW rerating tik iki x5---&amp;gt;&lt;br /&gt;
* Press '''Rerate in GUI(SLOW)'''. The rating mechanism is the same as in MOR application but here rating is done by GUI. '''Be patient – if there are many calls – it can take some time to rerate all of them'''. '''Provider Billing details will NOT be rerated.''' If you choose this way for Rerating you will be redirected to second step:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:cdrrerating2.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Here you see call stats for selected date interval. When you are sure everything is correct – press '''Rerate''':&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:cdrrerating3.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Here you will see the Difference after Rerating.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== Rerate all users == &lt;br /&gt;
&amp;lt;!---This functionality is available from MOR 11---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Select 'All Users' from User selection to rerate all Users at once in selected period.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== Testing mode == &lt;br /&gt;
&lt;br /&gt;
Select '''Tariff for User''' below '''TESTING MODE''' header: &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:cdrtestrerating.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
...and press '''Test with selected Tariff (SLOW)''' to check differences of Rates for selected User. This way Rerating will not save changes to Calls/Users.&lt;br /&gt;
&lt;br /&gt;
Testing mode is useful for testing &amp;quot;What if User had this Tariff&amp;quot; scenarios.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Selected Tariff is used just in [[Image:icon_test.png]]Testing mode.''' Rerating functionality rerates old Calls by Tariff set in User Settings, if you did not change Tariff for User, after rerating Calls Prices will be same as were before.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== Tariff from Localization ==&lt;br /&gt;
&lt;br /&gt;
If call's prefix is in Localization Rule which has some Tariff, this Tariff is used to count call's price instead of User's Tariff.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Other notes=&lt;br /&gt;
&lt;br /&gt;
* Re-rate does not take into account Flat Rates and User will be charged for such Calls. Do not do rerating for such User.&lt;br /&gt;
&lt;br /&gt;
* Re-rate does not work when call's DID, LCR or Owner Device is changed by Localization rules.&lt;br /&gt;
&lt;br /&gt;
* Re-rate will take Active Rate when Rates with [[Rate Effective From | Effective From]] are re-rated.&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Multi-Level_Resellers_Addon&amp;diff=18888</id>
		<title>Multi-Level Resellers Addon</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Multi-Level_Resellers_Addon&amp;diff=18888"/>
		<updated>2015-02-03T14:46:31Z</updated>

		<summary type="html">&lt;p&gt;Tester2: /* Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Description=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--- From MOR X6---&amp;gt;&lt;br /&gt;
Multi-Level Resellers functionality are integrated into MOR from X6 version. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;---&amp;gt;&lt;br /&gt;
In Multi-level structure – resellers are divided on 2 levels and have different rights. This functionality allows you to sell traffic and services to smaller companies that do not have their own switches or billing platforms yet but they want do VoIP business. These smaller companies in our product are defined as Partner Type Users who are able to create and configure their own Resellers (sub-resellers). &lt;br /&gt;
&lt;br /&gt;
Partners are able to set for created Resellers their own Tariffs, Prepaid or Postpaid user type, credit limits and so on, also add Payments, generate and send Invoices, follow Calls and their Financial Statistics.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Billing hierarchy===&lt;br /&gt;
&lt;br /&gt;
Simple User Pays for Reseller =&amp;gt; Reseller Pays for Partner =&amp;gt; Partner Pays for Admin =&amp;gt; Admin Pays for Provider&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Configuration=&lt;br /&gt;
&lt;br /&gt;
Go to '''SETTINGS –&amp;gt; Users''', click [[Image:icon_add.png]]'''Add new''' and you will reach User create form. There you have to choose &amp;quot;partner&amp;quot; User Type:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:partner_create.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
And fill all other parameters which are needed.&lt;br /&gt;
&lt;br /&gt;
After pressing '''Create''' you will have Partner Type User.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Useful Notes=&lt;br /&gt;
&lt;br /&gt;
* Partners' Resellers will use admins' '''[[Reseller_Permissions|Resellers' Permissions Groups]]''', so be sure that you have them, otherwise Partner will be not able to create Reseller.&lt;br /&gt;
* For Partners' Resellers' Users '''Calls''' will be used Admins' [[LCR]] with all his [[Providers]], which have to be assigned in Partners' create or edit form.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Calls_per_Hour&amp;diff=18847</id>
		<title>Calls per Hour</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Calls_per_Hour&amp;diff=18847"/>
		<updated>2015-01-21T11:16:16Z</updated>

		<summary type="html">&lt;p&gt;Tester2: Created page with '= Description =   This page shows statistics of calls grouped first by days, then users, then hours and then by prefixes.   == Who can access the page? ==  Admin and Accountant. …'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Description = &lt;br /&gt;
&lt;br /&gt;
This page shows statistics of calls grouped first by days, then users, then hours and then by prefixes. &lt;br /&gt;
&lt;br /&gt;
== Who can access the page? ==&lt;br /&gt;
&lt;br /&gt;
Admin and Accountant. &lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
&lt;br /&gt;
Go to '''STATISTICS –&amp;gt; Calls –&amp;gt; Calls per Hour''' &amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:Calls_per_hour_1.png]]&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
Besides Calls date, number of Attempted Calls, Answered Calls, Duration of calls made during the specific day/user/hour/prefix, Average Retries, you can also check and [http://wiki.kolmisoft.com/index.php/ASR/ACD ASR/ACD] information. &lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:Calls_per_hour_2.png]]&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
You will not see days here that has no calls.&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=File:Calls_per_hour_2.png&amp;diff=18843</id>
		<title>File:Calls per hour 2.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=File:Calls_per_hour_2.png&amp;diff=18843"/>
		<updated>2015-01-21T11:06:30Z</updated>

		<summary type="html">&lt;p&gt;Tester2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=File:Calls_per_hour_1.png&amp;diff=18840</id>
		<title>File:Calls per hour 1.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=File:Calls_per_hour_1.png&amp;diff=18840"/>
		<updated>2015-01-21T10:59:23Z</updated>

		<summary type="html">&lt;p&gt;Tester2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Invoices&amp;diff=18814</id>
		<title>Invoices</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Invoices&amp;diff=18814"/>
		<updated>2015-01-12T13:50:25Z</updated>

		<summary type="html">&lt;p&gt;Tester2: /* Configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Description =&lt;br /&gt;
&lt;br /&gt;
An invoice, bill or tab is a commercial document issued by a seller to a buyer, relating to a sale transaction and indicating the products, quantities, and agreed prices for products or services the seller had provided the buyer.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
= Configuration =&lt;br /&gt;
 &lt;br /&gt;
You can manage Invoices settings, details, Address information and functionality in the Invoices section of the [[Configuration_from_GUI#Invoices | SETTINGS -&amp;gt; Setup -&amp;gt; Settings]] window.&amp;lt;br&amp;gt;&lt;br /&gt;
If you want show user_billsec instead of billsec in Users invoices and last calls, go to [[Configuration_from_GUI#Visual | Settings –&amp;gt; Various]] and check ''Show user_billsec for Users instead of billsec''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Go to User's edit page to enable or disable types of invoices he can see in his invoices details. And also these selected types will be the ones that are sent to user via email. &lt;br /&gt;
&lt;br /&gt;
[[File:Invoices_types.png]]&lt;br /&gt;
&lt;br /&gt;
=Invoices list=&lt;br /&gt;
&lt;br /&gt;
Invoices can be viewed, generated, recalculated, sent, also &amp;lt;!---...from MOR 9---&amp;gt; list of Invoices can be exported to CSV file (Invoice number is included in the output data) in '''SETTINGS –&amp;gt; Accounting –&amp;gt; Invoices'''. In the main window, you can see list of all Invoices:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:invoices_list_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The icons [[Image:icon_check.png]] and [[Image:icon_cross.png]] show whether this invoice is Paid or Unpaid, Sent or Not Sent. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
'''NOTE''' Each Invoice generated in particular Time Zone and on particular Currency. In different currency you are able to check just total value of all selected Invoices.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Invoice details=&lt;br /&gt;
&lt;br /&gt;
Click on the [[Image:icon_details.png]] icon to get details of the Invoice:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:invoice_details_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
==General Details==&lt;br /&gt;
&lt;br /&gt;
'''Payment date''' - An option which will set the period of payment on current month. By default ''Years'' and ''Month'' is current, it is only possible to change ''Day of Month'' which is indicating the last date of ''Invoice'' issue.&amp;lt;br&amp;gt;&lt;br /&gt;
'''Currecy of Invoice''' - &amp;lt;!---This functionality is available from MOR X6---&amp;gt; Invoices are exported in Invoice currency.&lt;br /&gt;
&lt;br /&gt;
'''Language of Invoice'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Default language in MOR is English. However, you can send invoices in different languages (click on the flag icon on the top of the page).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==User Details==&lt;br /&gt;
&lt;br /&gt;
User Details which will be used in xlsx file of invoice. These Details are taken form [[User Details]] and it can be changed manually, but after recalculate it will be reset to same information as it is in [[User Details]].&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
==Files to send or download==&lt;br /&gt;
&lt;br /&gt;
Here you can view the details of all invoices and click on the [[Image:icon_pdf.png]] or [[Image:icon_csv.png]] icons to generate invoice files in PDF or CSV formats accordingly. First icon [[Image:icon_csv.png]] will download a xlsx file.&lt;br /&gt;
&lt;br /&gt;
*'''Invoice''' xlsx file shows information which are set by you. Check [[Invoices_(MOR_X6)#XLSX_Invoices | XLSX Invoice]]&lt;br /&gt;
*'''Invoice detailed''' PDF shows same information like simple invoice and includes calls list.&lt;br /&gt;
*'''Invoice by CallerID'''  shows calls list grouped by CallerID.&lt;br /&gt;
*'''Invoice Destinations''' shows calls list grouped by Destination. &lt;br /&gt;
&lt;br /&gt;
You can manage what kind of Invoice should be showed for User and/or sent to User as email attachment in [[User_Details#Invoices |User Details]]. Here you can check ''Show zero Calls'' option if you need to calculate 0 price Calls into Invoices.&lt;br /&gt;
=== XLSX Invoices ===&lt;br /&gt;
&lt;br /&gt;
XLSX file to export an Invoice is made from your own XLSX format template and information from Invoices main window. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Default XLSX template'''&lt;br /&gt;
&lt;br /&gt;
Create a xlsx file. Template you can prepare as you wish, you can fill it with information of company, draw tables with column names, describe information taken from Invoice main window and so on. Template '''have to be uploaded in SETTINGS -&amp;gt; Setup -&amp;gt; Settings''', Invoices - XLSX tab setting  '''XSLX Template'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:invoice_xlsx_settings_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Configuration for Dynamic information'''&lt;br /&gt;
&lt;br /&gt;
When you already have a template for example with all data of your company, with drawn tables and so on, you need to define where should be shown the dynamic information of invoice. How and what information is displayed can be set same '''SETTINGS -&amp;gt; Setup -&amp;gt; Settings''', Invoices - XLSX tab. Just need to define cell address in correct format. &lt;br /&gt;
&lt;br /&gt;
For example &amp;quot;A2&amp;quot;, &amp;quot;B15&amp;quot;, &amp;quot;AA9&amp;quot;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:callc.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=== PDF invoices ===&lt;br /&gt;
&lt;br /&gt;
The layout of PDF invoices is not customizable. &lt;br /&gt;
&lt;br /&gt;
Logos are not supported in PDF invoices.&lt;br /&gt;
&lt;br /&gt;
You can print your invoices on paper with a pre-printed logo if you want to send paper invoices.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=== CSV invoices ===&lt;br /&gt;
&lt;br /&gt;
Detailed CSV invoice does not include list of all calls. Please use [[How_to_export_CDRs|CDR export]] if you need list of calls in CSV format.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Comment==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR 9---&amp;gt;&lt;br /&gt;
Sometimes it is useful to add a comment to the invoice. It can be used in xlsx file also.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
==Invoice  Details==&lt;br /&gt;
Click on the Invoice Details icon in the Invoice details page &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:Service_details.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
to get Services Details of the Invoice: &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:invoice_services_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Services:'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* '''SMS''' – quantity and price of SMS sent in selected period. Invoice for Reseller counts all SMS that was sent by his users using price for Reseller. Note, that SMS are included to Invoice only when [[SMS Addon]] is used&lt;br /&gt;
* '''DID Owner Cost''' – price for having and using own DID(s)&lt;br /&gt;
* '''Subscriptions''' – price of subscription applied to selected period. Period considered as month is from first till last day of month and from concrete day of month till next month one day before selected last month. Eg. from 2013-02-26 till 2013-03-25&lt;br /&gt;
* '''Calls''' – quantity and price of outgoing calls&lt;br /&gt;
* '''Calls from Users''' – quantity and price of resellers users calls&lt;br /&gt;
* '''Calls to DIDs''' – price for calling to DID(s)&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Invoice generation =&lt;br /&gt;
&lt;br /&gt;
In the main Invoices window, click [[Image:icon_generate_invoices.png]] '''Generate Invoices''' to generate additional invoices:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:generate_invoices_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Select for which users to generate invoices. Prepaid and Postpaid users can have separate details. Also, you can check to generate an invoice for only one particular user. Invoice will be generated if selected User existed at least one day of all Invoice period.&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' For Prepaid User after every executed Manual Payment will be generated Invoice automatically.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR X5---&amp;gt;&lt;br /&gt;
'''NOTE:''' If Currency of User is different than default System Currency. All his Invoices will be generated with [[Currencies| Currency]] Exchange Rate of current day. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
= Invoice recalculation =&lt;br /&gt;
&lt;br /&gt;
An invoice cannot be modified after being sent. But if you want to allow recalculations after sending invoices, go to: '''Settings -&amp;gt; Setup -&amp;gt; Settings'''. Then click on the tabs: '''Invoices -&amp;gt; Functionality'''. Select ''Invoice allow recalculate after send'':&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:ivoicesnewnew.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Recalculate a group of Invoices===&lt;br /&gt;
&lt;br /&gt;
To recalculate invoices in the main Invoices window click [[Image:icon_generate_invoices.png]] '''Recalculate invoices''':&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:recalc.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Select for which users to recalculate invoices.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=== Recalculate a single Invoice ===&lt;br /&gt;
&lt;br /&gt;
If an invoice is not marked as paid - it can be recalculated for the same user, same period. To achieve this - press the marked icon:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Recalculate_single_invoice_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
= Send invoices by email =&lt;br /&gt;
&lt;br /&gt;
Click [[Image:icon_email_send.png]] to open more options to enter the period in which you want to send invoices. Click '''Send''' to send invoices to their Users in this period:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:invoices_send_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
You can use these settings to choose which users should get an email with the invoice. Using these settings you can send emails in parts.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* '''Email sending''' option must be enabled in Email Settings to use this feature&lt;br /&gt;
* Tip: you can '''send invoices in parts''' by using text fields to send invoices for users which '''Username, First name, Last name''' or '''Number''' begins with some letters. For example: you have users with usernames john, albert and alex. You want to send invoices only for users whose usernames begins with '''&amp;quot;a&amp;quot;''' so you just have to enter '''&amp;quot;a&amp;quot;''' in a '''Username text field''' to send invoices only to albert and alex.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[Accounting]]&lt;br /&gt;
* [[Invoice configuration]]&lt;br /&gt;
* [[Pay Invoice with balance deduction]]&lt;br /&gt;
* [[Outstanding balance(Debt)]]&lt;br /&gt;
* [[Invoice by CallerID]]&lt;br /&gt;
* [[MOR API invoices_get]]&lt;br /&gt;
* [[Cannot generate Invoice]]&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=File:Invoices_types.png&amp;diff=18813</id>
		<title>File:Invoices types.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=File:Invoices_types.png&amp;diff=18813"/>
		<updated>2015-01-12T13:49:52Z</updated>

		<summary type="html">&lt;p&gt;Tester2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=File:Invoices_send_x6.png&amp;diff=18651</id>
		<title>File:Invoices send x6.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=File:Invoices_send_x6.png&amp;diff=18651"/>
		<updated>2014-11-13T10:20:39Z</updated>

		<summary type="html">&lt;p&gt;Tester2: uploaded a new version of &amp;quot;File:Invoices send x6.png&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=File:Invoices_send_x6.png&amp;diff=18650</id>
		<title>File:Invoices send x6.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=File:Invoices_send_x6.png&amp;diff=18650"/>
		<updated>2014-11-13T10:20:12Z</updated>

		<summary type="html">&lt;p&gt;Tester2: uploaded a new version of &amp;quot;File:Invoices send x6.png&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=File:Invoices_send_x6.png&amp;diff=18649</id>
		<title>File:Invoices send x6.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=File:Invoices_send_x6.png&amp;diff=18649"/>
		<updated>2014-11-13T10:16:00Z</updated>

		<summary type="html">&lt;p&gt;Tester2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=File:Recaptcha3.png&amp;diff=18632</id>
		<title>File:Recaptcha3.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=File:Recaptcha3.png&amp;diff=18632"/>
		<updated>2014-11-12T13:41:31Z</updated>

		<summary type="html">&lt;p&gt;Tester2: uploaded a new version of &amp;quot;File:Recaptcha3.png&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=File:Recaptcha2.png&amp;diff=18631</id>
		<title>File:Recaptcha2.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=File:Recaptcha2.png&amp;diff=18631"/>
		<updated>2014-11-12T13:41:12Z</updated>

		<summary type="html">&lt;p&gt;Tester2: uploaded a new version of &amp;quot;File:Recaptcha2.png&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=File:Recaptcha1.png&amp;diff=18630</id>
		<title>File:Recaptcha1.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=File:Recaptcha1.png&amp;diff=18630"/>
		<updated>2014-11-12T13:41:01Z</updated>

		<summary type="html">&lt;p&gt;Tester2: uploaded a new version of &amp;quot;File:Recaptcha1.png&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=File:Recaptcha3.png&amp;diff=18629</id>
		<title>File:Recaptcha3.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=File:Recaptcha3.png&amp;diff=18629"/>
		<updated>2014-11-12T13:38:07Z</updated>

		<summary type="html">&lt;p&gt;Tester2: uploaded a new version of &amp;quot;File:Recaptcha3.png&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=File:Recaptcha2.png&amp;diff=18628</id>
		<title>File:Recaptcha2.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=File:Recaptcha2.png&amp;diff=18628"/>
		<updated>2014-11-12T13:37:56Z</updated>

		<summary type="html">&lt;p&gt;Tester2: uploaded a new version of &amp;quot;File:Recaptcha2.png&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=File:Recaptcha1.png&amp;diff=18627</id>
		<title>File:Recaptcha1.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=File:Recaptcha1.png&amp;diff=18627"/>
		<updated>2014-11-12T13:37:39Z</updated>

		<summary type="html">&lt;p&gt;Tester2: uploaded a new version of &amp;quot;File:Recaptcha1.png&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=ReCAPTCHA&amp;diff=18625</id>
		<title>ReCAPTCHA</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=ReCAPTCHA&amp;diff=18625"/>
		<updated>2014-11-12T13:19:21Z</updated>

		<summary type="html">&lt;p&gt;Tester2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Description =&lt;br /&gt;
&lt;br /&gt;
A [http://recaptcha.net/ CAPTCHA] is a program that can tell whether its user is a human or a computer. You've probably seen them — colorful images with distorted text at the bottom of Web registration forms. CAPTCHAs are used by many websites to prevent abuse from &amp;quot;bots,&amp;quot; or automated programs usually written to generate spam. No computer program can read distorted text as well as humans can, so bots cannot navigate sites protected by CAPTCHAs.&lt;br /&gt;
&lt;br /&gt;
[http://recaptcha.net/ More info]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Tip: When generating CAPTCHA keys - please enable &amp;quot;global key&amp;quot; option, this way you will not have problems when you change your domain.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Implementation in MOR =&lt;br /&gt;
&lt;br /&gt;
reCAPTCHA is disabled by default in MOR.&lt;br /&gt;
&lt;br /&gt;
To enable it, go to '''SETTINGS –&amp;gt; Setup –&amp;gt; Settings –&amp;gt; Registration'''.&lt;br /&gt;
&lt;br /&gt;
Here mark '''reCAPTCHA enable''' and press on [https://admin.recaptcha.net/accounts/signup/?next= Get reCAPTCHA keys] &lt;br /&gt;
&lt;br /&gt;
and follow pictures how to register and get keys:&lt;br /&gt;
&lt;br /&gt;
[[Image:recaptcha1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here enter your domain name, or your IP if you do not have a domain - for example: http://22.33.44.55 (put your IP here! Do not leave support.kolmisoft.com or 22.33.44.55 &amp;lt;- these are just examples!)&lt;br /&gt;
&lt;br /&gt;
[[Image:recaptcha2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Copy-paste these keys into MOR configuration:&lt;br /&gt;
&lt;br /&gt;
[[Image:recaptcha3.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now, on the registration page, the user should enter valid words to complete registration.&lt;br /&gt;
&lt;br /&gt;
And in the registration page, the user will see captcha:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:recaptcha6.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
See also:&lt;br /&gt;
* [[Configuration from GUI#Registration | Registration configuration]]&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=ReCAPTCHA&amp;diff=18624</id>
		<title>ReCAPTCHA</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=ReCAPTCHA&amp;diff=18624"/>
		<updated>2014-11-12T13:14:17Z</updated>

		<summary type="html">&lt;p&gt;Tester2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:recaptcha.gif|right]]&lt;br /&gt;
= Description =&lt;br /&gt;
&lt;br /&gt;
A [http://recaptcha.net/ CAPTCHA] is a program that can tell whether its user is a human or a computer. You've probably seen them — colorful images with distorted text at the bottom of Web registration forms. CAPTCHAs are used by many websites to prevent abuse from &amp;quot;bots,&amp;quot; or automated programs usually written to generate spam. No computer program can read distorted text as well as humans can, so bots cannot navigate sites protected by CAPTCHAs.&lt;br /&gt;
&lt;br /&gt;
[http://recaptcha.net/ More info]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Tip: When generating CAPTCHA keys - please enable &amp;quot;global key&amp;quot; option, this way you will not have problems when you change your domain.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Implementation in MOR =&lt;br /&gt;
&lt;br /&gt;
reCAPTCHA is disabled by default in MOR.&lt;br /&gt;
&lt;br /&gt;
To enable it, go to '''SETTINGS –&amp;gt; Setup –&amp;gt; Settings –&amp;gt; Registration'''.&lt;br /&gt;
&lt;br /&gt;
Here mark '''reCAPTCHA enable''' and press on [https://admin.recaptcha.net/accounts/signup/?next= Get reCAPTCHA keys] &lt;br /&gt;
&lt;br /&gt;
and follow pictures how to register and get keys:&lt;br /&gt;
&lt;br /&gt;
[[Image:recaptcha1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here enter your domain name, or your IP if you do not have a domain - for example: http://22.33.44.55 (put your IP here! Do not leave support.kolmisoft.com or 22.33.44.55 &amp;lt;- these are just examples!)&lt;br /&gt;
&lt;br /&gt;
[[Image:recaptcha2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Copy-paste these keys into MOR configuration:&lt;br /&gt;
&lt;br /&gt;
[[Image:recaptcha3.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now, on the registration page, the user should enter valid words to complete registration.&lt;br /&gt;
&lt;br /&gt;
And in the registration page, the user will see captcha:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:recaptcha6.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
See also:&lt;br /&gt;
* [[Configuration from GUI#Registration | Registration configuration]]&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Hangupcause_Codes&amp;diff=18623</id>
		<title>Hangupcause Codes</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Hangupcause_Codes&amp;diff=18623"/>
		<updated>2014-11-12T11:51:42Z</updated>

		<summary type="html">&lt;p&gt;Tester2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;MOR application saves hangupcause codes (HGC in MOR terminology) to the database, so it is easy to check what the error was and why the call failed.&lt;br /&gt;
&lt;br /&gt;
These codes can be seen in the Calls window (Hangup Cause column) when selected to show 'All', 'Busy', 'No Answer', 'Failed' or 'Missed' calls.&lt;br /&gt;
&lt;br /&gt;
* Standard hangup codes can be found [http://www.voip-info.org/wiki/index.php?page=Asterisk+variable+hangupcause here].&lt;br /&gt;
* [http://networking.ringofsaturn.com/RemoteAccess/isdncausecodes.php ITU-T Q.850 Codes ]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/List_of_SIP_response_codes SIP Response Codes]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
= Standard codes =&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; &amp;lt;b&amp;gt;Code&amp;lt;/b&amp;gt; &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; &amp;lt;b&amp;gt;Cause&amp;lt;/b&amp;gt; &amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 34 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[34 no circuit/channel available | no circuit/channel available]]&amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= MOR specific codes =&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; &amp;lt;b&amp;gt;Code&amp;lt;/b&amp;gt; &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; &amp;lt;b&amp;gt;Cause&amp;lt;/b&amp;gt; &amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 200 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[200 MOR can't determine who is calling | MOR can't determine who is calling]]&amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 201 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[201 User is blocked | User is blocked]]&amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 202 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[202 Reseller is blocked | Reseller is blocked]]&amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 203 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[203 No rates for user|No rates for User]] &amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 204 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[204 No suitable providers found | No suitable providers found]] &amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt; &lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 205 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[205 MOR PRO not authorized to work on this computer | MOR PRO not authorized to work on this computer]]&amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt; &lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 206 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[206 server_id is not set in mor.conf file | server_id is not set in mor.conf file]] - ''this error code is not used anymore''&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt; &lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 207 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[207 Not clear who should receive call | Not clear who should receive call]]&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt; &lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 208 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[208 MOR can not make more calls | MOR can not make more calls]] &amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt; &lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 209 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[209 Test time exceeded | Test time exceeded]] &amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt; &lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 210 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[210 Balance more then 0, but not enough to make call 1s in length | Balance more than 0, but not enough to make call 1s in length]] &amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 211 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[211 Low balance for user | Low balance for user]]&amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 212 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[mor_authorize: Too low balance for more simultaneus calls!!!| Balance too low for more simultaneous calls]]  &amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 213 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[213 Low balance for DID owner | Low balance for DID owner]]&amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 214 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[214 Too low balance for DID owner for more simultaneous calls | DID owner's balance is too low to make more simultaneous calls]]&amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 215 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[215 Low balance for reseller | Low balance for reseller]]&amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 216 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[216 Too low balance for reseller for more simultaneous calls | Reseller's balance is too low to make  more simultaneous calls]]&amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 217 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[217 Callback not initiated because device not found by ANI | Callback not initiated because device not found by ANI]]&amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 218 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[218 Reseller does now allow loss calls | Reseller does not allow loss calls]]&amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 219 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[219 DID has reached call limit. No more calls allowed to this DID | DID has reached call limit. No more calls allowed to this DID]]&amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 220 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[220 User call limit reached | User call limit reached]]&amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 221 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[221 Device call limit reached | Device call limit reached]]&amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 222 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[222 Resellers call limit reached | Resellers call limit reached]]&amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 223 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[223 Providers call limit reached | Providers call limit reached]]  &amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 224 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[224 Provider skipped because his rate is higher then users rate | Provider skipped because his rate is higher than user's rate]] &amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 225 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[225 CallerID is banned | CallerID is banned]] &amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 226 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[226 DID is free | DID is free]] &amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 227 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[227 Calling Card PIN is not entered | Calling Card PIN is not entered]] &amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 228 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[228 Calling Card Destination is not entered | Calling Card Destination is not entered]] &amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 229 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[229 DID is reserved | DID is reserved]] &amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 230 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[230 Connection returned error code 0 instead of real code | Connection returned error code 0 instead of real code]]&amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 231 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[231 Provider unreachable | Provider unreachable]] - ''this error code is not used anymore'' &amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 232 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[232 Callback DID not available | Callback DID not available]] &amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 233 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[233 Skype Addon Disabled | Skype Addon Disabled]] &amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 234 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[234 Internal Loop | Internal Loop]] &amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 235 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[235 Providers rate higher by percent | Providers rate higher by percent]] &amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 236 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[236 Callback initiation too early| Callback initiation too early]] &amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 237 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[237 DID User is blocked| DID User is blocked]] &amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 238 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[238 Provider used its daily call time limit| Provider used its daily call time limit]] &amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 239 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[239 Device used its daily call time limit| Device used its daily call time limit]] &amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 240 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[240 Provider belongs to the User which makes call| Provider belongs to the User which makes call (loop)]] &amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 241 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[241 Local Caller canceled the call before call was answered|Local Caller canceled the call before call was answered]] &amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 242 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[242 No Rates for Reseller|No Rates for Reseller]] &amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 243 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[243 Provider skipped because of CPS limitation|Provider skipped because of CPS limitation]] &amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 244 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[244 Device call aborted because of CPS limitation|Device call aborted because of CPS limitation]] &amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 245 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[245 Provider skipped because of balance limitation|Provider skipped because of balance limitation]] &amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 246 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[246 Duplicate call hangup|Duplicate call hangup]] &amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 247 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[247 Dead Provider skipped|Dead Provider skipped]] &amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 248 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[248 Call was terminated because FAS(False Answer Supervision) control detected an issue. | Call was terminated because FAS(False Answer Supervision) control detected an issue ]] &amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; 249 &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt; [[249 Partners call limit reached | Partners call limit reached ]] &amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Relation between MOR hangupcause codes and Standard codes =&lt;br /&gt;
&lt;br /&gt;
This table describes which standard ISDN code is MOR giving when one or another hangupcause is given.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; &lt;br /&gt;
| '''MOR code''' || '''ISDN code''' || '''SIP code'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[208 MOR can not make more calls | 208]] || [[34 no circuit/channel available | 34]] || 503 Service unavailable&lt;br /&gt;
|-&lt;br /&gt;
| [[210_Balance_more_then_0,_but_not_enough_to_make_call_1s_in_length | 210]] || [[34 no circuit/channel available | 34]] || 503 Service unavailable&lt;br /&gt;
|-&lt;br /&gt;
| [[211_Low_balance_for_user | 211]] || [[34 no circuit/channel available | 34]] || 503 Service unavailable&lt;br /&gt;
|-&lt;br /&gt;
| [[Mor_authorize:_Too_low_balance_for_more_simultaneus_calls!!! | 212]] || [[34 no circuit/channel available | 34]] || 503 Service unavailable&lt;br /&gt;
|-&lt;br /&gt;
| [[213_Low_balance_for_DID_owner | 213]] || [[34 no circuit/channel available | 34]] || 503 Service unavailable&lt;br /&gt;
|-&lt;br /&gt;
| [[214 Too low balance for DID owner for more simultaneous calls | 214]] || [[34 no circuit/channel available | 34]] || 503 Service unavailable&lt;br /&gt;
|-&lt;br /&gt;
| [[215_Low_balance_for_reseller | 215]] || [[34 no circuit/channel available | 34]] || 503 Service unavailable&lt;br /&gt;
|-&lt;br /&gt;
| [[216 Too low balance for reseller for more simultaneous calls | 216]] || [[34 no circuit/channel available | 34]] || 503 Service unavailable&lt;br /&gt;
|-&lt;br /&gt;
| [[219 DID has reached call limit. No more calls allowed to this DID | 219]] || [[34 no circuit/channel available | 34]] || 503 Service unavailable&lt;br /&gt;
|-&lt;br /&gt;
| [[220 User call limit reached | 220]] || [[34 no circuit/channel available | 34]] || 503 Service unavailable&lt;br /&gt;
|-&lt;br /&gt;
| [[221 Device call limit reached | 221]] || [[34 no circuit/channel available | 34]] || 503 Service unavailable&lt;br /&gt;
|-&lt;br /&gt;
| [[222 Resellers call limit reached | 222]] || [[34 no circuit/channel available | 34]] || 503 Service unavailable&lt;br /&gt;
|-&lt;br /&gt;
| [[223 Providers call limit reached | 223]] || [[34 no circuit/channel available | 34]] || 503 Service unavailable&lt;br /&gt;
|-&lt;br /&gt;
| [[226 DID is free | 226]] || 1 || 404 Not found&lt;br /&gt;
|-&lt;br /&gt;
| [[229 DID is reserved | 229]] || 1 || 404 Not found&lt;br /&gt;
|-&lt;br /&gt;
| [[233 Skype Addon Disabled | 233]] || 66 || 500 Internal server error&lt;br /&gt;
|-&lt;br /&gt;
| All others not listed above and greater than 199 ( &amp;gt;=200 ) || 21 || 403 Forbidden&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Starting from [[MOR 12]], it is possible to change relation between MOR code and ISDN code. Relation can be defined in [[Mor.conf|mor.conf]].&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= See also =&lt;br /&gt;
* [[Hangupcause Sounds]]&lt;br /&gt;
* [[H323 hangupcause codes]]&lt;br /&gt;
* [[SIP Error Codes]]&lt;br /&gt;
* [[M2 Hangupcause Codes]]&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=MOR_API_user_register&amp;diff=18579</id>
		<title>MOR API user register</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=MOR_API_user_register&amp;diff=18579"/>
		<updated>2014-10-29T13:23:17Z</updated>

		<summary type="html">&lt;p&gt;Tester2: /* Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Description=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR 10---&amp;gt;&lt;br /&gt;
[[MOR API]] Create new user from params. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
* Call: /api/user_register&lt;br /&gt;
* Methods: POST, GET(if allowed, not recomended)&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Parameters===&lt;br /&gt;
&lt;br /&gt;
Parameters which are '''included''' into hash:&lt;br /&gt;
&lt;br /&gt;
* '''email''' - New user email. '''Required'''.&lt;br /&gt;
* '''id''' - User UNIQUEHASH in MOR database. '''Required'''. &amp;lt;u&amp;gt;If uniquehash is not used, user will end up at admin account&amp;lt;/u&amp;gt;.&lt;br /&gt;
Uniquehash can be found in SETTINGS –&amp;gt; Setup –&amp;gt; Settings –&amp;gt; API tab (last setting) or after log out of MOR in the address field of the browser, for example:&lt;br /&gt;
 http://SERVERIP/billing/callc/login/kljsdfg54kl where kljsdfg54kl is the uniquehash.&lt;br /&gt;
* '''device_type''' - Device type [SIP, IAX2]. '''Required'''.&lt;br /&gt;
* '''username''' - New user username. '''Required'''.&lt;br /&gt;
* '''first_name''' - New user first name. '''Required'''.&lt;br /&gt;
* '''last_name''' - New user last name. '''Required'''.&lt;br /&gt;
&lt;br /&gt;
'''Note that parameters are shown in the same order as they have to be when generating the hash. Last parameter in a row is API_Secret_Key'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Parameters which are '''not included''' into hash:&lt;br /&gt;
&lt;br /&gt;
* '''[[MOR API hash construction | hash]]''' - SHA1 hash constructed using '''parameters''' which are listed above. Note that parameters are shown in the same order as they have to be when generating the hash. Last parameter in a row is '''API_Secret_Key''' ([[MOR API hash construction | More described in Constructing hash]]). '''Required'''.&amp;lt;br&amp;gt;&lt;br /&gt;
* '''password''' - New user password. '''Required'''.&lt;br /&gt;
* '''password2''' - New user password confirmation. '''Required'''.&lt;br /&gt;
* '''country_id''' - New user country (please check table below). '''Required'''.&lt;br /&gt;
* '''mob_phone''' - Mobile phone number.&lt;br /&gt;
* '''phone - Phone number. &lt;br /&gt;
* '''fax''' - Fax. &lt;br /&gt;
* '''caller_id''' - CallerID for Device (It can include letters, numbers and signs. If empty value is passed CallerID will be used the same as in Default User settings. If empty in Default User settings and in request - it will not be used).&lt;br /&gt;
* '''client_id''' - Company/Personal ID.&lt;br /&gt;
* '''vat_number''' - TAX Registration Number.&lt;br /&gt;
* '''state'''&lt;br /&gt;
* '''county'''&lt;br /&gt;
* '''city'''&lt;br /&gt;
* '''postcode''' - Postcode/ZIP.&lt;br /&gt;
* '''address'''&lt;br /&gt;
* '''device_location_id'''&lt;br /&gt;
* '''lcr_id'''&lt;br /&gt;
* '''usertype'''&lt;br /&gt;
* '''permissions_group''' - Reseller or Accountant Permission Group (depending what usertype is sended)&lt;br /&gt;
* '''accounting_number''' - Accounting Number&lt;br /&gt;
* '''call_limit''' - Call limit (how many simultaneous Calls the new User can make by default?)&lt;br /&gt;
* '''credit_limit''' - Credit limit&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Request===&lt;br /&gt;
&lt;br /&gt;
 HTML POST: http://&amp;lt;SERVER_IP&amp;gt;/billing/api/user_register?id=kljsdfg54kl&amp;amp;username=username&amp;amp;password=pass&amp;amp;password2=pass&amp;amp;first_name=first&lt;br /&gt;
 &amp;amp;last_name=last&amp;amp;country_id=10&amp;amp;email=email@email.com&amp;amp;device_type=SIP&amp;amp;hash=sd5g16sd1g6s&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
&lt;br /&gt;
'''Success'''&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;page&amp;gt;&lt;br /&gt;
   &amp;lt;status&amp;gt;&lt;br /&gt;
     &amp;lt;success&amp;gt;Registration successful&amp;lt;/success&amp;gt;&lt;br /&gt;
   &amp;lt;/status&amp;gt;&lt;br /&gt;
   &amp;lt;user_device_settings&amp;gt;&lt;br /&gt;
     &amp;lt;email&amp;gt;Registration email&amp;lt;/email&amp;gt; - If email sending enabled.&lt;br /&gt;
     &amp;lt;user_id&amp;gt; user id&amp;lt;/user_id&amp;gt; &amp;lt;!---This functionality is available from MOR 12---&amp;gt;&lt;br /&gt;
     &amp;lt;device_type&amp;gt; device type [SIP|IAX2]&amp;lt;/device_type&amp;gt;&lt;br /&gt;
     &amp;lt;device_id&amp;gt; device id &amp;lt;/device_id&amp;gt; &amp;lt;!---This functionality is available from MOR 12---&amp;gt;&lt;br /&gt;
     &amp;lt;username&amp;gt; device username &amp;lt;/username&amp;gt;&lt;br /&gt;
     &amp;lt;password&amp;gt; device password &amp;lt;/password&amp;gt;&lt;br /&gt;
     &amp;lt;pin&amp;gt; device pin &amp;lt;/pin&amp;gt;&lt;br /&gt;
     &amp;lt;server_ip&amp;gt; Asterisk Server IP &amp;lt;/server_ip&amp;gt;&lt;br /&gt;
     &amp;lt;registration_notice&amp;gt; Registration notice which is set in Settings &amp;lt;/registration_notice&amp;gt;&lt;br /&gt;
   &amp;lt;/user_device_settings&amp;gt;&lt;br /&gt;
 &amp;lt;/page&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
'''Errors'''&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;error&amp;gt;Incorrect hash&amp;lt;/error&amp;gt; - Hash was not correct. Check API_Secret_Key and order or params while concatenating hash_string.&lt;br /&gt;
* &amp;lt;error&amp;gt;Registration over API is disabled&amp;lt;/error&amp;gt; - Setting: Settings-&amp;gt;API-&amp;gt;API allow Registration, is off. Turn on API allow Registration.&lt;br /&gt;
* &amp;lt;error&amp;gt;Access Denied&amp;lt;/error&amp;gt; - User with UNIQUEHASH not found or params id not send. Enter correct id.&lt;br /&gt;
* &amp;lt;error&amp;gt;Please enter username&amp;lt;/error&amp;gt; - Params username is not send. Enter correct username.&lt;br /&gt;
* &amp;lt;error&amp;gt;Enter device type&amp;lt;/error&amp;gt; - device_type is not send. Enter correct device_type.&lt;br /&gt;
* &amp;lt;error&amp;gt;Such username is already taken&amp;lt;/error&amp;gt; - Duplicate of username. Change username.&lt;br /&gt;
* &amp;lt;error&amp;gt;Passwords do not match&amp;lt;/error&amp;gt; - Enter correct passwords.&lt;br /&gt;
* &amp;lt;error&amp;gt;Password must be longer than (...) characters&amp;lt;/error&amp;gt; - Enter correct password.&lt;br /&gt;
* &amp;lt;error&amp;gt;Please enter first name&amp;lt;/error&amp;gt; - Enter first_name.&lt;br /&gt;
* &amp;lt;error&amp;gt;Please enter last name&amp;lt;/error&amp;gt; - Enter last_name.&lt;br /&gt;
* &amp;lt;error&amp;gt;Please select country&amp;lt;/error&amp;gt; - Enter country_id.&lt;br /&gt;
* &amp;lt;error&amp;gt;Please enter email&amp;lt;/error&amp;gt; - Email address is not valid or not send. Enter correct email.&lt;br /&gt;
* &amp;lt;error&amp;gt;This email address is already in use&amp;lt;/error&amp;gt; - Change email address.&lt;br /&gt;
* &amp;lt;error&amp;gt;User with mobile phone already exists&amp;lt;/error&amp;gt; - Change mobile phone.&lt;br /&gt;
* &amp;lt;error&amp;gt;User with phone already exists&amp;lt;/error&amp;gt; - Change phone.&lt;br /&gt;
* &amp;lt;error&amp;gt;User with fax already exists&amp;lt;/error&amp;gt; - Change fax.&lt;br /&gt;
* &amp;lt;error&amp;gt;Default user is not present&amp;lt;/error&amp;gt; - [[Default_user | Default User's]] settings are not saved in database. &lt;br /&gt;
* &amp;lt;error&amp;gt;LCR was not found&amp;lt;/error&amp;gt; - LCR id incorrect or does not exist&lt;br /&gt;
* &amp;lt;error&amp;gt;Location was not found&amp;lt;/error&amp;gt; - Location id incorrect or does not exist&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of Country IDs ===&lt;br /&gt;
&lt;br /&gt;
1 - Afghanistan&lt;br /&gt;
&lt;br /&gt;
2 - Albania&lt;br /&gt;
&lt;br /&gt;
3 - Algeria&lt;br /&gt;
&lt;br /&gt;
4 - American Samoa&lt;br /&gt;
&lt;br /&gt;
5 - Andorra&lt;br /&gt;
&lt;br /&gt;
6 - Angola &lt;br /&gt;
&lt;br /&gt;
7 - Anguilla &lt;br /&gt;
&lt;br /&gt;
8 - Antarctica &lt;br /&gt;
&lt;br /&gt;
9 - Antigua And Barbuda&lt;br /&gt;
&lt;br /&gt;
10 - Argentina&lt;br /&gt;
&lt;br /&gt;
11 - Armenia&lt;br /&gt;
&lt;br /&gt;
12 - Aruba&lt;br /&gt;
&lt;br /&gt;
13 - Australia&lt;br /&gt;
&lt;br /&gt;
14 - Austria&lt;br /&gt;
&lt;br /&gt;
15 - Azerbaijan &lt;br /&gt;
&lt;br /&gt;
16 - Bahamas&lt;br /&gt;
&lt;br /&gt;
17 - Bahrain&lt;br /&gt;
&lt;br /&gt;
18 - Bangladesh &lt;br /&gt;
&lt;br /&gt;
19 - Barbados &lt;br /&gt;
&lt;br /&gt;
20 - Belarus&lt;br /&gt;
&lt;br /&gt;
21 - Belgium&lt;br /&gt;
&lt;br /&gt;
22 - Belize &lt;br /&gt;
&lt;br /&gt;
23 - Benin&lt;br /&gt;
&lt;br /&gt;
24 - Bermuda&lt;br /&gt;
&lt;br /&gt;
25 - Bhutan &lt;br /&gt;
&lt;br /&gt;
26 - Bolivia&lt;br /&gt;
&lt;br /&gt;
27 - Bosnia And Herzegovina &lt;br /&gt;
&lt;br /&gt;
28 - Botswana &lt;br /&gt;
&lt;br /&gt;
30 - Brazil &lt;br /&gt;
&lt;br /&gt;
32 - Brunei Darussalam&lt;br /&gt;
&lt;br /&gt;
33 - Bulgaria &lt;br /&gt;
&lt;br /&gt;
34 - Burkina Faso &lt;br /&gt;
&lt;br /&gt;
35 - Burundi&lt;br /&gt;
&lt;br /&gt;
36 - Cambodia &lt;br /&gt;
&lt;br /&gt;
37 - Cameroon &lt;br /&gt;
&lt;br /&gt;
38 - Canada &lt;br /&gt;
&lt;br /&gt;
39 - Cape Verde &lt;br /&gt;
&lt;br /&gt;
40 - Cayman Islands &lt;br /&gt;
&lt;br /&gt;
41 - Central African Republic &lt;br /&gt;
&lt;br /&gt;
42 - Chad &lt;br /&gt;
&lt;br /&gt;
43 - Chile&lt;br /&gt;
&lt;br /&gt;
44 - China&lt;br /&gt;
&lt;br /&gt;
45 - Christmas Island &lt;br /&gt;
&lt;br /&gt;
46 - Cocos (Keeling) Islands&lt;br /&gt;
&lt;br /&gt;
47 - Colombia &lt;br /&gt;
&lt;br /&gt;
48 - Comoros&lt;br /&gt;
&lt;br /&gt;
49 - Congo&lt;br /&gt;
&lt;br /&gt;
50 - Congo, The Democratic Republic Of The&lt;br /&gt;
&lt;br /&gt;
51 - Cook Islands &lt;br /&gt;
&lt;br /&gt;
52 - Costa Rica &lt;br /&gt;
&lt;br /&gt;
53 - Ivory Cost &lt;br /&gt;
&lt;br /&gt;
54 - Croatia&lt;br /&gt;
&lt;br /&gt;
55 - Cuba &lt;br /&gt;
&lt;br /&gt;
56 - Cyprus &lt;br /&gt;
&lt;br /&gt;
57 - Czech Republic &lt;br /&gt;
&lt;br /&gt;
58 - Denmark&lt;br /&gt;
&lt;br /&gt;
59 - Djibouti &lt;br /&gt;
&lt;br /&gt;
60 - Dominica &lt;br /&gt;
&lt;br /&gt;
61 - Dominican Republic &lt;br /&gt;
&lt;br /&gt;
62 - Ecuador&lt;br /&gt;
&lt;br /&gt;
63 - Egypt&lt;br /&gt;
&lt;br /&gt;
64 - El Salvador&lt;br /&gt;
&lt;br /&gt;
65 - Equatorial Guinea&lt;br /&gt;
&lt;br /&gt;
66 - Eritrea&lt;br /&gt;
&lt;br /&gt;
67 - Estonia&lt;br /&gt;
&lt;br /&gt;
68 - Ethiopia &lt;br /&gt;
&lt;br /&gt;
69 - Falkland Islands (Malvinas)&lt;br /&gt;
&lt;br /&gt;
70 - Faroe Islands&lt;br /&gt;
&lt;br /&gt;
71 - Fiji &lt;br /&gt;
&lt;br /&gt;
72 - Finland&lt;br /&gt;
&lt;br /&gt;
73 - France &lt;br /&gt;
&lt;br /&gt;
74 - French Guiana&lt;br /&gt;
&lt;br /&gt;
75 - French Polynesia &lt;br /&gt;
&lt;br /&gt;
77 - Gabon&lt;br /&gt;
&lt;br /&gt;
78 - Gambia &lt;br /&gt;
&lt;br /&gt;
79 - Georgia&lt;br /&gt;
&lt;br /&gt;
80 - Germany&lt;br /&gt;
&lt;br /&gt;
81 - Ghana&lt;br /&gt;
&lt;br /&gt;
82 - Gibraltar&lt;br /&gt;
&lt;br /&gt;
83 - Greece &lt;br /&gt;
&lt;br /&gt;
84 - Greenland&lt;br /&gt;
&lt;br /&gt;
85 - Grenada&lt;br /&gt;
&lt;br /&gt;
86 - Guadeloupe &lt;br /&gt;
&lt;br /&gt;
87 - Guam &lt;br /&gt;
&lt;br /&gt;
88 - Guatemala&lt;br /&gt;
&lt;br /&gt;
89 - Guinea &lt;br /&gt;
&lt;br /&gt;
90 - Guinea-Bissau&lt;br /&gt;
&lt;br /&gt;
91 - Guyana &lt;br /&gt;
&lt;br /&gt;
92 - Haiti&lt;br /&gt;
&lt;br /&gt;
94 - Vatican City &lt;br /&gt;
&lt;br /&gt;
95 - Honduras &lt;br /&gt;
&lt;br /&gt;
96 - Hong Kong&lt;br /&gt;
&lt;br /&gt;
97 - Hungary&lt;br /&gt;
&lt;br /&gt;
98 - Iceland&lt;br /&gt;
&lt;br /&gt;
99 - India&lt;br /&gt;
&lt;br /&gt;
100 - Indonesia&lt;br /&gt;
&lt;br /&gt;
101 - Iran &lt;br /&gt;
&lt;br /&gt;
102 - Iraq &lt;br /&gt;
&lt;br /&gt;
103 - Ireland&lt;br /&gt;
&lt;br /&gt;
104 - Israel &lt;br /&gt;
&lt;br /&gt;
105 - Italy&lt;br /&gt;
&lt;br /&gt;
106 - Jamaica&lt;br /&gt;
&lt;br /&gt;
107 - Japan&lt;br /&gt;
&lt;br /&gt;
108 - Jordan &lt;br /&gt;
&lt;br /&gt;
109 - Kazakhstan &lt;br /&gt;
&lt;br /&gt;
110 - Kenya&lt;br /&gt;
&lt;br /&gt;
111 - Kiribati &lt;br /&gt;
&lt;br /&gt;
112 - Korea, Democratic People's Republic Of &lt;br /&gt;
&lt;br /&gt;
113 - Korea, Republic of &lt;br /&gt;
&lt;br /&gt;
114 - Kuwait &lt;br /&gt;
&lt;br /&gt;
115 - Kyrgyzstan &lt;br /&gt;
&lt;br /&gt;
116 - Laos &lt;br /&gt;
&lt;br /&gt;
117 - Latvia &lt;br /&gt;
&lt;br /&gt;
118 - Lebanon&lt;br /&gt;
&lt;br /&gt;
119 - Lesotho&lt;br /&gt;
&lt;br /&gt;
120 - Liberia&lt;br /&gt;
&lt;br /&gt;
121 - Libyan Arab Jamahiriya &lt;br /&gt;
&lt;br /&gt;
122 - Liechtenstein&lt;br /&gt;
&lt;br /&gt;
123 - Lithuania&lt;br /&gt;
&lt;br /&gt;
124 - Luxembourg &lt;br /&gt;
&lt;br /&gt;
125 - Macao&lt;br /&gt;
&lt;br /&gt;
126 - Macedonia&lt;br /&gt;
&lt;br /&gt;
127 - Madagascar &lt;br /&gt;
&lt;br /&gt;
128 - Malawi &lt;br /&gt;
&lt;br /&gt;
129 - Malaysia &lt;br /&gt;
&lt;br /&gt;
130 - Maldives &lt;br /&gt;
&lt;br /&gt;
131 - Mali &lt;br /&gt;
&lt;br /&gt;
132 - Malta&lt;br /&gt;
&lt;br /&gt;
133 - Marshall islands &lt;br /&gt;
&lt;br /&gt;
134 - Martinique &lt;br /&gt;
&lt;br /&gt;
135 - Mauritania &lt;br /&gt;
&lt;br /&gt;
136 - Mauritius&lt;br /&gt;
&lt;br /&gt;
137 - Mayotte&lt;br /&gt;
&lt;br /&gt;
138 - Mexico &lt;br /&gt;
&lt;br /&gt;
139 - Micronesia &lt;br /&gt;
&lt;br /&gt;
140 - Moldova&lt;br /&gt;
&lt;br /&gt;
141 - Monaco &lt;br /&gt;
&lt;br /&gt;
142 - Mongolia &lt;br /&gt;
&lt;br /&gt;
143 - Montserrat &lt;br /&gt;
&lt;br /&gt;
144 - Morocco&lt;br /&gt;
&lt;br /&gt;
145 - Mozambique &lt;br /&gt;
&lt;br /&gt;
146 - Myanmar&lt;br /&gt;
&lt;br /&gt;
147 - Namibia&lt;br /&gt;
&lt;br /&gt;
148 - Nauru&lt;br /&gt;
&lt;br /&gt;
149 - Nepal&lt;br /&gt;
&lt;br /&gt;
150 - Netherlands&lt;br /&gt;
&lt;br /&gt;
151 - Netherlands Antilles &lt;br /&gt;
&lt;br /&gt;
152 - New Caledonia&lt;br /&gt;
&lt;br /&gt;
153 - New Zealand&lt;br /&gt;
&lt;br /&gt;
154 - Nicaragua&lt;br /&gt;
&lt;br /&gt;
155 - Niger&lt;br /&gt;
&lt;br /&gt;
156 - Nigeria&lt;br /&gt;
&lt;br /&gt;
157 - Niue &lt;br /&gt;
&lt;br /&gt;
158 - Norfolk Island &lt;br /&gt;
&lt;br /&gt;
159 - Northern Mariana Islands &lt;br /&gt;
&lt;br /&gt;
160 - Norway &lt;br /&gt;
&lt;br /&gt;
161 - Oman &lt;br /&gt;
&lt;br /&gt;
162 - Pakistan &lt;br /&gt;
&lt;br /&gt;
163 - Palau&lt;br /&gt;
&lt;br /&gt;
164 - Palestine&lt;br /&gt;
&lt;br /&gt;
165 - Panama &lt;br /&gt;
&lt;br /&gt;
166 - Papua New Guinea &lt;br /&gt;
&lt;br /&gt;
167 - Paraguay &lt;br /&gt;
&lt;br /&gt;
168 - Peru &lt;br /&gt;
&lt;br /&gt;
169 - Philippines&lt;br /&gt;
&lt;br /&gt;
171 - Poland &lt;br /&gt;
&lt;br /&gt;
172 - Portugal &lt;br /&gt;
&lt;br /&gt;
173 - Puerto Rico&lt;br /&gt;
&lt;br /&gt;
174 - Qatar&lt;br /&gt;
&lt;br /&gt;
175 - Reunion&lt;br /&gt;
&lt;br /&gt;
176 - Romania&lt;br /&gt;
&lt;br /&gt;
177 - Russian Federation &lt;br /&gt;
&lt;br /&gt;
178 - Rwanda &lt;br /&gt;
&lt;br /&gt;
179 - Saint Helena &lt;br /&gt;
&lt;br /&gt;
180 - Saint Kitts And Nevis&lt;br /&gt;
&lt;br /&gt;
181 - Saint Lucia&lt;br /&gt;
&lt;br /&gt;
182 - Saint Pierre And Miquelon&lt;br /&gt;
&lt;br /&gt;
183 - Saint Vincent And The Grenadines &lt;br /&gt;
&lt;br /&gt;
184 - Samoa&lt;br /&gt;
&lt;br /&gt;
185 - San Marino &lt;br /&gt;
&lt;br /&gt;
186 - Sao Tome And Principe&lt;br /&gt;
&lt;br /&gt;
187 - Saudi Arabia &lt;br /&gt;
&lt;br /&gt;
188 - Senegal&lt;br /&gt;
&lt;br /&gt;
189 - Seychelles &lt;br /&gt;
&lt;br /&gt;
190 - Sierra Leone &lt;br /&gt;
&lt;br /&gt;
191 - Singapore&lt;br /&gt;
&lt;br /&gt;
192 - Slovakia &lt;br /&gt;
&lt;br /&gt;
193 - Slovenia &lt;br /&gt;
&lt;br /&gt;
194 - Solomon Islands&lt;br /&gt;
&lt;br /&gt;
195 - Somalia&lt;br /&gt;
&lt;br /&gt;
196 - South Africa &lt;br /&gt;
&lt;br /&gt;
198 - Spain&lt;br /&gt;
&lt;br /&gt;
199 - Sri Lanka&lt;br /&gt;
&lt;br /&gt;
200 - Sudan&lt;br /&gt;
&lt;br /&gt;
201 - Suriname &lt;br /&gt;
&lt;br /&gt;
203 - Swaziland&lt;br /&gt;
&lt;br /&gt;
204 - Sweden &lt;br /&gt;
&lt;br /&gt;
205 - Switzerland&lt;br /&gt;
&lt;br /&gt;
206 - Syrian Arab Republic &lt;br /&gt;
&lt;br /&gt;
207 - Taiwan &lt;br /&gt;
&lt;br /&gt;
208 - Tajikistan &lt;br /&gt;
&lt;br /&gt;
209 - Tanzania &lt;br /&gt;
&lt;br /&gt;
210 - Thailand &lt;br /&gt;
&lt;br /&gt;
212 - Togo &lt;br /&gt;
&lt;br /&gt;
213 - Tokelau&lt;br /&gt;
&lt;br /&gt;
214 - Tonga&lt;br /&gt;
&lt;br /&gt;
215 - Trinidad And Tobago&lt;br /&gt;
&lt;br /&gt;
216 - Tunisia&lt;br /&gt;
&lt;br /&gt;
217 - Turkey &lt;br /&gt;
&lt;br /&gt;
218 - Turkmenistan &lt;br /&gt;
&lt;br /&gt;
219 - Turks And Caicos Islands &lt;br /&gt;
&lt;br /&gt;
220 - Tuvalu &lt;br /&gt;
&lt;br /&gt;
221 - Uganda &lt;br /&gt;
&lt;br /&gt;
222 - Ukraine&lt;br /&gt;
&lt;br /&gt;
223 - United Arab Emirates &lt;br /&gt;
&lt;br /&gt;
224 - United Kingdom &lt;br /&gt;
&lt;br /&gt;
225 - United States&lt;br /&gt;
&lt;br /&gt;
227 - Uruguay&lt;br /&gt;
&lt;br /&gt;
228 - Uzbekistan &lt;br /&gt;
&lt;br /&gt;
229 - Vanuatu&lt;br /&gt;
&lt;br /&gt;
230 - Venezuela&lt;br /&gt;
&lt;br /&gt;
231 - Vietnam&lt;br /&gt;
&lt;br /&gt;
232 - Virgin Islands, British&lt;br /&gt;
&lt;br /&gt;
233 - Virgin Islands, U.S. &lt;br /&gt;
&lt;br /&gt;
234 - Wallis And Futuna&lt;br /&gt;
&lt;br /&gt;
236 - Yemen&lt;br /&gt;
&lt;br /&gt;
238 - Zambia &lt;br /&gt;
&lt;br /&gt;
239 - Zimbabwe &lt;br /&gt;
&lt;br /&gt;
240 - Ascension Island &lt;br /&gt;
&lt;br /&gt;
241 - Diego Garcia &lt;br /&gt;
&lt;br /&gt;
242 - Inmarsat &lt;br /&gt;
&lt;br /&gt;
243 - East Timor &lt;br /&gt;
&lt;br /&gt;
246 - Iridium&lt;br /&gt;
&lt;br /&gt;
247 - Serbia and Montenegro&lt;br /&gt;
&lt;br /&gt;
250 - Emsat&lt;br /&gt;
&lt;br /&gt;
251 - Ellipso-3&lt;br /&gt;
&lt;br /&gt;
252 - Globalstar &lt;br /&gt;
&lt;br /&gt;
253 - Montenegro &lt;br /&gt;
&lt;br /&gt;
254 - Kosovo&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[MOR API]]&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=MOR_API_Subscriptions_get&amp;diff=18578</id>
		<title>MOR API Subscriptions get</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=MOR_API_Subscriptions_get&amp;diff=18578"/>
		<updated>2014-10-29T13:20:18Z</updated>

		<summary type="html">&lt;p&gt;Tester2: /* See also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= NOTE: Available from MOR X5 =&lt;br /&gt;
&lt;br /&gt;
=Description=&lt;br /&gt;
[[MOR API]] Subscriptions get&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
* From '''MOR X5''' Call: '''/api/subscriptions_get'''&lt;br /&gt;
* Methods: POST, GET(if allowed, not recomended)&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Parametres===&lt;br /&gt;
&lt;br /&gt;
* u - username for authentication. '''Required'''.&lt;br /&gt;
* service_id - Subscription's Service id.&lt;br /&gt;
* subscription_activation_start - Subscription's Activation Start timestamp in System Time Zone (if not defined - current day).&lt;br /&gt;
* subscription_activation_end - Subscription's Activation End timestamp in System Time Zone (if not defined - current day).&lt;br /&gt;
* subscription_memo - Subscription's memo.&lt;br /&gt;
* subscription_until_canceled - defines if Subscription can be Until canceled - can not to have Activation End (0 - off, 1 - on, default - off). &lt;br /&gt;
* user_id - Subscription's User id&lt;br /&gt;
* [[MOR API hash construction | hash]] - SHA1 hash constructed using '''API_Secret_Key''' ([[MOR API hash construction | More described in Constructing hash]]). '''Required'''.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Request===&lt;br /&gt;
&lt;br /&gt;
We have: API Secret Key = secret&lt;br /&gt;
&lt;br /&gt;
We send:&lt;br /&gt;
 HTML POST: http://&amp;lt;SERVER_IP&amp;gt;/billing/api/subscriptions_get?&amp;amp;u=admin&amp;amp;service_id=2&amp;amp;subscription_activation_start=1307167264&amp;amp;subscription_activation_end=1307167265&lt;br /&gt;
 &amp;amp;subscription_memo=Subscriptions memo&amp;amp;subscription_until_canceled=1&amp;amp;user_id=2&lt;br /&gt;
'''NOTE that username is not included in hash'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Success'''&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;page&amp;gt;&lt;br /&gt;
  &amp;lt;status&amp;gt;&lt;br /&gt;
    &amp;lt;subscriptions&amp;gt;&lt;br /&gt;
      &amp;lt;subscription&amp;gt;&lt;br /&gt;
        &amp;lt;user&amp;gt;Test User #1&amp;lt;/user&amp;gt;&lt;br /&gt;
        &amp;lt;device&amp;gt;&amp;lt;/device&amp;gt;&lt;br /&gt;
        &amp;lt;service&amp;gt;Service Name&amp;lt;/service&amp;gt;&lt;br /&gt;
        &amp;lt;from&amp;gt;2011-06-04 06:01:04 +0200&amp;lt;/from&amp;gt;&lt;br /&gt;
        &amp;lt;till&amp;gt;&amp;lt;/till&amp;gt;&lt;br /&gt;
        &amp;lt;time_left&amp;gt;&amp;lt;/time_left&amp;gt;&lt;br /&gt;
        &amp;lt;memo&amp;gt;Subscriptions memo&amp;lt;/memo&amp;gt;&lt;br /&gt;
      &amp;lt;/subscription&amp;gt;&lt;br /&gt;
    &amp;lt;/subscriptions&amp;gt;&lt;br /&gt;
  &amp;lt;/status&amp;gt;&lt;br /&gt;
 &amp;lt;/page&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''Errors'''&lt;br /&gt;
* &amp;lt;error&amp;gt;No Subscriptions found&amp;lt;/error&amp;gt; - Subscription was not found using specified params. Use correct params.&lt;br /&gt;
* &amp;lt;error&amp;gt;You are not authorized to manage Subscriptions&amp;lt;/error&amp;gt; - Such username does not exist in the database or User does not have rights to manage Subscriptions.&lt;br /&gt;
* &amp;lt;error&amp;gt;Incorrect hash&amp;lt;/error&amp;gt; - Hash was not correct. Check API_Secret_Key while concatenating hash_string.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[MOR API]]&lt;br /&gt;
* [[MOR API subscription delete]]&lt;br /&gt;
* [[MOR API subscription create]]&lt;br /&gt;
* [[MOR API subscription update]]&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=MOR_API_subscription_delete&amp;diff=18577</id>
		<title>MOR API subscription delete</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=MOR_API_subscription_delete&amp;diff=18577"/>
		<updated>2014-10-29T13:19:45Z</updated>

		<summary type="html">&lt;p&gt;Tester2: /* See also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Deescription=&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR x5---&amp;gt;&lt;br /&gt;
[[MOR API]] Delete subscription&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
* Call: /api/subscription_delete&lt;br /&gt;
* Methods: POST, GET(if allowed, not recomended)&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Parametres===&lt;br /&gt;
&lt;br /&gt;
Parameters which are '''included''' into hash:&lt;br /&gt;
&lt;br /&gt;
* subscription_id - ID of Subscription you want to delete. '''Required'''.&lt;br /&gt;
* subscription_delete_action - number of action that you wish to choose. Numbers meaning: 1 - Delete without money return, 2 - Disable Subscriptions, 3 - Delete with whole money return. '''Required'''.&lt;br /&gt;
&lt;br /&gt;
Parameters which are '''not included''' into hash:&lt;br /&gt;
&lt;br /&gt;
* [[MOR API hash construction | hash]] - SHA1 hash constructed using '''API_Secret_Key''' ([[MOR API hash construction | More described in Constructing hash]]). '''Required'''.&lt;br /&gt;
* u - username for authentication. '''Required'''.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Request===&lt;br /&gt;
&lt;br /&gt;
We have subscription_id = 123, API Secret Key = 456789 and we want to Subscription to be deleted with whole money return.&lt;br /&gt;
&lt;br /&gt;
We send:&lt;br /&gt;
&lt;br /&gt;
 HTML POST: http://&amp;lt;SERVER_IP&amp;gt;/billing/api/subscription_delete?u=username&amp;amp;subscription_id=123&amp;amp;subscription_delete_action=3&amp;amp;hash=e0f93111f867ca5d424c0f0ebb6b678159086d00&lt;br /&gt;
&lt;br /&gt;
'''* Note that username are not included in hash'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Returns===&lt;br /&gt;
&lt;br /&gt;
'''Success'''&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;page&amp;gt;&lt;br /&gt;
    &amp;lt;status&amp;gt;&lt;br /&gt;
      &amp;lt;success&amp;gt;Subscription deleted and money returned&amp;lt;/success&amp;gt;&lt;br /&gt;
    &amp;lt;/status&amp;gt;&lt;br /&gt;
 &amp;lt;/page&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;page&amp;gt;&lt;br /&gt;
    &amp;lt;status&amp;gt;&lt;br /&gt;
      &amp;lt;success&amp;gt;Subscription disabled&amp;lt;/success&amp;gt;&lt;br /&gt;
    &amp;lt;/status&amp;gt;&lt;br /&gt;
  &amp;lt;/page&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;page&amp;gt;&lt;br /&gt;
    &amp;lt;status&amp;gt;&lt;br /&gt;
      &amp;lt;success&amp;gt;Subscription deleted&amp;lt;/success&amp;gt;&lt;br /&gt;
    &amp;lt;/status&amp;gt;&lt;br /&gt;
  &amp;lt;/page&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
'''Errors'''&lt;br /&gt;
* &amp;lt;error&amp;gt;Access Denied&amp;lt;/error&amp;gt; - Person trying to delete Subscription does not exist or his user type is User.&lt;br /&gt;
 &lt;br /&gt;
* &amp;lt;error&amp;gt;You are not authorised to use this functionality&amp;lt;/error&amp;gt; - Person trying to delete subscription does not have Manage Subscription permission.&lt;br /&gt;
* &amp;lt;error&amp;gt;Incorrect hash&amp;lt;/error&amp;gt; - Hash was not correct. Check API_Secret_Key and order or params while concatenating hash_string.&lt;br /&gt;
* &amp;lt;error&amp;gt;Subscription disabled&amp;lt;/error&amp;gt; - Subscription was successfully disabled.&lt;br /&gt;
* &amp;lt;error&amp;gt;Subscription was not found&amp;lt;/error&amp;gt; - Subscription with specified subscription_id was not found.&lt;br /&gt;
* &amp;lt;error&amp;gt;Subscription delete action was not found&amp;lt;/error&amp;gt; - Specified subscription_delete_action was not found should be in (1,2,3).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[MOR API]]&lt;br /&gt;
* [[MOR API Subscriptions get]]&lt;br /&gt;
* [[MOR API subscription create]]&lt;br /&gt;
* [[MOR API subscription update]]&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=MOR_API_subscription_create&amp;diff=18576</id>
		<title>MOR API subscription create</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=MOR_API_subscription_create&amp;diff=18576"/>
		<updated>2014-10-29T13:19:32Z</updated>

		<summary type="html">&lt;p&gt;Tester2: /* See also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Deescription=&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR x5---&amp;gt;&lt;br /&gt;
[[MOR API]] Create subscription&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
* Call: /api/subscription_create&lt;br /&gt;
* Methods: POST, GET(if allowed, not recomended)&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Parametres===&lt;br /&gt;
&lt;br /&gt;
Parameters which are '''included''' into hash:&lt;br /&gt;
&lt;br /&gt;
* service_id - Service ID. '''Required'''.&lt;br /&gt;
* user_id - User ID . '''Required'''.&lt;br /&gt;
&lt;br /&gt;
Parameters which are '''not included''' into hash:&lt;br /&gt;
&lt;br /&gt;
* [[MOR API hash construction | hash]] - SHA1 hash constructed using '''API_Secret_Key''' ([[MOR API hash construction | More described in Constructing hash]]). '''Required'''.&lt;br /&gt;
* u - username for authentication. '''Required'''.&lt;br /&gt;
* subscription_activation_start - timestamp of Subscription activation start. &lt;br /&gt;
* subscription_activation_end - timestamp of Subscription activation end. &lt;br /&gt;
* subscription_memo - memo of Subscription. &lt;br /&gt;
* subscription_until_canceled - subscription is until cancel (0 - off, 1 - on, default - off). &lt;br /&gt;
* subscription_no_expiration_at_the_end_of_a_month - subscription has no expiration at the end of month. (0 - off, 1 - on, default - off). '''Only for Flat Rate'''. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Request===&lt;br /&gt;
&lt;br /&gt;
We have service_id = 10, user_id = 2, subscription_memo = acc_one, API Secret Key = 456789.&lt;br /&gt;
&lt;br /&gt;
We send:&lt;br /&gt;
&lt;br /&gt;
 HTML POST: http://&amp;lt;SERVER_IP&amp;gt;/billing/api/subscription_create?u=username&amp;amp;service_id=10&amp;amp;user_id=2&amp;amp;subscription_memo=acc_one&amp;amp;hash=e0f93111f867ca5d424c0f0ebb6b678159086d00&lt;br /&gt;
&lt;br /&gt;
'''* Note that username are not included in hash'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Returns===&lt;br /&gt;
&lt;br /&gt;
'''Success'''&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;page&amp;gt;&lt;br /&gt;
    &amp;lt;status&amp;gt;&lt;br /&gt;
      &amp;lt;success&amp;gt;Subscription was successfully created&amp;lt;/success&amp;gt;&lt;br /&gt;
    &amp;lt;/status&amp;gt;&lt;br /&gt;
  &amp;lt;/page&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
'''Errors'''&lt;br /&gt;
* &amp;lt;error&amp;gt;Access Denied&amp;lt;/error&amp;gt; - user does not exist or cannot use this functionality. &lt;br /&gt;
* &amp;lt;error&amp;gt;You are not authorised to use this functionality&amp;lt;/error&amp;gt; - accountant does not have Manage Subscription permission.&lt;br /&gt;
* &amp;lt;error&amp;gt;Incorrect hash&amp;lt;/error&amp;gt; - Hash was not correct. Check API_Secret_Key and order or params while concatenating hash_string.&lt;br /&gt;
* &amp;lt;error&amp;gt;User has insufficient balance&amp;lt;/error&amp;gt; - Subscription price is bigger than Subscription User balance.&lt;br /&gt;
* &amp;lt;error&amp;gt;Service was not found&amp;lt;/error&amp;gt; - Service with specified service_id was not found.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[MOR API]]&lt;br /&gt;
* [[MOR API subscription delete]]&lt;br /&gt;
* [[MOR API Subscriptions get]]&lt;br /&gt;
* [[MOR API subscription update]]&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=MOR_API_subscription_update&amp;diff=18575</id>
		<title>MOR API subscription update</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=MOR_API_subscription_update&amp;diff=18575"/>
		<updated>2014-10-29T13:19:22Z</updated>

		<summary type="html">&lt;p&gt;Tester2: /* See also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Deescription=&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR x5---&amp;gt;&lt;br /&gt;
[[MOR API]] Update subscription&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
* Call: /api/subscription_update&lt;br /&gt;
* Methods: POST, GET(if allowed, not recomended)&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Parametres===&lt;br /&gt;
&lt;br /&gt;
Parameters which are '''included''' into hash:&lt;br /&gt;
&lt;br /&gt;
* subscription_id - Subscription ID. '''Required'''.&lt;br /&gt;
&lt;br /&gt;
Parameters which are '''not included''' into hash:&lt;br /&gt;
&lt;br /&gt;
* [[MOR API hash construction | hash]] - SHA1 hash constructed using '''API_Secret_Key''' ([[MOR API hash construction | More described in Constructing hash]]). '''Required'''.&lt;br /&gt;
* u - username for authentication. '''Required'''.&lt;br /&gt;
* subscription_activation_start - timestamp of Subscription activation start. &lt;br /&gt;
* subscription_activation_end - timestamp of Subscription activation end. &lt;br /&gt;
* subscription_memo - memo of Subscription. &lt;br /&gt;
* subscription_until_canceled - subscription is until cancel (0 - off, 1 - on, default - off). &lt;br /&gt;
* subscription_no_expiration_at_the_end_of_a_month - subscription has no expiration at the end of month. (0 - off, 1 - on, default - off). '''Only for Flat Rate'''. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Request===&lt;br /&gt;
&lt;br /&gt;
We have subscription_id = 10, subscription_activation_start = 1255132800, subscription_memo = acc_one, API Secret Key = 456789.&lt;br /&gt;
&lt;br /&gt;
We send:&lt;br /&gt;
&lt;br /&gt;
 HTML POST: http://&amp;lt;SERVER_IP&amp;gt;/billing/api/subscription_update?u=username&amp;amp;subscription_id=10&amp;amp;subscription_activation_start=1255132800&amp;amp;subscription_memo=acc_one&amp;amp;hash=e0f93111f867ca5d424c0f0ebb6b678159086d00&lt;br /&gt;
&lt;br /&gt;
'''* Note that username is not included in hash'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
&lt;br /&gt;
'''Success'''&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;page&amp;gt;&lt;br /&gt;
    &amp;lt;status&amp;gt;&lt;br /&gt;
      &amp;lt;success&amp;gt;Subscription was successfully updated&amp;lt;/success&amp;gt;&lt;br /&gt;
    &amp;lt;/status&amp;gt;&lt;br /&gt;
  &amp;lt;/page&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
'''Errors'''&lt;br /&gt;
* &amp;lt;error&amp;gt;Access Denied&amp;lt;/error&amp;gt; - user does not exist or cannot use this functionality. &lt;br /&gt;
* &amp;lt;error&amp;gt;You are not authorised to use this functionality&amp;lt;/error&amp;gt; - accountant does not have Manage Subscription permission.&lt;br /&gt;
* &amp;lt;error&amp;gt;Incorrect hash&amp;lt;/error&amp;gt; - Hash was not correct. Check API_Secret_Key and order or params while concatenating hash_string.&lt;br /&gt;
* &amp;lt;error&amp;gt;Subscription activation end date must be valid timestamp&amp;lt;/error&amp;gt; - self explanatory. &lt;br /&gt;
* &amp;lt;error&amp;gt;Subscription activation start date must be valid timestamp&amp;lt;/error&amp;gt; - self explanatory. &lt;br /&gt;
* &amp;lt;error&amp;gt;Subscription was not found&amp;lt;/error&amp;gt; - Subscription with specified subscription_id was not found.&lt;br /&gt;
* &amp;lt;error&amp;gt;Activation start date must be earlier than end date&amp;lt;/error&amp;gt; - self explanatory. &lt;br /&gt;
* &amp;lt;error&amp;gt;Service is not flat rate&amp;lt;/error&amp;gt; - you are using subscription_no_expiration_at_the_end_of_a_month parameter with service which is not Flat-Rate type. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[MOR API]]&lt;br /&gt;
* [[MOR API subscription delete]]&lt;br /&gt;
* [[MOR API Subscriptions get]]&lt;br /&gt;
* [[MOR API subscription create]]&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=MOR_API_subscription_update&amp;diff=18574</id>
		<title>MOR API subscription update</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=MOR_API_subscription_update&amp;diff=18574"/>
		<updated>2014-10-29T13:19:06Z</updated>

		<summary type="html">&lt;p&gt;Tester2: /* See also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Deescription=&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR x5---&amp;gt;&lt;br /&gt;
[[MOR API]] Update subscription&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
* Call: /api/subscription_update&lt;br /&gt;
* Methods: POST, GET(if allowed, not recomended)&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Parametres===&lt;br /&gt;
&lt;br /&gt;
Parameters which are '''included''' into hash:&lt;br /&gt;
&lt;br /&gt;
* subscription_id - Subscription ID. '''Required'''.&lt;br /&gt;
&lt;br /&gt;
Parameters which are '''not included''' into hash:&lt;br /&gt;
&lt;br /&gt;
* [[MOR API hash construction | hash]] - SHA1 hash constructed using '''API_Secret_Key''' ([[MOR API hash construction | More described in Constructing hash]]). '''Required'''.&lt;br /&gt;
* u - username for authentication. '''Required'''.&lt;br /&gt;
* subscription_activation_start - timestamp of Subscription activation start. &lt;br /&gt;
* subscription_activation_end - timestamp of Subscription activation end. &lt;br /&gt;
* subscription_memo - memo of Subscription. &lt;br /&gt;
* subscription_until_canceled - subscription is until cancel (0 - off, 1 - on, default - off). &lt;br /&gt;
* subscription_no_expiration_at_the_end_of_a_month - subscription has no expiration at the end of month. (0 - off, 1 - on, default - off). '''Only for Flat Rate'''. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Request===&lt;br /&gt;
&lt;br /&gt;
We have subscription_id = 10, subscription_activation_start = 1255132800, subscription_memo = acc_one, API Secret Key = 456789.&lt;br /&gt;
&lt;br /&gt;
We send:&lt;br /&gt;
&lt;br /&gt;
 HTML POST: http://&amp;lt;SERVER_IP&amp;gt;/billing/api/subscription_update?u=username&amp;amp;subscription_id=10&amp;amp;subscription_activation_start=1255132800&amp;amp;subscription_memo=acc_one&amp;amp;hash=e0f93111f867ca5d424c0f0ebb6b678159086d00&lt;br /&gt;
&lt;br /&gt;
'''* Note that username is not included in hash'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
&lt;br /&gt;
'''Success'''&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;page&amp;gt;&lt;br /&gt;
    &amp;lt;status&amp;gt;&lt;br /&gt;
      &amp;lt;success&amp;gt;Subscription was successfully updated&amp;lt;/success&amp;gt;&lt;br /&gt;
    &amp;lt;/status&amp;gt;&lt;br /&gt;
  &amp;lt;/page&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
'''Errors'''&lt;br /&gt;
* &amp;lt;error&amp;gt;Access Denied&amp;lt;/error&amp;gt; - user does not exist or cannot use this functionality. &lt;br /&gt;
* &amp;lt;error&amp;gt;You are not authorised to use this functionality&amp;lt;/error&amp;gt; - accountant does not have Manage Subscription permission.&lt;br /&gt;
* &amp;lt;error&amp;gt;Incorrect hash&amp;lt;/error&amp;gt; - Hash was not correct. Check API_Secret_Key and order or params while concatenating hash_string.&lt;br /&gt;
* &amp;lt;error&amp;gt;Subscription activation end date must be valid timestamp&amp;lt;/error&amp;gt; - self explanatory. &lt;br /&gt;
* &amp;lt;error&amp;gt;Subscription activation start date must be valid timestamp&amp;lt;/error&amp;gt; - self explanatory. &lt;br /&gt;
* &amp;lt;error&amp;gt;Subscription was not found&amp;lt;/error&amp;gt; - Subscription with specified subscription_id was not found.&lt;br /&gt;
* &amp;lt;error&amp;gt;Activation start date must be earlier than end date&amp;lt;/error&amp;gt; - self explanatory. &lt;br /&gt;
* &amp;lt;error&amp;gt;Service is not flat rate&amp;lt;/error&amp;gt; - you are using subscription_no_expiration_at_the_end_of_a_month parameter with service which is not Flat-Rate type. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[MOR API]]&lt;br /&gt;
* [[MOR API subscription delete]]&lt;br /&gt;
* [[MOR API Subscriptions get]]&lt;br /&gt;
* [[MOR API subscription create]]&lt;br /&gt;
* [[MOR API subscription update]]&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=MOR_API_subscription_update&amp;diff=18573</id>
		<title>MOR API subscription update</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=MOR_API_subscription_update&amp;diff=18573"/>
		<updated>2014-10-29T13:03:52Z</updated>

		<summary type="html">&lt;p&gt;Tester2: /* Request */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Deescription=&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR x5---&amp;gt;&lt;br /&gt;
[[MOR API]] Update subscription&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
* Call: /api/subscription_update&lt;br /&gt;
* Methods: POST, GET(if allowed, not recomended)&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Parametres===&lt;br /&gt;
&lt;br /&gt;
Parameters which are '''included''' into hash:&lt;br /&gt;
&lt;br /&gt;
* subscription_id - Subscription ID. '''Required'''.&lt;br /&gt;
&lt;br /&gt;
Parameters which are '''not included''' into hash:&lt;br /&gt;
&lt;br /&gt;
* [[MOR API hash construction | hash]] - SHA1 hash constructed using '''API_Secret_Key''' ([[MOR API hash construction | More described in Constructing hash]]). '''Required'''.&lt;br /&gt;
* u - username for authentication. '''Required'''.&lt;br /&gt;
* subscription_activation_start - timestamp of Subscription activation start. &lt;br /&gt;
* subscription_activation_end - timestamp of Subscription activation end. &lt;br /&gt;
* subscription_memo - memo of Subscription. &lt;br /&gt;
* subscription_until_canceled - subscription is until cancel (0 - off, 1 - on, default - off). &lt;br /&gt;
* subscription_no_expiration_at_the_end_of_a_month - subscription has no expiration at the end of month. (0 - off, 1 - on, default - off). '''Only for Flat Rate'''. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Request===&lt;br /&gt;
&lt;br /&gt;
We have subscription_id = 10, subscription_activation_start = 1255132800, subscription_memo = acc_one, API Secret Key = 456789.&lt;br /&gt;
&lt;br /&gt;
We send:&lt;br /&gt;
&lt;br /&gt;
 HTML POST: http://&amp;lt;SERVER_IP&amp;gt;/billing/api/subscription_update?u=username&amp;amp;subscription_id=10&amp;amp;subscription_activation_start=1255132800&amp;amp;subscription_memo=acc_one&amp;amp;hash=e0f93111f867ca5d424c0f0ebb6b678159086d00&lt;br /&gt;
&lt;br /&gt;
'''* Note that username is not included in hash'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
&lt;br /&gt;
'''Success'''&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;page&amp;gt;&lt;br /&gt;
    &amp;lt;status&amp;gt;&lt;br /&gt;
      &amp;lt;success&amp;gt;Subscription was successfully updated&amp;lt;/success&amp;gt;&lt;br /&gt;
    &amp;lt;/status&amp;gt;&lt;br /&gt;
  &amp;lt;/page&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
'''Errors'''&lt;br /&gt;
* &amp;lt;error&amp;gt;Access Denied&amp;lt;/error&amp;gt; - user does not exist or cannot use this functionality. &lt;br /&gt;
* &amp;lt;error&amp;gt;You are not authorised to use this functionality&amp;lt;/error&amp;gt; - accountant does not have Manage Subscription permission.&lt;br /&gt;
* &amp;lt;error&amp;gt;Incorrect hash&amp;lt;/error&amp;gt; - Hash was not correct. Check API_Secret_Key and order or params while concatenating hash_string.&lt;br /&gt;
* &amp;lt;error&amp;gt;Subscription activation end date must be valid timestamp&amp;lt;/error&amp;gt; - self explanatory. &lt;br /&gt;
* &amp;lt;error&amp;gt;Subscription activation start date must be valid timestamp&amp;lt;/error&amp;gt; - self explanatory. &lt;br /&gt;
* &amp;lt;error&amp;gt;Subscription was not found&amp;lt;/error&amp;gt; - Subscription with specified subscription_id was not found.&lt;br /&gt;
* &amp;lt;error&amp;gt;Activation start date must be earlier than end date&amp;lt;/error&amp;gt; - self explanatory. &lt;br /&gt;
* &amp;lt;error&amp;gt;Service is not flat rate&amp;lt;/error&amp;gt; - you are using subscription_no_expiration_at_the_end_of_a_month parameter with service which is not Flat-Rate type. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[MOR API]]&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=MOR_API_subscription_update&amp;diff=18572</id>
		<title>MOR API subscription update</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=MOR_API_subscription_update&amp;diff=18572"/>
		<updated>2014-10-29T13:03:42Z</updated>

		<summary type="html">&lt;p&gt;Tester2: /* Returns */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Deescription=&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR x5---&amp;gt;&lt;br /&gt;
[[MOR API]] Update subscription&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
* Call: /api/subscription_update&lt;br /&gt;
* Methods: POST, GET(if allowed, not recomended)&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Parametres===&lt;br /&gt;
&lt;br /&gt;
Parameters which are '''included''' into hash:&lt;br /&gt;
&lt;br /&gt;
* subscription_id - Subscription ID. '''Required'''.&lt;br /&gt;
&lt;br /&gt;
Parameters which are '''not included''' into hash:&lt;br /&gt;
&lt;br /&gt;
* [[MOR API hash construction | hash]] - SHA1 hash constructed using '''API_Secret_Key''' ([[MOR API hash construction | More described in Constructing hash]]). '''Required'''.&lt;br /&gt;
* u - username for authentication. '''Required'''.&lt;br /&gt;
* subscription_activation_start - timestamp of Subscription activation start. &lt;br /&gt;
* subscription_activation_end - timestamp of Subscription activation end. &lt;br /&gt;
* subscription_memo - memo of Subscription. &lt;br /&gt;
* subscription_until_canceled - subscription is until cancel (0 - off, 1 - on, default - off). &lt;br /&gt;
* subscription_no_expiration_at_the_end_of_a_month - subscription has no expiration at the end of month. (0 - off, 1 - on, default - off). '''Only for Flat Rate'''. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Request===&lt;br /&gt;
&lt;br /&gt;
We have subscription_id = 10, subscription_activation_start = 1255132800, subscription_memo = acc_one, API Secret Key = 456789.&lt;br /&gt;
&lt;br /&gt;
We send:&lt;br /&gt;
&lt;br /&gt;
 HTML POST: http://&amp;lt;SERVER_IP&amp;gt;/billing/api/subscription_update?u=username&amp;amp;subscription_id=10&amp;amp;subscription_activation_start=1255132800&amp;amp;subscription_memo=acc_one&amp;amp;hash=e0f93111f867ca5d424c0f0ebb6b678159086d00&lt;br /&gt;
&lt;br /&gt;
'''* Note that username are not included in hash'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Returns===&lt;br /&gt;
&lt;br /&gt;
'''Success'''&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;page&amp;gt;&lt;br /&gt;
    &amp;lt;status&amp;gt;&lt;br /&gt;
      &amp;lt;success&amp;gt;Subscription was successfully updated&amp;lt;/success&amp;gt;&lt;br /&gt;
    &amp;lt;/status&amp;gt;&lt;br /&gt;
  &amp;lt;/page&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
'''Errors'''&lt;br /&gt;
* &amp;lt;error&amp;gt;Access Denied&amp;lt;/error&amp;gt; - user does not exist or cannot use this functionality. &lt;br /&gt;
* &amp;lt;error&amp;gt;You are not authorised to use this functionality&amp;lt;/error&amp;gt; - accountant does not have Manage Subscription permission.&lt;br /&gt;
* &amp;lt;error&amp;gt;Incorrect hash&amp;lt;/error&amp;gt; - Hash was not correct. Check API_Secret_Key and order or params while concatenating hash_string.&lt;br /&gt;
* &amp;lt;error&amp;gt;Subscription activation end date must be valid timestamp&amp;lt;/error&amp;gt; - self explanatory. &lt;br /&gt;
* &amp;lt;error&amp;gt;Subscription activation start date must be valid timestamp&amp;lt;/error&amp;gt; - self explanatory. &lt;br /&gt;
* &amp;lt;error&amp;gt;Subscription was not found&amp;lt;/error&amp;gt; - Subscription with specified subscription_id was not found.&lt;br /&gt;
* &amp;lt;error&amp;gt;Activation start date must be earlier than end date&amp;lt;/error&amp;gt; - self explanatory. &lt;br /&gt;
* &amp;lt;error&amp;gt;Service is not flat rate&amp;lt;/error&amp;gt; - you are using subscription_no_expiration_at_the_end_of_a_month parameter with service which is not Flat-Rate type. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[MOR API]]&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=MOR_API_subscription_create&amp;diff=18571</id>
		<title>MOR API subscription create</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=MOR_API_subscription_create&amp;diff=18571"/>
		<updated>2014-10-29T13:02:16Z</updated>

		<summary type="html">&lt;p&gt;Tester2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Deescription=&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR x5---&amp;gt;&lt;br /&gt;
[[MOR API]] Create subscription&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
* Call: /api/subscription_create&lt;br /&gt;
* Methods: POST, GET(if allowed, not recomended)&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Parametres===&lt;br /&gt;
&lt;br /&gt;
Parameters which are '''included''' into hash:&lt;br /&gt;
&lt;br /&gt;
* service_id - Service ID. '''Required'''.&lt;br /&gt;
* user_id - User ID . '''Required'''.&lt;br /&gt;
&lt;br /&gt;
Parameters which are '''not included''' into hash:&lt;br /&gt;
&lt;br /&gt;
* [[MOR API hash construction | hash]] - SHA1 hash constructed using '''API_Secret_Key''' ([[MOR API hash construction | More described in Constructing hash]]). '''Required'''.&lt;br /&gt;
* u - username for authentication. '''Required'''.&lt;br /&gt;
* subscription_activation_start - timestamp of Subscription activation start. &lt;br /&gt;
* subscription_activation_end - timestamp of Subscription activation end. &lt;br /&gt;
* subscription_memo - memo of Subscription. &lt;br /&gt;
* subscription_until_canceled - subscription is until cancel (0 - off, 1 - on, default - off). &lt;br /&gt;
* subscription_no_expiration_at_the_end_of_a_month - subscription has no expiration at the end of month. (0 - off, 1 - on, default - off). '''Only for Flat Rate'''. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Request===&lt;br /&gt;
&lt;br /&gt;
We have service_id = 10, user_id = 2, subscription_memo = acc_one, API Secret Key = 456789.&lt;br /&gt;
&lt;br /&gt;
We send:&lt;br /&gt;
&lt;br /&gt;
 HTML POST: http://&amp;lt;SERVER_IP&amp;gt;/billing/api/subscription_create?u=username&amp;amp;service_id=10&amp;amp;user_id=2&amp;amp;subscription_memo=acc_one&amp;amp;hash=e0f93111f867ca5d424c0f0ebb6b678159086d00&lt;br /&gt;
&lt;br /&gt;
'''* Note that username are not included in hash'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Returns===&lt;br /&gt;
&lt;br /&gt;
'''Success'''&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;page&amp;gt;&lt;br /&gt;
    &amp;lt;status&amp;gt;&lt;br /&gt;
      &amp;lt;success&amp;gt;Subscription was successfully created&amp;lt;/success&amp;gt;&lt;br /&gt;
    &amp;lt;/status&amp;gt;&lt;br /&gt;
  &amp;lt;/page&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
'''Errors'''&lt;br /&gt;
* &amp;lt;error&amp;gt;Access Denied&amp;lt;/error&amp;gt; - user does not exist or cannot use this functionality. &lt;br /&gt;
* &amp;lt;error&amp;gt;You are not authorised to use this functionality&amp;lt;/error&amp;gt; - accountant does not have Manage Subscription permission.&lt;br /&gt;
* &amp;lt;error&amp;gt;Incorrect hash&amp;lt;/error&amp;gt; - Hash was not correct. Check API_Secret_Key and order or params while concatenating hash_string.&lt;br /&gt;
* &amp;lt;error&amp;gt;User has insufficient balance&amp;lt;/error&amp;gt; - Subscription price is bigger than Subscription User balance.&lt;br /&gt;
* &amp;lt;error&amp;gt;Service was not found&amp;lt;/error&amp;gt; - Service with specified service_id was not found.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[MOR API]]&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=MOR_API_subscription_update&amp;diff=18570</id>
		<title>MOR API subscription update</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=MOR_API_subscription_update&amp;diff=18570"/>
		<updated>2014-10-29T13:02:12Z</updated>

		<summary type="html">&lt;p&gt;Tester2: Created page with '=Deescription= &amp;lt;!---This functionality is available from MOR x5---&amp;gt; MOR API Update subscription &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; =Usage=  * Call: /api/subscription_update * Methods: POST, GET(if all…'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Deescription=&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR x5---&amp;gt;&lt;br /&gt;
[[MOR API]] Update subscription&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
* Call: /api/subscription_update&lt;br /&gt;
* Methods: POST, GET(if allowed, not recomended)&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Parametres===&lt;br /&gt;
&lt;br /&gt;
Parameters which are '''included''' into hash:&lt;br /&gt;
&lt;br /&gt;
* subscription_id - Subscription ID. '''Required'''.&lt;br /&gt;
&lt;br /&gt;
Parameters which are '''not included''' into hash:&lt;br /&gt;
&lt;br /&gt;
* [[MOR API hash construction | hash]] - SHA1 hash constructed using '''API_Secret_Key''' ([[MOR API hash construction | More described in Constructing hash]]). '''Required'''.&lt;br /&gt;
* u - username for authentication. '''Required'''.&lt;br /&gt;
* subscription_activation_start - timestamp of Subscription activation start. &lt;br /&gt;
* subscription_activation_end - timestamp of Subscription activation end. &lt;br /&gt;
* subscription_memo - memo of Subscription. &lt;br /&gt;
* subscription_until_canceled - subscription is until cancel (0 - off, 1 - on, default - off). &lt;br /&gt;
* subscription_no_expiration_at_the_end_of_a_month - subscription has no expiration at the end of month. (0 - off, 1 - on, default - off). '''Only for Flat Rate'''. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Request===&lt;br /&gt;
&lt;br /&gt;
We have subscription_id = 10, subscription_activation_start = 1255132800, subscription_memo = acc_one, API Secret Key = 456789.&lt;br /&gt;
&lt;br /&gt;
We send:&lt;br /&gt;
&lt;br /&gt;
 HTML POST: http://&amp;lt;SERVER_IP&amp;gt;/billing/api/subscription_update?u=username&amp;amp;subscription_id=10&amp;amp;subscription_activation_start=1255132800&amp;amp;subscription_memo=acc_one&amp;amp;hash=e0f93111f867ca5d424c0f0ebb6b678159086d00&lt;br /&gt;
&lt;br /&gt;
'''* Note that username are not included in hash'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Returns===&lt;br /&gt;
&lt;br /&gt;
'''Success'''&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;page&amp;gt;&lt;br /&gt;
    &amp;lt;status&amp;gt;&lt;br /&gt;
      &amp;lt;success&amp;gt;Subscription was successfully updated&amp;lt;/success&amp;gt;&lt;br /&gt;
    &amp;lt;/status&amp;gt;&lt;br /&gt;
  &amp;lt;/page&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
'''Errors'''&lt;br /&gt;
* &amp;lt;error&amp;gt;Access Denied&amp;lt;/error&amp;gt; - user does not exist or cannot use this functionality. &lt;br /&gt;
* &amp;lt;error&amp;gt;You are not authorised to use this functionality&amp;lt;/error&amp;gt; - accountant does not have Manage Subscription permission.&lt;br /&gt;
* &amp;lt;error&amp;gt;Incorrect hash&amp;lt;/error&amp;gt; - Hash was not correct. Check API_Secret_Key and order or params while concatenating hash_string.&lt;br /&gt;
* &amp;lt;error&amp;gt;Subscription activation end date must be valid timestamp&amp;lt;/error&amp;gt; - self explanatory. &lt;br /&gt;
* &amp;lt;error&amp;gt;Subscription activation start date must be valid timestamp&amp;lt;/error&amp;gt; - self explanatory. &lt;br /&gt;
* &amp;lt;error&amp;gt;Subscription was not found&amp;lt;/error&amp;gt; - Subscription with specified subscription_id was not found.&lt;br /&gt;
* &amp;lt;error&amp;gt;Activation start date must be earlier than end date&amp;lt;/error&amp;gt; - self explanatory. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[MOR API]]&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=MOR_API_subscription_create&amp;diff=18569</id>
		<title>MOR API subscription create</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=MOR_API_subscription_create&amp;diff=18569"/>
		<updated>2014-10-29T12:53:13Z</updated>

		<summary type="html">&lt;p&gt;Tester2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Deescription=&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR x5---&amp;gt;&lt;br /&gt;
[[MOR API]] Create subscription&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
* Call: /api/subscription_create&lt;br /&gt;
* Methods: POST, GET(if allowed, not recomended)&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Parametres===&lt;br /&gt;
&lt;br /&gt;
Parameters which are '''included''' into hash:&lt;br /&gt;
&lt;br /&gt;
* service_id - Service ID. '''Required'''.&lt;br /&gt;
* user_id - User ID . '''Required'''.&lt;br /&gt;
&lt;br /&gt;
Parameters which are '''not included''' into hash:&lt;br /&gt;
&lt;br /&gt;
* [[MOR API hash construction | hash]] - SHA1 hash constructed using '''API_Secret_Key''' ([[MOR API hash construction | More described in Constructing hash]]). '''Required'''.&lt;br /&gt;
* u - username for authentication. '''Required'''.&lt;br /&gt;
* subscription_activation_start - timestamp of Subscription activation start. &lt;br /&gt;
* subscription_activation_end - timestamp of Subscription activation end. &lt;br /&gt;
* subscription_memo - memo of Subscription. &lt;br /&gt;
* subscription_until_canceled - subscription is until cancel (0 - off, 1 - on, default - off). &lt;br /&gt;
* subscription_no_expiration_at_the_end_of_a_month - subscription has no expiration at the end of month. (0 - off, 1 - on, default - off). '''Only for Flat Rate'''. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Request===&lt;br /&gt;
&lt;br /&gt;
We have service_id = 10, user_id = 2, subscription_memo = acc_one, API Secret Key = 456789.&lt;br /&gt;
&lt;br /&gt;
We send:&lt;br /&gt;
&lt;br /&gt;
 HTML POST: http://&amp;lt;SERVER_IP&amp;gt;/billing/api/subscription_create?u=username&amp;amp;service_id=10&amp;amp;user_id=2&amp;amp;subscription_memo=acc_one&amp;amp;hash=e0f93111f867ca5d424c0f0ebb6b678159086d00&lt;br /&gt;
&lt;br /&gt;
'''* Note that username are not included in hash'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Returns===&lt;br /&gt;
&lt;br /&gt;
'''Success'''&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;page&amp;gt;&lt;br /&gt;
    &amp;lt;status&amp;gt;&lt;br /&gt;
      &amp;lt;success&amp;gt;Subscription was successfully created&amp;lt;/success&amp;gt;&lt;br /&gt;
    &amp;lt;/status&amp;gt;&lt;br /&gt;
  &amp;lt;/page&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
'''Errors'''&lt;br /&gt;
* &amp;lt;error&amp;gt;Access Denied&amp;lt;/error&amp;gt; - Person trying to create Subscription does not exist or his user type is User.&lt;br /&gt;
* &amp;lt;error&amp;gt;You are not authorised to use this functionality&amp;lt;/error&amp;gt; - Person trying to create subscription does not have Manage Subscription permission.&lt;br /&gt;
* &amp;lt;error&amp;gt;Incorrect hash&amp;lt;/error&amp;gt; - Hash was not correct. Check API_Secret_Key and order or params while concatenating hash_string.&lt;br /&gt;
* &amp;lt;error&amp;gt;User has insufficient balance&amp;lt;/error&amp;gt; - Subscription price is bigger than Subscription User balance.&lt;br /&gt;
* &amp;lt;error&amp;gt;Subscription was not found&amp;lt;/error&amp;gt; - Subscription with specified subscription_id was not found.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[MOR API]]&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=MOR_API_subscription_delete&amp;diff=18568</id>
		<title>MOR API subscription delete</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=MOR_API_subscription_delete&amp;diff=18568"/>
		<updated>2014-10-29T12:52:39Z</updated>

		<summary type="html">&lt;p&gt;Tester2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Deescription=&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR x5---&amp;gt;&lt;br /&gt;
[[MOR API]] Delete subscription&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
* Call: /api/subscription_delete&lt;br /&gt;
* Methods: POST, GET(if allowed, not recomended)&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Parametres===&lt;br /&gt;
&lt;br /&gt;
Parameters which are '''included''' into hash:&lt;br /&gt;
&lt;br /&gt;
* subscription_id - ID of Subscription you want to delete. '''Required'''.&lt;br /&gt;
* subscription_delete_action - number of action that you wish to choose. Numbers meaning: 1 - Delete without money return, 2 - Disable Subscriptions, 3 - Delete with whole money return. '''Required'''.&lt;br /&gt;
&lt;br /&gt;
Parameters which are '''not included''' into hash:&lt;br /&gt;
&lt;br /&gt;
* [[MOR API hash construction | hash]] - SHA1 hash constructed using '''API_Secret_Key''' ([[MOR API hash construction | More described in Constructing hash]]). '''Required'''.&lt;br /&gt;
* u - username for authentication. '''Required'''.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Request===&lt;br /&gt;
&lt;br /&gt;
We have subscription_id = 123, API Secret Key = 456789 and we want to Subscription to be deleted with whole money return.&lt;br /&gt;
&lt;br /&gt;
We send:&lt;br /&gt;
&lt;br /&gt;
 HTML POST: http://&amp;lt;SERVER_IP&amp;gt;/billing/api/subscription_delete?u=username&amp;amp;subscription_id=123&amp;amp;subscription_delete_action=3&amp;amp;hash=e0f93111f867ca5d424c0f0ebb6b678159086d00&lt;br /&gt;
&lt;br /&gt;
'''* Note that username are not included in hash'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Returns===&lt;br /&gt;
&lt;br /&gt;
'''Success'''&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;page&amp;gt;&lt;br /&gt;
    &amp;lt;status&amp;gt;&lt;br /&gt;
      &amp;lt;success&amp;gt;Subscription deleted and money returned&amp;lt;/success&amp;gt;&lt;br /&gt;
    &amp;lt;/status&amp;gt;&lt;br /&gt;
 &amp;lt;/page&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;page&amp;gt;&lt;br /&gt;
    &amp;lt;status&amp;gt;&lt;br /&gt;
      &amp;lt;success&amp;gt;Subscription disabled&amp;lt;/success&amp;gt;&lt;br /&gt;
    &amp;lt;/status&amp;gt;&lt;br /&gt;
  &amp;lt;/page&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;page&amp;gt;&lt;br /&gt;
    &amp;lt;status&amp;gt;&lt;br /&gt;
      &amp;lt;success&amp;gt;Subscription deleted&amp;lt;/success&amp;gt;&lt;br /&gt;
    &amp;lt;/status&amp;gt;&lt;br /&gt;
  &amp;lt;/page&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
'''Errors'''&lt;br /&gt;
* &amp;lt;error&amp;gt;Access Denied&amp;lt;/error&amp;gt; - Person trying to delete Subscription does not exist or his user type is User.&lt;br /&gt;
 &lt;br /&gt;
* &amp;lt;error&amp;gt;You are not authorised to use this functionality&amp;lt;/error&amp;gt; - Person trying to delete subscription does not have Manage Subscription permission.&lt;br /&gt;
* &amp;lt;error&amp;gt;Incorrect hash&amp;lt;/error&amp;gt; - Hash was not correct. Check API_Secret_Key and order or params while concatenating hash_string.&lt;br /&gt;
* &amp;lt;error&amp;gt;Subscription disabled&amp;lt;/error&amp;gt; - Subscription was successfully disabled.&lt;br /&gt;
* &amp;lt;error&amp;gt;Subscription was not found&amp;lt;/error&amp;gt; - Subscription with specified subscription_id was not found.&lt;br /&gt;
* &amp;lt;error&amp;gt;Subscription delete action was not found&amp;lt;/error&amp;gt; - Specified subscription_delete_action was not found should be in (1,2,3).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[MOR API]]&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=MOR_API_subscription_create&amp;diff=18567</id>
		<title>MOR API subscription create</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=MOR_API_subscription_create&amp;diff=18567"/>
		<updated>2014-10-29T12:49:38Z</updated>

		<summary type="html">&lt;p&gt;Tester2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Deescription=&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR 12---&amp;gt;&lt;br /&gt;
[[MOR API]] Create subscription&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
* Call: /api/subscription_create&lt;br /&gt;
* Methods: POST, GET(if allowed, not recomended)&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Parametres===&lt;br /&gt;
&lt;br /&gt;
Parameters which are '''included''' into hash:&lt;br /&gt;
&lt;br /&gt;
* service_id - Service ID. '''Required'''.&lt;br /&gt;
* user_id - User ID . '''Required'''.&lt;br /&gt;
&lt;br /&gt;
Parameters which are '''not included''' into hash:&lt;br /&gt;
&lt;br /&gt;
* [[MOR API hash construction | hash]] - SHA1 hash constructed using '''API_Secret_Key''' ([[MOR API hash construction | More described in Constructing hash]]). '''Required'''.&lt;br /&gt;
* u - username for authentication. '''Required'''.&lt;br /&gt;
* subscription_activation_start - timestamp of Subscription activation start. '''Optional'''.&lt;br /&gt;
* subscription_activation_end - timestamp of Subscription activation end. '''Optional'''.&lt;br /&gt;
* subscription_memo - memo of Subscription. '''Optional'''.&lt;br /&gt;
* subscription_until_canceled - subscription is until cancel (0 - off, 1 - on, default - off). '''Optional'''.&lt;br /&gt;
* subscription_no_expiration_at_the_end_of_a_month - subscription has no expiration at the end of month. (0 - off, 1 - on, default - off). '''Only for Flat Rate'''. '''Optional'''.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Request===&lt;br /&gt;
&lt;br /&gt;
We have service_id = 10, user_id = 2, subscription_memo = acc_one, API Secret Key = 456789.&lt;br /&gt;
&lt;br /&gt;
We send:&lt;br /&gt;
&lt;br /&gt;
 HTML POST: http://&amp;lt;SERVER_IP&amp;gt;/billing/api/subscription_create?u=username&amp;amp;service_id=10&amp;amp;user_id=2&amp;amp;subscription_memo=acc_one&amp;amp;hash=e0f93111f867ca5d424c0f0ebb6b678159086d00&lt;br /&gt;
&lt;br /&gt;
'''* Note that username are not included in hash'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Returns===&lt;br /&gt;
&lt;br /&gt;
'''Success'''&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;page&amp;gt;&lt;br /&gt;
    &amp;lt;status&amp;gt;&lt;br /&gt;
      &amp;lt;success&amp;gt;Subscription was successfully created&amp;lt;/success&amp;gt;&lt;br /&gt;
    &amp;lt;/status&amp;gt;&lt;br /&gt;
  &amp;lt;/page&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
'''Errors'''&lt;br /&gt;
* &amp;lt;error&amp;gt;Access Denied&amp;lt;/error&amp;gt; - Person trying to create Subscription does not exist or his user type is User.&lt;br /&gt;
* &amp;lt;error&amp;gt;You are not authorised to use this functionality&amp;lt;/error&amp;gt; - Person trying to create subscription does not have Manage Subscription permission.&lt;br /&gt;
* &amp;lt;error&amp;gt;Incorrect hash&amp;lt;/error&amp;gt; - Hash was not correct. Check API_Secret_Key and order or params while concatenating hash_string.&lt;br /&gt;
* &amp;lt;error&amp;gt;User has insufficient balance&amp;lt;/error&amp;gt; - Subscription price is bigger than Subscription User balance.&lt;br /&gt;
* &amp;lt;error&amp;gt;Subscription was not found&amp;lt;/error&amp;gt; - Subscription with specified subscription_id was not found.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[MOR API]]&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=MOR_API&amp;diff=18566</id>
		<title>MOR API</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=MOR_API&amp;diff=18566"/>
		<updated>2014-10-29T12:48:17Z</updated>

		<summary type="html">&lt;p&gt;Tester2: /* Subscriptions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:warning.png|100px]]&amp;lt;big&amp;gt;&amp;lt;big&amp;gt;&amp;lt;big&amp;gt;IMPORTANT!!! API methods described here are for MOR X5. For previous versions please check appropriate [http://wiki.kolmisoft.com/index.php/MOR_Manual#Old_Manuals manual].&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=About=&lt;br /&gt;
MOR API lets other software interact with MOR without knowing the internal structure of the database (DB) and other logic.&lt;br /&gt;
&lt;br /&gt;
MOR accepts requests by HTML POST and returns results in XML.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=MOR users that are allowed to use MOR API=&lt;br /&gt;
* Admin&lt;br /&gt;
* Reseller&lt;br /&gt;
* Accountant - only by using Admin Hash and Secret key&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Functions=&lt;br /&gt;
&lt;br /&gt;
== API Related ==&lt;br /&gt;
* [[API Configuration]] – configuration options for API.&lt;br /&gt;
* [[MOR API hash construction|Hash construction]] – how to construct hash to authenticate data over API.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Balance==&lt;br /&gt;
* [[MOR API user_balance_get|user_balance_get]] (balance) – retrieves a User Balance.&lt;br /&gt;
* [[Balance in phone | user_simple_balance_get]] (simple_balance) – gets User's Balance&lt;br /&gt;
* [[MOR API user balance update | user_balance_update]] (change_user_balance) – changes User's Balance&lt;br /&gt;
* [[MOR API user balance get by psw | user_balance_get_by_psw]] – gets User's Balance by his owned Device's Password&lt;br /&gt;
* [[MOR API User Balance get by Username | user_balance_get_by_username]] – gets User's Balance by his owned Device's Username&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Callback==&lt;br /&gt;
* [[MOR API callback init|callback_init]] (callback) – initiates callback.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Calling Cards==&lt;br /&gt;
* [[MOR API card_by_cli_update| card_by_cli_update]] (cc_by_cli) – creates and updates calling cards, including adding and transferring funds, by being identified according the Caller_ID.&lt;br /&gt;
* [[MOR API card_from_group_sell| card_from_group_sell]] (buy_card_from_callingroup) – sells cards from calling card group.&lt;br /&gt;
* [[MOR API card_group_get| card_group_get]] (show_calling_card_group) – show calling group info.&lt;br /&gt;
* [[MOR API card_balance_get| card_balance_get]] (card_balance_get) – show card's balance.&lt;br /&gt;
* [[MOR API card_payment_add| card_payment_add]] – add payment to the calling card.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Calls==&lt;br /&gt;
* [[MOR API user calls get|user_calls_get]] (user_calls) – retrieves a list of calls in a selected time period for a user/device.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Conflines==&lt;br /&gt;
* [[MOR API conflines update|conflines_update]] – changes settings for API, Default User or Default Device.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Credit notes==&lt;br /&gt;
* [[MOR API credit_notes_get| credit_notes_get]] (credit_notes) – credit notes list.&lt;br /&gt;
* [[MOR API credit_note_update| credit_note_update]] – credit note update.&lt;br /&gt;
* [[MOR API credit_notes_create| credit_note_create]] – credit note create.&lt;br /&gt;
* [[MOR API credit_notes_delete| credit_note_delete]] – credit note delete.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Device==&lt;br /&gt;
* [[MOR API device create| device_create]] – create device&lt;br /&gt;
* [[MOR API device delete| device_delete]] (delete_device) – delete device&lt;br /&gt;
* [[MOR API devices get | devices_get]] (device_list) – users device list&lt;br /&gt;
* [[MOR API device callflow get| device_callflow_get]] - returns information about specified device callflow state.&lt;br /&gt;
* [[MOR API device callflow update | device_callflow_update]] – updates information of specified device callflow state. &lt;br /&gt;
* [[MOR API CLI info get | cli_info_get]] (cli_get_info) – shows id of device where CLI belongs.&lt;br /&gt;
* [[MOR API CLI delete | cli_delete]] – deletes specified CLI. &lt;br /&gt;
* [[MOR API CLI add | cli_add]] – creates CLI and assigns it to the specified device.&lt;br /&gt;
* [[MOR API device details get | device_details_get]] – shows all information about specified device.&lt;br /&gt;
* [[MOR_API_device_update | device_update]]  –  updates location_id of selected Device.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DID==&lt;br /&gt;
&lt;br /&gt;
* [[MOR API dids get| dids_get]] – get list of particular DIDs&lt;br /&gt;
* [[MOR API did_create| did_create]] – DID create&lt;br /&gt;
* [[MOR_API_did_device_assign| did_device_assign]] (did_assign_device) – Assign Device to DID&lt;br /&gt;
* [[MOR_API_did_device_unassign| did_device_unassign]] (did_unassign_device) – Unassign Device from DID&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Email==&lt;br /&gt;
* [[MOR API email send| email_send]] (send_email) – send Email.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Financial statements==&lt;br /&gt;
* [[MOR API financial_statements_get| financial_statements_get]] (financial_statements) – financial statements list.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Invoices==&lt;br /&gt;
* [[MOR API invoices_get|invoices_get]] (invoices) – retrieves a list of invoices in a selected time period.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Login==&lt;br /&gt;
* [[MOR API user_login|user_login]] (login) – logs user in to MOR.&lt;br /&gt;
* [[MOR API user_logout|user_logout]] (logout) – logs user out from MOR.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Monitorings==&lt;br /&gt;
* [[MOR API ma_activate_api| ma_activate]] – turn on monitorings addon&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Payments==&lt;br /&gt;
* [[MOR API payment_create| payment_create]] (create_payment) – create payment.&lt;br /&gt;
* [[MOR API payments_get| payments_get]] (payments_list) – payments list.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Phonebooks==&lt;br /&gt;
* [[MOR API phonebooks_get| phonebooks_get]] (phonebooks_api ) – phonebooks list.&lt;br /&gt;
* [[MOR API phonebook_edit| phonebook_edit]] (phonebook_edit_api) – edit phonebook.&lt;br /&gt;
* [[MOR API phonebook_record_create| phonebook_record_create]]  – create phonebook.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Quickforwards==&lt;br /&gt;
* [[MOR API Quickforwards get| quickforwards_dids_get]] (quickforwards_dids_get) – get Quickforwards.&lt;br /&gt;
* [[MOR API Quickforwards update| quickforwards_did_update]] (quickforwards_did_update) – update Quickforwards.&lt;br /&gt;
* [[MOR API Quickforwards delete| quickforwards_did_delete]] (quickforwards_did_delete) – delete Quickforwards.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Rates==&lt;br /&gt;
* [[MOR API rate get|rate_get]] (rate) – check user rate by prefix&lt;br /&gt;
* [[MOR API tariff rates get| tariff_rates_get]] (get_tariff) – get all tariff's rates&lt;br /&gt;
* [[MOR API tariff_retail_import | tariff_retail_import ]] (import_relail_tariff) – import xml retail tariff&lt;br /&gt;
* [[MOR API tariff_wholesale_update | tariff_wholesale_update ]] (wholesale_tariff) – update or create wholesale tariff&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Services==&lt;br /&gt;
* [[MOR API Service create| service_create]] – create Service.&lt;br /&gt;
* [[MOR API Service delete| service_delete]] – delete Service.&lt;br /&gt;
* [[MOR API Services get| services_get]] – get Services.&lt;br /&gt;
* [[MOR API Service update| service_update]] – update Service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SMS Send==&lt;br /&gt;
* [[MOR API sms send| sms_send]] (send_sms) – send SMS.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Subscriptions==&lt;br /&gt;
* [[MOR API subscription delete|subscription_delete]] - Subscription delete.&lt;br /&gt;
* [[MOR API Subscriptions get|subscriptions_get]] - Subscriptions get.&lt;br /&gt;
* [[MOR API subscription create|subscription_create]] - Subscription create.&lt;br /&gt;
* [[MOR API subscription update|subscription_update]] - Subscription delete.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==User==&lt;br /&gt;
&lt;br /&gt;
* [[MOR API user_register| user_register]] – create new user from params.&lt;br /&gt;
* [[MOR API user_details_get | user_details_get]] (user_details) – gets user details.&lt;br /&gt;
* [[MOR_API_user_details_update| user_details_update]] (user_update_api) – update user from params.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Resellers ==&lt;br /&gt;
* [[MOR API reseller group create]] - create new Reseller Group&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Version==&lt;br /&gt;
* [[MOR API system version get| system_version_get]] (get_version) – get MOR version number.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
= Examples =&lt;br /&gt;
* [[MOR API PHP Examples]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=HTML POST=&lt;br /&gt;
All requests are in a similar format:&lt;br /&gt;
&lt;br /&gt;
 HTML POST: http://&amp;lt;SERVER_IP&amp;gt;/billing/api/&amp;lt;function&amp;gt;?u=username&lt;br /&gt;
&lt;br /&gt;
* username - the user name and password of the user who is asking for the data. &lt;br /&gt;
&lt;br /&gt;
If the user has 'admin' rights, he will get more results and  can perform more actions compared to a user who does not have such rights.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Useful to know=&lt;br /&gt;
&lt;br /&gt;
* All API methods returns data straight from database. It means that MOR GUI settings does not affect data, it will be returned as it is saved in database. For example:&lt;br /&gt;
** Value of money will be returned in Default System [[Currencies|Currency]].&lt;br /&gt;
** Date will not be affected of [[Configuration_from_GUI#Visual| Default date format]] setting.&lt;br /&gt;
** Value of money will not be affected of [[Configuration_from_GUI#Visual|Number digits]] setting.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=See also =&lt;br /&gt;
* [[API Configuration]]&lt;br /&gt;
* [[MOR integration]]&lt;br /&gt;
* [[How to block access to some API functions]]&lt;br /&gt;
* [[API specification to be implemented in the future]]&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=MOR_API_Service_create&amp;diff=18440</id>
		<title>MOR API Service create</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=MOR_API_Service_create&amp;diff=18440"/>
		<updated>2014-09-30T13:47:02Z</updated>

		<summary type="html">&lt;p&gt;Tester2: Undo revision 18419 by Aisteb (Talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Description=&lt;br /&gt;
[[MOR API]] Create Service&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
* Call: /api/service_create&lt;br /&gt;
* Methods: POST, GET(if allowed, not recomended)&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Parametres===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Parameters which are '''included''' into hash:&lt;br /&gt;
&lt;br /&gt;
* new_service_name - name of the Service '''Required'''.&lt;br /&gt;
* new_service_type - periodic_fee, one_time_fee or flat_rate. '''Required'''.&lt;br /&gt;
* service_sell_price -  price of the Service. '''Required'''.&lt;br /&gt;
* service_self_cost - self cost of the Service. '''Required'''.&lt;br /&gt;
&lt;br /&gt;
'''Note that parameters are shown in the same order as they have to be when generating the hash. Last parameter in a row is API_Secret_Key'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Parameters which are '''not included''' into hash:&lt;br /&gt;
&lt;br /&gt;
* '''[[MOR API hash construction | hash]]''' - SHA1 hash constructed using '''parameters''' which are listed above. Note that parameters are shown in the same order as they have to be when generating the hash. Last parameter in a row is '''API_Secret_Key''' ([[MOR API hash construction | More described in Constructing hash]]). '''Required'''.&amp;lt;br&amp;gt;&lt;br /&gt;
* '''u''' - username for authentication. '''Required'''.&lt;br /&gt;
* service_period - month or day. For Periodic fee service type only. &lt;br /&gt;
* service_minutes_per_month - for Flat-Rate service type only. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Request===&lt;br /&gt;
&lt;br /&gt;
We have u = admin, API Secret Key = secret&lt;br /&gt;
&lt;br /&gt;
We send:&lt;br /&gt;
&lt;br /&gt;
 HTML POST: http://&amp;lt;SERVER_IP&amp;gt;/billing/api/service_create?u=admin&amp;amp;new_service_type=flat_rate&amp;amp;service_minutes_per_month=5&amp;amp;new_service_name=name&amp;amp;hash=38282ca5e65e63746498ef5b39a2fe71c6448df4&lt;br /&gt;
&lt;br /&gt;
*Now we can find this Service in GUI Services list.&lt;br /&gt;
&lt;br /&gt;
'''* Note that username and password are not included in hash'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Returns===&lt;br /&gt;
&lt;br /&gt;
'''Success'''&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;page&amp;gt;&lt;br /&gt;
  &amp;lt;status&amp;gt;&lt;br /&gt;
    &amp;lt;success&amp;gt;Service successfully created&amp;lt;/success&amp;gt;&lt;br /&gt;
  &amp;lt;/status&amp;gt;&lt;br /&gt;
 &amp;lt;/page&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''Errors'''&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;error&amp;gt;Access Denied&amp;lt;/error&amp;gt; - user was not authorized or is simple user. Only admin, reseller or accounant can use this API method. &lt;br /&gt;
* &amp;lt;error&amp;gt;Incorrect hash&amp;lt;/error&amp;gt; - hash was not correct. Check API_Secret_Key and order or params while concatenating hash_string.&lt;br /&gt;
* &amp;lt;error&amp;gt;Service must have service type&amp;lt;/error&amp;gt; - type must be one of periodic_fee, one_time_fee or flat_rate.&lt;br /&gt;
* &amp;lt;error&amp;gt;Flat Rate Service must have quantity&amp;lt;/error&amp;gt; - Flat-Rate Service must have Minutes/month provided. &lt;br /&gt;
* &amp;lt;error&amp;gt;Quantity must be numeric&amp;lt;/error&amp;gt; - Minutes/month must be a number. &lt;br /&gt;
* &amp;lt;error&amp;gt;Quantity must be greater than zero&amp;lt;/error&amp;gt; &lt;br /&gt;
* &amp;lt;error&amp;gt;Service Price must be numeric&amp;lt;/error&amp;gt; &lt;br /&gt;
* &amp;lt;error&amp;gt;Incorrect hash&amp;lt;/error&amp;gt; - Hash was not correct. Check API_Secret_Key and order or params while concatenating hash_string.&lt;br /&gt;
* &amp;lt;error&amp;gt;You are not authorized to use this functionality&amp;lt;/error&amp;gt; - User has no permissions to manage Services. &lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;page&amp;gt;&lt;br /&gt;
  &amp;lt;status&amp;gt;&lt;br /&gt;
    &amp;lt;error&amp;gt;Quantity must be numeric&amp;lt;/error&amp;gt;&lt;br /&gt;
  &amp;lt;/status&amp;gt;&lt;br /&gt;
 &amp;lt;/page&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[MOR API]]&lt;br /&gt;
* [[MOR_API_Service_delete | Services delete]]&lt;br /&gt;
* [[MOR_API_Service_update | Service update]]&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=MOR_API&amp;diff=18439</id>
		<title>MOR API</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=MOR_API&amp;diff=18439"/>
		<updated>2014-09-30T13:46:03Z</updated>

		<summary type="html">&lt;p&gt;Tester2: /* Services */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:warning.png|100px]]&amp;lt;big&amp;gt;&amp;lt;big&amp;gt;&amp;lt;big&amp;gt;IMPORTANT!!! API methods described here are for MOR X5. For previous versions please check appropriate [http://wiki.kolmisoft.com/index.php/MOR_Manual#Old_Manuals manual].&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=About=&lt;br /&gt;
MOR API lets other software interact with MOR without knowing the internal structure of the database (DB) and other logic.&lt;br /&gt;
&lt;br /&gt;
MOR accepts requests by HTML POST and returns results in XML.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=MOR users that are allowed to use MOR API=&lt;br /&gt;
* Admin&lt;br /&gt;
* Reseller&lt;br /&gt;
* Accountant - only by using Admin Hash and Secret key&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Functions=&lt;br /&gt;
&lt;br /&gt;
== API Related ==&lt;br /&gt;
* [[API Configuration]] – configuration options for API.&lt;br /&gt;
* [[MOR API hash construction|Hash construction]] – how to construct hash to authenticate data over API.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Balance==&lt;br /&gt;
* [[MOR API user_balance_get|user_balance_get]] (balance) – retrieves a User Balance.&lt;br /&gt;
* [[Balance in phone | user_simple_balance_get]] (simple_balance) – gets User's Balance&lt;br /&gt;
* [[MOR API user balance update | user_balance_update]] (change_user_balance) – changes User's Balance&lt;br /&gt;
* [[MOR API user balance get by psw | user_balance_get_by_psw]] – gets User's Balance by his owned Device's Password&lt;br /&gt;
* [[MOR API User Balance get by Username | user_balance_get_by_username]] – gets User's Balance by his owned Device's Username&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Callback==&lt;br /&gt;
* [[MOR API callback init|callback_init]] (callback) – initiates callback.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Calling Cards==&lt;br /&gt;
* [[MOR API card_by_cli_update| card_by_cli_update]] (cc_by_cli) – creates and updates calling cards, including adding and transferring funds, by being identified according the Caller_ID.&lt;br /&gt;
* [[MOR API card_from_group_sell| card_from_group_sell]] (buy_card_from_callingroup) – sells cards from calling card group.&lt;br /&gt;
* [[MOR API card_group_get| card_group_get]] (show_calling_card_group) – show calling group info.&lt;br /&gt;
* [[MOR API card_balance_get| card_balance_get]] (card_balance_get) – show card's balance.&lt;br /&gt;
* [[MOR API card_payment_add| card_payment_add]] – add payment to the calling card.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Calls==&lt;br /&gt;
* [[MOR API user calls get|user_calls_get]] (user_calls) – retrieves a list of calls in a selected time period for a user/device.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Conflines==&lt;br /&gt;
* [[MOR API conflines update|conflines_update]] – changes settings for API, Default User or Default Device.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Credit notes==&lt;br /&gt;
* [[MOR API credit_notes_get| credit_notes_get]] (credit_notes) – credit notes list.&lt;br /&gt;
* [[MOR API credit_note_update| credit_note_update]] – credit note update.&lt;br /&gt;
* [[MOR API credit_notes_create| credit_note_create]] – credit note create.&lt;br /&gt;
* [[MOR API credit_notes_delete| credit_note_delete]] – credit note delete.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Device==&lt;br /&gt;
* [[MOR API device create| device_create]] – create device&lt;br /&gt;
* [[MOR API device delete| device_delete]] (delete_device) – delete device&lt;br /&gt;
* [[MOR API devices get | devices_get]] (device_list) – users device list&lt;br /&gt;
* [[MOR API device callflow get| device_callflow_get]] - returns information about specified device callflow state.&lt;br /&gt;
* [[MOR API device callflow update | device_callflow_update]] – updates information of specified device callflow state. &lt;br /&gt;
* [[MOR API CLI info get | cli_info_get]] (cli_get_info) – shows id of device where CLI belongs.&lt;br /&gt;
* [[MOR API CLI delete | cli_delete]] – deletes specified CLI. &lt;br /&gt;
* [[MOR API CLI add | cli_add]] – creates CLI and assigns it to the specified device.&lt;br /&gt;
* [[MOR API device details get | device_details_get]] – shows all information about specified device.&lt;br /&gt;
* [[MOR_API_device_update | device_update]]  –  updates location_id of selected Device.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DID==&lt;br /&gt;
&lt;br /&gt;
* [[MOR API dids get| dids_get]] – get list of particular DIDs&lt;br /&gt;
* [[MOR API did_create| did_create]] – DID create&lt;br /&gt;
* [[MOR_API_did_device_assign| did_device_assign]] (did_assign_device) – Assign Device to DID&lt;br /&gt;
* [[MOR_API_did_device_unassign| did_device_unassign]] (did_unassign_device) – Unassign Device from DID&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Email==&lt;br /&gt;
* [[MOR API email send| email_send]] (send_email) – send Email.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Financial statements==&lt;br /&gt;
* [[MOR API financial_statements_get| financial_statements_get]] (financial_statements) – financial statements list.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Invoices==&lt;br /&gt;
* [[MOR API invoices_get|invoices_get]] (invoices) – retrieves a list of invoices in a selected time period.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Login==&lt;br /&gt;
* [[MOR API user_login|user_login]] (login) – logs user in to MOR.&lt;br /&gt;
* [[MOR API user_logout|user_logout]] (logout) – logs user out from MOR.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Monitorings==&lt;br /&gt;
* [[MOR API ma_activate_api| ma_activate]] – turn on monitorings addon&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Payments==&lt;br /&gt;
* [[MOR API payment_create| payment_create]] (create_payment) – create payment.&lt;br /&gt;
* [[MOR API payments_get| payments_get]] (payments_list) – payments list.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Phonebooks==&lt;br /&gt;
* [[MOR API phonebooks_get| phonebooks_get]] (phonebooks_api ) – phonebooks list.&lt;br /&gt;
* [[MOR API phonebook_edit| phonebook_edit]] (phonebook_edit_api) – edit phonebook.&lt;br /&gt;
* [[MOR API phonebook_record_create| phonebook_record_create]]  – create phonebook.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Quickforwards==&lt;br /&gt;
* [[MOR API Quickforwards get| quickforwards_dids_get]] (quickforwards_dids_get) – get Quickforwards.&lt;br /&gt;
* [[MOR API Quickforwards update| quickforwards_did_update]] (quickforwards_did_update) – update Quickforwards.&lt;br /&gt;
* [[MOR API Quickforwards delete| quickforwards_did_delete]] (quickforwards_did_delete) – delete Quickforwards.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Rates==&lt;br /&gt;
* [[MOR API rate get|rate_get]] (rate) – check user rate by prefix&lt;br /&gt;
* [[MOR API tariff rates get| tariff_rates_get]] (get_tariff) – get all tariff's rates&lt;br /&gt;
* [[MOR API tariff_retail_import | tariff_retail_import ]] (import_relail_tariff) – import xml retail tariff&lt;br /&gt;
* [[MOR API tariff_wholesale_update | tariff_wholesale_update ]] (wholesale_tariff) – update or create wholesale tariff&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Services==&lt;br /&gt;
* [[MOR API Service create| service_create]] – create Service.&lt;br /&gt;
* [[MOR API Service delete| service_delete]] – delete Service.&lt;br /&gt;
* [[MOR API Service update| service_update]] – update Service.&lt;br /&gt;
* [[MOR API Services get| services_get]] – get Service information.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SMS Send==&lt;br /&gt;
* [[MOR API sms send| sms_send]] (send_sms) – send SMS.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==User==&lt;br /&gt;
&lt;br /&gt;
* [[MOR API user_register| user_register]] – create new user from params.&lt;br /&gt;
* [[MOR API user_details_get | user_details_get]] (user_details) – gets user details.&lt;br /&gt;
* [[MOR_API_user_details_update| user_details_update]] (user_update_api) – update user from params.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Resellers ==&lt;br /&gt;
* [[MOR API reseller group create]] - create new Reseller Group&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Version==&lt;br /&gt;
* [[MOR API system version get| system_version_get]] (get_version) – get MOR version number.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
= Examples =&lt;br /&gt;
* [[MOR API PHP Examples]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=HTML POST=&lt;br /&gt;
All requests are in a similar format:&lt;br /&gt;
&lt;br /&gt;
 HTML POST: http://&amp;lt;SERVER_IP&amp;gt;/billing/api/&amp;lt;function&amp;gt;?u=username&lt;br /&gt;
&lt;br /&gt;
* username - the user name and password of the user who is asking for the data. &lt;br /&gt;
&lt;br /&gt;
If the user has 'admin' rights, he will get more results and  can perform more actions compared to a user who does not have such rights.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Useful to know=&lt;br /&gt;
&lt;br /&gt;
* All API methods returns data straight from database. It means that MOR GUI settings does not affect data, it will be returned as it is saved in database. For example:&lt;br /&gt;
** Value of money will be returned in Default System [[Currencies|Currency]].&lt;br /&gt;
** Date will not be affected of [[Configuration_from_GUI#Visual| Default date format]] setting.&lt;br /&gt;
** Value of money will not be affected of [[Configuration_from_GUI#Visual|Number digits]] setting.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=See also =&lt;br /&gt;
* [[API Configuration]]&lt;br /&gt;
* [[MOR integration]]&lt;br /&gt;
* [[How to block access to some API functions]]&lt;br /&gt;
* [[API specification to be implemented in the future]]&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=MOR_API&amp;diff=18438</id>
		<title>MOR API</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=MOR_API&amp;diff=18438"/>
		<updated>2014-09-30T13:45:50Z</updated>

		<summary type="html">&lt;p&gt;Tester2: /* Services */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:warning.png|100px]]&amp;lt;big&amp;gt;&amp;lt;big&amp;gt;&amp;lt;big&amp;gt;IMPORTANT!!! API methods described here are for MOR X5. For previous versions please check appropriate [http://wiki.kolmisoft.com/index.php/MOR_Manual#Old_Manuals manual].&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=About=&lt;br /&gt;
MOR API lets other software interact with MOR without knowing the internal structure of the database (DB) and other logic.&lt;br /&gt;
&lt;br /&gt;
MOR accepts requests by HTML POST and returns results in XML.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=MOR users that are allowed to use MOR API=&lt;br /&gt;
* Admin&lt;br /&gt;
* Reseller&lt;br /&gt;
* Accountant - only by using Admin Hash and Secret key&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Functions=&lt;br /&gt;
&lt;br /&gt;
== API Related ==&lt;br /&gt;
* [[API Configuration]] – configuration options for API.&lt;br /&gt;
* [[MOR API hash construction|Hash construction]] – how to construct hash to authenticate data over API.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Balance==&lt;br /&gt;
* [[MOR API user_balance_get|user_balance_get]] (balance) – retrieves a User Balance.&lt;br /&gt;
* [[Balance in phone | user_simple_balance_get]] (simple_balance) – gets User's Balance&lt;br /&gt;
* [[MOR API user balance update | user_balance_update]] (change_user_balance) – changes User's Balance&lt;br /&gt;
* [[MOR API user balance get by psw | user_balance_get_by_psw]] – gets User's Balance by his owned Device's Password&lt;br /&gt;
* [[MOR API User Balance get by Username | user_balance_get_by_username]] – gets User's Balance by his owned Device's Username&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Callback==&lt;br /&gt;
* [[MOR API callback init|callback_init]] (callback) – initiates callback.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Calling Cards==&lt;br /&gt;
* [[MOR API card_by_cli_update| card_by_cli_update]] (cc_by_cli) – creates and updates calling cards, including adding and transferring funds, by being identified according the Caller_ID.&lt;br /&gt;
* [[MOR API card_from_group_sell| card_from_group_sell]] (buy_card_from_callingroup) – sells cards from calling card group.&lt;br /&gt;
* [[MOR API card_group_get| card_group_get]] (show_calling_card_group) – show calling group info.&lt;br /&gt;
* [[MOR API card_balance_get| card_balance_get]] (card_balance_get) – show card's balance.&lt;br /&gt;
* [[MOR API card_payment_add| card_payment_add]] – add payment to the calling card.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Calls==&lt;br /&gt;
* [[MOR API user calls get|user_calls_get]] (user_calls) – retrieves a list of calls in a selected time period for a user/device.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Conflines==&lt;br /&gt;
* [[MOR API conflines update|conflines_update]] – changes settings for API, Default User or Default Device.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Credit notes==&lt;br /&gt;
* [[MOR API credit_notes_get| credit_notes_get]] (credit_notes) – credit notes list.&lt;br /&gt;
* [[MOR API credit_note_update| credit_note_update]] – credit note update.&lt;br /&gt;
* [[MOR API credit_notes_create| credit_note_create]] – credit note create.&lt;br /&gt;
* [[MOR API credit_notes_delete| credit_note_delete]] – credit note delete.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Device==&lt;br /&gt;
* [[MOR API device create| device_create]] – create device&lt;br /&gt;
* [[MOR API device delete| device_delete]] (delete_device) – delete device&lt;br /&gt;
* [[MOR API devices get | devices_get]] (device_list) – users device list&lt;br /&gt;
* [[MOR API device callflow get| device_callflow_get]] - returns information about specified device callflow state.&lt;br /&gt;
* [[MOR API device callflow update | device_callflow_update]] – updates information of specified device callflow state. &lt;br /&gt;
* [[MOR API CLI info get | cli_info_get]] (cli_get_info) – shows id of device where CLI belongs.&lt;br /&gt;
* [[MOR API CLI delete | cli_delete]] – deletes specified CLI. &lt;br /&gt;
* [[MOR API CLI add | cli_add]] – creates CLI and assigns it to the specified device.&lt;br /&gt;
* [[MOR API device details get | device_details_get]] – shows all information about specified device.&lt;br /&gt;
* [[MOR_API_device_update | device_update]]  –  updates location_id of selected Device.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DID==&lt;br /&gt;
&lt;br /&gt;
* [[MOR API dids get| dids_get]] – get list of particular DIDs&lt;br /&gt;
* [[MOR API did_create| did_create]] – DID create&lt;br /&gt;
* [[MOR_API_did_device_assign| did_device_assign]] (did_assign_device) – Assign Device to DID&lt;br /&gt;
* [[MOR_API_did_device_unassign| did_device_unassign]] (did_unassign_device) – Unassign Device from DID&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Email==&lt;br /&gt;
* [[MOR API email send| email_send]] (send_email) – send Email.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Financial statements==&lt;br /&gt;
* [[MOR API financial_statements_get| financial_statements_get]] (financial_statements) – financial statements list.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Invoices==&lt;br /&gt;
* [[MOR API invoices_get|invoices_get]] (invoices) – retrieves a list of invoices in a selected time period.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Login==&lt;br /&gt;
* [[MOR API user_login|user_login]] (login) – logs user in to MOR.&lt;br /&gt;
* [[MOR API user_logout|user_logout]] (logout) – logs user out from MOR.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Monitorings==&lt;br /&gt;
* [[MOR API ma_activate_api| ma_activate]] – turn on monitorings addon&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Payments==&lt;br /&gt;
* [[MOR API payment_create| payment_create]] (create_payment) – create payment.&lt;br /&gt;
* [[MOR API payments_get| payments_get]] (payments_list) – payments list.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Phonebooks==&lt;br /&gt;
* [[MOR API phonebooks_get| phonebooks_get]] (phonebooks_api ) – phonebooks list.&lt;br /&gt;
* [[MOR API phonebook_edit| phonebook_edit]] (phonebook_edit_api) – edit phonebook.&lt;br /&gt;
* [[MOR API phonebook_record_create| phonebook_record_create]]  – create phonebook.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Quickforwards==&lt;br /&gt;
* [[MOR API Quickforwards get| quickforwards_dids_get]] (quickforwards_dids_get) – get Quickforwards.&lt;br /&gt;
* [[MOR API Quickforwards update| quickforwards_did_update]] (quickforwards_did_update) – update Quickforwards.&lt;br /&gt;
* [[MOR API Quickforwards delete| quickforwards_did_delete]] (quickforwards_did_delete) – delete Quickforwards.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Rates==&lt;br /&gt;
* [[MOR API rate get|rate_get]] (rate) – check user rate by prefix&lt;br /&gt;
* [[MOR API tariff rates get| tariff_rates_get]] (get_tariff) – get all tariff's rates&lt;br /&gt;
* [[MOR API tariff_retail_import | tariff_retail_import ]] (import_relail_tariff) – import xml retail tariff&lt;br /&gt;
* [[MOR API tariff_wholesale_update | tariff_wholesale_update ]] (wholesale_tariff) – update or create wholesale tariff&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Services==&lt;br /&gt;
* [[MOR API Service create| service_create]] – create Service.&lt;br /&gt;
* [[MOR API Service delete| service_delete]] – delete Service.&lt;br /&gt;
* [[MOR API Service update| service_update]] – update Service.&lt;br /&gt;
* [[MOR API Service get| service_get]] – get Service information.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SMS Send==&lt;br /&gt;
* [[MOR API sms send| sms_send]] (send_sms) – send SMS.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==User==&lt;br /&gt;
&lt;br /&gt;
* [[MOR API user_register| user_register]] – create new user from params.&lt;br /&gt;
* [[MOR API user_details_get | user_details_get]] (user_details) – gets user details.&lt;br /&gt;
* [[MOR_API_user_details_update| user_details_update]] (user_update_api) – update user from params.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Resellers ==&lt;br /&gt;
* [[MOR API reseller group create]] - create new Reseller Group&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Version==&lt;br /&gt;
* [[MOR API system version get| system_version_get]] (get_version) – get MOR version number.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
= Examples =&lt;br /&gt;
* [[MOR API PHP Examples]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=HTML POST=&lt;br /&gt;
All requests are in a similar format:&lt;br /&gt;
&lt;br /&gt;
 HTML POST: http://&amp;lt;SERVER_IP&amp;gt;/billing/api/&amp;lt;function&amp;gt;?u=username&lt;br /&gt;
&lt;br /&gt;
* username - the user name and password of the user who is asking for the data. &lt;br /&gt;
&lt;br /&gt;
If the user has 'admin' rights, he will get more results and  can perform more actions compared to a user who does not have such rights.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Useful to know=&lt;br /&gt;
&lt;br /&gt;
* All API methods returns data straight from database. It means that MOR GUI settings does not affect data, it will be returned as it is saved in database. For example:&lt;br /&gt;
** Value of money will be returned in Default System [[Currencies|Currency]].&lt;br /&gt;
** Date will not be affected of [[Configuration_from_GUI#Visual| Default date format]] setting.&lt;br /&gt;
** Value of money will not be affected of [[Configuration_from_GUI#Visual|Number digits]] setting.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=See also =&lt;br /&gt;
* [[API Configuration]]&lt;br /&gt;
* [[MOR integration]]&lt;br /&gt;
* [[How to block access to some API functions]]&lt;br /&gt;
* [[API specification to be implemented in the future]]&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=MOR_API_Service_update&amp;diff=18416</id>
		<title>MOR API Service update</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=MOR_API_Service_update&amp;diff=18416"/>
		<updated>2014-09-24T07:17:52Z</updated>

		<summary type="html">&lt;p&gt;Tester2: /* See also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= NOTE: Available from MOR X5 =&lt;br /&gt;
&lt;br /&gt;
=Description=&lt;br /&gt;
[[MOR API]] Update Service&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
* From '''MOR X5''' Call: '''/api/service_update'''&lt;br /&gt;
* Methods: POST, GET(if allowed, not recomended)&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Parametres===&lt;br /&gt;
&lt;br /&gt;
Parameters which are '''included''' into hash:&lt;br /&gt;
* service_id -  Service ID, which we want to delete. '''Required'''.&lt;br /&gt;
* u - username for authentication. '''Required'''.&lt;br /&gt;
* [[MOR API hash construction | hash]] - SHA1 hash constructed using '''params''' and '''API_Secret_Key''' ([[MOR API hash construction | More described in Constructing hash]]). '''Required'''.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Parameters which are '''not included''' into hash:&lt;br /&gt;
* service_name - name of Service. &lt;br /&gt;
* service_type - type of Service (periodic_fee, one_time_fee, flat-rate). &lt;br /&gt;
* service_sell_price - sell price of Service. &lt;br /&gt;
* service_self_cost - cost of Service.&lt;br /&gt;
* service_period - period of Service (month, day, by default month only for Periodic Fee type). &lt;br /&gt;
* service_minutes_per_month - how many minutes User is allowed to use Service (only for Flat Rate type).&lt;br /&gt;
&lt;br /&gt;
===Request===&lt;br /&gt;
&lt;br /&gt;
We have Service ID = 19, API Secret Key = secret&amp;lt;br&amp;gt;&lt;br /&gt;
We send:&lt;br /&gt;
 HTML POST: http://&amp;lt;SERVER_IP&amp;gt;/billing/api/service_update?u=admin&amp;amp;service_id=19&amp;amp;service_name=ddddddd&amp;amp;hash=38282ca5e65e63746498ef5b39a2fe71c6448df4&lt;br /&gt;
'''NOTE that username is not included in hash'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Success'''&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;page&amp;gt;&lt;br /&gt;
    &amp;lt;status&amp;gt;&lt;br /&gt;
      &amp;lt;success&amp;gt;Service successfully updated&amp;lt;/success&amp;gt;&lt;br /&gt;
    &amp;lt;/status&amp;gt;&lt;br /&gt;
  &amp;lt;/page&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''Errors'''&lt;br /&gt;
* &amp;lt;error&amp;gt;Service Type is invalid&amp;lt;/error&amp;gt; - Service type is unknown. It should be periodic_fee or one_time_fee or flat-rate.&lt;br /&gt;
* &amp;lt;error&amp;gt;Quantity must be numeric&amp;lt;/error&amp;gt; - Quantity was not numeric.&lt;br /&gt;
* &amp;lt;error&amp;gt;Quantity must be greater than zero&amp;lt;/error&amp;gt; - Quantity is less than zero.&lt;br /&gt;
* &amp;lt;error&amp;gt;You are not authorized to use this functionality&amp;lt;/error&amp;gt; - User has no permissions to manage Services.&lt;br /&gt;
* &amp;lt;error&amp;gt;Access Denied&amp;lt;/error&amp;gt; - User can not Manage Services and can not get permissions to use it. &lt;br /&gt;
* &amp;lt;error&amp;gt;Incorrect hash&amp;lt;/error&amp;gt; - Hash was not correct. Check API_Secret_Key and order or params while concatenating hash_string.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[MOR API]]&lt;br /&gt;
* [[MOR_API_Service_delete | Services delete]]&lt;br /&gt;
* [[MOR_API_Service_create | Service create]]&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=MOR_API_Service_update&amp;diff=18415</id>
		<title>MOR API Service update</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=MOR_API_Service_update&amp;diff=18415"/>
		<updated>2014-09-24T07:17:15Z</updated>

		<summary type="html">&lt;p&gt;Tester2: /* Request */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= NOTE: Available from MOR X5 =&lt;br /&gt;
&lt;br /&gt;
=Description=&lt;br /&gt;
[[MOR API]] Update Service&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
* From '''MOR X5''' Call: '''/api/service_update'''&lt;br /&gt;
* Methods: POST, GET(if allowed, not recomended)&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Parametres===&lt;br /&gt;
&lt;br /&gt;
Parameters which are '''included''' into hash:&lt;br /&gt;
* service_id -  Service ID, which we want to delete. '''Required'''.&lt;br /&gt;
* u - username for authentication. '''Required'''.&lt;br /&gt;
* [[MOR API hash construction | hash]] - SHA1 hash constructed using '''params''' and '''API_Secret_Key''' ([[MOR API hash construction | More described in Constructing hash]]). '''Required'''.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Parameters which are '''not included''' into hash:&lt;br /&gt;
* service_name - name of Service. &lt;br /&gt;
* service_type - type of Service (periodic_fee, one_time_fee, flat-rate). &lt;br /&gt;
* service_sell_price - sell price of Service. &lt;br /&gt;
* service_self_cost - cost of Service.&lt;br /&gt;
* service_period - period of Service (month, day, by default month only for Periodic Fee type). &lt;br /&gt;
* service_minutes_per_month - how many minutes User is allowed to use Service (only for Flat Rate type).&lt;br /&gt;
&lt;br /&gt;
===Request===&lt;br /&gt;
&lt;br /&gt;
We have Service ID = 19, API Secret Key = secret&amp;lt;br&amp;gt;&lt;br /&gt;
We send:&lt;br /&gt;
 HTML POST: http://&amp;lt;SERVER_IP&amp;gt;/billing/api/service_update?u=admin&amp;amp;service_id=19&amp;amp;service_name=ddddddd&amp;amp;hash=38282ca5e65e63746498ef5b39a2fe71c6448df4&lt;br /&gt;
'''NOTE that username is not included in hash'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Success'''&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;page&amp;gt;&lt;br /&gt;
    &amp;lt;status&amp;gt;&lt;br /&gt;
      &amp;lt;success&amp;gt;Service successfully updated&amp;lt;/success&amp;gt;&lt;br /&gt;
    &amp;lt;/status&amp;gt;&lt;br /&gt;
  &amp;lt;/page&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''Errors'''&lt;br /&gt;
* &amp;lt;error&amp;gt;Service Type is invalid&amp;lt;/error&amp;gt; - Service type is unknown. It should be periodic_fee or one_time_fee or flat-rate.&lt;br /&gt;
* &amp;lt;error&amp;gt;Quantity must be numeric&amp;lt;/error&amp;gt; - Quantity was not numeric.&lt;br /&gt;
* &amp;lt;error&amp;gt;Quantity must be greater than zero&amp;lt;/error&amp;gt; - Quantity is less than zero.&lt;br /&gt;
* &amp;lt;error&amp;gt;You are not authorized to use this functionality&amp;lt;/error&amp;gt; - User has no permissions to manage Services.&lt;br /&gt;
* &amp;lt;error&amp;gt;Access Denied&amp;lt;/error&amp;gt; - User can not Manage Services and can not get permissions to use it. &lt;br /&gt;
* &amp;lt;error&amp;gt;Incorrect hash&amp;lt;/error&amp;gt; - Hash was not correct. Check API_Secret_Key and order or params while concatenating hash_string.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[MOR API]]&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=MOR_API_Service_create&amp;diff=18414</id>
		<title>MOR API Service create</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=MOR_API_Service_create&amp;diff=18414"/>
		<updated>2014-09-24T07:14:35Z</updated>

		<summary type="html">&lt;p&gt;Tester2: /* Returns */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Description=&lt;br /&gt;
[[MOR API]] Create Service&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
* Call: /api/service_create&lt;br /&gt;
* Methods: POST, GET(if allowed, not recomended)&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Parametres===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Parameters which are '''included''' into hash:&lt;br /&gt;
&lt;br /&gt;
* new_service_name - name of the Service '''Required'''.&lt;br /&gt;
* new_service_type - periodic_fee, one_time_fee or flat_rate. '''Required'''.&lt;br /&gt;
* service_sell_price -  price of the Service. '''Required'''.&lt;br /&gt;
* service_self_cost - self cost of the Service. '''Required'''.&lt;br /&gt;
&lt;br /&gt;
'''Note that parameters are shown in the same order as they have to be when generating the hash. Last parameter in a row is API_Secret_Key'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Parameters which are '''not included''' into hash:&lt;br /&gt;
&lt;br /&gt;
* '''[[MOR API hash construction | hash]]''' - SHA1 hash constructed using '''parameters''' which are listed above. Note that parameters are shown in the same order as they have to be when generating the hash. Last parameter in a row is '''API_Secret_Key''' ([[MOR API hash construction | More described in Constructing hash]]). '''Required'''.&amp;lt;br&amp;gt;&lt;br /&gt;
* '''u''' - username for authentication. '''Required'''.&lt;br /&gt;
* service_period - month or day. For Periodic fee service type only. &lt;br /&gt;
* service_minutes_per_month - for Flat-Rate service type only. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Request===&lt;br /&gt;
&lt;br /&gt;
We have u = admin, API Secret Key = secret&lt;br /&gt;
&lt;br /&gt;
We send:&lt;br /&gt;
&lt;br /&gt;
 HTML POST: http://&amp;lt;SERVER_IP&amp;gt;/billing/api/service_create?u=admin&amp;amp;new_service_type=flat_rate&amp;amp;service_minutes_per_month=5&amp;amp;new_service_name=name&amp;amp;hash=38282ca5e65e63746498ef5b39a2fe71c6448df4&lt;br /&gt;
&lt;br /&gt;
*Now we can find this Service in GUI Services list.&lt;br /&gt;
&lt;br /&gt;
'''* Note that username and password are not included in hash'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Returns===&lt;br /&gt;
&lt;br /&gt;
'''Success'''&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;page&amp;gt;&lt;br /&gt;
  &amp;lt;status&amp;gt;&lt;br /&gt;
    &amp;lt;success&amp;gt;Service successfully created&amp;lt;/success&amp;gt;&lt;br /&gt;
  &amp;lt;/status&amp;gt;&lt;br /&gt;
 &amp;lt;/page&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''Errors'''&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;error&amp;gt;Access Denied&amp;lt;/error&amp;gt; - user was not authorized or is simple user. Only admin, reseller or accounant can use this API method. &lt;br /&gt;
* &amp;lt;error&amp;gt;Incorrect hash&amp;lt;/error&amp;gt; - hash was not correct. Check API_Secret_Key and order or params while concatenating hash_string.&lt;br /&gt;
* &amp;lt;error&amp;gt;Service must have service type&amp;lt;/error&amp;gt; - type must be one of periodic_fee, one_time_fee or flat_rate.&lt;br /&gt;
* &amp;lt;error&amp;gt;Flat Rate Service must have quantity&amp;lt;/error&amp;gt; - Flat-Rate Service must have Minutes/month provided. &lt;br /&gt;
* &amp;lt;error&amp;gt;Quantity must be numeric&amp;lt;/error&amp;gt; - Minutes/month must be a number. &lt;br /&gt;
* &amp;lt;error&amp;gt;Quantity must be greater than zero&amp;lt;/error&amp;gt; &lt;br /&gt;
* &amp;lt;error&amp;gt;Service Price must be numeric&amp;lt;/error&amp;gt; &lt;br /&gt;
* &amp;lt;error&amp;gt;Incorrect hash&amp;lt;/error&amp;gt; - Hash was not correct. Check API_Secret_Key and order or params while concatenating hash_string.&lt;br /&gt;
* &amp;lt;error&amp;gt;You are not authorized to use this functionality&amp;lt;/error&amp;gt; - User has no permissions to manage Services. &lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;page&amp;gt;&lt;br /&gt;
  &amp;lt;status&amp;gt;&lt;br /&gt;
    &amp;lt;error&amp;gt;Quantity must be numeric&amp;lt;/error&amp;gt;&lt;br /&gt;
  &amp;lt;/status&amp;gt;&lt;br /&gt;
 &amp;lt;/page&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[MOR API]]&lt;br /&gt;
* [[MOR_API_Service_delete | Services delete]]&lt;br /&gt;
* [[MOR_API_Service_update | Service update]]&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=MOR_API_Service_update&amp;diff=18413</id>
		<title>MOR API Service update</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=MOR_API_Service_update&amp;diff=18413"/>
		<updated>2014-09-24T07:12:53Z</updated>

		<summary type="html">&lt;p&gt;Tester2: /* Parametres */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= NOTE: Available from MOR X5 =&lt;br /&gt;
&lt;br /&gt;
=Description=&lt;br /&gt;
[[MOR API]] Update Service&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
* From '''MOR X5''' Call: '''/api/service_update'''&lt;br /&gt;
* Methods: POST, GET(if allowed, not recomended)&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Parametres===&lt;br /&gt;
&lt;br /&gt;
Parameters which are '''included''' into hash:&lt;br /&gt;
* service_id -  Service ID, which we want to delete. '''Required'''.&lt;br /&gt;
* u - username for authentication. '''Required'''.&lt;br /&gt;
* [[MOR API hash construction | hash]] - SHA1 hash constructed using '''params''' and '''API_Secret_Key''' ([[MOR API hash construction | More described in Constructing hash]]). '''Required'''.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Parameters which are '''not included''' into hash:&lt;br /&gt;
* service_name - name of Service. &lt;br /&gt;
* service_type - type of Service (periodic_fee, one_time_fee, flat-rate). &lt;br /&gt;
* service_sell_price - sell price of Service. &lt;br /&gt;
* service_self_cost - cost of Service.&lt;br /&gt;
* service_period - period of Service (month, day, by default month only for Periodic Fee type). &lt;br /&gt;
* service_minutes_per_month - how many minutes User is allowed to use Service (only for Flat Rate type).&lt;br /&gt;
&lt;br /&gt;
===Request===&lt;br /&gt;
&lt;br /&gt;
We have Service ID = 19, API Secret Key = secret&lt;br /&gt;
We send:&lt;br /&gt;
 HTML POST: http://&amp;lt;SERVER_IP&amp;gt;/billing/api/service_update?u=admin&amp;amp;service_id=19&amp;amp;service_name=ddddddd&amp;amp;test=1&lt;br /&gt;
'''NOTE that username is not included in hash'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Success'''&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;page&amp;gt;&lt;br /&gt;
    &amp;lt;status&amp;gt;&lt;br /&gt;
      &amp;lt;success&amp;gt;Service successfully updated&amp;lt;/success&amp;gt;&lt;br /&gt;
    &amp;lt;/status&amp;gt;&lt;br /&gt;
  &amp;lt;/page&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''Errors'''&lt;br /&gt;
* &amp;lt;error&amp;gt;Service Type is invalid&amp;lt;/error&amp;gt; - Service type is unknown. It should be periodic_fee or one_time_fee or flat-rate.&lt;br /&gt;
* &amp;lt;error&amp;gt;Quantity must be numeric&amp;lt;/error&amp;gt; - Quantity was not numeric.&lt;br /&gt;
* &amp;lt;error&amp;gt;Quantity must be greater than zero&amp;lt;/error&amp;gt; - Quantity is less than zero.&lt;br /&gt;
* &amp;lt;error&amp;gt;You are not authorized to use this functionality&amp;lt;/error&amp;gt; - User has no permissions to manage Services.&lt;br /&gt;
* &amp;lt;error&amp;gt;Access Denied&amp;lt;/error&amp;gt; - User can not Manage Services and can not get permissions to use it. &lt;br /&gt;
* &amp;lt;error&amp;gt;Incorrect hash&amp;lt;/error&amp;gt; - Hash was not correct. Check API_Secret_Key and order or params while concatenating hash_string.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[MOR API]]&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=MOR_API_Service_create&amp;diff=18412</id>
		<title>MOR API Service create</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=MOR_API_Service_create&amp;diff=18412"/>
		<updated>2014-09-24T07:10:52Z</updated>

		<summary type="html">&lt;p&gt;Tester2: /* See also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Description=&lt;br /&gt;
[[MOR API]] Create Service&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
* Call: /api/service_create&lt;br /&gt;
* Methods: POST, GET(if allowed, not recomended)&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Parametres===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Parameters which are '''included''' into hash:&lt;br /&gt;
&lt;br /&gt;
* new_service_name - name of the Service '''Required'''.&lt;br /&gt;
* new_service_type - periodic_fee, one_time_fee or flat_rate. '''Required'''.&lt;br /&gt;
* service_sell_price -  price of the Service. '''Required'''.&lt;br /&gt;
* service_self_cost - self cost of the Service. '''Required'''.&lt;br /&gt;
&lt;br /&gt;
'''Note that parameters are shown in the same order as they have to be when generating the hash. Last parameter in a row is API_Secret_Key'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Parameters which are '''not included''' into hash:&lt;br /&gt;
&lt;br /&gt;
* '''[[MOR API hash construction | hash]]''' - SHA1 hash constructed using '''parameters''' which are listed above. Note that parameters are shown in the same order as they have to be when generating the hash. Last parameter in a row is '''API_Secret_Key''' ([[MOR API hash construction | More described in Constructing hash]]). '''Required'''.&amp;lt;br&amp;gt;&lt;br /&gt;
* '''u''' - username for authentication. '''Required'''.&lt;br /&gt;
* service_period - month or day. For Periodic fee service type only. &lt;br /&gt;
* service_minutes_per_month - for Flat-Rate service type only. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Request===&lt;br /&gt;
&lt;br /&gt;
We have u = admin, API Secret Key = secret&lt;br /&gt;
&lt;br /&gt;
We send:&lt;br /&gt;
&lt;br /&gt;
 HTML POST: http://&amp;lt;SERVER_IP&amp;gt;/billing/api/service_create?u=admin&amp;amp;new_service_type=flat_rate&amp;amp;service_minutes_per_month=5&amp;amp;new_service_name=name&amp;amp;hash=38282ca5e65e63746498ef5b39a2fe71c6448df4&lt;br /&gt;
&lt;br /&gt;
*Now we can find this Service in GUI Services list.&lt;br /&gt;
&lt;br /&gt;
'''* Note that username and password are not included in hash'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Returns===&lt;br /&gt;
&lt;br /&gt;
'''Success'''&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;page&amp;gt;&lt;br /&gt;
  &amp;lt;status&amp;gt;&lt;br /&gt;
    &amp;lt;success&amp;gt;Service successfully created&amp;lt;/success&amp;gt;&lt;br /&gt;
  &amp;lt;/status&amp;gt;&lt;br /&gt;
 &amp;lt;/page&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''Errors'''&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;error&amp;gt;Access Denied&amp;lt;/error&amp;gt; - user was not authorized or is simple user. Only admin, reseller or accounant can use this API method. &lt;br /&gt;
* &amp;lt;error&amp;gt;Incorrect hash&amp;lt;/error&amp;gt; - hash was not correct. Check API_Secret_Key and order or params while concatenating hash_string.&lt;br /&gt;
* &amp;lt;error&amp;gt;Service must have service type&amp;lt;/error&amp;gt; - type must be one of periodic_fee, one_time_fee or flat_rate.&lt;br /&gt;
* &amp;lt;error&amp;gt;Flat Rate Service must have quantity&amp;lt;/error&amp;gt; - Flat-Rate Service must have Minutes/month provided. &lt;br /&gt;
* &amp;lt;error&amp;gt;Quantity must be numeric&amp;lt;/error&amp;gt; - Minutes/month must be a number. &lt;br /&gt;
* &amp;lt;error&amp;gt;Quantity must be greater than zero&amp;lt;/error&amp;gt; &lt;br /&gt;
* &amp;lt;error&amp;gt;Service Price must be numeric&amp;lt;/error&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;page&amp;gt;&lt;br /&gt;
  &amp;lt;status&amp;gt;&lt;br /&gt;
    &amp;lt;error&amp;gt;Quantity must be numeric&amp;lt;/error&amp;gt;&lt;br /&gt;
  &amp;lt;/status&amp;gt;&lt;br /&gt;
 &amp;lt;/page&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[MOR API]]&lt;br /&gt;
* [[MOR_API_Service_delete | Services delete]]&lt;br /&gt;
* [[MOR_API_Service_update | Service update]]&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=MOR_API_Service_create&amp;diff=18411</id>
		<title>MOR API Service create</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=MOR_API_Service_create&amp;diff=18411"/>
		<updated>2014-09-24T07:09:02Z</updated>

		<summary type="html">&lt;p&gt;Tester2: Created page with '=Description= MOR API Create Service &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; =Usage=  * Call: /api/service_create * Methods: POST, GET(if allowed, not recomended) &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; ===Parametres===   Parameters whi…'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Description=&lt;br /&gt;
[[MOR API]] Create Service&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
* Call: /api/service_create&lt;br /&gt;
* Methods: POST, GET(if allowed, not recomended)&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Parametres===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Parameters which are '''included''' into hash:&lt;br /&gt;
&lt;br /&gt;
* new_service_name - name of the Service '''Required'''.&lt;br /&gt;
* new_service_type - periodic_fee, one_time_fee or flat_rate. '''Required'''.&lt;br /&gt;
* service_sell_price -  price of the Service. '''Required'''.&lt;br /&gt;
* service_self_cost - self cost of the Service. '''Required'''.&lt;br /&gt;
&lt;br /&gt;
'''Note that parameters are shown in the same order as they have to be when generating the hash. Last parameter in a row is API_Secret_Key'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Parameters which are '''not included''' into hash:&lt;br /&gt;
&lt;br /&gt;
* '''[[MOR API hash construction | hash]]''' - SHA1 hash constructed using '''parameters''' which are listed above. Note that parameters are shown in the same order as they have to be when generating the hash. Last parameter in a row is '''API_Secret_Key''' ([[MOR API hash construction | More described in Constructing hash]]). '''Required'''.&amp;lt;br&amp;gt;&lt;br /&gt;
* '''u''' - username for authentication. '''Required'''.&lt;br /&gt;
* service_period - month or day. For Periodic fee service type only. &lt;br /&gt;
* service_minutes_per_month - for Flat-Rate service type only. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Request===&lt;br /&gt;
&lt;br /&gt;
We have u = admin, API Secret Key = secret&lt;br /&gt;
&lt;br /&gt;
We send:&lt;br /&gt;
&lt;br /&gt;
 HTML POST: http://&amp;lt;SERVER_IP&amp;gt;/billing/api/service_create?u=admin&amp;amp;new_service_type=flat_rate&amp;amp;service_minutes_per_month=5&amp;amp;new_service_name=name&amp;amp;hash=38282ca5e65e63746498ef5b39a2fe71c6448df4&lt;br /&gt;
&lt;br /&gt;
*Now we can find this Service in GUI Services list.&lt;br /&gt;
&lt;br /&gt;
'''* Note that username and password are not included in hash'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Returns===&lt;br /&gt;
&lt;br /&gt;
'''Success'''&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;page&amp;gt;&lt;br /&gt;
  &amp;lt;status&amp;gt;&lt;br /&gt;
    &amp;lt;success&amp;gt;Service successfully created&amp;lt;/success&amp;gt;&lt;br /&gt;
  &amp;lt;/status&amp;gt;&lt;br /&gt;
 &amp;lt;/page&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''Errors'''&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;error&amp;gt;Access Denied&amp;lt;/error&amp;gt; - user was not authorized or is simple user. Only admin, reseller or accounant can use this API method. &lt;br /&gt;
* &amp;lt;error&amp;gt;Incorrect hash&amp;lt;/error&amp;gt; - hash was not correct. Check API_Secret_Key and order or params while concatenating hash_string.&lt;br /&gt;
* &amp;lt;error&amp;gt;Service must have service type&amp;lt;/error&amp;gt; - type must be one of periodic_fee, one_time_fee or flat_rate.&lt;br /&gt;
* &amp;lt;error&amp;gt;Flat Rate Service must have quantity&amp;lt;/error&amp;gt; - Flat-Rate Service must have Minutes/month provided. &lt;br /&gt;
* &amp;lt;error&amp;gt;Quantity must be numeric&amp;lt;/error&amp;gt; - Minutes/month must be a number. &lt;br /&gt;
* &amp;lt;error&amp;gt;Quantity must be greater than zero&amp;lt;/error&amp;gt; &lt;br /&gt;
* &amp;lt;error&amp;gt;Service Price must be numeric&amp;lt;/error&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;page&amp;gt;&lt;br /&gt;
  &amp;lt;status&amp;gt;&lt;br /&gt;
    &amp;lt;error&amp;gt;Quantity must be numeric&amp;lt;/error&amp;gt;&lt;br /&gt;
  &amp;lt;/status&amp;gt;&lt;br /&gt;
 &amp;lt;/page&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[MOR API]]&lt;br /&gt;
* [[Services get]]&lt;br /&gt;
* [[Service delete]]&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=MOR_API&amp;diff=18408</id>
		<title>MOR API</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=MOR_API&amp;diff=18408"/>
		<updated>2014-09-24T06:33:08Z</updated>

		<summary type="html">&lt;p&gt;Tester2: /* Services */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:warning.png|100px]]&amp;lt;big&amp;gt;&amp;lt;big&amp;gt;&amp;lt;big&amp;gt;IMPORTANT!!! API methods described here are for MOR X5. For previous versions please check appropriate [http://wiki.kolmisoft.com/index.php/MOR_Manual#Old_Manuals manual].&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=About=&lt;br /&gt;
MOR API lets other software interact with MOR without knowing the internal structure of the database (DB) and other logic.&lt;br /&gt;
&lt;br /&gt;
MOR accepts requests by HTML POST and returns results in XML.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=MOR users that are allowed to use MOR API=&lt;br /&gt;
* Admin&lt;br /&gt;
* Reseller&lt;br /&gt;
* Accountant - only by using Admin Hash and Secret key&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Functions=&lt;br /&gt;
&lt;br /&gt;
== API Related ==&lt;br /&gt;
* [[API Configuration]] – configuration options for API.&lt;br /&gt;
* [[MOR API hash construction|Hash construction]] – how to construct hash to authenticate data over API.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Balance==&lt;br /&gt;
* [[MOR API user_balance_get|user_balance_get]] (balance) – retrieves a User Balance.&lt;br /&gt;
* [[Balance in phone | user_simple_balance_get]] (simple_balance) – gets User's Balance&lt;br /&gt;
* [[MOR API user balance update | user_balance_update]] (change_user_balance) – changes User's Balance&lt;br /&gt;
* [[MOR API user balance get by psw | user_balance_get_by_psw]] – gets User's Balance by his owned Device's Password&lt;br /&gt;
* [[MOR API User Balance get by Username | user_balance_get_by_username]] – gets User's Balance by his owned Device's Username&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Callback==&lt;br /&gt;
* [[MOR API callback init|callback_init]] (callback) – initiates callback.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Calling Cards==&lt;br /&gt;
* [[MOR API card_by_cli_update| card_by_cli_update]] (cc_by_cli) – creates and updates calling cards, including adding and transferring funds, by being identified according the Caller_ID.&lt;br /&gt;
* [[MOR API card_from_group_sell| card_from_group_sell]] (buy_card_from_callingroup) – sells cards from calling card group.&lt;br /&gt;
* [[MOR API card_group_get| card_group_get]] (show_calling_card_group) – show calling group info.&lt;br /&gt;
* [[MOR API card_balance_get| card_balance_get]] (card_balance_get) – show card's balance.&lt;br /&gt;
* [[MOR API card_payment_add| card_payment_add]] – add payment to the calling card.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Calls==&lt;br /&gt;
* [[MOR API user calls get|user_calls_get]] (user_calls) – retrieves a list of calls in a selected time period for a user/device.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Conflines==&lt;br /&gt;
* [[MOR API conflines update|conflines_update]] – changes settings for API, Default User or Default Device.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Credit notes==&lt;br /&gt;
* [[MOR API credit_notes_get| credit_notes_get]] (credit_notes) – credit notes list.&lt;br /&gt;
* [[MOR API credit_note_update| credit_note_update]] – credit note update.&lt;br /&gt;
* [[MOR API credit_notes_create| credit_note_create]] – credit note create.&lt;br /&gt;
* [[MOR API credit_notes_delete| credit_note_delete]] – credit note delete.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Device==&lt;br /&gt;
* [[MOR API device create| device_create]] – create device&lt;br /&gt;
* [[MOR API device delete| device_delete]] (delete_device) – delete device&lt;br /&gt;
* [[MOR API devices get | devices_get]] (device_list) – users device list&lt;br /&gt;
* [[MOR API device callflow get| device_callflow_get]] - returns information about specified device callflow state.&lt;br /&gt;
* [[MOR API device callflow update | device_callflow_update]] – updates information of specified device callflow state. &lt;br /&gt;
* [[MOR API CLI info get | cli_info_get]] (cli_get_info) – shows id of device where CLI belongs.&lt;br /&gt;
* [[MOR API CLI delete | cli_delete]] – deletes specified CLI. &lt;br /&gt;
* [[MOR API CLI add | cli_add]] – creates CLI and assigns it to the specified device.&lt;br /&gt;
* [[MOR API device details get | device_details_get]] – shows all information about specified device.&lt;br /&gt;
* [[MOR_API_device_update | device_update]]  –  updates location_id of selected Device.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DID==&lt;br /&gt;
&lt;br /&gt;
* [[MOR API dids get| dids_get]] – get list of particular DIDs&lt;br /&gt;
* [[MOR API did_create| did_create]] – DID create&lt;br /&gt;
* [[MOR_API_did_device_assign| did_device_assign]] (did_assign_device) – Assign Device to DID&lt;br /&gt;
* [[MOR_API_did_device_unassign| did_device_unassign]] (did_unassign_device) – Unassign Device from DID&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Email==&lt;br /&gt;
* [[MOR API email send| email_send]] (send_email) – send Email.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Financial statements==&lt;br /&gt;
* [[MOR API financial_statements_get| financial_statements_get]] (financial_statements) – financial statements list.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Invoices==&lt;br /&gt;
* [[MOR API invoices_get|invoices_get]] (invoices) – retrieves a list of invoices in a selected time period.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Login==&lt;br /&gt;
* [[MOR API user_login|user_login]] (login) – logs user in to MOR.&lt;br /&gt;
* [[MOR API user_logout|user_logout]] (logout) – logs user out from MOR.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Monitorings==&lt;br /&gt;
* [[MOR API ma_activate_api| ma_activate]] – turn on monitorings addon&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Payments==&lt;br /&gt;
* [[MOR API payment_create| payment_create]] (create_payment) – create payment.&lt;br /&gt;
* [[MOR API payments_get| payments_get]] (payments_list) – payments list.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Phonebooks==&lt;br /&gt;
* [[MOR API phonebooks_get| phonebooks_get]] (phonebooks_api ) – phonebooks list.&lt;br /&gt;
* [[MOR API phonebook_edit| phonebook_edit]] (phonebook_edit_api) – edit phonebook.&lt;br /&gt;
* [[MOR API phonebook_record_create| phonebook_record_create]]  – create phonebook.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Quickforwards==&lt;br /&gt;
* [[MOR API Quickforwards get| quickforwards_dids_get]] (quickforwards_dids_get) – get Quickforwards.&lt;br /&gt;
* [[MOR API Quickforwards update| quickforwards_did_update]] (quickforwards_did_update) – update Quickforwards.&lt;br /&gt;
* [[MOR API Quickforwards delete| quickforwards_did_delete]] (quickforwards_did_delete) – delete Quickforwards.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Rates==&lt;br /&gt;
* [[MOR API rate get|rate_get]] (rate) – check user rate by prefix&lt;br /&gt;
* [[MOR API tariff rates get| tariff_rates_get]] (get_tariff) – get all tariff's rates&lt;br /&gt;
* [[MOR API tariff_retail_import | tariff_retail_import ]] (import_relail_tariff) – import xml retail tariff&lt;br /&gt;
* [[MOR API tariff_wholesale_update | tariff_wholesale_update ]] (wholesale_tariff) – update or create wholesale tariff&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Services==&lt;br /&gt;
* [[MOR API Service delete| service_delete]] – delete Service.&lt;br /&gt;
* [[MOR API Service create| service_create]] – create Service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SMS Send==&lt;br /&gt;
* [[MOR API sms send| sms_send]] (send_sms) – send SMS.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==User==&lt;br /&gt;
&lt;br /&gt;
* [[MOR API user_register| user_register]] – create new user from params.&lt;br /&gt;
* [[MOR API user_details_get | user_details_get]] (user_details) – gets user details.&lt;br /&gt;
* [[MOR_API_user_details_update| user_details_update]] (user_update_api) – update user from params.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Resellers ==&lt;br /&gt;
* [[MOR API reseller group create]] - create new Reseller Group&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Version==&lt;br /&gt;
* [[MOR API system version get| system_version_get]] (get_version) – get MOR version number.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
= Examples =&lt;br /&gt;
* [[MOR API PHP Examples]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=HTML POST=&lt;br /&gt;
All requests are in a similar format:&lt;br /&gt;
&lt;br /&gt;
 HTML POST: http://&amp;lt;SERVER_IP&amp;gt;/billing/api/&amp;lt;function&amp;gt;?u=username&lt;br /&gt;
&lt;br /&gt;
* username - the user name and password of the user who is asking for the data. &lt;br /&gt;
&lt;br /&gt;
If the user has 'admin' rights, he will get more results and  can perform more actions compared to a user who does not have such rights.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Useful to know=&lt;br /&gt;
&lt;br /&gt;
* All API methods returns data straight from database. It means that MOR GUI settings does not affect data, it will be returned as it is saved in database. For example:&lt;br /&gt;
** Value of money will be returned in Default System [[Currencies|Currency]].&lt;br /&gt;
** Date will not be affected of [[Configuration_from_GUI#Visual| Default date format]] setting.&lt;br /&gt;
** Value of money will not be affected of [[Configuration_from_GUI#Visual|Number digits]] setting.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=See also =&lt;br /&gt;
* [[API Configuration]]&lt;br /&gt;
* [[MOR integration]]&lt;br /&gt;
* [[How to block access to some API functions]]&lt;br /&gt;
* [[API specification to be implemented in the future]]&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Common_Use_Providers&amp;diff=18407</id>
		<title>Common Use Providers</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Common_Use_Providers&amp;diff=18407"/>
		<updated>2014-09-24T06:18:53Z</updated>

		<summary type="html">&lt;p&gt;Tester2: /* Usage from Reseller PRO */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Description=&lt;br /&gt;
&lt;br /&gt;
Common Use Providers are [[Providers]] whose belongs to admin and can be used by [[Reseller_Pro_Addon |Resellers PRO]]. Reseller will be billed using Provider assigned to him as common use. &lt;br /&gt;
&lt;br /&gt;
'''NOTE''' that if provider is marked as common use and is used in one of reseller's LCR or is in Terminators list - admin is not allowed to delete this provider or remove Common Use option.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Configuration=&lt;br /&gt;
&lt;br /&gt;
Go to '''SETTINGS –&amp;gt; Billing –&amp;gt; Providers'''.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:providers_path.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Here you can see a list of all Providers:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:providers_list.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Click on [[image:icon_edit.png]] icon and in Provider configuration page, [[Providers#Advanced | Advanced settings block]] set Yes on '''Common Use''' option.&lt;br /&gt;
&lt;br /&gt;
When you have at least one Common Use Provider and at least one Reseller PRO go to '''ADDONS –&amp;gt; Resellers –&amp;gt; Common Use Providers'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:common_use_providers_path.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Here you can see a list of Common Use Providers already assigned to Resellers PRO:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:common_use_providers.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
* In this page, you can let use all Common Use Providers for all Resellers PRO with Tariffs which is assigned to them in [[User_Details | user configuration page]], just press '''Let resellers use all common use providers''' button. &lt;br /&gt;
&lt;br /&gt;
* Also you can Add one by one Provider to each Reseller PRO, just under the table select Reseller name, Provider name and Tariff which you want to set him.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Usage from Reseller PRO=&lt;br /&gt;
&lt;br /&gt;
This kind of Provider Reseller PRO able to find in '''MAIN MENU –&amp;gt; Routing –&amp;gt; Providers''' list as System Providers.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:common_use_providers_in_rspro_prov_list.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Resellers are not allowed to make some configurations on Common User Providers and only see their names as Provider + ID. Resellers are able to use them in [[LCR]].&lt;br /&gt;
&lt;br /&gt;
Reseller able to enter List of Rates added to him on particular Provider with click on its Tariff name. Rates will be shown as [[Advanced Rates for Users ]] without ability to edit them, for Reseller PRO no need to check additional options, he will reach these rates as long as he will have Common Use Providers.&lt;br /&gt;
&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[Providers]]&lt;br /&gt;
* [[Reseller Pro Addon]]&lt;br /&gt;
* [[User Details]]&lt;/div&gt;</summary>
		<author><name>Tester2</name></author>
	</entry>
</feed>