﻿<?xml version="1.0" encoding="utf-8"?>
<b24Message xmlns="http://btwentyfour.com/schemas/commerce/2.1">
    <relocationOfGoods dateFrom="2018-05-04" dateTo="2018-05-04" environment="Production">
        <sender gln="1111111111111" />
        <recipient gln="2222222222222" />
        <!--DocumentReference for the RelocationOfGoods being sent-->
        <documentReference documentType="RelocationOfGoods" id="115232" date="2018-05-04" />
        <!--The buyer's documentReference for the goods that are being relocated-->
        <documentReference documentType="BuyerOrder" id="555666" date="2018-05-04" />
        <!--The supplier's documentReference for the goods that are being relocated-->
        <documentReference documentType="SupplierOrder" id="24123456" date="2018-05-04" />
        <!-- the supplier party for the goods -->
        <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>
        <!--The buyer party, who is informing about the relocation of goods -->
        <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>
        <!--The shipFrom party, from whom the goods are being relocated -->
        <shipFrom gln="5555555555555" name="shipFrom Name" contact="shipFrom's contact reference" orgNo="5555555-5555" vatNo="SE55555555555">
            <location>
                <address>shipFrom StreetAddress</address>
                <coAddress> shipFrom Street Address second row</coAddress>
                <city code="shipFromZipCode">shipFromCityName</city>
                <state code="shipFromStateCode">shipFrom StateName</state>
                <country code="SFCountryCode">shipFrom CountryName</country>
                <telephoneNumber>+465555555555</telephoneNumber>
                <emailAddress>shipFrom@email.com</emailAddress>
            </location>
            <property name="id">4479341</property>
            <property name="internalId">4242</property>
            <property name="name2">The second shipFrom name</property>
            <property name="name3">The third shipFrom name</property>
        </shipFrom>
        <!--The shipTo party, to whom the goods are being relocated -->
        <shipTo gln="6666666666666" name="shipTo Name" contact="shipTo's contact reference" orgNo="6666666-6666" vatNo="SE66666666666">
            <location>
                <address>shipTo StreetAddress</address>
                <coAddress> shipTo Street Address second row</coAddress>
                <city code="shipToZipCode">shipToCityName</city>
                <state code="shipToStateCode">shipTo StateName</state>
                <country code="STCountryCode">shipTo CountryName</country>
                <telephoneNumber>+466666666666</telephoneNumber>
                <emailAddress>shipTo@email.com</emailAddress>
            </location>
            <property name="id">8899021</property>
            <property name="internalId">8778</property>
            <property name="name2">The second shipTo name</property>
            <property name="name3">The third shipTo name</property>
        </shipTo>
        <!--The shipper party, responsible for getting the goods delivered from the shipFrom party to the shipTo party -->
        <shipper gln="3333333333333" name="Shipper/Carrier Company Name" contact="Shipper's contact reference" orgNo="3333333-3333" vatNo="SE33333333333">
            <location>
                <address>Shipper StreetAddress</address>
                <coAddress> Shipper Street Address second row</coAddress>
                <city code="Shipper ZipCode">ShipperCityName</city>
                <state code="Shipper StateCode">Shipper StateName</state>
                <country code="SHCountryCode">Shipper 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>
        <!-- the items to be relocated-->
        <!--inTransitQuantity = the quantity that is being relocated, id = the supplier's own item id for the article -->
        <item inTransitQuantity="2" id="itemId1">
            <!--Document References for the item, with unique line Number for each documentReference, the dates and ids should match any that are given on header level -->
            <documentReference documentType="RelocationOfGoods" id="115232" lineNo="1" />
            <documentReference documentType="BuyerOrder" id="555666" date="2018-05-04" lineNo="1" />
            <documentReference documentType="SupplierOrder" id="24123456" date="2018-05-04" lineNo="1" />
            <!--The Id for the buyer's department handling the article -->
            <property name="department" registry="Buyer">1234</property>
            <!--Unique barcode for the article -->
            <itemReference registry="Supplier" coding="EAN13">1234567891123</itemReference>
        </item>
        <item inTransitQuantity="1" id="itemId2">
            <documentReference documentType="RelocationOfGoods" id="115232" lineNo="2" />
            <documentReference documentType="BuyerOrder" id="555666" date="2018-05-04" lineNo="2" />
            <documentReference documentType="SupplierOrder" id="24123456" date="2018-05-04" />
            <property name="department" registry="Buyer">1234</property>
            <itemReference registry="Supplier" coding="EAN13">1234567891123</itemReference>
        </item>
        <item inTransitQuantity="1" id="itemId3">
            <documentReference documentType="RelocationOfGoods" id="115232" lineNo="3" />
            <documentReference documentType="BuyerOrder" id="555666" date="2018-05-04" lineNo="3" />
            <documentReference documentType="SupplierOrder" id="24123456" date="2018-05-04" lineNo="3" />
            <property name="department" registry="Buyer">1234</property>
            <itemReference registry="Supplier" coding="EAN13">1234567891123</itemReference>
        </item>
        <item inTransitQuantity="2" id="itemId4">
            <documentReference documentType="RelocationOfGoods" id="115232" lineNo="4" />
            <documentReference documentType="BuyerOrder" id="555666" date="2018-05-04" lineNo="4" />
            <documentReference documentType="SupplierOrder" id="24123456" date="2018-05-04" lineNo="4" />
            <property name="department" registry="Buyer">1234</property>
            <itemReference registry="Supplier" coding="EAN13">1234567891123</itemReference>
        </item>
    </relocationOfGoods>
</b24Message>