Frames | No Frames

Return to Stylus Studio EDIFACT home page.
Return to Stylus Studio EDIFACT D04A Messages page.
UN/EDIFACT
UNITED NATIONS STANDARD MESSAGE (UNSM)

Pricing history message

Version:D
Release:04A
Contr. Agency:UN
Revision:3
Date:2004-05-18
SOURCE:TBG1 Supply Chain

CONTENTS
Pricing history message
  1. INTRODUCTION
  2. SCOPE
    1. Functional definition
    2. Field of application
    3. Principles
  3. REFERENCES
  4. TERMS AND DEFINITIONS
    1. Standard terms and definitions
  5. MESSAGE DEFINITION
    1. Segment clarification
      1. Header section
      2. Detail section
    2. Segment index (alphabetical sequence by tag)
    3. Message structure
      1. Segment table

For general information on UN standard message types see UN Trade Data Interchange Directory, UNTDID, Part 4, Section 2.3, UN/ECE UNSM General Introduction


This message also occurs in the following versions of this standard:
D97B, D98A, D98B, D99A, D99B, D00A, D00B, D01A, D01B, D01C, D02A, D02B, D03A, D03B, D04A, D04B

0. INTRODUCTION

This specification provides the definition of the Pricing history message (PRIHIS) to be used in Electronic Data Interchange (EDI) between trading partners involved in administration, commerce and transport.


1. SCOPE


1.1. Functional definition

A message furnishing the Pricing History and related information of goods previously ordered under conditions agreed to between a seller and a buyer.


1.2. Field of application

The Pricing history message may be used for both national and international applications. It is based on universal practice related to administration, commerce and transport, and is not dependent on the type of business or industry.


1.3. Principles

Pricing history and related information may be furnished for one or more goods items.

Typically, the detailed pricing history of an item will contain the item description, the quantity ordered, unit price paid, and related information.

Any individual set of pricing history data may contain more or less data depending on the nature of the historical file, nature of the previous purchases if any, and the needs of the party to whom the data will be transmitted.


2. REFERENCES

See UNTDID, Part 4, Chapter 2.3 UN/ECE UNSM - General Introduction, Section 1.


3. TERMS AND DEFINITIONS


3.1. Standard terms and definitions

See UNTDID, Part 4, Chapter 2.3 UN/ECE UNSM - General Introduction, Section 2.


4. MESSAGE DEFINITION


4.1. Segment clarification

This section should be read in conjunction with the segment table which indicates mandatory, conditional and repeating requirements.


4.1.1. Header section

Information to be provided in the Header section:

0010 UNH, Message header

A service segment starting and uniquely identifying a message. The message type code for the Pricing history message is PRIHIS.

Note: Pricing history messages conforming to this document must contain the following data in segment UNH, composite S009:

Data element0065PRIHIS
0052D
005404A
0051UN

0020 BGM, Beginning of message

A segment by which the sender must uniquely identify the Pricing History by means of its name and number, and when necessary, its function.

0030 DTM, Date/time/period

A segment specifying a date and/or time associated with the message.

0040 RFF, Reference

A segment that identifies references that apply to the whole message.

0050 CUX, Currencies

A segment to specify currencies and relevant details for the rate of exchange.

0060 Segment Group 1: NAD-LOC-SG2-SG3

A group of segments identifying the parties with associated information.

0070 NAD, Name and address

A segment identifying names and addresses of the parties, in coded or clear form, and their functions relative to the Pricing History. Identification of the requesting and responding parties is mandatory for the pricing history message. It is recommended that where possible, only the coded form of the party identification should be specified, e.g., when the requesting party and the responding party are known to each other, only the coded identification is required.

0080 LOC, Place/location identification

A segment identifying locations relevant to the parties.

0090 Segment Group 2: RFF-DTM

A group of segments for giving references and where necessary, their dates.

0100 RFF, Reference

A segment identifying the reference to a previous request for Pricing History information by its unique identification number.

0110 DTM, Date/time/period

A segment specifying the date or date and time of the request for information.

0120 Segment Group 3: CTA-COM

A group of segments giving contact details of the specific person or department within the party identified in the NAD segment.

