Difference between revisions of "Accounting"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 56: Line 56:
=== Prepaid users ===
=== Prepaid users ===


For Prepaid users, the balance subtracts the Subscription price for for this new month.
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).
A New Payment is created, with type = 'Subscription', to mark the user's balance deduction (only for Prepaid users).

Revision as of 13:06, 24 March 2011

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.

You can create an unlimited number of Services. All of them can be found in SETTINGS – Accounting – Services:

Services list.png


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.

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 Icon subscriptions.png for the selected user:

Subscriptions list.png


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.




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:00: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).


Starting from MOR 9 there is an option to allow or not user balance to drop below zero:

Prepaid user balance below zero.png


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).




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: