TRADACOMS ›
Credit Note › CREDIT
CREDIT: Credit Note Details
The CREDIT message is part of the TRADACOMS Credit Note file: credit notes from supplier to customer.
The Credit Note file contains: CREHDR → CREDIT → VATTLR → CRETLR.
Message structure
| Segment | Name | Usage |
|---|---|---|
MHD | Message Header | One message for each credit note |
CLO | Customer's Location | |
CRF | Credit Note References | |
PYT | Settlement Terms | Repeatable |
OIR | Original Invoice References | Repeat for each reference |
DNA | Data Narrative | Repeat if necessary at Credit Note level |
CLD | Credit Note Line Details | Repeat for each item |
DNB | Data Narrative | Repeat if necessary at line level |
CST | VAT Rate Credit Sub Trailer | Repeat for each VAT rate in this message |
CTR | Credit Trailer | |
MTR | Message Trailer |
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 | 'CREDIT' '9' for this version | ||
| Type | M | F | X(6) | ||
| Version Number | M | F | 9(1) |
| Element | Name | M/C | F/V | Format | Notes |
|---|---|---|---|---|---|
CLOC | Customer's Location composite | M | One of the following 3 customer references must be present EAN location number identifying the customer's location Customer's identity for the location to which the goods ordered are to be/have been delivered Supplier's reference for the customer's location | ||
| Customer's EAN Location Number | C | F | 9(13) | ||
| Customer's Own Location Number | C | V | X(17) | ||
| Supplier's Identity of Customer's Location | C | V | X(17) | ||
CNAM | Customer's Name | C | V | X(40) | Customer's registered legal name |
CADD | Customer' 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) |
| Element | Name | M/C | F/V | Format | Notes |
|---|---|---|---|---|---|
CRNR | Credit Note Number | M | V | X(17) | As allocated by the supplier |
CRDT | Credit Note Date | M | F | 9(6) | Format: YYMMDD |
TXDT | Tax-point Date | M | F | 9(6) | Format: YYMMDD. (May be same as date of credit note) |
DNNR | Debit Note Number | C | V | X(17) | Number of debit note raised by customer |
DNDT | Debit Note Date | C | F | 9(6) | Format: YYMMDD |
CNNR | Collection Note Number | C | V | X(17) | Number of supplier's collection note |
CNDT | Collection Note Date | C | F | 9(6) | Format: YYMMDD |
| Element | Name | M/C | F/V | Format | Notes |
|---|---|---|---|---|---|
SEQA | First Level Sequence Number | M | V | 9(10) | Sequence number. Starts at 1 and increases by 1 for each repeat of this PYT segment |
PAYT | Terms of Payment | C | V | X(40) | Textual description of the settlement terms |
PAYD | Payment Date and Terms composite | C | Settlement terms agreed between the buyer and seller, expressed in terms of payment due date and percentage Date that payment should be made available to the payee to obtain the specified discount Percentage discount applicable | ||
| Payment Date | M | F | 9(6) | ||
| Settlement Discount Percentage | M | V | 9(3)V9(3) | ||
PAYY | Settlement Terms composite | C | Settlement terms described using calendar days after a reference date and/or code Days until payment is due is defined as the number of calendar days after a reference date, commonly the date of invoice, that the payment is to be made available to the payee Percentage discount applicable Code for settlement terms. User defined | ||
| Number of days | M | V | 9(3) | ||
| Settlement Discount Percentage | C | V | 9(3)V9(3) | ||
| Settlement Code | C | V | X(3) |
| Element | Name | M/C | F/V | Format | Notes |
|---|---|---|---|---|---|
SEQA | First Level Sequence Number | M | V | 9(10) | Starts at 1 and is incremented by 1 for each 1st level repeat |
INVN | Invoice Number | C | V | X(17) | As allocated by the supplier. The invoice to which the credit refers |
IVDT | Date of Invoice | C | F | 9(6) | Format: YYMMDD. The date of invoice to which the credit refers. Mandatory if INVN is present |
TXDT | Tax-point Date | C | F | 9(6) | Format: YYMMDD Tax-point date of invoice to which credit refers. Mandatory if INVN is present |
ORNO | Order Number and Date composite | C | Identifies the order to which the credit refers As allocated by the customer to identify the order As allocated by the supplier when he processes the orders on behalf of the customer File date can be issued instead if customer and supplier agree Format: YYMMDD Format: YYMMDD | ||
| Customer's Order Number | C | V | X(17) | ||
| Supplier's Order Number | C | V | X(17) | ||
| Date Order Placed by Customer | C | F | 9(6) | ||
| Date Order Received by Supplier | C | F | 9(6) | ||
GNAR | General Narrative composite | C | Narrative covering information which cannot be sent in a coded form ie. RTEX/DNAC. This is likely to preclude automatic processing | ||
| General Narrative Line 1 | C | V | X(40) | ||
| General Narrative Line 2 | C | V | X(40) | ||
| General Narrative Line 3 | C | V | X(40) | ||
| General Narrative Line 4 | C | V | X(40) |
| Element | Name | M/C | F/V | Format | Notes |
|---|---|---|---|---|---|
SEQA | First Level Sequence Number | M | V | 9(10) | Starts at 1 and is successively incremented by 1 for subsequent lines of the credit note |
SPRO | Supplier's Product Number composite | C | Either the EAN traded unit code or the supplier's code must be quoted, otherwise special arrangements need to be negotiated EAN article number allocated to the unit of trade Supplier's internal reference (non-EAN) identifying the traded unit. Enter single zero if the credit is not product related Code for the traded unit allocated under the alternative (DUN-14) EAN system | ||
| EAN-13 Article Number for Traded Unit | C | F | 9(13) | ||
| Supplier's Code for Traded Unit | C | V | X(30) | ||
| DUN-14 Code for Traded Unit | C | F | 9(14) | ||
SACU | Supplier's EAN Number for the Designated Consumer Unit | C | F | 9(13) | EAN number allocated to the retail (POS) unit. (Insert five leading zeros before eight digit codes) |
CPRO | Customer's Product Number composite | C | Can be used for 'own label' items allocated an in-store number in a general format. EAN prefix - 2 dig; customer's number - 5 dig; consumer unit number - 8 dig Customer's internal reference for the item, non-EAN format | ||
| Customer's Own Brand EAN Number | C | F | 9(15) | ||
| Customer's Item Code. | C | V | X(30) | ||
UNOR | Unit of Ordering composite | C | At least one of the following sub-elements must be quoted. If Ordering Measure is used the Measure Indicator must also be quoted Number of consumer units making up the supplier's traded unit Required when an item is ordered as a multiple of a defined measure Abbreviation for the ordering measure, see Code List 4 | ||
| Consumer Units in Traded Unit | C | V | 9(15) | ||
| Ordering Measure | C | V | 9(10)V9(3) | ||
| Measure Indicator | C | V | X(6) | ||
QTYC | Quantity Credited composite | M | At least one of the following sub-elements must be quoted. If the Total Measure Credited is quoted the Measure Indicator must be quoted too Number of supplier's traded units credited Total credited volume, size etc required when crediting variable measure items Abbreviation for the ordering measure, see Code List 4 | ||
| Number of Traded Units Credited | C | V | 9(15) | ||
| Total Measure Credited | C | V | 9(10)V9(3) | ||
| Measure Indicator | C | V | X(6) | ||
UCRV | Unit Credit Value (before VAT) composite | M | Credit value of unit being credited, before VAT, having applied line discount. In pounds Abbreviation for the measure, see Code List 4. Mandatory for variable measure items | ||
| Credit Value (before VAT) | M | V | 9(10)V9(4) | ||
| Measure Indicator | C | V | X(6) | ||
EXLV | Nett Credit Value (before VAT) | M | V | 9(10)V9(4) | Credit value of line, before VAT, having applied line discounts. In pounds. EXLV = UCRV x QTYC |
VATC | VAT Rate Category Code | M | F | X(1) | Code Values List 12 · code list 12 |
VATP | VAT Rate Percentage | M | V | 9(3)V9(3) | Percentage rate for VAT Category Code |
CRRE | Reason for Credit composite | M | Code Values List 13 As agreed between partners Plain language description · code list 13 | ||
| ANA Credit Reason Code | C | F | X(2) | ||
| Trading Partner's Own Code | C | V | X(2) | ||
| Credit Reason Description | C | V | X(40) | ||
MIXI | Mixed VAT Rate Product Indicator | C | F | 9(1) | Value zero for the credit item line for a composite product with component groups with different VAT rate codes. Starts at 1 and increments by 1 for each following credit item line for the component groups |
DRLI | Debit Line Indicator | C | V | X(4) | Code Values List '9' · code list 9 |
TDES | Traded Unit Description Traded Unit Description Line 1 Traded Unit Description Line 2 | C | V | X(40) | Full description of the item being traded. Consistent with product information data and any labels or packaging |
UCRB | Unit Credit Value Before Discount and VAT | C | V | 9(10)V9(4) | Credit value of the unit being credited, before applying line discount and VAT in pounds |
NRIL | Number of Item Lines | M | V | 9(10) | Number of CLD segments with this VAT Category Code |
LVLA | Line Sub-Total Amount (before settlement discount) | M | V | 9(10)V9(2) | Before VAT has been applied. Total of Net Cost Values (EXLV) for this VAT Category Code |
QYCA | Discount Reclaimed for Credit Quantity | C | V | 9(10)V9(2) | Value of discount for total quantity for VAT Category Code |
VLCA | Discount Reclaimed for Credit Value | C | V | 9(10)V9(2) | Value of discount for total value for VAT Category Code |
EVLA | Extended Sub-Total Amount (before settlement discount has been applied) | M | V | 9(10)V9(2) | Before VAT has been applied. EVLA = LVLA - QYDA - VLDA |
SEDA | Sub-Total Settlement Discount Amount | C | V | 9(10)V9(2) | For this VAT Category Code |
ASDA | Extended Sub-Total Amount (after settlement discount has been applied) | M | V | 9(10)V9(2) | Before VAT has been applied. ASDA = EVLA - SEDA |
VATA | VAT Amount Payable | M | V | 9(10)V9(2) | VAT amount at quoted VAT rate |
APSE | Payable Sub-Total Amount (before settlement discount) | C | V | 9(10)V9(2) | After VAT has been applied. APSE = EVLA + VATA |
APSI | Payable Sub-Total Amount (after settlement discount has been applied) | M | V | 9(10)V9(2) | After VAT has been applied. APSI = ASDA + VATA |
| Element | Name | M/C | F/V | Format | Notes |
|---|---|---|---|---|---|
NCST | Number of Total Segments | M | V | 9(10) | Number of preceding CST segments |
LVLT | Lines Total Amount (before settlement discount has been applied) | M | V | 9(10)V9(2) | Sum of LVLA's in preceding CST segments. Before VAT |
QYCT | Total Discount Reclaimed for Credit Quantity | C | V | 9(10)V9(2) | Sum of QYCA's in preceding CST segments |
VLCT | Total Discount Reclaimed for Credit Value | C | V | 9(10)V9(2) | Sum of VLCA's in preceding CST segments |
EVLT | Total Extended Amount (before settlement discount has been applied) | M | V | 9(10)V9(2) | Sum of EVLA's in preceding CST segments. Before VAT. |
SEDT | Total Settlement Amount | C | V | 9(10)V9(2) | Sum of SEDA's in preceding CST segments |
ASDT | Total Amount (after settlement discount has been applied) | M | V | 9(10)V9(2) | Sum of ASDA's in preceding CST segments. Before VAT. |
TVAT | Total VAT Amount Payable | M | V | 9(10)V9(2) | Sum of VATA's in preceding CST segments |
TPSE | Total Payable (before settlement discount) | C | V | 9(10)V9(2) | Sum of APSE's in preceding CST segments. After VAT |
TPSI | Total Payable (after settlement discount) | M | V | 9(10)V9(2) | Sum of APSI's in preceding CST segments. After VAT |
| 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 →