Skip to main content

Finance charges, the allowance and the customer portal: configuration

Everything here is changed on Settings → Finance charges and allowance (/settings/receivables/collections) or on Settings → All settings, filed under Accounting. Changing a setting needs Accounting settings (accounting_settings.manage) or Change any setting.

Finance charges​

SettingWhat it doesDefault
finance_charges.enabledDrafts a finance-charge invoice each month for customers with invoices past due. Nothing posts on its own.Off
finance_charges.methodWhat a late invoice is charged: interest by the day, a flat_per_invoice late fee, or both.interest
finance_charges.flat_feeThe late fee, charged once on each invoice past its grace, when the method charges one.0
finance_charges.rate_percentThe rate, as a percentage of the overdue balance for the period below.1.5
finance_charges.rate_periodmonthly or annual. Either way the charge is by the day: a monthly rate is twelve of it a year, divided by 365.monthly
finance_charges.grace_daysDays past due before an invoice is charged at all. Past the grace, it is charged from the due date.0
finance_charges.minimum_chargeThe least a customer is charged in a month when they are charged at all.0
finance_charges.compoundCharge on earlier finance charges left unpaid. Off, a finance charge is never itself charged.Off
finance_charges.run_dayThe day of the month the monthly job drafts the charges (1-28).1

Recommended: set the rate and grace from your customer terms, and check your states' usury and late-fee limits before switching on. Leave compounding off unless your counsel says otherwise.

Who is charged: a rule​

Which customers are charged is the rule set receivables.finance_charge. Rules are evaluated in priority order and the first that matches decides: a result of {"charge": false, "reason": "..."} exempts the customer with that reason; {"charge": true} charges them; no match charges them.

Two exemptions ship:

RuleConditionResult
A dispute is opencustomer.has_open_dispute is truenot charged
A promise to pay is in datecustomer.promise_in_date is truenot charged

While the rule set has no rows, these two apply from the product. Press Change these exemptions on the settings screen to make them rows you can switch off (or add to through the rules API). Once the rule set has rows, only the rows apply.

The fields a rule can test, under customer.:

  • id, number, class, name, currency;
  • has_open_dispute, promise_in_date, promised_on;
  • overdue_balance, oldest_days_overdue;
  • charge: what the company's own terms would charge.

A customer's own terms: a rule​

The rule that matches a customer can also give them terms of their own. Any of these in its result is used for that customer instead of the settings:

Result fieldWhat it changes
rate_percent, rate_periodTheir rate
grace_daysTheir grace
minimumTheir minimum charge
flat_feeTheir late fee per invoice
methodinterest, flat_per_invoice or both, for them

For example, key accounts at 1% a month and no minimum: a rule on customer.class with {"rate_percent": "1", "minimum": "0"}. The run's preview names the rule beside the customer.

As with the exemptions, once the rule set has any row, the shipped exemptions apply only as rows: press Change these exemptions first, then add your own rules.

The late fee is a line of its own on the finance-charge invoice, "Late fee on INV-…", under the Late payment fee code. It is charged the first time an invoice is charged, never again on later runs. Interest carries on by the day.

A disputed invoice is never charged, whatever the rules say.

A fee for a reminder rather than for lateness is set on the dunning step instead (Settings → Dunning, the step's Fee): it is drafted on an invoice for a person to post, under the Late payment fee code unless the step names another live charge code. See Dunning.

Where it posts​

A finance-charge invoice debits receivables and credits the role Finance-charge income (finance_charge_income, other income). New companies have account 4260 mapped to it; an existing company maps it on Finance → Account roles, or the run is refused saying so. No tax is computed on a finance-charge line.

Permissions​

PermissionLets somebodyGranted to
finance_charge.readSee the preview and the runsManager, Accounting
finance_charge.runDraft the month's finance chargesManager, Accounting

Drafting also needs customer_invoice.manage, and posting each draft needs customer_invoice.post, as for any invoice.

The allowance for doubtful accounts​

SettingWhat it doesDefault
bad_debt_allowance.enabledKeep an allowance: the monthly job proposes a true-up, and write-offs come off the allowance.Off
bad_debt_allowance.percent_currentShare of what is not yet due held in the allowance.1
bad_debt_allowance.percent_1_30Share of 1-30 days past due.3
bad_debt_allowance.percent_31_60Share of 31-60 days past due.10
bad_debt_allowance.percent_61_90Share of 61-90 days past due.25
bad_debt_allowance.percent_over_90Share of over 90 days past due.50

The percentages shipped are a starting point. Your accountant should set them from your own history of bad debts before you switch the allowance on.

Where it posts​

DebitCredit
True-up, raising the allowanceBad debts and write-offs (receivables_write_off)Allowance for doubtful accounts (allowance_for_doubtful_accounts)
True-up, lowering itAllowance for doubtful accountsBad debts and write-offs
Write-off, allowance onAllowance for doubtful accountsReceivables
Write-off, allowance offBad debts and write-offsReceivables

The allowance role is a contra-asset filed with receivables (account 1290 in a new company), so the balance sheet shows receivables net of it. Map it on Finance → Account roles before posting a true-up. The true-up's posting type is sales.allowance_adjusted on Finance → Posting rules.

Permissions​

PermissionLets somebodyGranted to
bad_debt_allowance.readSee the position, roll-forward and true-upsManager, Accounting
bad_debt_allowance.postPost a true-up, or approve the job's proposalManager, Accounting

Approving a proposal also needs proposal.approve_financial, because a true-up moves value.

The customer portal: paying and disputing invoices​

SettingWhat it doesDefault
portal.invoices.enabledLet buyers pay their invoices and dispute one from their account on the web shop. Off, they still see their invoices and statement.On (where B2B Ecommerce is on)

Paying needs the Payments app and an active merchant account taking cards or bank debits; without them, Pay is not offered. A dispute from the web shop flags the invoice through receivables, so it shows on the collections list, stops dunning on it, and exempts the customer from finance charges under the shipped rule.

How these interact​

  • Dunning skips a disputed invoice and a customer with a promise in date, as finance charges do by default.
  • Write-offs above the small-balance limit still need approving (sales.writeoff_threshold); the allowance changes only which account is debited.
  • Month-end close: both the finance-charge drafts and the true-up are dated; a closed month refuses them.