Event types are divided into four groups: subscriber, customer, invoice, and DID. Events from each group notify the Application that a corresponding entity has been created, updated, or deleted in PortaBilling. Subscribe the Application for the necessary group of event types:
- The Subscriber group notifies the Application about changes in an account’s service configuration and/or billing changes, such as depletion of available funds, block or suspension, etc. In PortaBilling, an account record represents a means via which a user gains access to a service (e.g., a SIM card, a phone line, a cloud PBX, etc.). Account records are identified by their unique IDs (i_account). They store an account’s service configuration (e.g., product name, service password, status, SIM card, etc.) and billing configuration (e.g., available funds for debit accounts, the credit limit for credit accounts). Some configuration parameters of an account are inherited from a customer.
- A Customer group notifies the Application about changes in a customer’s record in PortaBilling. In PortaBilling, a customer record represents an owner of accounts (e.g., a residential user or a company). Customer records are identified by their unique IDs (i_customer). They store billing information and service configuration that may be inherited by their accounts. Billing information includes the charged amount (balance) and credit limit for postpaid customers or available funds for prepaid customers, invoicing configuration, DID pricing parameters, taxation, etc.
- An Invoice group notifies the Application about invoices that have been generated for or paid by a customer.
- A DID group notifies the Application about DID numbers that have been added to PortaBilling, used by customers or removed from PortaBilling.
Was this article helpful?