Difference between revisions of "Accounting"
Line 53: | Line 53: | ||
=== Example of email with subscriptions === | === Example of email with subscriptions === | ||
Charging for subscriptions.<br> | Charging for subscriptions.<br> | ||
Line 61: | Line 62: | ||
2 User: User Resellers(user_reseller):<br> | 2 User: User Resellers(user_reseller):<br> | ||
Service: res_1 - 110.0000<br> | Service: res_1 - 110.0000<br> | ||
<br><br> | <br><br> |
Revision as of 15:49, 3 July 2012
Accounting in MOR is implemented to keep track of all payment activity. It is also possible to create various services, make subscriptions for them, and generate invoices for the clients.
Services
A Service is a product that can be sold to the client. There are various types of services. For example:
- Monthly fee.
- Line rent.
- Phone rent.
- Internet plan.
Example:
You can create an unlimited number of Services. All of them can be found in SETTINGS –> Accounting –> Services:
Service types
- Periodic fee per month - user is charged every month for this service.
- One time fee - user is charged only once for this service.
- Flat-Rates - user is charged every month for this service and can dial a certain number of minutes to certain destinations.
Selfcost
It allows you to include all your expenses to track the real profit correctly.
Example:
You have a subscription to charge your clients for internet connection by 10 EUR, but it cost 6 EUR for you. Client pays 10 EUR to you, but real profit is 4 EUR.
Selfcost functionality allows you to see a real profit in statistics.
Subscriptions
Users can subscribe for some services. When they do, they get a service Subscription. Service Subscriptions can be found for each user in the Users main window by clicking the icon for the selected user:
Subscriptions can have a Memo (if you sell a DID, for example, you can make a note of its number here). Subscriptions also has the important fields Activation start and Activation end. This data interval will be billed in the invoice, but dates before and after this interval will not be billed.
You can add/edit/delete subscriptions for the user.
It is not recommended to delete subscriptions, or the user will not be billed for that subscription. If the user stops using a service, set the Activation end value to the date when he does so.
NOTE: A service is billed from Activation Start till Activation End, and from the start till the end of the invoice period. The time period that fits within both the previous periods is the actual period that will be billed.
Every month a subscription about all subscriptions made in the system during the month is sent to admin. Also resellers' subscriptions are also sent to admin.
Example of email with subscriptions
Charging for subscriptions.
Date: 2012-5
1 User: Test User #1(101):
Service: Test_periodic_service - 10.0000
Service: Test_periodic_service - 10.0000
2 User: User Resellers(user_reseller):
Service: res_1 - 110.0000
Subscription calculation
Subscriptions are calculated by the following rules:
- When a Subscription is assigned to a Prepaid user, the price for the first month is deducted from the user's balance instantly (and an appropriate Payment with type = subscription is created).
- If the Prepaid user does not have enough balance to cover this subscription, the subscription fails.
- When a Subscription is assigned to a Postpaid user, no changes are made to his balance instantly.
Every month day 1, 00:10:00, an action is executed which performs the following calculations (blocked users are skipped).
Prepaid users
For Prepaid users, the balance subtracts the Subscription price for this new month.
A New Payment is created, with type = 'Subscription', to mark the user's balance deduction (only for Prepaid users).
If a Prepaid user's balance becomes negative, this user is blocked and receives a notification email (as does his owner).
Allow prepaid users balance to drop below zero
Starting from MOR 9 there is an option to allow or not user balance to drop below zero:
SETTINGS -> Setup -> Settings -> Various -> Do not allow prepaid user balance drop below zero
If this option is not enabled - then MOR allows user balance to drop below zero. If this option is enabled - user is blocked when there is not enough money for a subscription - both user and admin are informed about this by email.
Postpaid users
For Postpaid users, the balance subtracts the Subscription price for the previous month.
If the Postpaid user's balance + credit < 0, he is blocked and receives a notification email (as does his owner).
Subscriptions scheme
- Account type Prepaid or Postpaid can be changed in user details
- Credit is an amount of money which user is allowed to owe you.
Example 1: user balance is -4.00 USD, credit = 5.00 USD. Balance + credit = 1 USD, so user will still be able to call.
Example 2: user balance is -4.00 USD, credit = 4.00 USD. Balance + credit = 0 USD, so user will not be able call.
Credit can be changed in user details
- Balance is an amount of money user already paid you, but have not been spent yet on services you provide (can make calls using this money). Current user balance can be checked in user details
Example
A user is postpaid.
On the first day of his first month
- User balance is: -$75.
-$75 is for calls. Also, the user has to pay $475 for subscriptions.
- The system calculates the subscription price and deducts $475 from his balance.
- The user balance becomes -$550.
- The user gets an invoice for $550.
- He makes a payment of $500.
- The user's balance becomes -$50.
On the first day of the next month
In the next month, the user gets an invoice for calls made over that month + subscription prices in that month.
-$50 will be shown on the invoice, but will not be included in the new invoice.
See also: