<?xml version="1.0" encoding="UTF-8"?>
<!-- 
  Full Example - Export Declaration (decHfrExport)
  Transport from Bulgaria to EU Member State
  
  Schema: decHfr_export_v5_restrict.xsd
  Purpose: Submission of data for the transport of goods with high fiscal risk, 
           originating from the territory of the country and destined for the 
           territory of another European Union Member State
-->
<decHfrExport>
  <part1>
    <!-- 
      recipient: Supplier/seller details (Transferor) - REQUIRED
    -->
    <recipient>
      <ident>123456789</ident>
      <identtype>1</identtype>
    </recipient>
    
    <!-- 
      uin: Unique transport number - OPTIONAL
      Used only for corrections
    -->
    <uin>2601200000001</uin>
    
    <!-- 
      carrier: Carrier details - OPTIONAL (if issr=false)
    -->
    <carrier>
      <reprfirm>
        <isfirm>true</isfirm>
        <name>Transport Company EOOD</name>
        <bulstat>987654321</bulstat>
        <identtype>1</identtype>
      </reprfirm>
    </carrier>
    
    <!-- 
      issr: Flag - The supplier is also the carrier - REQUIRED
    -->
    <issr>false</issr>
    
    <!-- 
      organizer: Person organizing the transport - OPTIONAL
    -->
    <organizer>
      <reprperson>
        <isperson>true</isperson>
        <name>Georgi Georgiev</name>
        <egn>8501011234</egn>
        <identtype>2</identtype>
      </reprperson>
    </organizer>
    
    <!-- Vehicle registration -->
    <regvehicle>CA1234AB</regvehicle>
    <regtrailer1>CA9999XY</regtrailer1>
    <regtrailer2>CA8888ZZ</regtrailer2>
    
    <!-- Transfer -->
    <istransfer>true</istransfer>
    <transferaddress>
      <localaddress>Transfer Point, Highway E85</localaddress>
      <ekatte>68134</ekatte>
    </transferaddress>
    <transferdate>2026-01-20</transferdate>
    <transfertime>14:00</transfertime>
    <transcarrier>
      <reprfirm>
        <isfirm>true</isfirm>
        <name>Second Transport Ltd</name>
        <bulstat>111222333</bulstat>
        <identtype>1</identtype>
      </reprfirm>
    </transcarrier>
    <transregvehicle>PB5555CD</transregvehicle>
    <transregtrailer1>PB6666EF</transregtrailer1>
    <transregtrailer2>PB7777GH</transregtrailer2>
    
    <!-- 
      Transhipment - OPTIONAL
      Transport data for water/rail/air transport
      transporttype: 1=Water, 2=Railway, 3=Air
    -->
    <transhipment>
      <istranshipment>true</istranshipment>
      <transporttype>2</transporttype>
      <transdate>2026-01-19</transdate>
      <transtime>10:30</transtime>
      <transaddress>
        <localaddress>Railway Terminal Sofia</localaddress>
        <street>Central Station</street>
        <numb>1</numb>
        <ekatte>68134</ekatte>
      </transaddress>
    </transhipment>
    
    <!-- 
      receivedaddress: Loading address - REQUIRED
      Note: In Export, this is where goods are loaded (Bulgaria)
    -->
    <receivedaddress>
      <localaddress>Sofia Industrial Zone</localaddress>
      <street>Industrial Street</street>
      <numb>15</numb>
      <ekatte>68134</ekatte>
    </receivedaddress>
    <receiveddate>2026-01-20</receiveddate>
    <receivedtime>08:00</receivedtime>
    
    <!-- 
      cr: Recipient/buyer details - REQUIRED
    -->
    <cr>
      <rowenum>
        <crident>DE123456789</crident>
        <cridenttype>9</cridenttype>
        <crname>German Buyer GmbH</crname>
        
        <!-- Third party (triangular operation) - OPTIONAL -->
        <tident>AT987654321</tident>
        <tidenttype>9</tidenttype>
        <tname>Austrian Intermediary AG</tname>
        
        <!-- 
          country: Place of receipt – country - REQUIRED
          ISO 2-letter country code
        -->
        <country>DE</country>
        
        <!-- Goods -->
        <goods>
          <rowenum>
            <code>GOODS123</code>
            <quantitytype>кг</quantitytype>
            <quantitynet>100.000</quantitynet>
            <quantitygross>110.000</quantitygross>
            <price>2500.00</price>
            <purpose>01</purpose>
          </rowenum>
          <rowenum>
            <code>GOODS456</code>
            <quantitytype>броя</quantitytype>
            <quantitynet>50.000</quantitynet>
            <price>1500.00</price>
            <purpose>04</purpose>
            <purposeother>Processing for re-export</purposeother>
          </rowenum>
        </goods>
      </rowenum>
    </cr>
    
    <!-- Contact information -->
    <cname>Ivan Petrov</cname>
    <cphone>888123456</cphone>
    <cphonecode>+359</cphonecode>
    <cpemail>contact@example.bg</cpemail>
    
    <!-- Declarant -->
    <dname>Maria Ivanova</dname>
    <iscorrect>true</iscorrect>
  </part1>
</decHfrExport>
