Skip to content
EDI REMADV — EDI TransactionPublished Nov 7, 2026

EDIFACT REMADV: Remittance Advice Guide

EDIFACT REMADV remittance advice explained: DOC, MOA 9 and 12, AJT deduction codes, two EANCOM examples, and how it maps to the X12 820 and TRADACOMS SRMHDR.

REMADV is the message that turns a lump sum on your bank statement into a list of settled invoices. Your customer's bank tells you that 3,539.40 GBP arrived. The REMADV tells you it paid three invoices, deducted 72.00 for a short delivery and took a 30.60 cash discount. Without it, your accounts team matches cash to invoices by hand and finds the short-pays weeks later.

This guide follows the GS1 EANCOM 2002 REMADV layout: directory D.01B, subset version EAN005. EANCOM 2002 is GS1's current edition and the one the other EDIFACT guides on this site use. Partners still on EANCOM 1997 send D.96A, and their UNH segment tells you which one you have.

What Is an EDIFACT REMADV?

REMADV (remittance advice) is the UN/EDIFACT message that gives "a detailed accounting relative to a payment, or other form of financial settlement, on a specified date", in GS1's words. It is a notice of payment to be made. It does not move money. The money moves through the bank, and the REMADV tells the payee what that money is for.

GS1's principles for the message are short and worth knowing before you map it:

  • One REMADV can cover many commercial documents: invoices, credit notes and debit notes.
  • It can quote a payment order, the instruction the payer sent its bank.
  • Every remitted amount, for the whole message, each document and each line, is in one payment currency.
  • Each REMADV relates to one settlement date.
  • Either party can initiate it, by agreement. In retail it is almost always the buyer.

Who sends it? The payer's accounts payable system, usually a retailer or wholesaler paying its suppliers.

Who receives it? The payee's accounts receivable or cash application team.

When? With each payment run, normally a few days before the money lands. The DTM+138 payment date tells you when to expect it.

Why does it matter? Every invoice the REMADV does not explain stays open on your ledger, and every deduction it does not explain becomes a dispute you cannot start.

For the full list of EDIFACT messages and their equivalents, see EDIFACT message types. For EDIFACT syntax and envelopes, start with EDIFACT explained.

Where REMADV Sits in the Order-to-Cash Flow

REMADV is the last message in the cycle. Everything before it decides how clean it will be.

StepMessageSent byX12TRADACOMS
1ORDERSBuyer850ORDHDR
2DESADVSupplier856DELHDR
3RECADVBuyer861DLCHDR
4INVOICSupplier810INVFIL
5REMADVPayer820SRMHDR

The links between steps are where deductions come from. A RECADV that books in fewer units than your DESADV said is the early warning; the REMADV deduction with AJT+4 (short delivery) is the bill for it. Reading the two side by side is usually enough to tell a genuine shortage from a receiving error.

Example 1: Three Invoices, a Short-Delivery Deduction and a Cash Discount

The fictional retailer Calder Row Markets (GLN 5412345000013) pays the fictional bakery Ashby Mill Bakery (GLN 5412345000020). The GLNs use GS1's documented example prefix 5412345 and carry valid check digits. The remittance is dated 6 November 2026 and the payment date is 10 November.

  • Invoice AMB-24101 for 1,248.00 is paid in full.
  • Invoice AMB-24117 for 864.00 is paid at 792.00: 72.00 is deducted for a short delivery.
  • Invoice AMB-24130 for 1,530.00 is paid at 1,499.40: a 2% cash discount of 30.60 is taken.
Live exampleEDIFACT REMADVEANCOM D.01B EAN005

Remittance for three invoices with a deduction and a discount

Invoice-level detail: MOA 9 amount due and MOA 12 remitted per DOC, AJT+4 short delivery and AJT+66 cash discount, summary MOA+12 total.

Structurally valid UN/EDIFACT
UN/EDIFACT · REMADV · D:01B:UN · EANCOM EAN005 · 34 segments · 1 message

REMADV · Remittance advice · ref 1

Document
481
Document number
CRM-RA-50077
Message function
Original
Currency
GBP
Document/message date/time
2026-11-06
Date (138)
2026-11-10
Document/message date/time
2026-10-02
Document/message date/time
2026-10-06
Document/message date/time
2026-10-09
Reference (AEK)
CRM-PAY-88120
Order number (buyer)
CRM-PO-71520
Order number (buyer)
CRM-PO-71544

