DevToolCase
Sign in Sign in

EDIFACT RECADV: the receiving advice message

The EDIFACT RECADV receiving advice: how a buyer reports the goods received and the differences, its segments, codes and an annotated D96A example.

Where RECADV fits in the exchanges

What is the RECADV message for?

RECADV, the receiving advice, is sent by the buyer once the goods are received: what arrived, in which quantity, and the differences with the despatch advice (DESADV): missing, extra or damaged goods.

The supplier compares it with what it shipped, and many retailers only pay the received quantities: the invoice (INVOIC) is checked against the RECADV. In D.96A, the lines sit inside a packing sequence group (CPS), even when the receipt is reported without packing levels.

Sender: Buyer. Recipient: Supplier.

Structure of the RECADV message

Its main segments, in the order of the D.96A directory. M means mandatory and C conditional, followed by the maximum number of repetitions; for the first segment of a segment group (SG), they apply to the whole group. Rarely used segments are left out.

SegmentGroupStatusWhat it carries
UNH Message header—M 1Message header: the message reference and its type, RECADV:D:96A:UN.
BGM Beginning of message—M 1Document type (632 goods receipt) and receiving advice number.
DTM Date/time/period—M 10Document date, date the goods were received.
RFF ReferenceSG1C 10References: despatch advice, order.
NAD Name and addressSG4M 10Parties: buyer, supplier, place of receipt.
CPS Consignment packing sequenceSG16C 9999Packing level the lines belong to.
PAC PackageSG16 › SG17C 9999Packages received.
LIN Line itemSG16 › SG22C 9999Item received: line number and GTIN.
PIA Additional product idSG16 › SG22C 10Other item numbers.
QTY QuantitySG16 › SG22C 10Quantities received, accepted.
QVR Quantity variancesSG16 › SG22C 10Difference with the quantity despatched, and its reason.
DTM Date/time/periodSG16 › SG22C 5Dates of the line.
CNT Control total—C 1Control total, such as the number of lines.
UNT Message trailer—M 1Message trailer: number of segments and message reference.

Codes worth knowing

SegmentData elementCodeMeaning
BGM1001632Goods receipt
DTM200550Goods receipt date
RFF1153AAKDespatch advice number
RFF1153ONOrder number (purchase)
QTY606348Received quantity
QTY6063194Received and accepted
QVR4221AFGoods delivered damaged
QVR4221ACOver-shipped: more than announced
QVR4221BPPartial shipment, back order to follow

Example of RECADV message

UNA:+.? '
UNB+UNOC:3+5412345000013:14+8712345000011:14+261127:1600+REC0001'
UNH+1+RECADV:D:96A:UN'
BGM+632+REC9012+9'
DTM+137:20261127:102'
DTM+50:20261127:102'
RFF+AAK:DES5678'
RFF+ON:PO12345'
NAD+BY+5412345000013::9'
NAD+SU+8712345000011::9'
NAD+DP+5412345000020::9'
CPS+1'
LIN+1++8712345100018:EN'
QTY+48:48'
LIN+2++8712345100025:EN'
QTY+48:8'
QVR+-2:12+AF'
CNT+2:2'
UNT+17+1'
UNZ+1+REC0001'
Convert it to JSON

The example, segment by segment

SegmentMeaning
BGM+632+REC9012+9Receiving advice REC9012 (632, goods receipt), original.
DTM+50:20261127:102Goods received on 27 November 2026.
RFF+AAK:DES5678The despatch advice this receipt answers.
QTY+48:48Line 1: the 48 units announced were received.
QTY+48:8Line 2: only 8 units received…
QVR+-2:12+AF…that is 2 fewer than the despatch quantity (qualifier 12), because of goods delivered damaged (AF).
UNT+17+1End of the message: the number of segments from UNH to UNT included, then the reference given in UNH.

Related messages

In the ANSI X12 standard, used mostly in North America, the equivalent of RECADV is the 861 transaction set (Receiving Advice/Acceptance Certificate), which you can read with the X12 viewer.

Add this browser’s favorites to your account?

This browser has 0 favorites that your account does not have:

Either way, this browser keeps its favorites: you find them again after signing out.