D97B
Message D97B/REMADV
Remittance advice message
The Remittance Advice is a communication between trading partners, e.g. seller, buyer, financial institutions, 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.
Message description
UNH
M(1) : Message headerA service segment starting and uniquely identifying a message. The message type code for the Remittance advice message is REMADV. Note: Remittance advice messages conforming to this document must contain the following data in segment UNH, composite S009: Data element 0065 REMADV 0052 D 0054 97B 0051 UN
BGM
M(1) : Beginning of messageA segment for unique identification of the Remittance Advice Message, the type of Remittance Advice and its function.
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.
FII
C(5) : Financial institution informationA segment identifying the financial institution (e.g. bank) and account number and, where relevant, the currency of the account, for each party involved in the transaction. The Payor may indicate the previously agreed choice of financial institution for payment.
PAI
C(1) : Payment instructionsA segment specifying the conditions, guarantee, method and channel of payment for the Remittance Advice.
FTX
C(5) : Free textA 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.
GIS
C(5) : General indicatorA segment identifying various indicators required by a processing system.
SG1 C(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. It is recommended that where possible only the coded form of the party ID should be specified e.g. the Buyer and Seller are known to each other, thus only the coded ID is required.
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 communication channel and number for the specified contact.
SG3 C(5) : CUX-DTM
A group of segments specifying the currencies and related dates/periods valid for the whole Remittance Advice. Currency data may be omitted in national applications but will be required for international transactions.
CUX
M(1) : CurrenciesA segment identifying the currencies required in the Remittance Advice. A rate of exchange may be given to convert a reference currency into a target currency.
DTM
C(1) : Date/time/periodA segment specifying the date/time/period related to the rate of exchange.
SG4 C(999999) : DOC-MOA-DTM-RFF-NAD-SG5-SG6-SG7-SG8
A group of segments providing details of all documents, e.g. invoices, statements, despatch 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.
DOC
M(1) : Document/message detailsA segment for identifying the reference document against which payment is being made.
MOA
M(5) : Monetary amountA segment giving the monetary amounts for the amount due and the amount to be remitted.
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.
NAD
C(2) : Name and addressA segment to identify a party name and address, either by coded identification or in a clear form, e.g; original seller or issuer of the document.
SG5 C(5) : CUX-DTM
A group of segments specifying the currencies and the related dates/periods valid of the referenced document where different to the remittance currency.
CUX
M(1) : CurrenciesA segment identifying the currency and associated exchange rate of the referenced document where different to the remittance currency.
DTM
C(1) : Date/time/periodA segment specifying the date/time/period related to the rate of exchange.
SG6 C(100) : AJT-MOA-RFF-FTX
A group of segments to indicate adjustment amounts and their referenced documents.
AJT
M(1) : Adjustment detailsA segment indicating any adjustments to the amounts originally specified in the referenced document, and to which items such adjustments apply, with the associated reason for adjustment.
MOA
C(1) : Monetary amountA segment giving the monetary amounts of the adjustments of each reference document (e.g. original amount, discount amount, etc). The currency data elements should not be used.
RFF
C(1) : ReferenceA segment for the inclusion of any additional references related to the reference document.
FTX
C(5) : Free textA segment giving information in clear text when it is necessary.
SG7 C(5) : INP-FTX
SG8 C(9999) : DLI-MOA-PIA-DTM-SG9-SG10
A group of segments which may be used when required to provide details of individual line items in the reference document.
DLI
M(1) : Document line identificationA segment identifying a specific line item within the referenced document.
MOA
C(5) : Monetary amountA segment giving the monetary amounts for the amount due and the amount to be remitted.
PIA
C(5) : Additional product idA segment specifying item identification codes where required.
DTM
C(5) : Date/time/periodA segment specifying the date/time/period related to the line item, e.g. date of receiving of the goods, delivery date.
SG9 C(5) : CUX-DTM
A group of segments identifying the currency and the related dates/periods of the line item where different to the remittance and document currency.
CUX
M(1) : CurrenciesA segment identifying the currency and associated exchange rate of the line item, where different to the remittance and document currency.
DTM
C(1) : Date/time/periodA segment specifying the date/time/period related to the rate of exchange.
SG10 C(10) : AJT-MOA-RFF-FTX
A group of segments to indicate adjustment amounts and their referenced documents for this line item.
AJT
M(1) : Adjustment detailsA segment indicating any adjustments to the amounts originally specified for this line item and the reason for the adjustments.
MOA
C(1) : Monetary amountA segment giving the monetary amounts of the adjustment for this line item.
RFF
C(1) : ReferenceA segment for the inclusion of any additional references related to the reference document.
FTX
C(5) : Free textA segment giving a complement of information to adjustment reasons for cases that cannot be given (completely) in coded values.
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 giving the total amount of the payment to be made or other amounts. It is taken as given, i.e. is not subject to recalculation. It may be used for check operations, such as message validation.
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 FII, Financial institution information C 5 PAI, Payment instructions C 1 FTX, Free text C 5 GIS, General indicator C 5 --- Segment Group 1 ------------------------- C 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 ------------------------- C 5 -------+ CUX, Currencies M 1 | DTM, Date/time/period C 1 | ---- -----------------------------------------------------------+ --- Segment Group 4 ------------------------- C 999999 -------+ DOC, Document/message details M 1 | MOA, Monetary amount M 5 | DTM, Date/time/period C 5 | RFF, Reference C 5 | NAD, Name and address C 2 | | --- Segment Group 5 ------------------------- C 5 ------+| CUX, Currencies M 1 || DTM, Date/time/period C 1 || ---- ----------------------------------------------------------+| | --- Segment Group 6 ------------------------- C 100 ------+| AJT, Adjustment details M 1 || MOA, Monetary amount C 1 || RFF, Reference C 1 || FTX, Free text C 5 || ---- ----------------------------------------------------------+| | --- Segment Group 7 ------------------------- C 5 ------+| INP, Parties and instruction M 1 || FTX, Free text C 5 || ---- ----------------------------------------------------------+| | --- Segment Group 8 ------------------------- C 9999 ------+| DLI, Document line identification M 1 || MOA, Monetary amount C 5 || PIA, Additional product id C 5 || DTM, Date/time/period C 5 || || --- Segment Group 9 ------------------------- C 5 -----+|| CUX, Currencies M 1 ||| DTM, Date/time/period C 1 ||| ---- ---------------------------------------------------------+|| || --- Segment Group 10 ------------------------ C 10 -----+|| AJT, Adjustment details M 1 ||| MOA, Monetary amount C 1 ||| RFF, Reference C 1 ||| FTX, Free text C 5 ||| ---- ---------------------------------------------------------+++ UNS, Section control M 1 MOA, Monetary amount M 9 UNT, Message trailer M 1