Invoicing Configuration

You can manage the compensation of third-party entities through different invoicing processes, defined per your specific business requirements. For example, you could set up an invoicing process to be used in conjunction with the contracts recorded in Loan Management, or you could use a separate invoicing process for insurance policies. Through the Configuration menu item, Distribution Management allows you to specify which custom-made function to use to retrieve the invoice details for each scope and invoicing type.

To manage third-party invoicing configurations:

  1. In FintechOS Portal, click the main menu icon and expand the Distribution Management menu.

  2. Expand the Distribution Management Admin menu and click the Distribution Management Configuration menu item to open the Distribution Management Configurations List page.

On the Distribution Management Configurations List page, you can create a new invoicing configuration, search, edit, or delete an existing one. You can't delete configurations already used by other records.

Creating Invoicing Configurations

Follow these steps to create new invoicing configuration records:

  1. In the FintechOS Portal, click the Insert button on the top right side of the Distribution Management Configurations List page. The TPM Configuration page is displayed.

  2. Fill in the following fields from the Main Information section:

    • Name - Enter the name of the configuration.

    • Scope - Select the scope of the configuration. You can select one of the following options: Invoice or Payment.

    • Invoicing Type - Choose the invoicing type to filter only the agreements of the selected type to be considered through the current configuration. The invoicing type must be set at each agreement's level.

    • Library Name - Specify the name of the library containing the function(s) you want to use for this configuration scope.

    • Function Name - Specify the function(s), custom-built for your business, from the library that will be executed for the current scope.

      IMPORTANT!  
      Make sure that the function you define for the Invoice scope follows the input and output example below.
      For the Payment scope, the function is executed when you change the invoice's business status from NotPaid to Paid. For each setting found in the order of orderIndex attribute, the system imports the library and calls function. If an error is received, then the status is not changed.

      If error is received that the status cannot be changed

    • Has Extended Attributes - Check this box to specify if an invoicing detail has references to other entities. If there are no references, leave it unchecked.

    • Extended Attributes - If Has Extended Attributes = True, then list here the names of the attributes referenced in other entities. They must exist at the invoice detail level.

    • Execute Insert - Check this box if the function you just entered also inserts the invoice detail (for invoice scope). If not, the function must have a specific output structure that will be used by Distribution Management to perform the insert. If the function also performs the insert, then the output structure is not relevant.

  3. Click the Save and Reload button. The configuration record is saved.

IMPORTANT!  
If you are using multiple functions for one scope, you should order the functions on the Distribution Management Configurations List page by dragging and dropping them in the correct order (displayed by the Order Index attribute) so the system knows which is the correct way of calling them.