D18A
Message D18A/TAXCON
Tax control message
A Tax control message is used to enable the transmission of summary and control data for tax purposes. It is used to summarise and control the taxes (e.g. VAT) or duty which applies to a batch or batches of related messages.
Message description
UNH
M(1) : Message headerA service segment starting and uniquely identifying a message. The message type code for the Tax control message is TAXCON. Note: Tax control messages conforming to this document must contain the following data in segment UNH, composite S009: Data element 0065 TAXCON 0052 D 0054 18A 0051 UN
BGM
M(1) : Beginning of messageA segment carrying the identity of the type of document and the reference number. In this case it would be the file reference number for tax control report.
DTM
M(5) : Date/time/periodThis segment specifies the date and time of preparation of the Tax control message. Other dates related to the whole message may be specified at this point.
SG1 C(5) : RFF-DTM
This group is used to specify references that relate to the whole message.
RFF
M(1) : ReferenceThis segment identifies relevant references, such as the previous Tax control message between the trading partners.
DTM
C(5) : Date/time/periodThis segment specifies the date and time of the reference in the preceding reference segment.
SG2 M(5) : NAD-RFF
This segment is used to identify the tax entities involved in the interchange. It could also be used to identify the controlling tax administration.
NAD
M(1) : Name and addressThis segment identifies the names and addresses of the two registered tax entities i.e. the sender and the recipient of the message. The segment may also identify the controlling tax administration.
RFF
C(1) : ReferenceThis segment is used to send tax references which may identify the party specified in the preceding segment, such as a tax registration number issued by the relevant tax administration.
UNS
M(1) : Section controlThis segment separates the header information from the detailed control information. It will have the value D.
SG3 M(9999) : RFF-DTM-SG4
This segment group carries all the control values.
RFF
M(1) : ReferenceA segment specifying the relevant reference numbers to identify the source file, i.e. the file that provides all data for the batch of related messages. This may be the file generation number and the file version number.
DTM
C(5) : Date/time/periodThis segment may be used to give the date of preparation of the file identified in the preceding reference segment.
SG4 M(9) : DOC-MOA-CNT-SG5
This group identifies the type of tax related messages and specifies the control totals for each type.
DOC
M(1) : Document/message detailsA segment to identify documents by transaction type, to enable the tax type and values within those documents to be summarized. For example, the segment would be used to specify credit notes in a separate occurrence from commercial invoices.
MOA
C(9) : Monetary amountThis segment gives the relevant monetary values per message type being summarised.
CNT
M(1) : Control totalThis segment gives relevant control quantities. In this case the number of documents of the type indicated in the preceding document/message details segment.
SG5 M(9) : TAX-MOA
This group identifies the type of tax and the relevant tax information relating to the type of tax for the batch of messages of the type specified in the preceding document/message details segment.
TAX
M(1) : Duty/tax/fee detailsThis segment specifies the duty/tax category or type and relevant details, eg. tax percentage.
MOA
M(3) : Monetary amountThis segment gives the relevant monetary values relating to the tax type and rate identified in the tax segment. These will usually be: - the total value of the goods and services (i.e. the amount on which the tax is assessed). - the total tax monetary amount calculated for this tax type and rate.
UNT
M(1) : Message trailerA service segment ending a message, giving the total number of segments in the message (including the UNH & UNT) and the control reference number of the message.
Message structure
UNH, Message header M 1 BGM, Beginning of message M 1 DTM, Date/time/period M 5 --- Segment Group 1 ------------------------- C 5 -------+ RFF, Reference M 1 | DTM, Date/time/period C 5 | ---- -----------------------------------------------------------+ --- Segment Group 2 ------------------------- M 5 -------+ NAD, Name and address M 1 | RFF, Reference C 1 | ---- -----------------------------------------------------------+ UNS, Section control M 1 --- Segment Group 3 ------------------------- M 9999 -------+ RFF, Reference M 1 | DTM, Date/time/period C 5 | | --- Segment Group 4 ------------------------- M 9 ------+| DOC, Document/message details M 1 || MOA, Monetary amount C 9 || CNT, Control total M 1 || || --- Segment Group 5 ------------------------- M 9 -----+|| TAX, Duty/tax/fee details M 1 ||| MOA, Monetary amount M 3 ||| ---- ---------------------------------------------------------+++ UNT, Message trailer M 1