TRADACOMS ›
Debit Advice › DRAINF
DRAINF: Debit Advice Line Details
The DRAINF message is part of the TRADACOMS Debit Advice file: debit advice notifications.
The Debit Advice file contains: DRAHDR → DRAINF → DRATLR.
Message structure
| Segment | Name | Usage |
|---|---|---|
MHD | Message header SDT = Supplier Details SBK = Supplier's Bank Details CBK = Customer's Bank Details PYD = Payment Details APD = Amount Payable AUT = Authentication Result MTR = Message Trailer | One message for each Debit Advice |
Segments and data elements
| Element | Name | M/C | F/V | Format | Notes |
|---|---|---|---|---|---|
MSRF | Message Reference | M | V | 9(12) | Consecutive count of messages within the transmission |
TYPE | Type of Message composite | M | 'DRAINF' '3' for this version | ||
| Type | M | F | X(6) | ||
| Version Number | M | F | 9(1) |
| Element | Name | M/C | F/V | Format | Notes |
|---|---|---|---|---|---|
SIDN | Supplier's Identity composite | M | EAN Location number identifying the Supplier Supplier's code as allocated/used by the customer | ||
| Supplier's EAN Location Number | C | F | 9(13) | ||
| Supplier's Identity Allocated by Customer | C | V | X(17) | ||
SNAM | Supplier's Name | C | V | X(40) | Supplier's Legal Name as printed on invoices |
SADD | Supplier's Address composite | C | A maximum of five lines to give the supplier's address | ||
| Supplier's Address Line 1 | C | V | X(35) | ||
| Supplier's Address Line 2 | C | V | X(35) | ||
| Supplier's Address Line 3 | C | V | X(35) | ||
| Supplier's Address Line 4 | C | V | X(35) | ||
| Supplier's Post Code | C | V | X(8) | ||
VATN | Supplier's VAT Registration Number composite | C | Trader's VAT number allocated by HM Customs & Excise Government department or non-UK VAT number | ||
| Numeric VAT Registration Number | C | F | 9(9) | ||
| Alphanumeric VAT Registration Number | C | V | X(17) |
| Element | Name | M/C | F/V | Format | Notes |
|---|---|---|---|---|---|
BBID | Bank/Branch Identifier | M | V | X(11) | eg Sort Code of receiving Bank |
ACID | Account Identifier composite | M | Account to be credited | ||
| Account Number | M | V | X(17) | ||
| Account Name | C | V | X(35) |
| Element | Name | M/C | F/V | Format | Notes |
|---|---|---|---|---|---|
BBID | Bank/Branch Identifier | M | V | X(11) | eg Sort Code of remitting Bank |
ACID | Account Identifier composite | M | Account to be debited | ||
| Account Number | M | V | X(17) | ||
| Account Name | C | V | X(35) |
| Element | Name | M/C | F/V | Format | Notes |
|---|---|---|---|---|---|
PRRF | Primary Reference composite | M | To indicate related message: A = Accompanying Remittance Advice, I = Invoice, R = Remittance Advice, S = Statement Unique message reference, linking related messages | ||
| Related Message Indicator | M | F | X(1) | ||
| Primary Reference | M | V | X(17) | ||
DATE | Date relating to message | M | F | 9(6) | Date of Debit Entry Format: YYMMDD |
SNIC | Supplier's Network Identity code | M | V | X(14) | Used by Bank to send message to supplier eg EAN location number |
PAYM | Payment Method | C | V | X(6) | Express (or override) preference as defined by Bank |
| Element | Name | M/C | F/V | Format | Notes |
|---|---|---|---|---|---|
AMPY | Amount Payable | M | V | 9(13)V9(2) | Value with implied decimal point (eg in pence) |
| Element | Name | M/C | F/V | Format | Notes |
|---|---|---|---|---|---|
AUTR | Authentication Result composite | M | Results of authentication process specified by Bank | ||
| Authentication Result 1 | M | V | X(70) | ||
| Authentication Result 2 | C | V | X(70) | ||
| Authentication Result 3 | C | V | X(70) |
| Element | Name | M/C | F/V | Format | Notes |
|---|---|---|---|---|---|
NOSG | Number of Segments in Message | M | V | 9(10) | Control count of the number of segments comprising message. The count includes the MHD and MTR segments surrounding the message |
Need to exchange TRADACOMS messages with a UK retailer?
SupplyLens connects your ERP, e-commerce or accounting system to any TRADACOMS or EDIFACT trading partner: orders in, invoices out, fully managed.
Book a demo Learn about retail EDI →