EDIFACT message guide · Finance
DIRDEB Direct debit
The UN/EDIFACT message a creditor sends its bank to collect amounts from debtors' accounts under prior direct debit agreements.
- Sent by
- Creditor
- Received by
- Creditor's bank
- Standard
- UN/EDIFACT · Batch message
- X12 equivalent
- No direct equivalent
What is the EDIFACT DIRDEB message?
DIRDEB is the UN/EDIFACT direct debit message. A creditor sends it to its bank to request collection of amounts from debtors' accounts. The directory notes that agreements are usually in place first: between the creditor and its bank, setting the conditions of the direct debit service, and between the debtor and the debtor's bank, pre-authorizing the debits.
Direct debits suit recurring collections such as subscriptions, utility bills and insurance premiums. The bank collects the funds through the clearing system and reports results, including returned debits, back to the creditor.
How to read this diagram: the top row shows who sends DIRDEB, to whom, and which messages usually come before and after it. The lower part shows what the directory D.21A itself requires: the envelopes around DIRDEB and the segments and segment groups it marks mandatory. Conditional groups are listed by their trigger segment rather than drawn in full. This is the directory's minimum, not a trading partner's requirement: a message implementation guide, such as an industry subset or a partner’s own guide, usually makes some conditional groups mandatory, restricts the codes and may use an older directory.
When it is used
- Collecting recurring payments from customers
- Collecting invoice amounts under a direct debit agreement
- Resubmitting collections after returns
Where it fits in the message flow
Structure
Mandatory segments in DIRDEB (directory D.21A)
In UN/EDIFACT directory D.21A, the DIRDEB message has 89 segment positions arranged in 24 segment groups. These are the segments and segment groups marked mandatory at message level, in order; a mandatory group is shown with the segment that starts it. Segments inside conditional groups are needed only when the group is used. This is the directory’s requirement, not your trading partner’s: each partner’s message implementation guide names the directory it uses, often an older one such as D.96A or D.01B where the structure can differ, makes some conditional segments mandatory and restricts the codes.
- UNH
- BGM
- DTM
- SG4 (LIN)
- UNT
Practical example
DIRDEB in practice
A gym chain collects monthly membership fees by direct debit. On the first of each month its billing system sends its bank a DIRDEB with each member's account, the amount and the mandate reference. The bank collects the funds, reports rejected debits, and credits the total, which the chain reconciles with a CREMUL.
Implementation
Implementation considerations for DIRDEB
- Hold valid mandates or authorizations for every debtor.
- Follow the scheme rules and timelines of the local clearing system.
- Process returned or rejected debits promptly.
- Check whether the bank expects DIRDEB or an ISO 20022 direct debit format.
How ECOM helps
Automate DIRDEB with ECOM
Solution
Financial Document Automation
Automate invoices, remittances, payment files and bank statements from capture to posting.
Industry
Financial Services
Secure file transfer and B2B integration for banks and financial institutions.
Solution
Order-to-Cash Automation
Automate the flow from purchase order to payment across every customer channel.
Compare X12 and EDIFACT, or see answers to general questions in the EDI FAQ.
Related messages
Related finance messages
Need help with DIRDEB?
ECOM maps, tests and monitors EDIFACT messages for your trading partners and integrates them with your ERP.