0.    INTRODUCTION

       This specification provides the definition of the Statement of
       account message (STATAC) to be used in Electronic Data
       Interchange (EDI) between trading partners involved in
       administration, commerce and transport.

1.    SCOPE

1.1   Functional Definition

       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.

1.2   Field of Application

       The UN Standard Statement of Account Message may be used for
       both national and international business. It is based on
       universal commercial practice and is not dependent on the type
       of business or industry.

1.3   Principles

       - A Statement of Account may refer to only one account, in one
       currency.
       
       - A statement of Account contains only outstanding debts and
       does not specify any debts which have been cleared since the
       previous Statement.
       
       - A Statement of Account may be initiated at any time by the
       Seller, depending upon agreement between the Buyer and the
       Seller.

2.    REFERENCES

       See UNTDID, Part 4, Chapter 2.6 UN/ECE UNSM - General Introduction,
       Section 1.

3.    TERMS AND DEFINITIONS

       See UNTDID, Part 4, Chapter 2.6 UN/ECE UNSM - General Introduction,
       Section 2.

4.    MESSAGE DEFINITION

4.1   Data Segment Clarification

       This section should be read in conjunction with the Branching
       Diagram and the Segment Table which indicate mandatory,
       conditional and repeating requirements.
       
       The following guidelines and principles apply to the whole
       message and are intended to facilitate the understanding and
       implementation of the message:
       
        All specified dates/times should be in the format
       'yymmdd'/'hhmm' unless all parties involved in the transaction
       agree that there is a functional requirement for an alternative
       format. Periods should be specified as whole numbers
       representing the required period as indicated in the format
       qualifier (weeks, months, etc.) 
       
       Where a choice of code or text is given only the code element
       should be used wherever possible.
       Conditional data that is not required in the message should not
       be included.
       
       Care must be taken that the segment qualifier in dependent
       segments do not conflict with the segment qualifier of the
       trigger segment of a group.
       
       Free text information within the message should be avoided as
       this inhibits automatic processing. It is only used when
       additional information that cannot be accommodated within the
       other segments is required.

4.1.1  Header section

       Information to be provided in the Header section:

0010 | UNH, Message header
       A 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 95B
                     0051 UN

0020   BGM, Beginning of message
       A segment by which the sender must uniquely identify the
       Statement of Account.

0030   DTM, Date/time/period
       A 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.

0040   RFF, Reference
       A segment for referencing documents which relate to the whole
       message.

0050   CUX, Currencies
       A 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.


0060   Segment group 1: NAD-SG2
       A group of segments identifying the parties involved in the
       transaction and, optionally the contact points and numbers.

0070      NAD, Name and address
          A segment to identify a party name and address, either by
          coded identification or in clear form.


0080      Segment group 2: CTA-COM
          A group of segments identifying the contact person or
          department for a trading party and specifying the
          communication channel and number.

0090         CTA, Contact information
             A segment to identify a person or department and their
             function, to whom communications should be directed.

0100         COM, Communication contact
             A segment specifying the communications channel and
             number for the specified contact.

4.1.2  Detail section

       Information to be provided in the Detail section:


0110   Segment group 3: 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.

0120      DOC, Document/message details
          A segment identifying the reference document against which
          payment is to be made.

0130      MOA, Monetary amount
          A segment to specify the required amounts for the referenced
          document e.g. amount due, discount amount, payment amount.

0140      DTM, Date/time/period
          A 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.

0150      RFF, Reference
          A segment for the inclusion of any additional references
          related to the reference document.

4.1.3  Summary section

       Information to be provided in the Summary section:

0160   UNS, Section control
       A service segment placed at the start of the summary section to
       avoid segment collision.

0170   MOA, Monetary amount
       A 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.

0180   FTX, Free text
       A segment for free text information, in coded or clear form.

0190   UNT, Message trailer
       A service segment ending a message, giving the total number of
       segments in the message and the control reference number of the
       message.

4.2   Data segment index (Alphabetical sequence by tag)

          BGM Beginning of message
          COM Communication contact
          CTA Contact information
          CUX Currencies
          DOC Document/message details
          DTM Date/time/period
          FTX Free text
          MOA Monetary amount
          NAD Name and address
          RFF Reference
          UNH Message header
          UNS Section control
          UNT Message trailer

Contents of D.95B