Managing invoices for the Postpay model by a third-party ERP system

By default, the platform itself manages invoices for the Postpay model (see Invoices for the Postpay model in Managing invoices).

To activate external management of invoices for the Postpay model by a third-party ERP system:

  1. Go to System Settings (see Navigation). The System Settings page is displayed (see General system settings).
  2. Go to the Finance tab (see Managing financial settings).
  3. In the Financial documents generation group, select the External system generates Invoices checkbox.
  4. Click Update.

When external management of Invoices for the Postpay model by a third-party ERP system is activated, the following logic is used for paying for postpaid services:

  1. On the billing day, the platform closes all blocked charges for the previous billing period.
  2. On the next day:
    1. The status of the invoice for the Postpay model changes from Open to Closed.
    2. A linked payment is created in the Waiting for payment status and the empty due date (see Viewing the list of payments).

      A payment in the Waiting for payment status and with the empty due date cannot be paid or approved.

  3. A third-party ERP system generates an invoice, and via the API service (see Postpaid invoices managed by a third-party ERP system):

    1. Approves the invoice for the Postpay model and sets the due date in the linked payment.

    2. Optionally, specifies the amount and currency of the third-party invoice if they differ from the amount of an invoice (and a linked payment) in the platform and the reseller currency (see External total in Viewing details of the invoice for the Postpay charging model and Viewing payment details).

      If the amount or currency of a third-party invoice differs from the amount of an invoice in the platform and the reseller currency, a customer cannot pay for it from the account balance. Only other payment methods are available, including ones based on payment gateway connectors (see Managing payment gateway connectors). On a payment method page (see Payment methods), the External total amount is displayed to a customer. The amount of the payment in the platform does not change even after paying.

    3. Optionally, attaches to the payment a file of the receipt or a link to the file.

      The platform matches a third-party invoice and invoice for the Postpay model using the start date of the billing period. If a third-party ERP system did not attach to the payment a file or a link to the third-party invoice, the platform generates the standard PDF form for the invoice for the Postpay model.

      An invoice for the Postpay model is considered approved if only the linked payment has the due date.

  4. After a customer paid for the third-party invoice, the third-party ERP system via the API service (see Postpaid invoices managed by a third-party ERP system) approves the payment. The payment gets the Completed status.

Optionally, in the Operator Control Panel, a manager can manually approve an invoice for the Postpay model, and approve or cancel its linked payment:

When external management of invoices for the Postpay model by a third-party ERP system is activated, the following event handlers should be configured (see Creating an event handler and Placeholders used in notification templates for specific event handlers):

  • The Invoice was approved.
  • Payment due date is coming.