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 a settlement assignment key
- Enabling automatic settlement for invoices or credits using dedicated global settings
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.
- Navigate to the fields list of the Invoice object.
-
Create the following new field.
API Name Data Type Description SettlementAssignmentKey Formula (Text)
TextSpecifies 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.
-
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.
-
Click Manage in the row of Global Settings.
- Click Edit in the Default row.
- Select the checkboxes
Settle Credits
orSettle Invoices
as required. -
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.