List of accrual rate ranges. Which range applies depends on a comparison of the last amount due with amount_due_lower_limit. For example, suppose you execute the endpoint with the following parameter values.
{
'transaction_category_id': 107178,
'accrual_type': 'WITHDRAWAL_INTEREST',
'period_to_calculate: 'AFTER_DUE_DATE',
'default_rate': 10.70,
'rate_if_overdue': 12.70,
'validity_to_calculate': 'IMMEDIATE',
'ranges': [
{
'amount_due_lower_limit': 1000,
'default_rate': 10.00,
'rate_if_overdue': 8.123456
},
{
'amount_due_lower_limit': 3000,
'default_rate': 9.25,
'rate_if_overdue': 7.351451
}
]
}
If the last amount due is 4000, then both of above ranges are valid, but the amount_due_lower_limit with 3000 is the closest, so the values for default_rate and rate_if_overdue in the second range are used to calculate accruals.
Notes:
-
Either default_rate, rate_if_overdue, or both must be provided in each range.
-
The rate division by total days is not affected by whether or not ranges are defined.
-
The Overdue strategy start program parameter also impacts the amount due. For more information, refer to the entry for that parameter in Program parameters.