TRADACOMS ›
Credit Advice › CRAINF
CRAINF: Credit Advice Line Details
The CRAINF message is part of the TRADACOMS Credit Advice file: credit advice notifications.
The Credit Advice file contains: CRAHDR → CRAINF → CRATLR.
Message structure
| Segment | Name | Usage |
|---|---|---|
MHD | Message header CDT = Customer 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 Credit 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 | 'CRAINF' '3' for this version | ||
| Type | M | F | X(6) | ||
| Version Number | M | F | 9(1) |
| Element | Name | M/C | F/V | Format | Notes |
|---|---|---|---|---|---|
CIDN | Customer's Identity composite | M | EAN location number identifying the customer Customer's code as allocated/used by the supplier | ||
| Customer's EAN Location Number | C | F | 9(13) | ||
| Customer's Identity Allocated by Supplier | C | V | X(17) | ||
CNAM | Customer's Name | C | V | X(40) | Customer's Legal Name |
CADD | Customer's Address composite | C | A maximum of five lines to give the customer's address | ||
| Customer's Address Line 1 | C | V | X(35) | ||
| Customer's Address Line 2 | C | V | X(35) | ||
| Customer's Address Line 3 | C | V | X(35) | ||
| Customer's Address Line 4 | C | V | X(35) | ||
| Customer's Post Code | C | V | X(8) | ||
VATR | Customer'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 | ||
| REMADV/PAYORD indicator | M | F | X(1) | ||
| Primary Reference | M | V | X(17) | ||
DATE | Date relating to message | M | F | 9(6) | Date of Credit Entry Format: YYMMDD |
SNIC | Supplier's Network Identity code | M | V | X(14) | Used by Bank to send message to supplier eg ANA location code |
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 segments including MHD and MTR |
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 →