﻿<?xml version="1.0" encoding="UTF-8"?>
<b24Message xmlns="http://btwentyfour.com/schemas/commerce/2.1">
    <returnAnnouncement text="Btwentyfour Example Returns Announcement" currency="EUR"
        messageId="123456" messageDate="2021-12-09T12:19:05.167Z" environment="Production">
        <sender gln="7340117836950" />
        <recipient gln="7340117815580" />
        <documentReference documentType="ReturnAnnouncement" id="777888" date="2021-12-09" />
        <documentReference documentType="BuyerOrder" id="555666" date="2020-12-01" />
        <documentReference documentType="DespatchAdvice" id="95159" date="2021-12-02" />
        <documentReference documentType="DeliveryNote" id="95159" date="2021-12-02" />
        <documentReference documentType="AgreementNumber" id="325899" date="2021-12-09" />
        <property name="deliveryDate">2021-12-07</property>
        <property name="earliestCollectionDate">2021-12-08</property>
        <property name="latestCollectionDate">2021-12-09</property>
        <property name ="buyerDepartment">1102</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>
        <site gln="7340117804522" name="Site Location Name" contact="Site's Contact Reference"
            orgNo="77777777-7777" vatNo="DK6666666666666">
            <location>
                <address>Site StreetAddress</address>
                <coAddress>Site Street Address second row</coAddress>
                <city code="SiteZipCode">SiteCityName</city>
                <state code="SiteStateCode">SiteStateName</state>
                <country code="STCountryCode">SiteCountryName</country>
                <telephoneNumber>+45000000003</telephoneNumber>
                <emailAddress>SiteLocation@email.com</emailAddress>
            </location>
            <property name="id">1422182</property>
            <property name="internalId">1132</property>
            <property name="name2">The second site location party name</property>
            <property name="name3">The third site location party name</property>
        </site>
        <item id="1000000001111">
            <documentReference documentType="ReturnAnnouncement" id="777888" date="2021-12-09"
                lineNo="1" />
            <property name="description">product description</property>
            <property name="unitOfMeasure">PCE</property>
            <property name="retailPromotion" code="SS21">SuperSale2021</property>
            <itemReference registry="Supplier" coding="EAN13">7313492579392</itemReference>
            <itemReference registry="Buyer" name="itemId">198877</itemReference>
            <price type="netPrice" value="90.00" currency="EUR" />
            <price type="grossPrice" value="100.00" currency="EUR" />
            <price type="discountPercentage" value="10.00" currency="EUR" />
            <quantity type="Return" value="5">
                <quantityReason code="4D" value="5">Damaged</quantityReason>
            </quantity>
        </item>
        <item id="1000000002222">
            <documentReference documentType="ReturnAnnouncement" id="777888" date="2021-12-09"
                lineNo="2" />
            <property name="description">product description</property>
            <property name="unitOfMeasure">PCE</property>
            <property name="retailPromotion" code="SS21">SuperSale2021</property>
            <itemReference registry="Supplier" coding="EAN13">7313492579408</itemReference>
            <itemReference registry="Buyer" name="itemId">298877</itemReference>
            <price type="netPrice" value="90.00" currency="EUR" />
            <price type="grossPrice" value="100.00" currency="EUR" />
            <price type="discountPercentage" value="10.00" currency="EUR" />
            <quantity type="Return" value="3">
                <quantityReason code="1WI" value="1">Wrong identification</quantityReason>
                <quantityReason code="2DG" value="2">Destroy goods</quantityReason>
            </quantity>
        </item>
        <item id="1000000003333">
            <documentReference documentType="ReturnAnnouncement" id="777888" date="2021-12-09"
                lineNo="3" />
            <property name="description">product description</property>
            <property name="unitOfMeasure">PCE</property>
            <property name="retailPromotion" code="SS21">SuperSale2021</property>
            <itemReference registry="Supplier" coding="EAN13">7313492579415</itemReference>
            <itemReference registry="Buyer" name="itemId">398877</itemReference>
            <price type="netPrice" value="90.00" currency="EUR" />
            <price type="grossPrice" value="100.00" currency="EUR" />
            <price type="discountPercentage" value="10.00" currency="EUR" />
            <quantity type="Return" value="1">
                <quantityReason code="4D" value="1">Damaged</quantityReason>
            </quantity>
        </item>
    </returnAnnouncement>
</b24Message>