Academy index

Page referenceIntermediate/accounting/dunning

Dunning

Dunning gathers a customer's overdue invoices into one notice at rising levels, and posts its charges when sent. The main fields, buttons and the entry.

Reviewed independently, claim by claim against the sources and the screens, on 4 December 2026.

Last checked against the screen and the code: 3 December 2026, version 348671dda.

This page of the program is under construction: the reference states only what works in it today.

What this page is

You define a dunning «procedure»: its number of levels, the days between two notices, the minimum to dun, and the charges and interest accounts. And for each level: the «Days Overdue» it starts at, the «Fee», the yearly «Interest %», a minimum amount and percentage, the «Letter Subject», and whether it is e-mailed. Then «Run Dunning» for a procedure and two dates: the program reads the customers' open items (each at what receipts, credit notes and collected cheques left open of it) overdue on the run date and due up to «Due Date To».

  1. Each item takes the highest level whose «Days Overdue» its days reached, and never more than one level above the level of its last notice sent.
  2. For each customer: a level whose items do not reach its minimum passes them to the level below, then the customer's open credits are offset.
  3. A customer is left out if the balance is below the procedure's minimum, if noticed less than «Interval» days ago, or if nothing changed since the last notice; a blocked customer (until the block's end) and an invoice blocked from dunning are left out.
  4. A notice carries one charge: the «Fee» of its highest level; if «Interest» is on, each item's interest is added: open amount × rate × days overdue ÷ 365.

The run is saved «completed» with its items pending, and nothing posts. Then the send button (the paper-plane sign) on the run's row e-mails one notice to each customer with an e-mail, for the levels with «Email» ticked, marks its items sent, and posts its charge then as a receivable of the customer: a sales invoice of the dunning-charge type, with no tax line, numbered from the invoices' sequence. A customer with no e-mail or a level not e-mailed stays pending, and the items of an invoice paid or cancelled since the run are closed. The company has at most three send attempts (refused ones included) within 24 hours of the first.

Each procedure's row has three unlabelled buttons: the layers sign opens the «Configure Levels» window, the pencil sign edits the procedure, and the bin sign deletes it with its levels, without confirmation. Each run's row has the eye sign that shows its details: the customer accounts (level, overdue items, credits offset, balance dunned, the charge and its document) and the first 50 items, each with a «Block dunning» button. Each customer's row has the gear sign that opens the customer's dunning settings.

What does not work today: in a procedure, «All Items», «Block Payments» and «Block Sales» are saved and nothing reads them, and «Active» does not stop running a deactivated procedure. In the levels, «Grace Days», «SMS», «Print», «Block» and «Legal» are saved and nothing reads them: no text messages and no printing of notices. A customer's «Legal Collection» and its reference are saved and only show «Legal». «Dunning Date» in the run window is saved and never used. Notices are always e-mailed in English, since the screen does not send the language. Deleting a procedure a run used deletes its levels and keeps the procedure; the message («Not saved») says only that it is still used and was not deleted, not that its levels were removed. The «Configure Levels» window reads the levels of the procedure chosen before the click: the first time after the page opens it shows the default values instead of the saved levels, and opened for a procedure after another one it shows the other one's saved levels; «Save» then replaces this procedure's saved levels with what the window shows. Close it and open it again with the layers sign on the same procedure's row before saving: on the «Levels» tab, choosing the same procedure again in the list does not reopen the window.

And the figures: «Total Overdue» and the aging on the page's dashboard, and each customer's «Total Overdue», add the pending items of every run not sent, so a run not sent and a later run on the same invoices count them twice; amounts of foreign-currency invoices are added in their own currency as they are; and the days overdue are those of the run date, not today. The run's and its items' status show in the stored English words (processing, completed, failed; pending, sent, paid, blocked).

Before you start

  • A procedure with its levels and, if it charges a fee or interest: two revenue accounts that take postings in «Dunning charges account» and «Interest on arrears account».
  • An e-mail address on the customer's card, and the program's e-mail service set up.
  • An accounts receivable account in the chart, to post the charges.

Fields