Parties

RoleIdentifierName and address
Payer PR5412345000013GS1 (GLN)-
Payee PE5412345000020GS1 (GLN)-

Totals

Amount due/amount payable
1248.00 GBPMOA 9
Amount (12)
1248.00 GBPMOA 12
Amount due/amount payable
864.00 GBPMOA 9
Amount (12)
792.00 GBPMOA 12
Amount (165)
-72.00 GBPMOA 165
Amount due/amount payable
1530.00 GBPMOA 9
Amount (12)
1499.40 GBPMOA 12
Amount (165)
-30.60 GBPMOA 165
Amount (12)
3539.40 GBPMOA 12

Interchange (UNB)

Sender
5412345000013GS1 GLN
Recipient
5412345000020GS1 GLN
Prepared
2026-11-06 09:30
Control reference
CRM00418
Syntax
UNOC version 3
Messages
1
SegmentWhat it says
BGM+481+CRM-RA-50077+9'Document 481 (remittance advice), number CRM-RA-50077, function 9 (original)
DTM+138:20261110:102'The payment date: 10 November 2026
RFF+AEK:CRM-PAY-88120'The payment order this remittance relates to
FII+RB+40112233:ASHBY MILL BAKERY LTD'The account that receives the funds (RB, receiving financial institution). The account number is fictional
PAI+::42'Payment means 42: payment to bank account
NAD+PR / NAD+PEPayer and payee by GLN
CUX+2:GBP:11'The payment currency is sterling
DOC+380+AMB-24117'The second document is commercial invoice AMB-24117
MOA+9:864.00:GBP'Amount due on that invoice: 864.00
MOA+12:792.00'Amount remitted against it: 792.00
AJT+4' then MOA+165:-72.00'Adjustment reason 4 (short delivery), adjustment amount minus 72.00
AJT+66' then MOA+165:-30.60'Reason 66 (cash discount), minus 30.60
MOA+12:3539.40'Total remitted: 1,248.00 + 792.00 + 1,499.40
UNT+31+1'31 segments from UNH to UNT inclusive

Check the arithmetic the way your cash application system should: for each DOC, amount due plus adjustments equals amount remitted (864.00 minus 72.00 is 792.00), and the summary MOA+12 equals the sum of the document MOA+12 values.

Example 2: A Line-Level Deduction for Damaged Goods

A week later, Calder Row pays two more invoices. On invoice AMB-24152, line 3 (GTIN 5412345100256, worth 360.00) arrived partly damaged and the buyer deducts 120.00 against that line. REMADV can point at the exact invoice line with DLI, name the product with PIA, and attach the adjustment to the line rather than the whole invoice.

Live exampleEDIFACT REMADVEANCOM D.01B EAN005

REMADV with a line-level damaged-goods deduction

DLI points at invoice line 3, PIA gives its GTIN, and AJT+3 with MOA+5 records the deduction against that line.

Structurally valid UN/EDIFACT
UN/EDIFACT · REMADV · D:01B:UN · EANCOM EAN005 · 28 segments · 1 message

REMADV · Remittance advice · ref 1

Document
481
Document number
CRM-RA-50091
Message function
Original
Currency
GBP
Document/message date/time
2026-11-13
Date (138)
2026-11-17
Document/message date/time
2026-10-12
Document/message date/time
2026-10-14
Order number (buyer)
CRM-PO-71602

Parties

RoleIdentifierName and address
Payer PR5412345000013GS1 (GLN)-
Payee PE5412345000020GS1 (GLN)-

Totals

Amount due/amount payable
2160.00 GBPMOA 9
Amount (12)
2040.00 GBPMOA 12
Amount (38)
360.00 GBPMOA 38
Amount (5)
-120.00 GBPMOA 5
Amount due/amount payable
615.00 GBPMOA 9
Amount (12)
615.00 GBPMOA 12
Amount (12)
2655.00 GBPMOA 12

Interchange (UNB)

