PortaBilling is integrated with the Odoo customer relationship management (CRM) system. Odoo CRM helps automate sales actions, communicate with customers and streamline operations, etc.

With this integration, PortaBilling automatically notifies Odoo CRM about invoice-related events and changes in customer status. CSPs can use this information for customer interactions via Odoo – in particular, to send invoice notifications and payment reminders in SMS messages or emails.

Usually, CSPs who use PortaBilling require PortaSIP to send SMS notifications. This integration allows CSPs to use the Odoo CRM to do this.

PortaBilling notifies Odoo about the following events:

  • Invoice is generated;
  • Unpaid/partially paid invoice becomes overdue;
  • Customer service becomes:
    • Suspended / Suspension is removed,
    • Limited / Limit is removed;
  • Commitment is terminated.

PortaBilling sends corresponding data to Odoo via the API. The communication between Odoo and PortaBilling is minimized as it only happens when such an event takes place in PortaBilling. This approach allows to minimize the load on both systems.

For example, customer John Doe is charged $30 per month for the Internet service. When his monthly invoice is generated, PortaBilling notifies Odoo by provisioning the invoice number and the amount due. After that, Odoo sends an SMS notification to the customer. John Doe can rely on that notification to remind him to pay for the Internet on time and thereby have no need to check it on the self-care web interface. If the invoice is overdue, John Doe also receives a notification.

If John Doe stops paying for the Internet service, PortaBilling suspends the customer for non-payment and blocks the service. At the same time, PortaBilling sends a notification to Odoo about the suspended customer. Odoo then sends an SMS message to alert John that the service has been blocked because of the overdue invoice.

Later, when John pays off his overdue invoice, PortaBilling immediately removes the suspension to resume Internet service and notifies Odoo CRM that the customer’s service is now active again. Odoo CRM then updates John’s record and sends an SMS informing him that service has resumed.

PortaBilling can also notify Odoo CRM of the termination reason for commitment, such as the commitment was terminated due to overdue invoices, account closure, or manual operation by admin. It helps service providers to configure Odoo CRM to send more informative notifications to customers depending on the commitment termination reason. If the commitment is automatically terminated due to non-payment, Odoo sends the customer an SMS message or email about commitment termination with a corresponding notification, "Disconnected due to debt".

Link copied to clipboard
  • CSPs can send payment reminders to customers via Odoo and thus, improve the payment collections process.
  • CSPs can notify customers of commitment termination with the proper reason.


Link copied to clipboard

To enable data provisioning to the Odoo CRM, do the following:

  1. Request from Odoo:
    • API_Access_Key – The Odoo administrator’s authorization key for the Odoo CRM API.
    • API_URL – The Odoo CRM API endpoint.
  2. On the Configuration server:
    • Create an ESPF instance (if it doesn't exist);
    • Fill in the API_Access_Key and API_URL values for the Global.OdooCRM group using the data from step 1.
    • Click Verify to apply the configuration.

    Configure the integration with the Odoo CRM system on the Configuration server

  3. Configure the External Systems Provisioning Framework (ESPF) in the PortaBilling web interface. Refer to the ESPF configuration handbook for more details.

On this page

What's new
Admin manuals
UI help
Back to main menu