0130 CTA, Contact information

A segment to identify a person or department, and their function, to whom communications should be directed.

0140 COM, Communication contact

A segment to identify a communications type and number for the contact specified in the CTA segment.


4.1.2. Detail section

Information to be provided in the Detail section:

0150 Segment group 4: LIN-PIA-RFF-IMD-MEA-PCD-ALI-GIR-SG5 A group of segments providing details of the individual items for which Pricing History information was requested. This segment group can be repeated to give details of additional items ordered.

0160 LIN, Line item

A segment identifying the line item by the line number and additionally, identifying the product. Other product identification numbers, e.g., substitute stock number, can be specified within the following PIA segment.

0170 PIA, Additional product id

A segment providing additional identification to the product specified in the LIN segment, e.g., any substitute product identification.

0180 RFF, Reference

A segment identifying the reference to a previous purchase to the product or service specified in the LIN segment.

0190 IMD, Item description

A segment for describing the product or service specified in the LIN segment as well as product characteristics. This segment should be used for products or services that cannot be fully identified by a product code or article number.

0200 MEA, Measurements

A segment enabling the physical measurements of the item specified in the LIN segment to be specified where this is required for full identification of the item. Any measurements must refer to the item in its unpacked form, e.g., thickness of plastic film, length, weight, etc.

0210 PCD, Percentage details

A segment specifying the strength or yield of an item as a percentage, e.g., 80% to indicate the strength of an acid.

0220 ALI, Additional information

A segment indicating that the item is subject to special conditions owing to origin, customs preference, embargo regulations or commercial factors.

0230 GIR, Related identification numbers

A segment providing sets of related identification numbers for the item specified in the LIN segment.

0240 Segment Group 5: NAD-LOC-STS-PIA-SG6-SG7

A group of segments providing the party and related details of an item previously ordered. This segment group can be repeated to give details of additional orders for the same item.

0250 NAD, Name and address

A segment identifying names and addresses of the parties, in coded or clear form, and their functions relative to the pricing history.

0260 LOC, Place/location identification

A segment identifying locations relevant to the party.

0270 STS, Status

A segment specifying the status of the party.

0280 PIA, Additional product id

A segment providing additional identification to the product specified in the LIN segment, relevant to the party cited in the NAD segment, e.g., a selling party's unique product identification.

0290 Segment Group 6: CTA-COM

A group of segments giving contact details of the specific person or department within the party identified in the NAD segment.

0300 CTA, Contact information

A segment to identify a person or department, and their function, to whom communications related to a contract or order should be directed.

0310 COM, Communication contact

A segment to identify a communications type and number for the contact specified in the CTA segment.

0320 Segment Group 7: RFF-DTM-AGR-SG8

A group of segments giving details of a specific order for the product identified in the LIN segment.

0330 RFF, Reference

A segment identifying contract or order on which the cited goods or services were ordered.

0340 DTM, Date/time/period

A segment specifying the date or date and time of the contract or order.

0350 AGR, Agreement identification

A segment to specify coded details of the contract or order on which the cited goods or services were ordered.

0360 Segment Group 8: QTY-DTM-TAX-FTX-SG9-SG10-SG11-SG17

A group of segments giving details of specific previous orders for the item specified in the LIN segment.

0370 QTY, Quantity

A segment to specify the total number of units previously purchased, on a contract or order.

0380 DTM, Date/time/period

A segment specifying the date or date and time of purchase of the previously purchased items.

0390 TAX, Duty/tax/fee details

A segment specifying duty, tax or fee charges relating to the previously purchased units.

0400 FTX, Free text

A segment with free text information in 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.

0410 Segment Group 9: PYT-DTM-PCD-MOA

A group of segments specifying the terms of payment for the line item specified in the LIN segment.

0420 PYT, Payment terms

A segment specifying the payment terms and date/time basis.

0430 DTM, Date/time/period

A segment giving the specific date/time/period, if needed, of any payments, discounts, instalments, etc.

0440 PCD, Percentage details

A segment specifying discount, interest, penalty or instalment percentage.

0450 MOA, Monetary amount

