The Remittance Advice Message
The Remittance Advice (REMADV)
Message Implementation Guideline
Public Release: March 7, 2002
Document Version: 1.4
Updated: March 7, 2002
Status: DRAFT
Based on EANCOM 1997 (UN/EDIFACT D.96A) 1
The Remittance Advice Message
CONTENT
ABOUT THIS IMPLEMENTATION GUIDELINE ................................................................................................... 3
EDI MESSAGE FLOW ................................................................................................................................. 4
DOCUMENT HISTORY .................................................................................................................................. 5
DATA SEGMENT CLARIFICATION ................................................................................................................. 6
THE UN/EDIFACT ENVELOP STRUCTURE .................................................................................................. 7
REMADV REMITTANCE ADVICE MESSAGE ............................................................................................... 15
MESSAGE EXAMPLE ................................................................................................................................. 32
Based on EANCOM 1997 (UN/EDIFACT D.96A) 2
The Remittance Advice Message
About this Implementation Guideline
The B2B electronic commerce team is responsible for the specification of electronic data
interchanges within Woolworths. Before your company commences implementing this
message, it is vital that contact is made with the team to confirm specific data requirements
Woolworths has with your company.
For all other queries relating to this implementation, contact can be made to Joe Attard via
email at jattard@[Link] or by telephone at (02) 8732 5492.
Based on EANCOM 1997 (UN/EDIFACT D.96A) 3
The Remittance Advice Message
EDI Message Flow
The following diagrams illustrate the flow of this message relative to the overall electronic
trading potentially conducted between Woolworths and your company.
For Distribution Centre Delivery (DC)
ORDERS
CONTRL
ORDRSP
CONTRL
For Direct Store Delivery (DSD)
ORDERS
CONTRL
For Financial Transactions
EFT
REMADV
CONTRL
Based on EANCOM 1997 (UN/EDIFACT D.96A) 4
The Remittance Advice Message
Document History
Revision Date Section Description By
Number
Nov 2001 Initial release JB
1.0 31/01/2002 Revise format of output for public release PN
1.1 06/02/2002 Add reference code list to account payable reference PN
number in RFF SG04 (detail section)
1.2 07/02/2002 Remove errors in message example PN
1.3 14/02/2002 Revise standard format to include overall electronic PN
trading message flow diagram and Woolworths National
Supply Chain logo.
1.4 22/02/2002 Finalise output format. PN
Based on EANCOM 1997 (UN/EDIFACT D.96A) 5
The Remittance Advice Message
Data Segment Clarification
This section should be read in conjunction with the Segment Layout, which indicates 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 specified in the message envelops (UNB & UNG) should be in the format
'YYMMDD/HHMM'. Dates/times specified within contents of individual messages are specified
according to business requirements of Woolworths and its trading community and may vary unless all
parties involved in the transaction agree that there is a functional requirement for an alternative format.
Conditional data that is not required in the message should not be included.
Notes
The segments are presented in the sequence in which they appear in the message. The segment or
segment group tag is followed by the Mandatory, Conditional indicator, the maximum number of
occurrences and the segment description.
Additionally, there are four types of status for data elements with a Conditional UN/EDIFACT status,
whether for simple, component or composite data elements. These are listed below and can be identified
when relevant by the following abbreviations:
The following convention will be used for the entire document, applicable to the usage of segment
groups, segments, composite and data elements:
Abbreviation Usage Description
Used Required for Woolworths Implementation
D Dependent – Segment
M Mandatory – Data element
C Conditional – Data element level
O Optional – Presented at sender’s discreet
X, Not used Not required for Woolworths Implementation, if shown
If a composite is flagged and shown as “X” or “Not used”, all data elements within that composite will
have blank status indicators assigned to them.
Based on EANCOM 1997 (UN/EDIFACT D.96A) 6
The Remittance Advice Message
The UN/EDIFACT Envelop Structure
United Nations - Electronic Data Interchange For Administration, Commerce and Transportation
Message Structure (UN/EDIFACT)
UNA Service string advice (definition of delimiters)
UNB Interchange header (message envelop)
UNG Functional group header (application routing) – Mutually agreed between parties
UNH Message header - First message
Message content (I.e. ORDERS)
UNT Message trailer - First message
UNH Message header - Second message
Message content (I.e. REMADV)
UNT Message trailer - Second message
UNE Functional group trailer – Mutually agreed between parties
UNZ Interchange trailer
Based on EANCOM 1997 (UN/EDIFACT D.96A) 7
The Remittance Advice Message
Segment: UNA Service String Advice
Position:
Group:
Level: 0
Usage: Conditional
Max Use: 1
Purpose: To define the characters selected for use as delimiter and indicator in the rest
of the interchange that follows. The specifications in the Service string advice
take precedence over the specifications for delimiter etc. in UNB segment.
When transmitted, the Service string advice must appear immediately before
the Interchange Header (UNB) segment and begin with the upper case
characters UNA immediately followed by the six characters selected by the
sender to indicate, in sequence, the following functions:
Notes: Example:
UNA:+.? '
Data Element Summary
Data Component
Element Element Name Attributes
M 0010 COMPONENT DATA ELEMENT SEPARATOR M an..1
Composite element delimiter
: Colon
M 0020 DATA ELEMENT SEPARATOR M an..1
Data element delimiter
+ Plus sign
M 0030 DECIMAL NOTATION M an..1
The character transferred in this position shall be ignored by the
recipient. Retained to maintain upward compatibility with earlier
versions of the syntax.
. Full stop / Period
M 0040 RELEASE INDICATOR M an..1
Release indicator is used to signify that the following texts contain one
of the characters used as composite, data or segment delimiter, hence
release its usage convention for that instance.
? Question mark
M 0050 RESERVED FOR FUTURE USE M an..1
Insert space character use All valid standard codes are used.
White space (blank)
M 0060 SEGMENT TERMINATOR M an..1
Used to delimit the end of the current segment and start a new segment
‘ Apostrophe
Based on EANCOM 1997 (UN/EDIFACT D.96A) 8
The Remittance Advice Message
Segment: UNB Interchange Header
Position: 0010
Group:
Level: 0
Usage: Conditional (Required)
Max Use: 1
Purpose: To start, identify and specify an interchange
Notes: Example:
UNB+UNOA:3+9300633025540:ZZ+9311658000001:ZZ+020219:0705+98761'
Data Element Summary
Data Component
Element Element Name Attributes
M S001 SYNTAX IDENTIFIER M
Identification of the agency controlling the syntax and indication of
syntax level.
M 0001 Syntax identifier M a4
Coded identification of the agency controlling a syntax and syntax level
used in an interchange.
UNOA UN/ECE level A
M 0002 Syntax version number M n1
Version number of the syntax identified in the syntax identifier (0001).
3 Syntax Version Number
M S002 INTERCHANGE SENDER M
Identification of the sender of the interchange.
M 0004 Sender identification M an..35
Name or coded representation of the sender of a data interchange.
Example:
For Distribution Centre Delivery:
9300633025540 - Messages exchanged in test mode
9300633025571 - Messages exchanged in production
For Direct Store Delivery:
9300633025601 - Messages exchanged in test mode
9300633025595 - Messages exchanged in production
0007 Partner identification code qualifier C an..4
Qualifier referring to the source of codes for the identifiers of
interchanging partners.
ZZ Mutually defined
M S003 INTERCHANGE RECIPIENT M
Identification of the recipient of the interchange.
M 0010 Recipient identification M an..35
Name or coded representation of the recipient of a data interchange.
0007 Partner identification code qualifier C an..4
Qualifier referring to the source of codes for the identifiers of
interchanging partners.
ZZ Mutually defined
M S004 DATE AND TIME OF PREPARATION M
Date and time of preparation of the interchange.
M 0017 Date of preparation M n6
Local date when an interchange or a functional group was prepared.
Date in YYMMDD format, Eg. March 7th, 2002 is presented as 020307
Based on EANCOM 1997 (UN/EDIFACT D.96A) 9
The Remittance Advice Message
M 0019 Time of preparation M n4
Local time of day when an interchange or a functional group was
prepared.
Time in 24 hour-clock format, Eg. 3:30 PM is presented as 1530
M 0020 INTERCHANGE CONTROL REFERENCE M an..14
Unique reference assigned by the sender to an interchange.
Same as UNZ02 DE 0020
0035 TEST INDICATOR C n1
Indication that the interchange is a test.
Based on EANCOM 1997 (UN/EDIFACT D.96A) 10
The Remittance Advice Message
Segment: UNG Functional Group Header
Position: 0020
Group:
Level: 0
Usage: Conditional (Optional)
Max Use: 1
Purpose: To head, identify and specify a Functional Group
Notes: For messages generated by Woolworths, the functional group UNG - UNE is
provided upon request from vendors.
For all messages generated from Woolworths system with UNG - UNE
segments, all messages returned to Woolworths from vendors are expected to
include the equivalent UNG - UNE segments. This does not apply to the Syntax
and Report (CONTRL) message.
Example:
UNG+ORDRSP+930063302554:ZZ+931165800000:ZZ+020219:0705+31715+U
N+[Link]N005
Data Element Summary
Data Component
Element Element Name Attributes
M 0038 FUNCTIONAL GROUP IDENTIFICATION M an..6
Identification of the one type of messages in a functional group.
M S006 APPLICATION SENDER IDENTIFICATION M
Identification of the sender's division, department etc. from which a
group of messages is sent.
M 0040 Application sender identification M an..35
Name or code identifying the originating division, department etc. within
the sender's organisation.
0007 Partner identification code qualifier C an..4
Qualifier referring to the source of codes for the identifiers of
interchanging partners.
ZZ Mutually defined
M S007 APPLICATION RECIPIENTS IDENTIFICATION M
Identification of the recipient's division, department etc. for which a
group of messages is intended.
M 0044 Application recipient's identification M an..35
Name or code identifying the division, department etc. within the
recipient's organisation for which the group of messages is intended.
0007 Partner identification code qualifier C an..4
Qualifier referring to the source of codes for the identifiers of
interchanging partners.
ZZ Mutually defined
M S004 DATE AND TIME OF PREPARATION M
Date and time of preparation of the interchange.
M 0017 Date of preparation M n6
Local date when an interchange or a functional group was prepared.
M 0019 Time of preparation M n4
Local time of day when an interchange or a functional group was
prepared.
M 0048 FUNCTIONAL GROUP REFERENCE NUMBER M an..14
Reference number for the functional group assigned by and unique
within the sender's division, department etc.
Same as UNE02 DE 0048
Based on EANCOM 1997 (UN/EDIFACT D.96A) 11
The Remittance Advice Message
M 0051 CONTROLLING AGENCY M an..2
Code identifying the agency controlling the specification, maintenance
and publication of the message type.
UN UN/ECE/TRADE/WP.4, United Nations Standard
Messages (UNSM)
M S008 MESSAGE VERSION M
Specification of the type of messages in the functional group.
M 0052 Message type version number M an..3
Version number of a message type.
D Draft Directory
M 0054 Message type release number M an..3
Release number within the current message type version number
(0052).
96A Directory Version
0057 Association assigned code C an..6
Code, assigned by the association responsible for the design and
maintenance of the message type concerned, which further identifies
the message.
EAN005 EAN Version Control Number
Based on EANCOM 1997 (UN/EDIFACT D.96A) 12
The Remittance Advice Message
Segment: UNE Functional Group Trailer
Position: 0030
Group:
Level: 0
Usage: Conditional (Optional)
Max Use: 1
Purpose: To end and check the completeness of a Functional Group
Notes: For messages generated by Woolworths, the functional group UNG - UNE is
provided upon request from vendors.
For all messages generated from Woolworths system with UNG - UNE
segments, all messages returned to Woolworths from vendors are expected to
include the equivalent UNG - UNE segments. This does not apply to the Syntax
and Report (CONTRL) message.
Example:
UNE+1+31715'
Data Element Summary
Data Component
Element Element Name Attributes
M 0060 NUMBER OF MESSAGES M n..6
A count of the number of messages in a functional group.
M 0048 FUNCTIONAL GROUP REFERENCE NUMBER M an..14
Reference number for the functional group assigned by and unique
within the sender's division, department etc.
Same as UNG05 DE 0048
Based on EANCOM 1997 (UN/EDIFACT D.96A) 13
The Remittance Advice Message
Segment: UNZ Interchange Trailer
Position: 0040
Group:
Level: 0
Usage: Conditional (Optional)
Max Use: 1
Purpose: To end and check the completeness of an interchange.
Notes: Example:
UNZ+1+98761'
Data Element Summary
Data Component
Element Element Name Attributes
M 0036 INTERCHANGE CONTROL COUNT M n..6
Count either of the number of messages or, if used, of the number of
functional groups in an interchange.
M 0020 INTERCHANGE CONTROL REFERENCE M an..14
Unique reference assigned by the sender to an interchange.
Same as UNB05 DE 0020
Based on EANCOM 1997 (UN/EDIFACT D.96A) 14
The Remittance Advice Message
REMADV Remittance Advice Message
Introduction:
The Remittance Advice is a communication between trading partners, eg. Woolworths, the vendor and
the vendor's financial institution, which provides a detailed accounting relative to a payment, or other
form of financial settlement, for the provision of goods and/or services as detailed in the advice.
Notes:
This Message Implementation Guideline (MIG) is specifically designed to support the transmission of
remittance data flow for Woolworths Limited. UN/EDIFACT directory version used is D96A. This will be
updated to D01B in March 2002 to incorporate EANCOM01 standards.
Heading Section:
Pos. Seg. Req. Group Notes and
No. ID Name Des. [Link] Repeat Comments
M 0010 UNH Message Header M 1
M 0020 BGM Beginning of Message M 1
M 0030 DTM Date/Time/Period M 5
Used 0040 RFF Reference C 5
Used 0050 FII Financial Institution Information C 1
Used 0060 PAI Payment Instructions C 1
Used 0080 Segment Group 1: NAD C 99
M 0090 NAD Name and Address M 1
Detail Section:
Pos. Seg. Req. Group Notes and
No. ID Name Des. [Link] Repeat Comments
Used 0160 Segment Group 4: DOC-MOA-DTM-RFF C 9999
M 0170 DOC Document/Message Details M 1
M 0180 MOA Monetary Amount M 5
Used 0190 DTM Date/Time/Period C 1
Used 0200 RFF Reference C 5
Section Control:
Pos. Seg. Req. Group Notes and
No. ID Name Des. [Link] Repeat Comments
M 0460 UNS Section Control M 1
Summary Section:
Pos. Seg. Req. Group Notes and
No. ID Name Des. [Link] Repeat Comments
M 0470 MOA Monetary Amount M 5
M 0480 UNT Message Trailer M 1
Based on EANCOM 1997 (UN/EDIFACT D.96A) 15
The Remittance Advice Message
Segment: UNH Message Header
Position: 0010
Group:
Level: 0
Usage: Mandatory
Max Use: 1
Purpose: A service segment starting and uniquely identifying each remittance message.
Comments:
Notes: Example:
UNH+000001+REMADV:D:96A:UN:EAN003'
Data Element Summary
Data Component
Element Element Name Attributes
M 0062 MESSAGE REFERENCE NUMBER M an..14
Unique message reference assigned by the sender.
Sequence number of the messages in the interchange. DE 0062 in the
UNT will be exactly the same. Sender generated, commencing at
000001 for the first message of an interchange.
M S009 MESSAGE IDENTIFIER M
Identification of the type, version etc. of the message being
interchanged.
M 0065 Message type identifier M an..6
Code identifying a type of message and assigned by its controlling
agency.
REMADV Remittance advice message
M 0052 Message type version number M an..3
Version number of a message type.
D Draft Directory
M 0054 Message type release number M an..3
Release number within the current message type version number
(0052).
96A Version 96A
M 0051 Controlling agency M an..2
Code identifying the agency controlling the specification, maintenance
and publication of the message type.
UN UN/ECE/TRADE/WP.4, United Nations Standard
Messages (UNSM)
Used 0057 Association assigned code C an..6
Code, assigned by the association responsible for the design and
maintenance of the message type concerned, which further identifies
the message.
EAN003 EAN Version Control Number
Based on EANCOM 1997 (UN/EDIFACT D.96A) 16
The Remittance Advice Message
Segment: BGM Beginning of Message
Position: 0020
Group:
Level: 0
Usage: Mandatory
Max Use: 1
Purpose: A segment for unique identification of the Remittance Advice Message, the
type of Remittance Advice and its function.
Comments:
Notes: Example:
This is an original remittance advice for payment number 02412955
BGM+481+002413955+9'
Data Element Summary
Data Component
Element Element Name Attributes
Used C002 DOCUMENT/MESSAGE NAME C
Identification of a type of document/message by code or name. Code
preferred.
Used 1001 Document/message name, coded C an..3
Document/message identifier expressed in code.
481 Remittance advice
Used 1004 DOCUMENT/MESSAGE NUMBER C an..35
Reference number assigned to the document/message by the issuer.
Remittance advice number is the Woolworths payment number.
Example: 02413955
Format: Alphanumeric
Minimum length: 1
Maximum length: 8
Used 1225 MESSAGE FUNCTION, CODED C an..3
Code indicating the function of the message.
9 Original
Based on EANCOM 1997 (UN/EDIFACT D.96A) 17
The Remittance Advice Message
Segment: DTM Date/Time/Period
Position: 0030
Group:
Level: 1
Usage: Mandatory
Max Use: 5
Purpose: A segment specifying relevant dates presenting at least the document
creation date, ie. remittance advice creation date. Another date may be
included in this document is the effective payment date.
Comments:
Notes: Example:
This remittance advice was created on 28th November 2001
DTM+137:20011128:102'
This payment will be effective on 1st December 2001
DTM+138:20011201:102'
Data Element Summary
Data Component
Element Element Name Attributes
M C507 DATE/TIME/PERIOD M
Date and/or time, or period relevant to the specified date/time/period
type.
M 2005 Date/time/period qualifier M an..3
Code giving specific meaning to a date, time or period.
137 Document/message date/time
138 Payment date
Used 2380 Date/time/period C an..35
The value of a date, a date and time, a time or of a period in a specified
representation.
Date value in CCYYMMDD format
Used 2379 Date/time/period format qualifier C an..3
Specification of the representation of a date, a date and time or of a
period.
102 CCYYMMDD
Based on EANCOM 1997 (UN/EDIFACT D.96A) 18
The Remittance Advice Message
Segment: RFF Reference
Position: 0040
Group:
Level: 1
Usage: Conditional (Optional)
Max Use: 5
Purpose: A segment for referencing documents which relate to the whole message.
Woolworths may communicate references related to payments to the vendor's
financial institution including: EFT direct credit, Cheque and Payment
Number.
Comments:
Notes: Example:
The EFT payment with reference 00123001 (vendor number) and 002413955
(payment number) found on the bank statement.
RFF+AIK:0012300102413955'
In this example, the remittance is for cheque number 00234124.
RFF+CK:00234124'
The remittance is related to payment number 02413955
RFF+PQ:02413955'
Data Element Summary
Data Component
Element Element Name Attributes
M C506 REFERENCE M
Identification of a reference.
M 1153 Reference qualifier M an..3
Code giving specific meaning to a reference segment or a reference
number.
AIK Bank's individual transaction reference number
CK Cheque number
PQ Payment reference
Used 1154 Reference number C an..35
Identification number the nature and function of which can be qualified
by an entry in data element 1153 Reference qualifier.
Format: Alphanumeric
Minimum length: 1
Maximum length: 25
Based on EANCOM 1997 (UN/EDIFACT D.96A) 19
The Remittance Advice Message
Segment: FII Financial Institution Information
Position: 0050
Group:
Level: 0
Usage: Conditional (Optional)
Max Use: 1
Purpose: The FII segment is a conditional segment used only for EFT direct credit.
Comments:
Notes: Example:
The funds will be credited to account 56756704 for BSB 006123.
FII+RB+56756704+006123'
Data Element Summary
Data Component
Element Element Name Attributes
M 3035 PARTY QUALIFIER M an..3
Code giving specific meaning to a party.
RB Receiving financial institution
Used C078 ACCOUNT IDENTIFICATION C
Identification of an account holder by account number and/or account
holder name in one or two lines. Number preferred.
Used 3194 Account holder number C an..35
Account number of the holder of the account.
Vendor's account number for direct credit transactions. Eg. 56756704
Format: Alphanumeric
Minimum length: 6
Maximum length: 18
Used C088 INSTITUTION IDENTIFICATION C
Identification of a financial institution by code branch number, or name
and name of place. Code or branch number preferred.
Used 3433 Institution name identification (BSB) C an..11
Code identifying an institution.
Vendor's Bank, State and Branch number. Eg. 006123
Format: Alphanumeric
Minimum length: 6
Maximum length: 15
Based on EANCOM 1997 (UN/EDIFACT D.96A) 20
The Remittance Advice Message
Segment: PAI Payment Instructions
Position: 0060
Group:
Level: 0
Usage: Conditional (Optional)
Max Use: 1
Purpose: A segment specifying the conditions, guarantee, method and channel of
payment for the Remittance Advice.
Comments:
Notes: Example:
Payment is made by cheque.
PAI+20'
Payment is made via direct credit to vendor's nominated account.
PAI+42'
Data Element Summary
Data Component
Element Element Name Attributes
M C534 PAYMENT INSTRUCTION DETAILS M
Indication of method of payment employed or to be employed.
Used 1131 Code list qualifier C an..3
Identification of a code list.
20 = Cheque
42 = Direct credit to bank account
Based on EANCOM 1997 (UN/EDIFACT D.96A) 21
The Remittance Advice Message
Group: NAD Segment Group 1: Name and Address
Position: 0080
Group:
Level: 1
Usage: Conditional (Optional)
Max Use: 99
Purpose: A group of segments identifying the parties involved in the transaction and,
optionally the contact points and numbers.
Segment Summary
Pos. Seg. Req. Max. Group:
No. ID Name Des. Use Repeat
M 0090 NAD Name and Address M 1
Based on EANCOM 1997 (UN/EDIFACT D.96A) 22
The Remittance Advice Message
Segment: NAD Name and Address
Position: 0090 (Trigger Segment)
Group: Segment Group 1 (Name and Address) Conditional (Optional)
Level: 1
Usage: Mandatory
Max Use: 1
Purpose: A segment to identify the vendor. This is the Woolworths remit-to vendor
number.
Comments:
Notes: Example:
The vendor number is 00123001.
NAD+SU+00123001::92'
Data Element Summary
Data Component
Element Element Name Attributes
M 3035 PARTY QUALIFIER M an..3
Code giving specific meaning to a party.
SU Supplier
Used C082 PARTY IDENTIFICATION DETAILS C
Identification of a transaction party by code.
M 3039 Party id. identification M an..35
Code identifying a party involved in a transaction.
Woolworths remit to vendor number.
Format: Alphanumeric
Minimum length: 1
Maximum length: 8
Used 3055 Code list responsible agency, coded C an..3
Code identifying the agency responsible for a code list.
92 Assigned by buyer or buyer's agent
Based on EANCOM 1997 (UN/EDIFACT D.96A) 23
The Remittance Advice Message
Group: DOC Segment Group 4: Document/Message Details
Position: 0160
Group:
Level: 1
Usage: Conditional (Optional)
Max Use: 9999
Purpose: A group of segments providing details of all documents, eg. invoices,
statements, dispatch advises, etc, to which the Remittance Advice refers. It
includes information on the monetary amounts for each document and on any
adjustments (with an indication of the reason for adjustments) and discounts.
For information purposes an indication of the tax element can be provided.
Segment Summary
Pos. Seg. Req. Max. Group:
No. ID Name Des. Use Repeat
M 0170 DOC Document/Message Details M 1
M 0180 MOA Monetary Amount M 5
Used 0190 DTM Date/Time/Period C 1
Used 0200 RFF Reference C 5
Based on EANCOM 1997 (UN/EDIFACT D.96A) 24
The Remittance Advice Message
Segment: DOC Document/Message Details
Position: 0170 (Trigger Segment)
Group: Segment Group 4 (Document/Message Details) Conditional (Optional)
Level: 1
Usage: Mandatory
Max Use: 1
Purpose: A segment for identifying the reference document against which payment is
being made. This is usually the vendor's invoice number.
Comments:
Notes: Example:
This remittance line refers to commercial invoice received with reference number
AG65423
DOC+380+AG65423'
Data Element Summary
Data Component
Element Element Name Attributes
M C002 DOCUMENT/MESSAGE NAME M
Identification of a type of document/message by code or name. Code
preferred.
Used 1001 Document/message name, coded C an..3
Document/message identifier expressed in code.
380 Commercial invoice
Used C503 DOCUMENT/MESSAGE DETAILS C
Identification of document/message by number, status, source and/or
language.
Used 1004 Document/message number C an..35
Reference number assigned to the document/message by the issuer.
Vendor reference document number, ie. Invoice number
Format: Alphanumeric
Minimum length: 1
Maximum length: 25
Based on EANCOM 1997 (UN/EDIFACT D.96A) 25
The Remittance Advice Message
Segment: MOA Monetary Amount
Position: 0180
Group: Segment Group 4 (Document/Message Details) Conditional (Optional)
Level: 2
Usage: Mandatory
Max Use: 5
Purpose: A segment giving the monetary amounts for the amount due and the amount
to be remitted. The monetary amount may be inclusive or exclusive of GST.
This segment may repeat to present all available amounts.
Comments:
Notes: Example:
The invoice amount inclusive of GST was $114, 567.23
MOA+77:114567.23'
The invoice amount exclusive of GST was $114,567.23
MOA+12:114567.23'
Data Element Summary
Data Component
Element Element Name Attributes
M C516 MONETARY AMOUNT M
Amount of goods or services stated as a monetary amount in a
specified currency.
M 5025 Monetary amount type qualifier M an..3
Indication of type of amount.
12 Amount remitted
77 Invoice amount
Used 5004 Monetary amount C n..18
Number of monetary units.
Net amounts inclusive and/or exclusive of GST
Format: Numeric real
Picture: ZZZZZZZZZ9.99
Based on EANCOM 1997 (UN/EDIFACT D.96A) 26
The Remittance Advice Message
Segment: DTM Date/Time/Period
Position: 0190
Group: Segment Group 4 (Document/Message Details) Conditional (Optional)
Level: 2
Usage: Conditional (Optional)
Max Use: 1
Purpose: A segment to specify the date of the referenced document.
Comments:
Notes: Example:
The invoice date was 27th September 2001.
DTM+137:20010927'
Data Element Summary
Data Component
Element Element Name Attributes
M C507 DATE/TIME/PERIOD M
Date and/or time, or period relevant to the specified date/time/period
type.
M 2005 Date/time/period qualifier M an..3
Code giving specific meaning to a date, time or period.
137 Document/message date/time
Used 2380 Date/time/period C an..35
The value of a date, a date and time, a time or of a period in a specified
representation.
Date value in CCYYMMDD format. Eg. 20010927
Used 2379 Date/time/period format qualifier C an..3
Specification of the representation of a date, a date and time or of a
period.
Date value must be presented in CCYYMMDD format.
102 CCYYMMDD
Based on EANCOM 1997 (UN/EDIFACT D.96A) 27
The Remittance Advice Message
Segment: RFF Reference
Position: 0200
Group: Segment Group 4 (Document/Message Details) Conditional (Optional)
Level: 2
Usage: Conditional (Optional)
Max Use: 5
Purpose: A segment for the inclusion of any additional references related to the
reference document such as a document number, batch number or an
account payable code.
Comments:
Notes: Example:
The remittance advice was initiated by Woolworths' NSW accounts office.
RFF+AV:C'
Data Element Summary
Data Component
Element Element Name Attributes
M C506 REFERENCE M
Identification of a reference.
M 1153 Reference qualifier M an..3
Code giving specific meaning to a reference segment or a reference
number.
Refer to table below for all valid codes used when DE 1153 = AV
ACT Unique claims reference number of the sender
AV Account payable number
BT Batch number/lot number
DM Document number
PQ Payment reference
Used 1154 Reference number C an..35
Identification number the nature and function of which can be qualified
by an entry in data element 1153 Reference qualifier.
All reference numbers may be alpha, numeric or both. The code list
below is applicable only if DE 1153 = AV (Woolworths account payable
codes).
2 Queensland
3 Victoria
4 Western Australia & The Northern Territory
5 South Australia
7 Tasmania
C New South Wales
T National (YAC)
Based on EANCOM 1997 (UN/EDIFACT D.96A) 28
The Remittance Advice Message
Segment: UNS Section Control
Position: 0460
Group:
Level: 0
Usage: Mandatory
Max Use: 1
Purpose: A service segment placed at the start of the summary section to avoid
segment collision.
Comments:
Data Element Summary
Data Component
Element Element Name Attributes
M 0081 SECTION IDENTIFIER M a1
A character identifying the next section in a message.
S Detail/summary section separation
Based on EANCOM 1997 (UN/EDIFACT D.96A) 29
The Remittance Advice Message
Segment: MOA Monetary Amount
Position: 0470
Group:
Level: 1
Usage: Mandatory
Max Use: 5
Purpose: A segment giving the total amount of the payment to be made or other
amounts. It is taken as given, i.e. is not subject to re-calculation. It may be
used for check operations, such as message validation.
This segment may repeat to present all monetary amounts, where applicable,
including: payment discount, total reduction, nett amount inclusive and
exclusive of GST and GST adjustment amount.
Comments:
Notes: Example:
This remittance has a Terms 1 (settlement discount) amount of $850.00
MOA+109:850.00'
This remittance has a Terms 2 (authorised reductions) amount of $100.00
MOA+296:100.00'
This remittance has a total net value of $22,000.00 exclusive of GST
MOA+12:22000.00'
This remittance has a total net value of $23,650.00 inclusive of GST
MOA+77:23650.00'
This remittance has an adjustment amount of $23.00 related to GST application
to Terms values deducted.
MOA+165:23.00'
Data Element Summary
Data Component
Element Element Name Attributes
M C516 MONETARY AMOUNT M
Amount of goods or services stated as a monetary amount in a
specified currency.
M 5025 Monetary amount type qualifier M an..3
Indication of type of amount.
12 Amount remitted
77 Invoice amount
109 Payment discount amount
165 Adjustment amount
296 Total authorised deduction
Used 5004 Monetary amount C n..18
Number of monetary units.
Format: Numeric real
Picture: ZZZZZZZZZ9.99
Based on EANCOM 1997 (UN/EDIFACT D.96A) 30
The Remittance Advice Message
Segment: UNT Message Trailer
Position: 0480
Group:
Level: 0
Usage: Mandatory
Max Use: 1
Purpose: A service segment ending a message, giving the total number of segments in
the message and the control reference number of the message.
Comments:
Notes:
Example :
UNT+48+000001'
Data Element Summary
Data Component
Element Element Name Attributes
M 0074 NUMBER OF SEGMENTS IN A MESSAGE M n..6
Control count of number of segments in a message.
M 0062 MESSAGE REFERENCE NUMBER M an..14
Unique message reference assigned by the sender.
Based on EANCOM 1997 (UN/EDIFACT D.96A) 31
The Remittance Advice Message
Message Example
The following example contains sample data to illustrate the document structure and syntax to be
used for the implementation of this message only.
UNA:+.? '
UNB+UNOA:3+9300633025571:ZZ+9315613000004:ZZ+020215:1535+2471'
UNH+000001+REMADV:D:96A:UN:EAN003'
BGM+481+02413955+9'
DTM+137:20011227:102'
DTM+138:20011206:102'
RFF+CK:02413955'
RFF+PQ:02413955'
FII+RB+888555599+732229'
PAI+::42'
NAD+SU+02413955::92'
DOC+380+4862'
MOA+77:2439.72'
MOA+12:2439.72'
DTM+137:20011024:102'
RFF+AV:2'
RFF+DM:52655362'
RFF+BT:2410012920'
RFF+PQ:0'
DOC+380+4864'
MOA+77:5786.88'
MOA+12:5786.88'
DTM+137:20011024:102'
RFF+AV:2'
RFF+DM:52655361'
RFF+BT:2410012920'
RFF+PQ:0'
DOC+380+5399'
MOA+77:574.99'
MOA+12:522.72'
DTM+137:20011029:102'
RFF+AV:2'
RFF+DM:52742708'
RFF+BT:2910012920'
RFF+PQ:0'
DOC+380+5554'
MOA+77:1071.36'
MOA+12:1071.36'
DTM+137:20011029:102'
RFF+AV:2'
RFF+DM:52742707'
RFF+BT:2910012920'
RFF+PQ:0'
DOC+380+5594'
MOA+77:7319.16'
MOA+12:7319.16'
DTM+137:20011028:102'
RFF+AV:2'
RFF+DM:52713404'
RFF+BT:2810012920'
RFF+PQ:0'
DOC+380+5595'
MOA+77:6767.20'
MOA+12:6767.20'
Based on EANCOM 1997 (UN/EDIFACT D.96A) 32
The Remittance Advice Message
DTM+137:20011028:102'
RFF+AV:2'
RFF+DM:52713403'
RFF+BT:2810012920'
RFF+PQ:0'
UNS+S'
MOA+109:0.00'
MOA+296:-566386.81'
MOA+12:12386932.99'
MOA+77:12727239.67'
MOA+165:-10042.83'
UNT+64+000001'
UNZ+1+2471'
Based on EANCOM 1997 (UN/EDIFACT D.96A) 33