## Billing introduction

Introducción al billing

Sipnode billing is based on tariffs which system uses to identify and bill all calls. Each tariff contains different parameters to make a custom billing:

• Prefix
• Destination
• Rate
• Call setup (PC)
• Init billing block (PSI)
• Billing block (PS)
• Free seconds (SG)

##### Prefix

Prefix is used to identify destination from dialed number. For example, 34 for Spain and 346 for Spain mobile.

##### Destination

Name which describes destination.

Rate per minute.

##### Call setup (PC)

A fixd price which Sipnode will apply to each call.

##### Init billing block (PSI)

This parameter tell the system minimum duration to apply. For Init billing block of 30, each call will be billed 30 seconds at least, although its duration is 1 second.

##### Billing block (PS)

Billing blocks after PSI. Using a value of 10, it will apply blocks of 10 seconds. Usuary we can see billing parameters as PSI/PS (60/60, 30/30, 60/1, 1/1).

##### Free seconds (SG)

If the call has a duration less than SG it will not be billed.

##### Samples

Para clarificar el entendimiento de los parámetros de facturación, vamos a presentar unos ejemplos.

Rate=0.15 PC=0.10 PSI=60 PS=30 SG=3 Duration=43
Billing would be 60/30 and end cost of 0.25. 0.10 of Call Setup and 0.15 of rate per minute. 60 first seconds will be billed as we have PSI=60.

Rate=0.15 PC=0.10 PSI=60 PS=30 SG=3 Duration=61
Billing would be 60/30 and final cost of 0.3750. 0.10 of Call Setup and 0.2250 of rate per minute. 60 seconds will be billed and next 30 (we have PS=30).

Rate=0.15 PC=0.10 PSI=60 PS=30 SG=3 Duration=2
Billing would be 60/30 and final cost of 0 so we setted up 3 free seconds.