TRADACOMS Reference
TRADACOMSCredit 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: CRAHDRCRAINFCRATLR.

8 segments17 data elements

Message structure

SegmentNameUsage
MHDMessage 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 TrailerOne message for each Credit Advice
MHDCDTSBKCBKPYDAPDAUTMTR

Segments and data elements

MHD: Message Header

Mall uses of this segment →
ElementNameM/CF/VFormatNotes
MSRFMessage ReferenceMV9(12)Consecutive count of messages within the transmission
TYPEType of Message compositeM'CRAINF' '3' for this version
TypeMFX(6)
Version NumberMF9(1)

CDT: Customer Details

Mall uses of this segment →
ElementNameM/CF/VFormatNotes
CIDNCustomer's Identity compositeMEAN location number identifying the customer Customer's code as allocated/used by the supplier
Customer's EAN Location NumberCF9(13)
Customer's Identity Allocated by SupplierCVX(17)
CNAMCustomer's NameCVX(40)Customer's Legal Name
CADDCustomer's Address compositeCA maximum of five lines to give the customer's address
Customer's Address Line 1CVX(35)
Customer's Address Line 2CVX(35)
Customer's Address Line 3CVX(35)
Customer's Address Line 4CVX(35)
Customer's Post CodeCVX(8)
VATRCustomer's VAT Registration Number compositeCTrader's VAT number allocated by HM Customs & Excise Government department or non-UK VAT number
Numeric VAT Registration NumberCF9(9)
Alphanumeric VAT Registration NumberCVX(17)

SBK: Supplier's Bank Details

Mall uses of this segment →
ElementNameM/CF/VFormatNotes
BBIDBank/Branch IdentifierMVX(11)eg Sort Code of receiving Bank
ACIDAccount Identifier compositeMAccount to be credited
Account NumberMVX(17)
Account NameCVX(35)

CBK: Customer's Bank Details

Mall uses of this segment →
ElementNameM/CF/VFormatNotes
BBIDBank/Branch IdentifierMVX(11)eg Sort Code of remitting Bank
ACIDAccount Identifier compositeMAccount to be debited
Account NumberMVX(17)
Account NameCVX(35)

PYD: Payment Details

Mall uses of this segment →
ElementNameM/CF/VFormatNotes
PRRFPrimary Reference compositeMTo indicate related message: A = Accompanying Remittance Advice, I = Invoice, R = Remittance Advice, S = Statement Unique message reference, linking related messages
REMADV/PAYORD indicatorMFX(1)
Primary ReferenceMVX(17)
DATEDate relating to messageMF9(6)Date of Credit Entry Format: YYMMDD
SNICSupplier's Network Identity codeMVX(14)Used by Bank to send message to supplier eg ANA location code
PAYMPayment MethodCVX(6)Express (or override) preference as defined by Bank

APD: Amount Payable

Mall uses of this segment →
ElementNameM/CF/VFormatNotes
AMPYAmount PayableMV9(13)V9(2)Value with implied decimal point (eg in pence)

AUT: Authentication Result

Call uses of this segment →
ElementNameM/CF/VFormatNotes
AUTRAuthentication Result compositeMResults of authentication process specified by Bank
Authentication Result 1MVX(70)
Authentication Result 2CVX(70)
Authentication Result 3CVX(70)

MTR: Message Trailer

Mall uses of this segment →
ElementNameM/CF/VFormatNotes
NOSGNumber of Segments in MessageMV9(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 →