action.skip

Configuring Settlement Options

← Controlling Invoice Calculation

JustOn Billing & Invoice Management can offset non-related invoices and credits of an account via settlements.

Administrators can control this behavior through

Enabling Settlement Assignment Key

Using an optional settlement assignment key on both invoices and credits narrows down the set of invoices and credits available for automatic settlements. Only invoices and credits with the same key can be settled with each other automatically.

To allow users or automatic means (like, for example, a formula or the ON field mechanism) to define the settlement assignment key, you create the custom field Settlement Assignment Key on the Invoice object.

  1. Navigate to the fields list of the Invoice object.
  2. Create the following new field.

    API Name Data Type Description
    SettlementAssignmentKey Formula (Text)
    Text
    Specifies the key to define allowed settlement matches.

    For help about creating fields, see Managing Object Fields.

Info

Users can still select any invoices and credits for manual settlements, irrespective of defined settlement assignment keys.

Enabling Automatic Settlement

The invoice finalization involves the Settle invoices step. So if enabled accordingly, JustOn Billing & Invoice Management will settle open invoices or credits automatically with new draft invoices or credits when finalizing them. For more details, see Settlements.

In order to have open invoices or credits settled automatically, the feature has to be activated in the global settings.

  1. Click to enter Setup, then open Custom Settings.

    In Salesforce Lightning, navigate to Custom Code > Custom Settings.

    In Salesforce Classic, navigate to Develop > Custom Settings.

  2. Click Manage in the row of Global Settings.

  3. Click Edit in the Default row.
  4. Select the checkboxes Settle Credits or Settle Invoices as required.
  5. Click Save.

    This activates the batch job for the automatic settlement.

    JustOn Billing & Invoice Management executes the settlement job with the finalization batch chain. The job automatically settles credits against invoices with a positive balance, and invoices against credits with a negative balance.