<?xml version="1.0" encoding="UTF-8"?>
<GovTalkMessage xmlns="http://www.govtalk.gov.uk/CM/envelope">
  <EnvelopeVersion>2.0</EnvelopeVersion>
  <Header>
    <MessageDetails>
      <Class>IR-AA-SA</Class>
      <Qualifier>request</Qualifier>
      <Function>submit</Function>
      <CorrelationID/>
      <Transformation>XML</Transformation>
      <GatewayTest>1</GatewayTest>
      <GatewayTimestamp/>
    </MessageDetails>
    <SenderDetails>
      <IDAuthentication>
        <SenderID>As advised by SDS Team</SenderID>
        <Authentication>
          <Method>clear</Method>
          <Role>principal</Role>
          <Value>As advised by SDS Team</Value>
        </Authentication>
      </IDAuthentication>
    </SenderDetails>
  </Header>
  <GovTalkDetails>
    <Keys>
     <Key Type="IRAgentReference">As advised by SDS Team</Key>
    </Keys>
    <TargetDetails>
      <Organisation>IR</Organisation>
    </TargetDetails>
    <ChannelRouting>
      <Channel>
        <URI>Your 4 digit VendorID</URI>
        <Product>Your Product Name</Product>
        <Version>Version of your Product</Version>
      </Channel>
    </ChannelRouting>
  </GovTalkDetails>
  <Body>
    <IRenvelope xmlns="http://www.govtalk.gov.uk/taxation/AgentAuthRequest/1">
      <IRheader>
        
        <Keys>
          <Key Type="IRAgentReference">As advised by SDS Team</Key>
        </Keys>
        <PeriodEnd>2007-04-05</PeriodEnd>
        <DefaultCurrency>GBP</DefaultCurrency>
        <Sender>Agent</Sender>
      </IRheader>
      <AgentRequest>
        <Add>
          <SA>
            <UTR>1000000158</UTR>
            <NINO>AB123456D</NINO>
            <Postcode>BD98 8AA</Postcode>
            <YourReference>AB/CD</YourReference>
          </SA>
        </Add>
      </AgentRequest>
    </IRenvelope>
  </Body>
</GovTalkMessage>