A segment specifying amounts related to payment discounts, penalties or instalments.

0460 Segment Group 10: TOD-LOC

A group of segments specifying the terms of delivery to a specified location.

0470 TOD, Terms of delivery or transport

A segment identifying the delivery terms used.

0480 LOC, Place/location identification

A segment identifying locations relevant to the delivery terms specified in the TOD segment.

0490 Segment Group 11: ALC-ALI-DTM-SG12-SG13-SG14-SG15-

SG16 A group of segments specifying allowances and charges for previous orders for the line item specified in the LIN segment.

0500 ALC, Allowance or charge

A segment identifying the charge or allowance type.

0510 ALI, Additional information

A segment indicating the allowance or charge specified is subject to special conditions owing to origin, customs preferences or commercial factors.

0520 DTM, Date/time/period

A segment giving the specific date/time/period, if needed of any allowances and charges for previous orders for the line item specified in the LIN segment.

0530 Segment Group 12: QTY-RNG

A group of segments specifying the quantity of the allowance or charge with its measure unit specifier. A range to which the allowance or charge applies may be specified, e.g., an allowance of a free quantity when a minimum quantity of items is ordered.

0540 QTY, Quantity

A segment identifying the type of quantity and the quantity related to the allowance or charge.

0550 RNG, Range details

A segment specifying, if required, the quantity range to which the charge or allowance applies.

0560 Segment Group 13: PCD-RNG

A group of segments specifying the percentage for the allowance or charge, e.g., the allowance or charge amount is calculated as 5% of the goods value or a price reduction of 5% may be specified if the goods quantity ordered was within the range 50 kilos to 100 kilos.

0570 PCD, Percentage details

A segment identifying the percentage and the percentage basis for the calculation of the allowance or charge.

0580 RNG, Range details

A segment specifying, if required, a range for the application of the percentage.

0590 Segment Group 14: MOA-RNG

A group of segments specifying a monetary amount for an allowance or charge. A range to which the allowance or charge applies may be specified, e.g., an allowance of 5,000 ECU may be specified if the goods value ordered is greater than 100,000 ECU.

0600 MOA, Monetary amount

A segment identifying the monetary amount for the allowance or charge.

0610 RNG, Range details

A segment specifying, if required, a range for the application of the allowance or charge amount.

0620 Segment Group 15: RTE-RNG

A group of segments specifying the rate per unit and basis to which the charge or allowance applies, e.g., the allowance or charge amount is 3 ECU per 10 tons.

0630 RTE, Rate details

A segment specifying the rate per unit and the basis for calculation.

0640 RNG, Range details

A segment specifying, if required, the range for the application of the allowance or charge rate.

0650 Segment Group 16: TAX-MOA

A group of segments specifying the tax type, category and rate, or exemption, related to the allowance or charge.

0660 TAX, Duty/tax/fee details

A segment specifying the tax type, category and rate, or exemption, related to the allowance or charge.

0670 MOA, Monetary amount

A segment specifying the amount for the allowance or charge.

0680 Segment Group 17: PRI-DTM-CUX-RNG

A group of segments giving details of prices and the applicable currencies for orders of the specified item.

0690 PRI, Price details

A segment to specify the price type and amount.

0700 DTM, Date/time/period

A segment specifying the date or date and time of previous orders for the specified item.

0710 CUX, Currencies

A segment to allow specification of the price in a different currency.

0720 RNG, Range details

A segment specifying, if required, the range for the price type and amount.

0730 UNT, Message trailer

A service segment ending a message, giving the total number of segments in the message (including the UNH & UNT) and the control reference number of the message.


4.2. Segment index (alphabetical sequence by tag)

AGR Agreement identification
ALC Allowance or charge
ALI Additional information
BGM Beginning of message
COM Communication contact
CTA Contact information
CUX Currencies
DTM Date/time/period
FTX Free text
GIR Related identification numbers
IMD Item description
LIN Line item
LOC Place/location identification
MEA Measurements
MOA Monetary amount
NAD Name and address
PCD Percentage details
PIA Additional product id
PRI Price details
PYT Payment terms
QTY Quantity
RFF Reference
RNG Range details
RTE Rate details
STS Status
TAX Duty/tax/fee details
TOD Terms of delivery or transport
UNH Message header
UNT Message trailer

