CSV02 Technical Specification

This section is Intrastat

This document details the technical specification of the CSV02 template.

Definitions

Record

A record consists of one or more fields. A record is terminated by carriage return / line feed (cr / lf) characters. Except for the last field in a record, all fields end with the comma delimiter. One or more fields ending with cr / lf characters.

Zero-length Field  

This is represented by just a comma without any preceding characters. All fields defined must be present even if zero length or defined not used.

Field – Numeric  

Without leading spaces or leading zeroes, or trailing spaces.

Field – alpha

Without leading spaces or trailing spaces.

Commodity Record

A ‘Nil’ return consists of one or two header records only (no lines of data).

Inserting ‘N’ in the trader header will result in data entered in subsequent rows being ignored.

Agent header row (if appropriate)

Length

Value

Description

8

‘A’

Agent Flag

9

 

Agent VAT Number

3 or left blank

 

Agent Branch ID

1 - 30

 

Agent Name

0

empty

(not used)

0

empty

(not used)

0

empty

(not used)

0

empty

(not used)

5

CSV02

Version/Identification

Trader header row

Length

Value

Description

1

‘T’

Trader flag

9

 

Trader VAT Number

3 or left blank

 

Trader Branch ID

1 - 30

 

Trader Name

1

‘N’ or ‘X’

Return Flag N = Nil Return X = Live Data

1

‘A’ or ‘D’

Arrivals / Dispatches Flag

6

 

Date of completion, ddmmyy

4

 

Period, mmyy

5

CSV02

Version/Identification

Commodity record - dispatches only

Length

Value

Description

8

 

Commodity Code

1 – 14

Pounds only

Value

0 or 3

 

Delivery Terms

2

 

Nature of Transaction

0 to 11

 

Net Mass

0 to 11

 

Supplementary Units

2

 

Country of ‘Goods from’ or ‘Goods to’

0 - 14 characters comprising of digits (0 to 9), letters (a-z or A-Z), spaces or the characters ().,-/ only.

 

Trader’s Reference

Please ensure you key all alpha characters in upper case.

The CSV file is uploaded into our online Intrastat system.

Testing files

Go through the upload process until the 'Confirmation Screen' then press the 'Cancel' button to abort the transmission.

Please note: test files should not be transmitted to HM Revenue and Customs.