<?xml version="1.0" encoding="utf-8"?>
<!--
  NRA HFRG - Flat XML Import Format (Bulgaria)
  Transport declarations only.

  OperationType values:
    9  = Import
    10 = Export
    13 = Internal Transport
    14 = Third Country

  Fill only the fields relevant to the chosen OperationType.
  Empty elements can be omitted.
-->
<HFRGBULGARIA>

    <!-- System header -->
    <Header>
        <Version>1</Version>
        <FiscalRegNo>123456789</FiscalRegNo>
        <OperationType>9</OperationType>
        <TransportDate>2025-04-15T08:00:00</TransportDate>
        <InternalReference>76767879879809</InternalReference>
        <UIN></UIN>
    </Header>

    <!-- Recipient: used by Import (9), Export (10) -->
    <RecipientIdent>123456789</RecipientIdent>
    <RecipientIdentType>1</RecipientIdentType>  <!-- 1=Bulstat, 2=PIN, 3=FPN, 5=NRA -->

    <!-- Shipper: used by Internal (13), ThirdCountry (14) -->
    <ShipperIdent>123456789</ShipperIdent>
    <ShipperIdentType>1</ShipperIdentType>

    <!-- Export-specific (10): is supplier also carrier? -->
    <IsSr>false</IsSr>

    <!-- Customs: used by ThirdCountry (14) -->
    <CustomsOffice>BG001000</CustomsOffice>
    <CustomsDocument>25BG000012345678</CustomsDocument>
    <CustomsDate>2025-04-14</CustomsDate>
    <CustomsTime>09:00</CustomsTime>
    <CustomsLocation>BG001000</CustomsLocation>

    <!-- Carrier -->
    <HasCarrier>true</HasCarrier>
    <CarrierIsPerson>false</CarrierIsPerson>
    <CarrierName>Transport Ltd</CarrierName>
    <CarrierIdent>987654321</CarrierIdent>
    <CarrierIdentType>1</CarrierIdentType>      <!-- Person: 2=PIN,3=FPN,5=NRA,6=Other; Firm: 1=Bulstat,5=NRA,6=Other,9=VIN -->

    <!-- Organizer -->
    <HasOrganizer>false</HasOrganizer>
    <OrganizerIsPerson>false</OrganizerIsPerson>
    <OrganizerName></OrganizerName>
    <OrganizerIdent></OrganizerIdent>
    <OrganizerIdentType>1</OrganizerIdentType>

    <!-- Vehicle -->
    <RegVehicle>CA1234AB</RegVehicle>
    <RegTrailer1>CB5678CD</RegTrailer1>
    <RegTrailer2></RegTrailer2>

    <!-- Loading address: used by Export (10), Internal (13) -->
    <LoadLocalAddress>Sofia</LoadLocalAddress>
    <LoadStreet>ul. Maritza</LoadStreet>
    <LoadNumber>55</LoadNumber>
    <LoadEkatte>68134</LoadEkatte>
    <LoadDate>2025-04-15</LoadDate>
    <LoadTime>08:00</LoadTime>

    <!-- Transhipment -->
    <IsTranshipment>false</IsTranshipment>
    <TranshipmentTransportType>1</TranshipmentTransportType>    <!-- 1=Water, 2=Railway, 3=Air -->
    <TranshipmentDate>2025-04-15</TranshipmentDate>
    <TranshipmentTime>10:00</TranshipmentTime>
    <TranshipmentLocalAddress>Sofia</TranshipmentLocalAddress>
    <TranshipmentStreet>bul. Tsarigradsko shose</TranshipmentStreet>
    <TranshipmentNumber>100</TranshipmentNumber>
    <TranshipmentEkatte>68134</TranshipmentEkatte>

    <!-- Transfer -->
    <IsTransfer>false</IsTransfer>
    <TransferLocalAddress></TransferLocalAddress>
    <TransferStreet></TransferStreet>
    <TransferNumber></TransferNumber>
    <TransferEkatte></TransferEkatte>
    <TransferDate></TransferDate>
    <TransferTime></TransferTime>
    <TransCarrierIsPerson>false</TransCarrierIsPerson>
    <TransCarrierName></TransCarrierName>
    <TransCarrierIdent></TransCarrierIdent>
    <TransCarrierIdentType>1</TransCarrierIdentType>
    <TransRegVehicle></TransRegVehicle>
    <TransRegTrailer1></TransRegTrailer1>
    <TransRegTrailer2></TransRegTrailer2>

    <!-- Counterparties: used by Import (9), Internal (13), ThirdCountry (14) -->
    <Counterparties>
        <Counterparty>
            <Ident>987654321</Ident>
            <IdentType>1</IdentType>           <!-- 1=Bulstat, 2=PIN, 3=FPN, 5=NRA, 6=Other, 9=VIN -->
            <Name>Mueller GmbH</Name>
            <TIdent></TIdent>
            <TIdentType></TIdentType>
            <TName></TName>
            <Country>DE</Country>
            <Addresses>
                <Address>
                    <LocalAddress>Sofia</LocalAddress>
                    <Street>ul. Vitosha</Street>
                    <Number>10</Number>
                    <Ekatte>68134</Ekatte>
                    <ReceivedDate>2025-04-15</ReceivedDate>
                    <ReceivedTime>14:00</ReceivedTime>
                    <Goods>
                        <Good>
                            <Code>31024010</Code>
                            <QuantityType>kg</QuantityType>     <!-- kg, m2, pcs -->
                            <QuantityNet>1000.000</QuantityNet>
                            <QuantityGross>1050.000</QuantityGross>
                            <Price>5000.00</Price>
                            <Purpose>01</Purpose>               <!-- 01=Delivery, 02=Complaint, 03=Donation, 04=Processing, 05=StorageUntilDemand, 06=Other, 07=TransitWithTransshipment -->
                            <PurposeOther></PurposeOther>
                        </Good>
                         <Good>
                            <Code>31024012</Code>
                            <QuantityType>kg</QuantityType>     <!-- kg, m2, pcs -->
                            <QuantityNet>1000.000</QuantityNet>
                            <QuantityGross>1050.000</QuantityGross>
                            <Price>5000.00</Price>
                            <Purpose>01</Purpose>               <!-- 01=Delivery, 02=Complaint, 03=Donation, 04=Processing, 05=StorageUntilDemand, 06=Other, 07=TransitWithTransshipment -->
                            <PurposeOther></PurposeOther>
                        </Good>
                    </Goods>
                </Address>
            </Addresses>
        </Counterparty>
    </Counterparties>

    <!-- Buyers: used by Export (10) - simpler structure, no addresses -->
    <Buyers>
        <Buyer>
            <Ident>111222333</Ident>
            <IdentType>1</IdentType>           <!-- 1=Bulstat, 2=PIN, 3=FPN, 5=NRA, 6=Other, 9=VIN -->
            <Name>Fischer AG</Name>
            <TIdent></TIdent>
            <TIdentType></TIdentType>
            <TName></TName>
            <Country>Germany</Country>
            <Goods>
                <Good>
                    <Code>31024010</Code>
                    <QuantityType>kg</QuantityType>
                    <QuantityNet>2000.000</QuantityNet>
                    <QuantityGross>2100.000</QuantityGross>
                    <Price>10000.00</Price>
                    <Purpose>01</Purpose>
                    <PurposeOther></PurposeOther>
                </Good>
                <Good>
                    <Code>31024011</Code>
                    <QuantityType>kg</QuantityType>
                    <QuantityNet>2000.000</QuantityNet>
                    <QuantityGross>2100.000</QuantityGross>
                    <Price>10000.00</Price>
                    <Purpose>01</Purpose>
                    <PurposeOther></PurposeOther>
                </Good>
            </Goods>
        </Buyer>
    </Buyers>

    <!-- Contact info -->
    <ContactName>Ivan Petrov</ContactName>
    <ContactPhoneCode>+359</ContactPhoneCode>
    <ContactPhone>888123456</ContactPhone>
    <ContactEmail>ivan@firma.bg</ContactEmail>
    <DeclarantName>Petar Ivanov</DeclarantName>

    <IsCorrect>true</IsCorrect>

</HFRGBULGARIA>
