A subscription can cover either a single service (e.g., an IPTV channel package) or a service bundle (e.g., 100 free minutes for domestic destinations, 200 minutes of calls to Europe, and SIP phone rental for a $20 monthly fee). In either case, subscriptions are taxed as a single unit. PortaBilling produces a single xDR that covers the subscription’s fee. PortaBilling then sends this xDR and the tax code associated with it for taxation. Thus, if you offer several services for a subscription, the tax code must cover each of them.
For this reason, you must describe your bundle to the taxation company in detail:
- which services are included,
- the price for each service, and
- the estimated percentage of every service to be used within the bundle. For example, you offer 100 free minutes of domestic calls for a $30 monthly subscription. You describe your service bundle as follows:
- interstate calls: $15 and 40% of estimated usage;
- intrastate calls: $10 and 50% of estimated usage;
- calls to toll-free numbers: $5 and 10% of estimated usage.
Each subscription can include up to three separate fees: an activation fee, a periodic fee, and a cancellation fee. Each fee may consist of charges for one or more different services (e.g., the activation fee includes equipment costs, the periodic fee covers voice call services and the cancellation fee covers some administrative costs). To calculate taxes for such a subscription, tax codes must cover every service within a bundle and must be defined separately for each subscription fee.
The taxation company can then correctly assess each service for taxation and provide the bundle tax codes. Your administrator configures a subscription in PortaBilling and associates the codes with it.
Depending on the taxation company, the tax codes can be of different types. SureTax defines only transaction codes while Avalara divides them into transaction and service codes.
To illustrate the taxation of subscriptions, let’s say that a $20 recurring subscription fee covers the following services:
- The SIP phone rental for $2.
- Domestic calls for $6.
- International calls for $12.
The selected tax company is Avalara.
The service provider describes their service bundle to Avalara and receives the transaction/service codes. The administrator enters these codes in PortaBilling, associates them with the subscription, and assigns the subscription to the customer.
At the end of the customer’s billing period, PortaBilling calculates their subscription charges and produces a single xDR record for $20. PortaBilling sends this xDR and the tax codes to Avalara. After the taxes are calculated and the data is forwarded back to PortaBilling, it applies them to the customer’s balance and generates the invoice.
For consistency, taxes for subscriptions and bundle promotions are calculated the same way: for a single xDR with the total amount of charges and using a tax code for the entire service bundle.
To summarize, these steps must be completed for subscription taxation:
- Describe your service bundles to the taxation company (e.g., SureTax) to receive the bundle tax codes.
- Configure taxation in PortaBilling:
- Configure the taxation system;
- Configure the tax codes. PortaBilling uses internal tax codes mapped to the actual tax codes. This is done to simplify taxation management for two taxation systems (e.g., when you switch from one system to another). Therefore, create internal tax codes and associate the bundle tax codes with them (Please refer to the Unified codes for tax calculation via external plug-ins section for details).
- Configure service bundles as subscriptions and assign corresponding tax codes to them.