4.3. Message structure


4.3.1. Segment table

├─UNH Message header ×1 (M)
├─BGM Beginning of message ×1 (M)
├─DTM Date/time/period ×1 (M)
├─RFF Reference ×9 (C)
├─CUX Currencies ×9 (C)
├─Segment Group 1 ×9 (C)
├─NAD Name and address ×1 (M)
├─LOC Place/location identification ×9 (C)
├─Segment Group 2 ×9 (C)
├─RFF Reference ×1 (M)
└─DTM Date/time/period ×9 (C)
└─Segment Group 3 ×9 (C)
──├─CTA Contact information ×1 (M)
──└─COM Communication contact ×9 (C)
├─Segment Group 4 ×99999 (C)
├─LIN Line item ×1 (M)
├─PIA Additional product id ×9 (C)
├─RFF Reference ×9 (C)
├─IMD Item description ×9 (C)
├─MEA Measurements ×9 (C)
├─PCD Percentage details ×9 (C)
├─ALI Additional information ×9 (C)
├─GIR Related identification numbers ×9 (C)
└─Segment Group 5 ×999 (C)
──├─NAD Name and address ×1 (M)
──├─LOC Place/location identification ×9 (C)
──├─STS Status ×9 (C)
──├─PIA Additional product id ×9 (C)
──├─Segment Group 6 ×9 (C)
──├─CTA Contact information ×1 (M)
──└─COM Communication contact ×9 (C)
──└─Segment Group 7 ×9 (C)
────├─RFF Reference ×1 (M)
────├─DTM Date/time/period ×9 (C)
────├─AGR Agreement identification ×9 (C)
────└─Segment Group 8 ×99 (C)
──────├─QTY Quantity ×1 (M)
──────├─DTM Date/time/period ×9 (C)
──────├─TAX Duty/tax/fee details ×9 (C)
──────├─FTX Free text ×9 (C)
──────├─Segment Group 9 ×9 (C)
──────├─PYT Payment terms ×1 (M)
──────├─DTM Date/time/period ×9 (C)
──────├─PCD Percentage details ×9 (C)
──────└─MOA Monetary amount ×9 (C)
──────├─Segment Group 10 ×9 (C)
──────├─TOD Terms of delivery or transport ×1 (M)
──────└─LOC Place/location identification ×9 (C)
──────├─Segment Group 11 ×99 (C)
──────├─ALC Allowance or charge ×1 (M)
──────├─ALI Additional information ×9 (C)
──────├─DTM Date/time/period ×9 (C)
──────├─Segment Group 12 ×9 (C)
──────├─QTY Quantity ×1 (M)
──────└─RNG Range details ×1 (C)
──────├─Segment Group 13 ×9 (C)
──────├─PCD Percentage details ×1 (M)
──────└─RNG Range details ×1 (C)
──────├─Segment Group 14 ×9 (C)
──────├─MOA Monetary amount ×1 (M)
──────└─RNG Range details ×1 (C)
──────├─Segment Group 15 ×9 (C)
──────├─RTE Rate details ×1 (M)
──────└─RNG Range details ×1 (C)
──────└─Segment Group 16 ×9 (C)
────────├─TAX Duty/tax/fee details ×1 (M)
────────└─MOA Monetary amount ×1 (C)
──────└─Segment Group 17 ×9 (M)
────────├─PRI Price details ×1 (M)
────────├─DTM Date/time/period ×9 (C)
────────├─CUX Currencies ×9 (C)
────────└─RNG Range details ×9 (C)
└─UNT Message trailer ×1 (M)

Return to Stylus Studio EDIFACT D04A Messages page.
EDI to XML Mapping for EDIFACT/X12 Convert EDIFACT/X12 Schemas to XML Schema Legacy Data Conversion Tools Access Relational Data as XML Visual XSLT and XQuery Mapping Tools EDIFACT to XML
Return to Stylus Studio EDIFACT home page.

Return to Stylus Studio home page.
Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.