The PRI segment carries the unit price for a line item. The qualifier identifies the price type: AAA=net price (after discounts), AAB=gross price (before discounts), AAE=net price per price unit, 1E=list price, AAG=inclusive price. The price is always per unit unless a price basis quantity is specified.
PRIHover any part of the segment to see what it is. Open What your system receives to see the JSON or XML CleanEDI delivers.
PRI+AAA:8.45'Net price: 8.45.
| 1.1 | Price: Qualifier | AAANet price |
| 1.2 | Price: Value | 8.45 |
{
"unitPrice": "8.45"
}Example shape. In production the field names and structure follow your own API contract.
Elements are separated by + and their parts by :. Positions match the explainer, so 2.3 is the third part of the second element.
| Position | Element | Parts |
|---|---|---|
| 1 | Price | 1.1 Qualifier, 1.2 Value, 1.3 Price type, 1.4 Price type qualifier, 1.5 Per quantity, 1.6 Unit |
| Code | Meaning |
|---|---|
AAA | Net price |
AAB | Gross price |
INF | Price for information |
| Code | Meaning |
|---|---|
PCE | pieces |
EA | each |
KGM | kg |
GRM | g |
LTR | litres |
MTR | metres |
CT | cartons |
CS | cases |
PK | packs |
NAR | articles |
C62 | units |
Common EANCOM and UN/EDIFACT values. Your trading partner's implementation guide is the final word on which codes they send.
Have a real message with PRI in it? The explainer breaks down every segment and runs in your browser.
Explain my message