EDI - Eancoms Taxcon specifications
Supplier Actions

 

Note

If you are based in the UK and you pay VAT then Customs and Excise regulation requires you to send batch totals for the invoices you send us. This is done by sending a TAXCON Tax Control message.

Interchange Header

Seg Element Element Description Req Data Length Example Data Notes
UNB   Interchange Header M      
  0001 Syntax identifier M an4 UNOA  
  :0002 Syntax identifier M n1 3  
  +0004 Sender identification M an35 Supplier's mailbox ANA number  
  :0007 Qualifier M an4 01,12,14 or ZZ Supplier's qualifier
  :0008 Address for reverse n     Not used
  +0010 Recipient identification M an35 5023949000004 John Lewis' ANA number
  :0007 Qualifier M an4 ZZ,01,08,12,14 John Lewis qualifier
  :0014 Routing address n     Not used
  :0017 Date M n6   In YYMMDD format
  :0019 Time M n4   In HHMM format
  +0020 Interchange control reference M an14   Unique number
  +0022 Password M an14 Network password  
  :0025 Qualifier n     Not used
  +0026 Application ref M an14 TAXTES For test transmission
          TAXCON For live transmission
  +0029 Processing priority n     Not used
  +0031 Acknowledgement request n     Not used
  +0032 Communications agreement n     Not used
  +0035 Test indicator n     Not used

Message Header

Seg Element Element Description Req Data Length Example Data Notes
UNH   Message Header M      
  0062 Message ref number M an14 Numeric value Sequential no unique to your supplier's ANA no. and this TAXCON doc. We check this no. & will reject any files which are out of sequence
  +0065 Message type identifier M an6  TAXCON  
  :0052 Message type version number M an3 D  
  :0054 Message type release M an3 96A  
  :0051 Controlling agency M an2 UN  
  :0057 Association assigned code M an6 EAN002  
  +0068 Common access ref n     Not used
  +S010 Status of the transfer n     Not used

Beginning of Message

Seg Element Element Description Req Data length Example Data Notes
BGM   Beginning of Message M      
  1001 Doc. / message name M an3 938 = Tax decleration
  :1131 Code list qualifier n       Not used
  :3055 Code list agency n     Not used
  :1000 Doc./ message name n     Not used
  +1004 Doc./ message no. M an35 Your Tax Control doc number  
  +1225 Message function M an3 9 = Original
          31 = Copy
  +4343 Response type n     Not used

Date/Time Period

Seg Element Element Description Req Data Length Example Data Notes
DTM   Date/Time period M      
  2005 Date/Time period qualifier M an3 137 = Document date/time
  :2380 Date time M an35    
  :2379 Date/Time format qualifier M an3 102 =CCYYMMDD
          203 =CCYYMMDDHHMM

Name & Address

Seg Element Element Description Req Data Length Example Data Notes
NAD   Name & Address M      
  3035 Party qualifier M an3 BY =Buyer JL ANA number - always sent
          SR =Supplier's agent. OPD only
          SU = Supplier's ANA number
          VN = Supplier's ANA number. Optional. Not sent if SU used
  +3039 Party Identifier M an35 13-digit ANA number ANA no for party specified in 3035
  :1131 Code list qualifier n     Not used
  :3055 Code list agency M an3 9 =EAN
  +C058 Name & Address freeform n      
  +3036 Party name M an35 Name  
  :3036 Party name O     Optional
  :3036 Party name O     Optional
  :3036 Party name O     Optional
  :3036 Party name O     Optional
  :3045 Party name format O     Optional
  +CO59 Street O     Optional
  +3164 City name O     Optional
  +3329 Country O     Optional
  +3251 Postcode O     Optional
  +3207 Country coded n     Not used

Section Control

Seg Element Element Description Req Data length Example Data Notes
UNS   Section Control M      
  0081 Section identification M an1 D = Header / detail separation

Reference

Seg Element Element Description Req Data Length Example Data Notes
RFF   Reference       Multiple records. One sent for every batch inc. in these totals
  1153 Reference qualifier M an3 ALL =Invoice batch number
  :1154 Ref number M an35   Batch no, must match all invoices in this batch
  :1156 Line number n     Not used
  :4000 Ref version n     Not used

Documents

Seg Element Element Description Req Data Length Example data Notes
DOC   Documents        
  1001 Document name M an3 380 =Invoices
  :1131 Code list qualifier n     Not used
  :3055 Code list agency n     Not used
  :1000 Document name n     Not used
  +C503 Document details n     Not used
  +3153 Communication channel n     Not used
  +1220 No. of copies n     Not used
  +1218 No. of originals n     Not used

Monetary Amount

Seg Element Element Description Req Data Length Example Notes Notes
MOA   Monetary Amount M     This is the taxable amount for the whole batch ie inc surcharges and settlement discount, but before VAT
  5025 Monetary amount qualifier M an3 125 or 39 or 128 = Taxable amount
  :5004 Monetary amount M n18    
  :6345 Currency O an3   Optional. Shold be GBP if sent
  :6343 Currency qualifier n     Not used
  :4405 Status n     Not used

Control Total

Seg Element Element Description Req Data Length Example Data Notes
CNT   Control Total M      
  6069 Control qualifier M an3 31 = Number of messages
  :6066 Control value M n18   Number of invoices
  :6411 Measure unit qualifier n     Not used

Tax

Seg Element Element Description Req Data Length Example Data Notes
TAX   Tax        
  5258 Tax Qualifier M an3 7 =Tax
  +5153 Tax type, coded M an3 VAT = Value Added Tax
  :1131 Code list qualifier n     Not used
  :3055 Code list agency n     Not used
  :5152 Tax type n     Not used
  +C533 Tax account details n     Not used
  +5286 Tax assesment basis n     Not used
  +5279 Tax rate identification n     Not used
  :1131 Code list qualifier n     Not used
  :3055 Code list agency n     Not used
  :5278 Tax rate M an17 20.00 format nn.nn%
  :5273 Tax rate basis identification n     Not used
  :1131 Code list qualifier n     Not used
  :3055 Code list agency n     Not used
  +5305 Tax category, coded M an3 Z = Zero rated tax
          L = Lower rated tax
          E = Exempt
          A = Mixed rate
          S =Standard rate tax
  +3446 Tax identification n     Not used

Monetary Amount

Seg Element Element Description Req Data Length Example Data Notes
MOA   Monetary Amount M     Tax and taxable amount for this VAT rate for the whole batch
  5025 Monetary amount qualifier M an3 124 =Tax (VAT)
      M   125 = Taxable amount inc. surcharges & settlement discount but before VAT
  :5004 Monetary amount M n18    
  :6345 Currency M an3 GBP  
  :6343 Currency qualifier n     Not used
  :4405 Status n     Not used

Message Trailer

Seg Element Element Description Req Data Length Example Data Notes
UNT   Message Trailer        
  0074 No of segments M n6   No. of segments in message
  +0062 Message reference number M an14  

=UNH segment

UNZ   Interchange Trailer M      
  0036 Interchange control count M n6   No. of messages in interchange
  +0020 Interchange control reference M an14   =UNB segment