VATTLR: File VAT Trailer
The VATTLR message is shared between the TRADACOMS Invoice and Credit Note files.
The Invoice file contains: INVFIL → INVOIC → VATTLR → INVTLR. The Credit Note file contains: CREHDR → CREDIT → VATTLR → CRETLR.
Message structure
| Segment | Name | Usage |
|---|---|---|
MHD | Message Header | One message only, after all INVOIC messages in the file |
VRS | VAT Rate Summary | Repeat for each VAT rate in file |
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 | 'VATTLR' '9' for this version | ||
| Type | M | F | X(6) | ||
| Version Number | M | F | 9(1) |
| 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 segment of this type in the message |
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. As used in INVOIC messages |
VSDE | File Sub-Total Amount (before settlement discount) | M | V | 9(10)V9(2) | Sum of EVLA's in corresponding STL segments. Before VAT |
VSDI | File Sub-Total Amount (after settlement discount) | M | V | 9(10)V9(2) | Sum of ASDA's in corresponding STL segments. Before VAT |
VVAT | File VAT Sub-Total | M | V | 9(10)V9(2) | Sum of VATA's in corresponding STL segments |
VPSE | File Sub-Total Payable (before settlement discount) | C | V | 9(10)V9(2) | Sum of APSE's in corresponding STL segments. After VAT |
VPSI | File Sub-Total Payable (after settlement discount) | M | V | 9(10)V9(2) | Sum of APSI's in corresponding STL 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 →