Field as on the screenMeaningRequired
ProcedureIn the «Run Dunning» window: the procedure the run uses, with its levels and fees.Yes
Run DateThe day the days overdue are counted at; it starts with today, and an emptied date is accepted and taken as today (nothing checks the red required mark). The run's number, such as DUN-2026-12-0001, comes from its month.No
Dunning DateSaved with the run and never used (it does not show on the notice).No
Due Date ToOnly items due on or before this day enter the run; it starts with today, and an emptied value is accepted and taken as the «Run Date».No
CodeThe procedure's code.Yes
NameThe procedure's name.Yes
LevelsThe number of levels, starting at 4: the «Configure Levels» window shows as many levels. The box suggests 1 to 9 but nothing enforces it: a typed 12 is saved and the window shows 12 levels, and a typed 0 becomes 4.No
IntervalA customer is not noticed again before these days pass since the run date of the last notice; it starts at 14.No
Min AmountA customer whose balance dunned is below this amount is not noticed; it starts at zero.No
Min %A customer whose balance dunned is below this percentage of the open items is not noticed.No
Dunning charges accountThe revenue account the notice's fee is posted to. The list holds the revenue accounts that take postings; its first entry is «Not set — a notice with a charge is not sent».No
Interest on arrears accountThe revenue account the interest on arrears is posted to.No
InterestA switch: the items' interest is computed at each level's rate. Off by default.No
All ItemsSaved; nothing reads it.No
Block PaymentsSaved; nothing reads it.No
Block SalesSaved; nothing reads it.No
Days OverdueThe days overdue the level starts at; they start at 30 for the first, 60 for the second and so on.No
FeeThe level's fee. A notice claims the fee of its highest level, once.No
Interest %The yearly interest rate of this level's items, when «Interest» is on.No
Minimum amountIf the customer's items at this level add up to less (in the company's currency), they go down to the level below.No
Minimum % of open itemsIf this level's items are less than this percentage of the customer's open items, they go down to the level below.No
Letter SubjectThe notice's e-mail subject at this level; left blank it reads «Payment reminder» with the company's name.No
EmailTicked by default: this level's notices are e-mailed. One not ticked stays pending when sending.No
Grace DaysSaved; nothing reads it.No
SMSSaved; no text message is sent.No
Block DunningIn the customer's dunning settings: a switch that leaves the customer out of the dunning runs.No
Block ReasonWhy the customer is blocked, or why an invoice's «Block dunning» (required there).No
Block UntilFrom this day the customer is back in the runs by itself: a run executed on that day already includes the customer, by the day the run is executed, not its «Run Date».No
Legal CollectionA switch that shows «Legal» for the customer, with the reference or case number field. It does not change the runs.No
Select procedureOn the «Levels» tab: choosing a procedure opens its «Configure Levels» window.No
Search...On the customers, runs and procedures tabs: it filters the tab's rows by what they show.No

Buttons and actions

ButtonWhen it showsWhat it doesPosts
New ProcedureIn the page header.Opens the new procedure window.No
Run DunningIn the page header; «Run Dunning Now» on the page's dashboard does the same.Opens the «Run Dunning» window.No
ExecuteIn the «Run Dunning» window once the procedure is chosen.Creates the run, «processing», and builds it in the background as explained above; it then becomes «completed» or «failed». It posts nothing.No
SaveIn the procedure, levels and customer settings windows.Saves the procedure, or replaces the procedure's levels with what the window shows, or saves the customer's dunning settings.No
Configure LevelsThe layers sign on a procedure's row (its name when you hover over it).Opens the levels window with the procedure's number of levels.No
Block dunningWith each item in a run's details, then in its window once the reason is typed.Blocks this invoice from the next runs until the block is lifted, and records it in the audit trail. No button on this page lifts it.No
View HistoryOn the page's dashboard; «Manage Procedures» is next to it.Takes you to the runs tab, or to the procedures tab.No
ExportIn the page header and on the customers tab.Saves the largest table on the page as a CSV file, or says there is nothing to export.No
PrintIn the page header.Prints the page as shown.No

The document's statuses

  • Active: A customer with no block and no legal collection, with pending items.
  • Blocked: «Block Dunning» is on for the customer: the runs leave the customer out until the block's end, if it has one.
  • Legal: «Legal Collection» is on: a mark only; the runs include the customer like any other.

The journal entry

When a notice with a fee or interest is sent

A level-2 notice (after a level-1 notice was sent for the invoice) with an AED 50 fee, holding an open invoice of AED 10,000 overdue 60 days at 12% a year: 10,000 × 12% × 60 ÷ 365 = 197.26
AccountDebitCredit
Dr Accounts receivable (the customer)247
Cr Dunning charges income50
Cr Interest on arrears income197
Total (AED)247247

Permissions

ToPermission needed
Open the page and view the procedures, runs and customersSales — View
Save a new procedure, save the levels, run dunning, and send the noticesSales — Create
Change a procedure, a customer's dunning settings, and «Block dunning» for an invoiceSales — Edit
Delete a procedureSales — Delete

Refusals and fixes

  • DUNNING_CHARGES_ACCOUNT_NOT_SET

    The run's notices claim a fee or interest and the procedure names no account for it, so nothing is sent or marked.

    Fix: Choose the two accounts in the procedure window (the pencil sign on its row), then send again.

  • EMAIL_NOT_CONFIGURED

    The program's e-mail service is not set up, so no notice was sent and nothing was marked.

    Fix: Ask the administrator to set up e-mail.

  • RATE_LIMIT_EXCEEDED

    The company made three send attempts, on any run, within 24 hours of the first; refused attempts count too (e-mail or the charges account not set up, a closed period, a run not completed).

    Fix: Send once 24 hours have passed since the first attempt.

  • PERIOD_CLOSED

    Today, the charge's posting date, is in a «Hard Closed» period and a notice of the run claims a charge, so nothing is sent: no notice, with or without a charge, and nothing is marked.

    Fix: Reopen the period on the period closing page, then send.

Educational content for general understanding, not accounting, tax or legal advice. Sources · About the Academy