﻿<?xml version="1.0" encoding="utf-8"?>
<b24Message xmlns="http://btwentyfour.com/schemas/commerce/2.1">
    <taxControl text="Btwentyfour Example Tax control message" environment="Production"
        type="TaxDeclaration" messageId="237357" messageDate="2021-06-14T12:19:05.167Z">
        <sender gln="7340117815580">
        </sender>
        <recipient gln="7340117836950">
        </recipient>
        <documentReference documentType="TaxControl" id="222" date="2021-06-01">
        </documentReference>
        <documentReference documentType="PreviousTaxControl" id="111" date="2021-05-01">
        </documentReference>
        <property name="accountingPeriodStartDate">2021-05-01</property>
        <property name="accountingPeriodEndDate">2021-06-01</property>
        <property name="taxPeriodStartDate">2021-05-01</property>
        <property name="taxPeriodEndDate">2021-06-01</property>
        <property name="invoicingPeriodStartDate">2021-05-01</property>
        <property name="invoicingPeriodEndDate">2021-06-01</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>
        <buyerAgent gln="Buyer agent GLN" name="Buyer agent name" orgNo="77777777-7777"
            vatNo="GB777777777">
            <location>
                <address>BuyerAgent StreetAddress</address>
                <city code="BuyerAgentZipCode">BuyerAgentCityName</city>
                <country code="ABCountryCode">BuyerAgentCountryName</country>
            </location>
            <property name="id">1681223</property>
            <property name="internalId">9898</property>
        </buyerAgent>
        <supplierAgent gln="Supplier agent GLN" name="Supplier agent name" orgNo="77777777-6666"
            vatNo="GB777777776">
            <location>
                <address>SupplierAgent StreetAddress</address>
                <city code="SupplierAgentZipCode">Supplier Agent CityName</city>
                <country code="SRCountryCode">SupplierAgentCountryName</country>
            </location>
            <property name="id">6563221</property>
            <property name="internalId">6336</property>
        </supplierAgent>
        <taxCollector gln="Tax collector GLN" name="Tax collector name" orgNo="66666666-5555"
            vatNo="GB666666665">
            <location>
                <address>Tax Collector StreetAddress</address>
                <city code="TaxCollectorZipCode">TaxCollectorCityName</city>
                <country code="TCCountryCode">TaxCollectorCountryName</country>
            </location>
            <property name="id">5855241</property>
            <property name="internalId">2477</property>
        </taxCollector>
        <taxControlDetails>
            <documentReference documentType="InvoiceBatch" id="456" date="2021-05-01">
            </documentReference>
            <taxControlDocument type="Debit" currency="GBP">
                <total taxableAmount="30000.00" nonTaxableAmount="0.00" netAmountIncTax="35700.00">
                </total>
                <property name="totalMessages">3</property>
                <taxes name="Value Added Tax" code="VAT" rateCategory="Standard" rate="20"
                    taxableAmount="28000.00" amount="5600.00" currency="GBP" />
                <taxes name="Value Added Tax" code="VAT" rateCategory="Lower" rate="5"
                    taxableAmount="2000.00" amount="100.00" currency="GBP" />
            </taxControlDocument>
        </taxControlDetails>
    </taxControl>
</b24Message>