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
| Setting | What it does | Default |
|---|---|---|
finance_charges.enabled | Drafts a finance-charge invoice each month for customers with invoices past due. Nothing posts on its own. | Off |
finance_charges.method | What a late invoice is charged: interest by the day, a flat_per_invoice late fee, or both. | interest |
finance_charges.flat_fee | The late fee, charged once on each invoice past its grace, when the method charges one. | 0 |
finance_charges.rate_percent | The rate, as a percentage of the overdue balance for the period below. | 1.5 |
finance_charges.rate_period | monthly 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_days | Days past due before an invoice is charged at all. Past the grace, it is charged from the due date. | 0 |
finance_charges.minimum_charge | The least a customer is charged in a month when they are charged at all. | 0 |
finance_charges.compound | Charge on earlier finance charges left unpaid. Off, a finance charge is never itself charged. | Off |
finance_charges.run_day | The 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:
| Rule | Condition | Result |
|---|---|---|
| A dispute is open | customer.has_open_dispute is true | not charged |
| A promise to pay is in date | customer.promise_in_date is true | not 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 field | What it changes |
|---|---|
rate_percent, rate_period | Their rate |
grace_days | Their grace |
minimum | Their minimum charge |
flat_fee | Their late fee per invoice |
method | interest, 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
| Permission | Lets somebody | Granted to |
|---|---|---|
finance_charge.read | See the preview and the runs | Manager, Accounting |
finance_charge.run | Draft the month's finance charges | Manager, Accounting |
Drafting also needs customer_invoice.manage, and posting each draft needs
customer_invoice.post, as for any invoice.
The allowance for doubtful accounts
| Setting | What it does | Default |
|---|---|---|
bad_debt_allowance.enabled | Keep an allowance: the monthly job proposes a true-up, and write-offs come off the allowance. | Off |
bad_debt_allowance.percent_current | Share of what is not yet due held in the allowance. | 1 |
bad_debt_allowance.percent_1_30 | Share of 1-30 days past due. | 3 |
bad_debt_allowance.percent_31_60 | Share of 31-60 days past due. | 10 |
bad_debt_allowance.percent_61_90 | Share of 61-90 days past due. | 25 |
bad_debt_allowance.percent_over_90 | Share 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
| Debit | Credit | |
|---|---|---|
| True-up, raising the allowance | Bad debts and write-offs (receivables_write_off) | Allowance for doubtful accounts (allowance_for_doubtful_accounts) |
| True-up, lowering it | Allowance for doubtful accounts | Bad debts and write-offs |
| Write-off, allowance on | Allowance for doubtful accounts | Receivables |
| Write-off, allowance off | Bad debts and write-offs | Receivables |
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
| Permission | Lets somebody | Granted to |
|---|---|---|
bad_debt_allowance.read | See the position, roll-forward and true-ups | Manager, Accounting |
bad_debt_allowance.post | Post a true-up, or approve the job's proposal | Manager, Accounting |
Approving a proposal also needs proposal.approve_financial, because a
true-up moves value.
The customer portal: paying and disputing invoices
| Setting | What it does | Default |
|---|---|---|
portal.invoices.enabled | Let 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.