Message D05A/INVOICInvoice message A message claiming payment for goods or services supplied under conditions agreed between the seller and the buyer. The United Nations Standard Invoice Message, with correct data qualification, serves also as the specification for Debit Note and Credit Note messages. Throughout this document, the reference to 'Invoice' may be interpreted as conveying the wider meaning of 'Invoice/Credit Note/Debit Note'. Message descriptionUNH M(1) : Message header A service segment starting and uniquely identifying a message. The message type code for the Invoice message is INVOIC. Note: Invoice messages conforming to this document must contain the following data in segment UNH, composite S009: Data element 0065 INVOIC 0052 D 0054 05A 0051 UN BGM M(1) : Beginning of message A segment by which the sender must uniquely identify the invoice by means of its type and number and when necessary its function. DTM M(35) : Date/time/period A segment specifying general dates and, when relevant, times related to the whole message. The segment must be specified at least once to identify the invoice date. Examples of the use of this DTM segment is: "shipped on date" or "delivery date". The Date/time/period segment within other Segment groups should be used whenever the date/time/period requires to be logically related to another specified data item e.g. Payment due date is specified within the PYT Segment group. PAI C(1) : Payment instructions A segment requesting or confirming conditions of payment, guarantee and method of payment for the whole invoice. An example of the use of this segment is to specify the type of documentary credit used in the transaction. ALI C(5) : Additional information A segment indicating special conditions related to the total invoice owing to origin, customs preference or other commercial factors. IMD C(1) : Item description A segment providing a description common to all line items of the invoice. FTX C(99) : Free text A segment with free text information, in coded or clear form, used when additional information is needed but cannot be accommodated within other segments. In computer to computer exchanges such text will normally require the receiver to process this segment manually. LOC C(10) : Place/location identification A segment identifying locations for which details of transport are not known such as country of export, place of cargo receipt, and a place of cargo delivery. GEI C(10) : Processing information A segment to specify processing indicators relating to the invoice. DGS C(1) : Dangerous goods A segment to specify the detail information about dangerous goods related to the whole invoice. GIR C(10) : Related identification numbers A segment providing related identification numbers common to all line items. SG1 C(99999) : RFF-DTM-GIR-LOC-MEA-QTY-FTX-MOA-RTE A group of segments for giving references and where necessary, their dates, related identification numbers, locations, measurements, quantities, free text and monetary amounts, relating to the whole message, e.g. contract information, import or export license information, despatch advice information.
SG2 C(99) : NAD-LOC-FII-MOA-SG3-SG4-SG5 A group of segments identifying the parties with associated information.
SG6 C(5) : TAX-MOA-LOC A group of segments specifying tax related information, and when necessary, the location(s) to which that tax information relates.
SG7 C(99) : CUX-DTM A group of segments specifying the currencies and related dates/periods valid for the whole invoice. Currency data maybe omitted in national applications but will be required for international transactions.
SG8 C(10) : PYT-DTM-PCD-MOA-PAI-FII A group of segments specifying the terms of payment applicable for the whole invoice.
SG9 C(10) : TDT-TSR-SG10-SG11 A group of segments identifying the mode and means of transport, contract of carriage, location and relevant dates and times for transportation, relating to the whole invoice.
SG12 C(5) : TOD-LOC A group of segments indicating the terms of delivery for the whole invoice.
SG13 C(99) : EQD-SEL Group of segments to specify the equipment in which the invoiced goods were despatched.
SG14 C(1000) : PAC-MEA-EQD-SG15 A group of segments identifying the packaging, physical dimensions and marks and numbers for goods referenced by the whole invoice.
SG16 C(9999) : ALC-ALI-FTX-SG17-SG18-SG19-SG20-SG21-SG22 A group of segments specifying allowances and charges for the whole invoice. The allowance or charge specified within this Segment group may either relate to the total invoice in which case it cannot be overridden at detail level, or it can relate to the line items as a default allowance/charge and can be overridden by the ALC Segment group within the detail section. Where relevant, additional information, tax and alternate currency details are to be indicated in the TAX and MOA segments. The basis for the calculation of the allowance/charge may be a quantity, a percentage, an amount or a rate and one of the Segment group 17-21 should be used accordingly.
SG23 C(100) : RCS-RFF-DTM-FTX A group of segments identifying any rules, laws or regulations with which the supplier must comply to meet requirements e.g. building regulations, safety requirements, etc.
SG24 C(1) : AJT-FTX A segment group to give information about adjustment.
SG25 C(1) : INP-FTX A segment group giving the possibility in a reply to INVOIC of instructing the other party of the action to be taken.
SG26 C(9999999) : LIN-PIA-PGI-IMD-MEA-QTY-PCD-ALI-DTM-GIN-GIR- QVR-EQD-FTX-DGS-SG27-SG28-SG29-SG30-SG31- SG33-SG34-SG35-SG39-SG45-SG47-SG48-SG49 A group of segments providing details of the individual invoiced items. There must be at least one occurrence of Segment group 26 within an invoice, but not necessarily in a credit note or a debit note. This Segment group may be repeated to give sub-line details.
UNS M(1) : Section control A mandatory service segment placed before the first user segment in the summary section to avoid segment collision. CNT C(10) : Control total A segment by which control totals may be provided by the sender for checking by the receiver. SG50 M(100) : MOA-SG51 A group of segments giving total amounts for the whole invoice and - if relevant -detailing amounts pre-paid with relevant references and dates.
SG52 C(10) : TAX-MOA A group of segments specifying taxes totals for the invoice.
SG53 C(15) : ALC-ALI-MOA-FTX A group of segments specifying allowances and charges summary totals for the invoice.
UNT M(1) : Message trailer A 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 structureUNH, Message header M 1
BGM, Beginning of message M 1
DTM, Date/time/period M 35
PAI, Payment instructions C 1
ALI, Additional information C 5
IMD, Item description C 1
FTX, Free text C 99
LOC, Place/location identification C 10
GEI, Processing information C 10
DGS, Dangerous goods C 1
GIR, Related identification numbers C 10
--- Segment Group 1 ------------------------- C 99999 -------+
RFF, Reference M 1 |
DTM, Date/time/period C 5 |
GIR, Related identification numbers C 5 |
LOC, Place/location identification C 2 |
MEA, Measurements C 5 |
QTY, Quantity C 2 |
FTX, Free text C 5 |
MOA, Monetary amount C 2 |
RTE, Rate details C 99 |
---- -----------------------------------------------------------+
--- Segment Group 2 ------------------------- C 99 -------+
NAD, Name and address M 1 |
LOC, Place/location identification C 25 |
FII, Financial institution information C 5 |
MOA, Monetary amount C 99 |
|
--- Segment Group 3 ------------------------- C 9999 ------+|
RFF, Reference M 1 ||
DTM, Date/time/period C 5 ||
---- ----------------------------------------------------------+|
|
--- Segment Group 4 ------------------------- C 5 ------+|
DOC, Document/message details M 1 ||
DTM, Date/time/period C 5 ||
---- ----------------------------------------------------------+|
|
--- Segment Group 5 ------------------------- C 5 ------+|
CTA, Contact information M 1 ||
COM, Communication contact C 5 ||
---- ----------------------------------------------------------++
--- Segment Group 6 ------------------------- C 5 -------+
TAX, Duty/tax/fee details M 1 |
MOA, Monetary amount C 1 |
LOC, Place/location identification C 5 |
---- -----------------------------------------------------------+
--- Segment Group 7 ------------------------- C 99 -------+
CUX, Currencies M 1 |
DTM, Date/time/period C 5 |
---- -----------------------------------------------------------+
--- Segment Group 8 ------------------------- C 10 -------+
PYT, Payment terms M 1 |
DTM, Date/time/period C 5 |
PCD, Percentage details C 1 |
MOA, Monetary amount C 1 |
PAI, Payment instructions C 1 |
FII, Financial institution information C 1 |
---- -----------------------------------------------------------+
--- Segment Group 9 ------------------------- C 10 -------+
TDT, Transport information M 1 |
TSR, Transport service requirements C 1 |
|
--- Segment Group 10 ------------------------ C 10 ------+|
LOC, Place/location identification M 1 ||
DTM, Date/time/period C 5 ||
---- ----------------------------------------------------------+|
|
--- Segment Group 11 ------------------------ C 9999 ------+|
RFF, Reference M 1 ||
DTM, Date/time/period C 5 ||
---- ----------------------------------------------------------++
--- Segment Group 12 ------------------------ C 5 -------+
TOD, Terms of delivery or transport M 1 |
LOC, Place/location identification C 2 |
---- -----------------------------------------------------------+
--- Segment Group 13 ------------------------ C 99 -------+
EQD, Equipment details M 1 |
SEL, Seal number C 9 |
---- -----------------------------------------------------------+
--- Segment Group 14 ------------------------ C 1000 -------+
PAC, Package M 1 |
MEA, Measurements C 5 |
EQD, Equipment details C 1 |
|
--- Segment Group 15 ------------------------ C 5 ------+|
PCI, Package identification M 1 ||
RFF, Reference C 1 ||
DTM, Date/time/period C 5 ||
GIN, Goods identity number C 5 ||
---- ----------------------------------------------------------++
--- Segment Group 16 ------------------------ C 9999 -------+
ALC, Allowance or charge M 1 |
ALI, Additional information C 5 |
FTX, Free text C 1 |
|
--- Segment Group 17 ------------------------ C 5 ------+|
RFF, Reference M 1 ||
DTM, Date/time/period C 5 ||
---- ----------------------------------------------------------+|
|
--- Segment Group 18 ------------------------ C 1 ------+|
QTY, Quantity M 1 ||
RNG, Range details C 1 ||
---- ----------------------------------------------------------+|
|
--- Segment Group 19 ------------------------ C 1 ------+|
PCD, Percentage details M 1 ||
RNG, Range details C 1 ||
---- ----------------------------------------------------------+|
|
--- Segment Group 20 ------------------------ C 2 ------+|
MOA, Monetary amount M 1 ||
RNG, Range details C 1 ||
CUX, Currencies C 1 ||
DTM, Date/time/period C 1 ||
---- ----------------------------------------------------------+|
|
--- Segment Group 21 ------------------------ C 1 ------+|
RTE, Rate details M 1 ||
RNG, Range details C 1 ||
---- ----------------------------------------------------------+|
|
--- Segment Group 22 ------------------------ C 5 ------+|
TAX, Duty/tax/fee details M 1 ||
MOA, Monetary amount C 1 ||
---- ----------------------------------------------------------++
--- Segment Group 23 ------------------------ C 100 -------+
RCS, Requirements and conditions M 1 |
RFF, Reference C 5 |
DTM, Date/time/period C 5 |
FTX, Free text C 5 |
---- -----------------------------------------------------------+
--- Segment Group 24 ------------------------ C 1 -------+
AJT, Adjustment details M 1 |
FTX, Free text C 5 |
---- -----------------------------------------------------------+
--- Segment Group 25 ------------------------ C 1 -------+
INP, Parties and instruction M 1 |
FTX, Free text C 5 |
---- -----------------------------------------------------------+
--- Segment Group 26 ------------------------ C 9999999 -------+
LIN, Line item M 1 |
PIA, Additional product id C 25 |
PGI, Product group information C 99 |
IMD, Item description C 99 |
MEA, Measurements C 5 |
QTY, Quantity C 5 |
PCD, Percentage details C 1 |
ALI, Additional information C 5 |
DTM, Date/time/period C 35 |
GIN, Goods identity number C 1000 |
GIR, Related identification numbers C 1000 |
QVR, Quantity variances C 1 |
EQD, Equipment details C 1 |
FTX, Free text C 99 |
DGS, Dangerous goods C 1 |
|
--- Segment Group 27 ------------------------ C 99 ------+|
MOA, Monetary amount M 1 ||
CUX, Currencies C 1 ||
---- ----------------------------------------------------------+|
|
--- Segment Group 28 ------------------------ C 10 ------+|
PYT, Payment terms M 1 ||
DTM, Date/time/period C 5 ||
PCD, Percentage details C 99 ||
MOA, Monetary amount C 1 ||
---- ----------------------------------------------------------+|
|
--- Segment Group 29 ------------------------ C 25 ------+|
PRI, Price details M 1 ||
CUX, Currencies C 1 ||
APR, Additional price information C 1 ||
RNG, Range details C 1 ||
DTM, Date/time/period C 5 ||
---- ----------------------------------------------------------+|
|
--- Segment Group 30 ------------------------ C 10 ------+|
RFF, Reference M 1 ||
DTM, Date/time/period C 5 ||
---- ----------------------------------------------------------+|
|
--- Segment Group 31 ------------------------ C 10 ------+|
PAC, Package M 1 ||
MEA, Measurements C 10 ||
EQD, Equipment details C 1 ||
||
--- Segment Group 32 ------------------------ C 10 -----+||
PCI, Package identification M 1 |||
RFF, Reference C 1 |||
DTM, Date/time/period C 5 |||
GIN, Goods identity number C 10 |||
---- ---------------------------------------------------------++|
|
--- Segment Group 33 ------------------------ C 9999 ------+|
LOC, Place/location identification M 1 ||
QTY, Quantity C 100 ||
DTM, Date/time/period C 5 ||
---- ----------------------------------------------------------+|
|
--- Segment Group 34 ------------------------ C 99 ------+|
TAX, Duty/tax/fee details M 1 ||
MOA, Monetary amount C 2 ||
LOC, Place/location identification C 5 ||
---- ----------------------------------------------------------+|
|
--- Segment Group 35 ------------------------ C 99 ------+|
NAD, Name and address M 1 ||
LOC, Place/location identification C 5 ||
FII, Financial institution information C 5 ||
||
--- Segment Group 36 ------------------------ C 5 -----+||
RFF, Reference M 1 |||
DTM, Date/time/period C 5 |||
---- ---------------------------------------------------------+||
||
--- Segment Group 37 ------------------------ C 5 -----+||
DOC, Document/message details M 1 |||
DTM, Date/time/period C 5 |||
---- ---------------------------------------------------------+||
||
--- Segment Group 38 ------------------------ C 5 -----+||
CTA, Contact information M 1 |||
COM, Communication contact C 5 |||
---- ---------------------------------------------------------++|
|
--- Segment Group 39 ------------------------ C 30 ------+|
ALC, Allowance or charge M 1 ||
ALI, Additional information C 5 ||
DTM, Date/time/period C 5 ||
FTX, Free text C 1 ||
||
--- Segment Group 40 ------------------------ C 1 -----+||
QTY, Quantity M 1 |||
RNG, Range details C 1 |||
---- ---------------------------------------------------------+||
||
--- Segment Group 41 ------------------------ C 1 -----+||
PCD, Percentage details M 1 |||
RNG, Range details C 1 |||
---- ---------------------------------------------------------+||
||
--- Segment Group 42 ------------------------ C 2 -----+||
MOA, Monetary amount M 1 |||
RNG, Range details C 1 |||
CUX, Currencies C 1 |||
DTM, Date/time/period C 1 |||
---- ---------------------------------------------------------+||
||
--- Segment Group 43 ------------------------ C 1 -----+||
RTE, Rate details M 1 |||
RNG, Range details C 1 |||
---- ---------------------------------------------------------+||
||
--- Segment Group 44 ------------------------ C 5 -----+||
TAX, Duty/tax/fee details M 1 |||
MOA, Monetary amount C 2 |||
---- ---------------------------------------------------------++|
|
--- Segment Group 45 ------------------------ C 10 ------+|
TDT, Transport information M 1 ||
||
--- Segment Group 46 ------------------------ C 10 -----+||
LOC, Place/location identification M 1 |||
DTM, Date/time/period C 5 |||
---- ---------------------------------------------------------++|
|
--- Segment Group 47 ------------------------ C 5 ------+|
TOD, Terms of delivery or transport M 1 ||
LOC, Place/location identification C 2 ||
---- ----------------------------------------------------------+|
|
--- Segment Group 48 ------------------------ C 100 ------+|
RCS, Requirements and conditions M 1 ||
RFF, Reference C 5 ||
DTM, Date/time/period C 5 ||
FTX, Free text C 5 ||
---- ----------------------------------------------------------+|
|
--- Segment Group 49 ------------------------ C 999 ------+|
GEI, Processing information M 1 ||
RFF, Reference C 9 ||
IMD, Item description C 99 ||
DTM, Date/time/period C 5 ||
GIR, Related identification numbers C 5 ||
LOC, Place/location identification C 2 ||
MEA, Measurements C 5 ||
QTY, Quantity C 9 ||
FTX, Free text C 5 ||
MOA, Monetary amount C 2 ||
---- ----------------------------------------------------------++
UNS, Section control M 1
CNT, Control total C 10
--- Segment Group 50 ------------------------ M 100 -------+
MOA, Monetary amount M 1 |
|
--- Segment Group 51 ------------------------ C 1 ------+|
RFF, Reference M 1 ||
DTM, Date/time/period C 5 ||
---- ----------------------------------------------------------++
--- Segment Group 52 ------------------------ C 10 -------+
TAX, Duty/tax/fee details M 1 |
MOA, Monetary amount C 9 |
---- -----------------------------------------------------------+
--- Segment Group 53 ------------------------ C 15 -------+
ALC, Allowance or charge M 1 |
ALI, Additional information C 1 |
MOA, Monetary amount C 2 |
FTX, Free text C 1 |
---- -----------------------------------------------------------+
UNT, Message trailer M 1
|
|||