Sender
5412345000013GS1 GLN
Recipient
5412345000020GS1 GLN
Prepared
2026-11-13 10:15
Control reference
CRM00431
Syntax
UNOC version 3
Messages
1
SegmentWhat it says
DLI+1+3'Line 3 of the invoice, action 1 (included in the document)
MOA+38:360.00:GBP'Invoice item amount for that line
PIA+5+5412345100256:SRV'The product on the line, by GTIN
AJT+3'Adjustment reason 3: damaged goods
MOA+5:-120.00'Adjusted amount for the line. At line level, EANCOM allows only qualifier 5
MOA+12:2040.00' (under the DOC)The invoice is paid at 2,160.00 minus 120.00
MOA+12:2655.00'Total remitted: 2,040.00 + 615.00

GS1 also uses DLI action 2 (excluded from the document) for lines that were not paid at all, as in its own short-delivery example. Line-level detail is optional, and many payers send only document-level adjustments. If yours sends lines, map them: the GTIN in PIA is what lets you trace the deduction back to a DESADV line and a RECADV discrepancy.

REMADV Structure at a Glance

Status and repeats follow the EANCOM 2002 message structure chart. M is mandatory, C conditional.

SectionSegmentNameStatusRepeatsCarriesX12 820 equivalent
HeadingUNHMessage headerM1REMADV:D:01B:UN:EAN005ST
HeadingBGMBeginning of messageM1481, remittance number, functionBPR, TRN
HeadingDTMDate/time/periodM5137 message date, 138 payment dateBPR16, DTM
HeadingRFFReferenceC5AEK payment order, CT contractREF
HeadingFIIFinancial institution informationC5Paying or receiving accountBPR06 to BPR15
HeadingPAIPayment instructionsC1How payment is madeBPR04
SG1NADName and addressM in group99PR payer, PE payee, BY, SUN1 loop
SG3CTA, COMContactC5Accounts payable contactPER
SG4CUXCurrenciesM in group5Payment currency, exchange rateCUR
SG5DOCDocument/message detailsM in group999999380 invoice, 381 credit note, 383 debit noteRMR01, RMR02
SG5MOAMonetary amountM59 due, 12 remitted, 52 discountRMR04 to RMR06
SG5DTM, RFFDocument date, referencesC5Invoice date, ON order numberDTM, REF
SG7AJTAdjustment detailsM in group100Reason codeADX02
SG7MOAAdjustment amountC15, 165ADX01
SG10DLIDocument line identificationM in group9999Line number on the invoiceIT1 inside the RMR loop
SG10PIAAdditional product idC5GTIN of the lineIT1 product IDs
SG12AJT, MOALine adjustmentC10Reason and MOA+5ADX
SummaryUNSSection controlM1UNS+S
SummaryMOAMonetary amountM9912 total remittedBPR02
SummaryUNTMessage trailerM1Segment count, referenceSE

The X12 column maps by purpose. The EDI 820 guide covers the X12 side in detail; payers differ in which line-level segments they send.

Key Segments Explained

BGM: Beginning of Message

BGM+481+CRM-RA-50077+9'
ElementNameExampleWhat it means
C002 / 1001Document name code481Remittance advice. The only code EANCOM allows here
C106 / 1004Document identifierCRM-RA-50077The payer's remittance advice number
1225Message function code99 original, 5 replace, 31 copy

Function 5 replaces an earlier REMADV sent in error, which GS1 says should be identified in the RFF group. Treat a replacement as an update to the original remittance, not as a second payment.

DTM: Payment and Document Dates

DTM+137:20261106:102'
DTM+138:20261110:102'
QualifierLevelMeaning
137HeadingMessage date
138HeadingPayment date
203HeadingExecution date requested: the date the payer asked its bank to make the payment
137Under DOCDate of the referenced invoice or credit note
140 / 265Under DOCPayment due date / due date

FII and PAI: Bank Account and Payment Means

