﻿<?xml version="1.0" encoding="utf-8"?>
<b24Message xmlns="http://btwentyfour.com/schemas/commerce/2.1">
	<order text="Btwentyfour Example Order" orderType="PRE_ORDER" currency="EUR" messageId="237356"
		messageDate="2021-08-25T12:19:05.167Z" environment="Production">
		<sender gln="6666746621578" />
		<recipient gln="6666740596285" />
		<documentReference documentType="BuyerOrder" id="444555" date="2021-08-25" />
		<property name="season">SS22</property>
		<!-- Order dates --> 
		<property name="deliveryDate">2022-03-20</property>
		<property name="earliestDeliveryDate">2022-03-18</property>
		<property name="latestDeliveryDate">2022-03-20</property>
		<property name="cancellationDate">2022-03-20</property>
		<!-- General order Instructions -->
		<property name="allowBackOrder">N</property>
		<property name="customerOrderNotes">longer note made by Buyer to the supplier</property>
		<property name="customerOrderRef">Note to be put on packing slip</property>
		<property name="termsOfDelivery">instructional text</property>
		<!--Order Totals -->
		<property name="orderNetValue">7200.00</property>
		<property name="orderGrossValue">8000.00</property>
		<!--Discount information -->
		<property name="discountPercentage">10.00</property>
		<property name="discountAmount">800.00</property>
		<!--Invoicee -->
		<property name="invoicee">invoiceeGLN</property>
		<property name="invoiceeName">invoiceeName</property>
		<property name="invoiceeName2">The second invoicee name</property>
		<property name="invoiceeName3">The third invoicee name</property>
		<property name="invoiceeAddress">invoiceeAddress</property>
		<property name="invoiceeCityCode">invoiceeZipCode</property>
		<property name="invoiceeCity">invoiceeCity</property>
		<property name="invoiceeCountry">invoiceeCountryName</property>
		<property name="invoiceeCountryCode">invoiceeCountryCode</property>
		<property name="invoiceeOrgNo">invoiceeOrgNo</property>
		<property name="invoiceeVatNo">invoiceeVatNumber</property>
		<property name="invoiceeContact">invoiceeContact</property>
		<property name="invoiceeTelephoneNumber">invoiceeTelephoneNumber</property>
		<property name="invoiceeEmailAddress">invoiceeEmailAddress</property>
		<!--ultimateConsignee-->
		<property name="ultimateConsignee">ultimateConsigneeGLN</property>
		<property name="ultimateConsigneeName">ultimateConsigneeName</property>
		<property name="ultimateConsigneeName2">The second ultimate consignee name</property>
		<property name="ultimateConsigneeName3">The third ultimate consignee name</property>
		<property name="ultimateConsigneeAddress">ultimateConsigneeAddress</property>
		<property name="ultimateConsigneeCityCode">ultimateConsigneeZipCode</property>
		<property name="ultimateConsigneeCity">ultimateConsigneeCity</property>
		<property name="ultimateConsigneeCountry">ultimateConsigneeCountryName</property>
		<property name="ultimateConsigneeCountryCode">ultimateConsigneeCountryCode</property>
		<property name="ultimateConsigneeOrgNo">ultimateConsigneeOrgNo</property>
		<property name="ultimateConsigneeVatNo">ultimateConsigneeVatNumber</property>
		<property name="ultimateConsigneeContact">ultimateConsigneeContact</property>
		<property name="ultimateConsigneeTelephoneNumber">ultimateConsigneeTelephoneNumber</property>
		<property name="ultimateConsigneeEmailAddress">ultimateConsigneeEmailAddress</property>
		<supplier gln="7340117815580" name="Btwentyfour Demo Supplier"
			contact="Supplier's contact reference" orgNo="99999999-9999" vatNo="SE999999999999">
			<location>
				<address>Supplier StreetAddress</address>
				<coAddress>Supplier Street Address second row</coAddress>
				<city code="Supplier ZipCode">Supplier CityName</city>
				<state code="Supplier StateCode">Supplier StateName</state>
				<country code="SUCountryCode">Supplier CountryName</country>
				<telephoneNumber>+45000000002</telephoneNumber>
				<emailAddress>supplier@email.com</emailAddress>
			</location>
			<property name="id">5122186</property>
			<property name="internalId">8899</property>
			<property name="name2">The second supplier name</property>
			<property name="name3">The third supplier name</property>
		</supplier>
		<buyer gln="7340117836950" name="Btwentyfour Demo Buying Group"
			contact="Buyer's contact reference" orgNo="88888888-8888" vatNo="SE888888888888" department="Btwentyfour Demo Buying Group, Running/Athletics Department">
			<location>
				<address>Buyer StreetAddress</address>
				<coAddress>Buyer Street Address second row</coAddress>
				<city code="Buyer ZipCode">Buyer City Name</city>
				<state code="Buyer StateCode">Buyer State Name</state>
				<country code="BYCountryCode">Buyer Country Name</country>
				<telephoneNumber>+45000000001</telephoneNumber>
				<emailAddress>buyer@email.com</emailAddress>
			</location>
			<property name="id">3512421</property>
			<property name="internalId">1133</property>
			<property name="name2">The second buyer name</property>
			<property name="name3">The third buyer name</property>
		</buyer>
		<shipper gln="3333333333333" name="Shipper/Carrier Company Name"
			contact="Shipper's contact reference" orgNo="3333333-3333" vatNo="SE33333333333">
			<location>
				<address>StreetAddress</address>
				<coAddress>Street Address second row</coAddress>
				<city code="ZipCode">CityName</city>
				<state code="StateCode">StateName</state>
				<country code="CountryCode">CountryName</country>
				<telephoneNumber>+463333333333</telephoneNumber>
				<emailAddress>shipper@email.com</emailAddress>
			</location>
			<property name="id">4456879</property>
			<property name="internalId">4469</property>
			<property name="name2">The second shipper name</property>
			<property name="name3">The third shipper name</property>
		</shipper>
		<consignee gln="7340117804522" name="Delivery Party Name" contact="ReferenceName"
			orgNo="77777777-7777" vatNo="DK6666666666666">
			<location>
				<address>StreetAddress</address>
				<coAddress>Street Address second row</coAddress>
				<city code="ZipCode">CityName</city>
				<state code="StateCode">StateName</state>
				<country code="CountryCode">CountryName</country>
				<telephoneNumber>+45000000003</telephoneNumber>
				<emailAddress>consignee@email.com</emailAddress>
			</location>
			<property name="id">1422181</property>
			<property name="internalId">1134</property>
			<property name="name2">The second delivery party (Consignee) name</property>
			<property name="name3">The third delivery party (Consignee) name</property>
		</consignee>
		<item quantity="10" deliveryDate="2022-03-20" id="1064-666-PAC">
			<documentReference documentType="BuyerOrder" id="444555" date="2021-08-25" lineNo="1">
			</documentReference>
			<property name="earliestDeliveryDate">2022-03-18</property>
			<property name="latestDeliveryDate">2022-03-20</property>
			<property name="unitOfMeasure">PAC</property>
			<property name="customizedItem">Y</property>
			<!--This marks the Item as a Trade Unit, that other items can be packed into -->
			<property name="logisticUnit">TU</property>
			<property name="brand" registry="Supplier">brandName</property>
			<!--The
			ModelNumber that all the trade units are a part of-->
			<property name="modelNo" registry="Supplier">33546</property>
			<property name="name" registry="Supplier">productName</property>
			<!--The Number of articles packed into the trade unit-->
			<property name="numUnits_CU_in_TU" registry="Supplier">8</property>
			<property name="VAT">25</property>
			<!--This
			is a summary of what Consumer Units are packed into the trade unit-->
			<property name="TU_Content">S=2, M=4, L=2</property>
			<property name="cancellationDate">2022-03-20</property>
			<!--The barcode and item Id are for the trade unit specifically-->
			<itemReference registry="Supplier" coding="EAN13">7313492579330</itemReference>
			<itemReference registry="Buyer" name="itemId">2988000</itemReference>
			<!-- The prices of the trade Unit -->
			<price type="netPrice" value="720.00" currency="EUR"></price>
			<price type="grossPrice" value="800.00" currency="EUR"></price>
			<price type="discountPercentage" value="10.00" currency="EUR"></price>
			<price type="discountAmount" value="80.00" currency="EUR"></price>
		</item>
		<!--The quantity attribute in a CU is the total ordered -->
		<item quantity="20" deliveryDate="2022-03-20" id="1000000002222">
			<!--The parentLineNo attribute points to the trade unit that the consumer unit is a part of -->
			<documentReference documentType="BuyerOrder" id="444555" date="2021-08-25" lineNo="2"
				parentLineNo="1">
			</documentReference>
			<property name="earliestDeliveryDate">2022-03-18</property>
			<property name="latestDeliveryDate">2022-03-20</property>
			<property name="unitOfMeasure">PCE</property>
			<!--Indicats that the item is a consumer unit, to be packed into a Trade Unit -->
			<property name="logisticUnit">CU</property>
			<property name="customizedItem">N</property>
			<property name="description">productDescription</property>
			<property name="modelNo" registry="Supplier">33546</property>
			<property name="name" registry="Supplier">productName</property>
			<!-- The number of this CU in each TU --> 
			<property name="numUnits_CU_in_TU">2</property>
			<property name="VAT">25</property>
            <!--Value added service information for the Consumer Unit-->
            <property name="VASLabelText">Value Added Service label text</property>
			<property name="VASLabelBarcode">7313492579408</property>
			<property name="VASLabelBarcodeType">EAN13</property>
			<property name="VASLabelPrice">175</property>
			<property name="VASLabelCurrency">EUR</property>
			<property name="VASLabelPrice">1799</property>
			<property name="VASLabelCurrency2">SEK</property>
			<property name="VASLabelPrice3">1349</property>
			<property name="VASLabelCurrency3">DKK</property>
			<property name="VASLabelPrice4">1799</property>
			<property name="VASLabelCurrency4">NOK</property>
			<property name="VASLabelPrice5">149</property>
			<property name="VASLabelCurrency5">GBP</property>
            <property name="cancellationDate">2022-03-20</property>
			<!--The characteristics of the article -->
			<dimension name="color" code="555">Red</dimension>
			<dimension name="size">S</dimension>
			<itemReference registry="Supplier" coding="EAN13">7313492579316</itemReference>
			<itemReference registry="Buyer" name="itemId">298876</itemReference>
			<!--The prices for the CU -->
			<price type="netPrice" value="90.00" currency="EUR"></price>
			<price type="grossPrice" value="100.00" currency="EUR"></price>
			<price type="discountPercentage" value="10.00" currency="EUR"></price>
			<price type="discountAmount" value="10.00" currency="EUR"></price>
		</item>
		<item quantity="40" deliveryDate="2022-03-20" id="1000000003333">
			<!--The parentLineNo attribute points to the trade unit that the consumer unit is a part of -->
			<documentReference documentType="BuyerOrder" id="444555" date="2021-08-25" lineNo="3"
				parentLineNo="1">
			</documentReference>
			<property name="earliestDeliveryDate">2022-03-18</property>
			<property name="latestDeliveryDate">2022-03-20</property>
			<property name="unitOfMeasure">PCE</property>
			<!--Indicats that the item is a consumer unit, to be packed into a Trade Unit -->
			<property name="logisticUnit">CU</property>
			<property name="customizedItem">N</property>
			<property name="description">productDescription</property>
			<property name="modelNo" registry="Supplier">33546</property>
			<!-- The number of CUs in each TU --> 
			<property name="name" registry="Supplier">productName</property>
            <!-- The number of this CU in each TU --> 
			<property name="numUnits_CU_in_TU">4</property>
			<property name="VAT">25</property>
			<!--Value added service information for the Consumer Unit-->
            <property name="VASLabelText">Value Added Service label text</property>
			<property name="VASLabelBarcode">7313492579408</property>
			<property name="VASLabelBarcodeType">EAN13</property>
			<property name="VASLabelPrice">175</property>
			<property name="VASLabelCurrency">EUR</property>
			<property name="VASLabelPrice">1799</property>
			<property name="VASLabelCurrency2">SEK</property>
			<property name="VASLabelPrice3">1349</property>
			<property name="VASLabelCurrency3">DKK</property>
			<property name="VASLabelPrice4">1799</property>
			<property name="VASLabelCurrency4">NOK</property>
			<property name="VASLabelPrice5">149</property>
			<property name="VASLabelCurrency5">GBP</property>
            <property name="cancellationDate">2022-03-20</property>
            <!--The characteristics of the article -->
			<dimension name="color" code="555">Red</dimension>
			<dimension name="size">M</dimension>
			<itemReference registry="Supplier" coding="EAN13">7313492579347</itemReference>
			<itemReference registry="Buyer" name="itemId">298877</itemReference>
			<!--The prices for the CU -->
			<price type="netPrice" value="90.00" currency="EUR"></price>
			<price type="grossPrice" value="100.00" currency="EUR"></price>
			<price type="discountPercentage" value="10.00" currency="EUR"></price>
			<price type="discountAmount" value="10.00" currency="EUR"></price>
		</item>
		<item quantity="20" deliveryDate="2022-03-20" id="1000000003333">
			<!--The parentLineNo attribute points to the trade unit that the consumer unit is a part of -->
			<documentReference documentType="BuyerOrder" id="444555" date="2021-08-25" lineNo="3"
				parentLineNo="1">
			</documentReference>
			<property name="earliestDeliveryDate">2022-03-18</property>
			<property name="latestDeliveryDate">2022-03-20</property>
			<property name="unitOfMeasure">PCE</property>
			<property name="customizedItem">N</property>
			<property name="description">productDescription</property>
			<property name="modelNo" registry="Supplier">33546</property>
			<property name="name" registry="Supplier">productName</property>
            <!--Indicats that the item is a consumer unit, to be packed into a Trade Unit -->
			<property name="logisticUnit">CU</property>
			<!-- The number of CUs in each TU --> 
			<property name="numUnits_CU_in_TU">2</property>
			<property name="VAT">25</property>
			<property name="cancellationDate">2022-03-20</property>
             <!--Value added service information for the Consumer Unit-->
             <property name="VASLabelText">Value Added Service label text</property>
             <property name="VASLabelBarcode">7313492579408</property>
             <property name="VASLabelBarcodeType">EAN13</property>
             <property name="VASLabelPrice">175</property>
             <property name="VASLabelCurrency">EUR</property>
             <property name="VASLabelPrice">1799</property>
             <property name="VASLabelCurrency2">SEK</property>
             <property name="VASLabelPrice3">1349</property>
             <property name="VASLabelCurrency3">DKK</property>
             <property name="VASLabelPrice4">1799</property>
             <property name="VASLabelCurrency4">NOK</property>
             <property name="VASLabelPrice5">149</property>
             <property name="VASLabelCurrency5">GBP</property>
            <!--The characteristics of the article -->
			<dimension name="color" code="555">Red</dimension>
			<dimension name="size">L</dimension>
			<itemReference registry="Supplier" coding="EAN13">7313492579354</itemReference>
			<itemReference registry="Buyer" name="itemId">298878</itemReference>
			<!--The prices for the CU -->
			<price type="netPrice" value="90.00" currency="EUR"></price>
			<price type="grossPrice" value="100.00" currency="EUR"></price>
			<price type="discountPercentage" value="10.00" currency="EUR"></price>
			<price type="discountAmount" value="10.00" currency="EUR"></price>
		</item>
	</order>
</b24Message>