How to Print Dunning Letters in iDempiere

Print Dunning Letters is the iDempiere process that generates and delivers payment reminders for a completed Dunning Run.

Finance teams use it to chase overdue customer balances across stores and business partners, either as printed letters or emailed PDF attachments.

Running it correctly keeps Dunning Run Entries and the Dunning Run itself marked as processed, so collections reporting and customer aging stay accurate.

Process Flow

PrintDunningLetters

Business Rules

  • A Mail Template is mandatory whenever EMail PDF is enabled.
  • The Business Partner Contact must have a valid email address for email delivery.
  • Each Dunning Level requires a configured Print Format before letters can be generated.
  • Only Business Partners with a balance greater than zero are processed when balance filter is on.
  • Previously processed entries are skipped when Print Unprocessed Entries Only is checked.
  • A Dunning Run Entry is marked Processed only after a successful print or email.
  • The Dunning Run is marked Processed once every entry completes without errors.

Prerequisites

  • Dunning Run created and contains one or more Dunning Run Entries.
  • Dunning Level configured with a valid Print Format.
  • Business Partner Contact configured with a valid email address (for email delivery).
  • Mail Template configured with subject and body content (for email delivery).
  • Tenant SMTP settings configured and tested (for email delivery).

Configuration Steps

Step 1: Open the Print Dunning Letters

Navigate to Financial Management → Receivables → Dunning → Print Dunning Letters. The parameter entry form opens.

Step 2: Select the Dunning Run to Process

The Dunning Run determines which customers and overdue invoices receive letters in this batch.

In the Dunning Run field, select the run created for this cycle,
for example 09/10/2026_Standard Customer Dunning_Friendly Reminder.

FieldSample ValuePurpose
Dunning Run09/10/2026_Standard Customer Dunning_Friendly ReminderIdentifies the run and entries to print or email
TenthPlanet iDempiere Accounting PrintDunningLetters1

Step 3: Choose the Delivery Mode

Finance Teams often mix delivery methods, emailing customers who have a contact email and printing letters for the rest.

Check EMail PDF to send letters as PDF email attachments; leave it unchecked to route letters to the printer instead.

FieldSample ValuePurpose
EMail PDFCheckedSends the dunning letter as a PDF email instead of printing

Step 4: Select the Mail Template

The Mail Template supplies the subject line and body wording that matches the tone of the dunning level.

Choose the template for the dunning stage, for example Dunning Reminder – Level 1 for a friendly first notice.

FieldSample ValuePurpose
Mail TemplateDunning Reminder – Level 1Supplies email subject and body text; required when EMail PDF is checked

Step 5: Apply Processing Filters

Filters prevent letters from going out again to settled accounts or entries already completed.

Check Only If BP has Balance to skip zero-balance accounts, and Print Unprocessed Entries Only to skip entries already marked Processed.

FieldSample ValuePurpose
Only If BP has BalanceCheckedProcesses only Business Partners with a balance greater than zero
Print Unprocessed Entries OnlyCheckedSkips Dunning Run Entries already marked Processed
Run as JobUncheckedRuns the process in the background when enabled

Step 6: Execute and Review the Result

The result line confirms how many letters were sent or printed and flags errors for follow-up.

Click OK to run the process.

Review the confirmation, for example Sent=1 – Errors=0, then check the Business Partner and Mail Template – User Mail records.

TenthPlanet iDempiere Accounting PrintDunningLetters
TenthPlanet iDempiere Accounting PrintDunningLetters3

Common Issues and Resolutions

IssueCauseResolution
Mail Template requiredEMail PDF checked without a Mail Template selectedSelect a valid Mail Template before running
Contact email missingBusiness Partner Contact has no email addressAdd a valid email address to the Contact record
No entries processedDunning Run has no entries, or all entries already processedVerify Dunning Run entries or uncheck Print Unprocessed Entries Only
PDF not generatedDunning Level is missing a Print FormatAssign a Print Format to the Dunning Level
Email not deliveredTenant SMTP configuration is incorrectVerify Tenant SMTP settings and send a test email
Zero-balance BP skippedOnly If BP has Balance enabled for a settled accountConfirm the balance, or uncheck the filter to include it
Duplicate letters sentSame Dunning Run processed again without a filterEnable Print Unprocessed Entries Only before rerunning

Next Steps

  • Configure the Dunning Run to build the next reminder cycle.
  • Review Dunning Level and Print Format setup for each dunning stage.
  • Maintain Mail Template content and tone for each dunning level.
  • Confirm Tenant SMTP configuration for reliable email delivery.