FII+RB+40112233:ASHBY MILL BAKERY LTD'
PAI+::42'
Segment / elementExampleWhat it means
FII 3035RBRB receiving financial institution (the payee's bank), PB paying financial institution
FII C07840112233:ASHBY MILL BAKERY LTDAccount number and account holder name
FII C088(not sent)Optional bank identification, for example a code from list 25 under agency 5 (ISO)
PAI 446142Payment means: 42 payment to bank account, 56 bankgiro

Check the account in FII against the one you expect to be paid into. A REMADV naming an account you do not recognise is worth a phone call before anyone updates bank details.

DOC and MOA: Each Document Being Settled

DOC+380+AMB-24117'
MOA+9:864.00:GBP'
MOA+12:792.00'
ElementExampleWhat it means
DOC 1001380380 commercial invoice, 381 credit note, 383 debit note, 82 metered services invoice, 83 and 84 credit and debit notes for financial adjustments
DOC 1004AMB-24117Your document number, exactly as it appeared in your INVOIC
MOA 50259Amount due/amount payable: what the document was for
MOA 502512Amount remitted against this document
MOA 6345GBPCurrency. GS1 says it is not used with 12, which is always in the payment currency, and is required with the other qualifiers

GS1 makes the amount due and the amount remitted mandatory for every DOC. Other qualifiers allowed at this level include 39 (invoice total amount), 52 (discount amount) and 124 (tax amount). If a payment has no previous document behind it, GS1 says to leave the document code empty, put a dummy name in the document name element and a reference in the identifier.

AJT and MOA: Why the Amount Changed

AJT+4'
MOA+165:-72.00'
CodeMeaning
1Agreed settlement
3Damaged goods
4Short delivery
5Price query
9Invoice error
40Deducted freight costs
66Cash discount
74 / 75 / 77 / 79Quantity, promotion, pricing and sundry discount
90Treasury management service charge
ZZZMutually defined

These are the codes EANCOM 2002 lists for AJT (UN/EDIFACT code list 4465). GS1 lets its member organisations add national codes for tax practices, and partner guides often narrow the list, so load the codes your payer actually uses.

The adjustment amount follows in MOA. At document level EANCOM allows 5 (adjusted amount) and 165 (adjustment amount) among others; at line level only 5. Two GS1 rules matter here:

  • The adjustment is for information. GS1 says it "will not necessarily equal the difference between the amount due and the amount remitted". Reconcile on MOA+9 and MOA+12, and use the AJT group to explain the difference.
  • Signs need agreeing. GS1 says a negative adjustment must carry an explicit minus sign, yet its own worked example sends a short-delivery deduction as a positive MOA+5. The examples on this page show deductions as negatives. Ask each payer which convention it uses.

AJT can be followed by RFF (for example ON, the order number), FTX and QTY, which help you find the order, delivery and line behind a deduction.

UNS and the Summary MOA

UNS+S'
MOA+12:3539.40'

UNS+S separates detail from summary, and the summary MOA+12 is the total being remitted. It should match the amount that arrives in your bank account. If it does not, the difference is a bank charge, a currency conversion or a second remittance, and the REMADV alone will not tell you which.

REMADV vs the X12 820 and TRADACOMS SRMHDR

DataEDIFACT REMADVX12 820
MessageUNH REMADVST*820
Payment totalSummary MOA+12BPR02
Payment dateDTM+138BPR16
Payment means and bankPAI, FIIBPR04 to BPR15
Trace or referenceBGM number, RFF+AEKTRN02
Payer and payeeNAD+PR / NAD+PE with GLNsN1*PR / N1*PE
Each documentDOC with code 380, 381, 383RMR01 qualifier, RMR02 number
Amount due / paidMOA+9 / MOA+12RMR05 / RMR04
DiscountMOA+52, or AJT+66 with MOARMR06
DeductionAJT reason + MOA amountADX02 reason + ADX01 amount
Line detailDLI, PIAIT1 inside the RMR loop, where used

Three differences matter when you map between them:

  • The payment itself. An 820 often travels with, or inside, the payment: BPR carries routing and account numbers and can sit inside an ACH CTX addenda. REMADV is a separate message; the money goes through the bank on its own, so the REMADV references it rather than carrying it.
  • Currency. REMADV states one payment currency in CUX and can carry the invoice currency and an exchange rate per document. Most 820s in US trade never need this.
  • Codes. 820 deduction reasons in ADX02 come from the X12 adjustment reason list. REMADV uses UN/EDIFACT code list 4465 in AJT. The two lists are separate, so map reason codes through a table, never by number.

In TRADACOMS, the remittance file is SRMHDR (statement or remittance), with SRMINF detail messages and an SRMTLR trailer. Its field layout is its own, so a TRADACOMS remittance converts to REMADV by remap, not rename. The payment order file PAYHDR is a different thing: an instruction from the customer to its bank, closer to EDIFACT PAYMUL. The TRADACOMS file types guide lists both.

Common REMADV Errors and Fixes

ProblemWhat you seeFix
Invoice number does not matchDOC quotes a number your ledger does not holdCheck your INVOIC BGM number. Leading zeros and prefixes are the usual cause
Reconciling on the adjustmentAdjustments do not add up to the shortfallReconcile on MOA+9 and MOA+12. GS1 says adjustments are informative
Sign convention assumedDeductions applied as extra paymentsAgree with each payer whether deductions are negative
Summary total differs from the depositBank amount and MOA+12 disagreeLook for bank charges, conversion, or a split payment across two REMADVs
Line-level detail ignoredDeduction cannot be traced to a deliveryMap DLI and PIA, then match the GTIN to your DESADV and RECADV
Replacement processed as newThe same payment applied twiceBGM function 5 replaces an earlier REMADV; update it
Unknown AJT codeDeduction lands in a suspense accountLoad the payer's code list and route each code to the right team
Wrong UNT countTranslator rejects the messageCount every segment from UNH to UNT inclusive

REMADV Implementation Checklist

  1. Get the payer's REMADV guide and confirm the directory (D.01B or D.96A) and the EANCOM version in UNH.
  2. Confirm which MOA qualifiers it sends at document level, and whether it sends line detail.
  3. Get its full list of AJT reason codes and decide what each one does in your ledger.
  4. Agree the sign convention for adjustments and credit notes.
  5. Store the REMADV number, RFF+AEK and payment date so you can match the bank deposit.
  6. Test with a full payment, a deduction and a credit note before go-live.
  7. Check every test file's envelope, UNT count and GLNs in the EDIFACT inspector, and the payment detail in the remittance reader.

Where OrderSync Fits

OrderSync works at the start of the cycle that REMADV closes. It reads inbound orders in any format, including EDIFACT ORDERS, X12 850s, PDFs, emails and spreadsheets, matches customers, items and units to your catalogue, and sends clean order data to your ERP. Orders that are right at intake produce fewer short-delivery and pricing deductions at the end.

For the remittance itself, use the free tools: the EDIFACT inspector for structure and counts, the remittance reader to list payments and deductions from a REMADV or an 820, and the EDI inspector for any X12 file. If you want to see how order intake would work with your customers, book a 15-minute walkthrough.

Frequently Asked Questions

What is a REMADV in EDI?

REMADV is the UN/EDIFACT remittance advice message. A payer, usually a retailer or wholesaler, sends it to a supplier to explain a payment: which invoices, credit notes and debit notes it settles, the amount paid against each, and the reason for any deduction or discount.

What is the X12 equivalent of REMADV?

The X12 820 Payment Order/Remittance Advice. The 820 can also carry the payment instruction to the bank, while REMADV only explains the payment. In TRADACOMS the remittance file is SRMHDR.

What do MOA 9 and MOA 12 mean in a REMADV?

Under each DOC segment, MOA qualifier 9 is the amount due or payable on that document and qualifier 12 is the amount remitted against it. The summary MOA+12 after UNS is the total payment.

What does AJT+4 mean?

AJT is the adjustment segment and code 4 is short delivery, from UN/EDIFACT code list 4465. Other common codes are 3 damaged goods, 5 price query, 9 invoice error and 66 cash discount. The partner's guide lists which ones it sends.

Can one REMADV cover payments in two currencies?

No. GS1 says every remitted amount in a REMADV is in one payment currency, and each REMADV relates to one settlement date. A document invoiced in another currency can carry its own exchange rate in a CUX segment.

Does a REMADV mean the money has arrived?

No. GS1 describes it as a notice of payment to be made. The DTM+138 payment date says when the payer expects to pay. Match the summary MOA+12 to the actual bank credit before closing the invoices.

Is REMADV the same as PAYMUL?

No. PAYMUL is a multiple payment order the buyer sends to its bank to make the payments. REMADV goes to the supplier to say what the payment covers. The REMADV can reference the payment order in RFF+AEK.

Related guides

Sources

Paste any REMADV into the free EDIFACT inspector to check its structure, or into the remittance reader to see each payment and deduction laid out.

James Darby
Last updated: 11/7/2026

Related Resources