When an administrator adds or removes customers in PortaBilling, or when customer configuration changes (e.g., a credit limit is reached, a product is changed, an invoice is issued or becomes paid, etc.), these changes are recorded as provisioning events. The External system provisioning framework (ESPF) monitors these events and sends them via the HTTP/HTTPS protocol to an external application (referred to as the Application in this document).
The Application acts as follows:
- receives provisioning events that contain a unique ID of the entity (e.g., an account) from PortaBilling,
- retrieves the information about this entity (e.g., account’s number, product, service features, etc.) from PortaBilling via the PortaBilling API using the entity’s unique ID (e.g., i_account),
- updates the configuration of an external system via this system’s API,
- updates the account’s provisioning status in PortaBilling via the ESPF API.