Measurement message
A guide on how to use the SCSN Measurement message
The Measurement message can be used to share measurement data, quality reports, and certificates related to ordered items. This message enables suppliers to share documents which can be related to specific line-items of orders and/or despatch advices. The figure below describes the relations between the messages.

The Despatch Advice is used to link physical goods to ordered items, by providing unique identification and relations between shipments and orders. This message typically follows a despatch advice, because it provides measurement data about goods. Alternatively, the Measurement message can also be used without a Dispatch Advice, but this makes it more challenging to link physical goods to the provided documents (e.g. what if two documents relate to an order line with quantity 6? How to identify which document relates to which items?).
The following section describe various example scenarios for using the Measurement message.
Simple example
This scenario indicates the simplest usage of the Measurement message, namely the exchange of a single document related to a single OrderLine and DespatchLine. The message starts with general information such as the ID and IssueDate of the Message. Next, both the Buyer and Seller (i.e. receiver and sender of the message) are described. Moreover, a single document is defined with a relation to a specific OrderLine and DespatchLine. Finally, a document is embedded via a base64 text encoding.
Multiple documents and external reference example
This scenario describes more advance usage of the message, but defining multiple documents inside a single message and using an alternative method to link to a document instead of embedding it as base64.
The first document is equal to the first scenario. The second document refers to a different Order and Despatch Advice and illustrates that it is possible to exchange multiple Documents inside one message. Moreover, the second document is not contained in the message itself, but instead an ExternalReference is used to link to an external environment (e.g. file sharing platform) in which the document can be downloaded.
Multiple items relating to a single document.
This scenario indicates a situation in which a single document is shared which is relevant for two distinct ordered items. Multiple OrderLines are referred (i.e. both 10 and 20 of the same order) and multiple DespatchLines are referred, meaning that this document relates to both items.
Multiple batches with the same document
In certain cases, it is possible to have a single document which is relevant for multiple batches of items. This scenario indicates, similarly to the previous scenario, two distinct items which relate to a single Document. However, the main difference is that the two items relate to different batches (i.e. ItemInstance -> LotNumberID).
Multiple despatch lines and batches
Finally, the last scenario indicates a situation in which there are three ordered items which relate to two batches (i.e. ItemInstance -> LotNumberID). All three items still relate to the same Document.
Last updated