D98B
Message D98B/STATAC
Statement of account message
A Statement of Account is a communication from a Seller or his agent to a Buyer or his agent, providing information about the status of an account at a specific point in time. It is used as an aid to reconciliation. At the same time it may be a reminder of payment due.
Message description
UNH
M(1) : Message headerA service segment starting and uniquely identifying a message. The message type code for the Statement of account message is STATAC. Note: Statement of account messages conforming to this document must contain the following data in segment UNH, composite S009: Data element 0065 STATAC 0052 D 0054 98B 0051 UN
BGM
M(1) : Beginning of messageA segment by which the sender must uniquely identify the Statement of Account.
DTM
M(5) : Date/time/periodA segment specifying the dates, and when relevant, the times related to the whole message. The segment must be specified at least once to specify the message date as allocated by the sender.
RFF
C(5) : ReferenceA segment for referencing documents which relate to the whole message.
CUX
C(1) : CurrenciesA segment identifying the currency of the Statement of Account. The payment currency is the default currency for all amounts, it must be specified in international transactions.
SG1 M(99) : NAD-SG2
A group of segments identifying the parties involved in the transaction and, optionally the contact points and numbers.
NAD
M(1) : Name and addressA segment to identify a party name and address, either by coded identification or in clear form.
SG2 C(5) : CTA-COM
A group of segments identifying the contact person or department for a trading party and specifying the communication channel and number.
CTA
M(1) : Contact informationA segment to identify a person or department and their function, to whom communications should be directed.
COM
C(5) : Communication contactA segment specifying the communications channel and number for the specified contact.
SG3 M(200000) : DOC-MOA-DTM-RFF
A group of segments providing details of all documents, e.g. invoices, credit notes, etc., to which the Statement of Account refers. It contains details of the monetary values associated with the documents and of relevant dates. There must be at least one occurrence of this group within the Statement of Account Message.
DOC
M(1) : Document/message detailsA segment identifying the reference document against which payment is to be made.
MOA
M(5) : Monetary amountA segment to specify the required amounts for the referenced document e.g. amount due, discount amount, payment amount.
DTM
C(5) : Date/time/periodA segment to specify the date of the referenced document and to indicate any other relevant dates applicable, e.g. Due date, Tax point date, etc.
RFF
C(5) : ReferenceA segment for the inclusion of any additional references related to the reference document.
UNS
M(1) : Section controlA service segment placed at the start of the summary section to avoid segment collision.
MOA
M(9) : Monetary amountA segment specifying the total amount pertaining to the message. The outstanding balance amount is mandatory and is taken as given, i.e. it is not subject to recalculation.
FTX
C(99) : Free textA segment for free text information, in coded or clear form.
UNT
M(1) : Message trailerA service segment ending a message, giving the total number of segments in the message 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 RFF, Reference C 5 CUX, Currencies C 1 --- Segment Group 1 ------------------------- M 99 -------+ NAD, Name and address M 1 | | --- Segment Group 2 ------------------------- C 5 ------+| CTA, Contact information M 1 || COM, Communication contact C 5 || ---- ----------------------------------------------------------++ --- Segment Group 3 ------------------------- M 200000 -------+ DOC, Document/message details M 1 | MOA, Monetary amount M 5 | DTM, Date/time/period C 5 | RFF, Reference C 5 | ---- -----------------------------------------------------------+ UNS, Section control M 1 MOA, Monetary amount M 9 FTX, Free text C 99 UNT, Message trailer M 1