Charges default attributes
This article covers only the default attributes of the charges generated within the Prepay model (see Creating an account class). For the Postpay model, the statuses of charges and, in some cases, the close dates differ (see Particular aspects of charges within the Postpay charging model).
In this article:
Default attributes depending on charges type
Charges attributes may change depending on the day when the related order is paid (see Charges attributes changing). All charges are generated in the New status except for the Recurring fee charges for reduces resources — in this case, the charges for the unused periods to be refunded to the account balance are generated with the Waiting for refund status.
Charge type | Conditions of generation | Created at | Close date | Billing date | Period |
---|---|---|---|---|---|
Setup fee | Creation of the:
| Order creation date | Order creation date | Close date of the charge | Selected period of a subscription plan |
Renewal fee | Creation of the renewal order | Order creation date | Order creation date | Close date of the charge | Selected period of a subscription plan |
Transfer fee | Creation of the sales order for the domain subscription transfer | Order creation date | Order creation date | Close date of the charge | Period of a domain subscription plan |
Recurring fee | Creation of the:
or processing of the first consumed resources records in the billing period for subscriptions with the Pay as you go (internal) billing type | Depending on the billing type:
| Depending on the billing type:
| The earliest date of the close date of the charge and the finish date of the period paid by the charge (operate_to ) | One of the subscription billing periods taking into account plan period of the subscription (see below) |
Stopping, switching of a plan, and resources reducing of a subscription also can cause the Recurring fee charges generation. See more details in the Splitting of charges section. | |||||
Subscription resource consumption | Processing of the first consumed resources records in each billing period in case of the subscriptions with the Pay as you go billing type. | Each billing period on the date of processing of the first consumed resources records | The billing day after the end of the charge period or the expiration date of the current period of the subscription | The processing date of resource consumption in the platform (billed_at ) | From the charge creation date to the end date of the current billing period |
Specific aspects of the Recurring fee charges generation
Generation of the Recurring fee changes when a new subscription is ordered
When a new subscription is ordered, the Recurring fee charges generation has the following specific aspects:
A subscription can generate several Recurring fee charges for the same service or the same resource. A number of the generated charges depends on the billing type and the period of the subscription. For the most of the billing types, the number of the generated charges is calculated as N + 1, where N is the subscription period in months.
If the subscription is ordered on the billing day or the billing type provides a free period of the subscription from the order creation date to the nearest billing day, the total number of the Recurring fee charges for the same service or resource will be equal to N.
- Charges for current billing period have the Blocked status. The only exception is the Monthly via balance (non-refund) billing type — when it is applied, the Recurring fee charges for the current period has the Closed status (see Monthly via balance (non-refund). Charges generation). Charges for future billing periods are in the Blocked or Opened statuses, depending on the billing type (see Charges for the subscriptions with different billing types).
- Charge amount is calculated in proportion to the charge period. Recurring fee for the application or resource usage is specified for a calendar month, therefore:
- Charges for the full months of use of the application or the resource will always have the same amounts, regardless of the actual number of days in a month.
- Charges for a fraction of a calendar month are calculated as the product of the actual period of use, in days, by the amount of monthly recurring fee divided by the actual number of days in the month.
For example, a subscription was ordered on November, 10th for a period of two months, and the billing type is Monthly Reservation (see Monthly Reservation. Charges generation). The recurring fee for the subscription usage is $30 per month.
Let's assume that the billing day is set to the 1st day of each month.
The subscription generated three charges (the period is two months, and plus one, according to N + 1, because the subscription was ordered not in the billing day):
- Charge No.1:
- Period: from the order creation date (November, 10th) to the nearest billing day (December, 1st).
- Status: Blocked because the charge was created for the current billing period.
- Amount: $21 (21 x $30 / 30) because the actual subscription usage period in November was 21 days, from November, 10th to 30th inclusive.
- Created at: November, 10th.
- Close date: the nearest billing day (December, 1st).
- Charge No.2:
- Period: from billing day the December, 1st to the next billing day the January, 1st.
- Status: Blocked because the subscription billing type is Monthly Reservation.
- Amount: $30 because the subscription was active through the whole month.
- Created at: November, 10th.
- Close date: the billing day, the January, 1st.
- Charge No.3:
- Period: from the billing day (January, 1st) to the subscription period end date (January, 9th).
- Status: Blocked because the subscription billing type is Monthly Reservation.
- Amount: $8.71 (9 x 30 / 31) because the actual subscription usage period in January was 9 days, from 1st to 9th January inclusive.
- Created at: November, 10th.
- Close date: the subscription period end date on January, 9th.
Generation of the Recurring fee changes when an existing subscription is renewed
When subscription is renewed, the following type of charges are generated, if the corresponding fees are set in the plan:
- Renewal fee charges for the subscription.
- Renewal fee charges for the resources.
- Recurring fee charges for the subscription renewal.
- Recurring fee charges for the resources renewal.
All charges are generated at the moment of the renewal order creation, but the period covered by the charges starts only after the expiration of the current subscription period. The statuses of charges prior to the original subscription expiration differ depending on the subscription billing type (see Charges for the subscriptions with different billing types).