Overview
This page documents the enumeration types used for configuring SEPA Direct Debit transactions. These types are only applicable when usingpain.008 format versions.
These types are only used for Direct Debit transactions (pain.008.x.x). They are not applicable to Credit Transfer transactions (pain.001.x.x).
LOCAL_INSTRUMENTATION
Defines the SEPA Direct Debit scheme to use for the transaction.Type Definition
Values
CORE
CORE
SEPA Core Direct Debit
- Used for consumer and business debtor accounts
- Most widely supported scheme
- Debtor has 8 weeks to request refund for authorized debits
- Pre-notification required (typically 14 days before collection)
- Submission deadline: D-5 business days for first/one-off, D-2 for recurring
COR1
COR1
SEPA Core Direct Debit with shortened submission deadline
- Similar to CORE but with faster processing
- Submission deadline: D-1 business day
- Being phased out - many banks now treat COR1 as CORE
- Same refund rights as CORE (8 weeks)
- Pre-notification still required
B2B
B2B
SEPA Business-to-Business Direct Debit
- Only for transactions between businesses
- Debtor bank must verify mandate before first collection
- No refund rights - transaction is final once processed
- Submission deadline: D-1 business day
- Requires both parties to be registered businesses
- Higher security and pre-authorization requirements
Usage
Set thelocalInstrumentation field in SepaData for Direct Debit transactions:
Choosing the Right Scheme
| Use Case | Recommended Scheme |
|---|---|
| Consumer subscriptions | CORE |
| One-time consumer payments | CORE |
| Fast consumer collections | COR1 (check bank support) |
| B2B subscriptions with no refunds | B2B |
| B2B invoice payments | B2B |
SEQUENCE_TYPE
Indicates the type of direct debit transaction in relation to the mandate lifecycle.Type Definition
Values
FRST
FRST
First Collection
- First direct debit for a new mandate
- Used when initiating a new recurring payment relationship
- Requires valid mandate signed by debtor
- Banks apply stricter validation for first collections
RCUR
RCUR
Recurring Collection
- All subsequent collections after the first
- Most common type for subscription services
- Mandate must already exist and have had FRST collection
- Banks expect regular intervals between collections
OOFF
OOFF
One-Off Collection
- Single direct debit - mandate used only once
- No recurring relationship
- Mandate expires after this collection
- Simpler processing than FRST/RCUR cycle
FNAL
FNAL
Final Collection
- Last collection for a recurring mandate
- Closes out the mandate relationship
- Use when customer cancels or relationship ends
- Must have had previous FRST and/or RCUR collections
Usage
Set thesequenceType field in SepaData for Direct Debit transactions:
Sequence Flow Examples
Recurring Subscription
One-Time Payment
Subscription with Early Cancellation
Validation Rules
Common Mistakes
| Mistake | Correct Approach |
|---|---|
| Using RCUR for the first payment | Use FRST for the first payment |
| Using OOFF for subscriptions | Use FRST → RCUR sequence |
| Not using FNAL when cancelling | Use FNAL for the last payment |
| Using FNAL for one-off payments | Use OOFF instead |
Combined Example
Here’s a complete example showing how to use both types together:Source Code Reference
These types are defined in the main library file:- Type definitions:
~/workspace/source/src/index.ts:119-120 - Usage in SepaData interface:
~/workspace/source/src/index.ts:83-84 - Applied in XML generation:
~/workspace/source/src/index.ts:250-252
See Also
- PAIN_VERSIONS - Available PAIN format versions
- SepaData Interface - Main configuration interface
- createSepaXML() - Main XML generation function