<?xml version="1.0" encoding="UTF-8"?>
<ns1:ConsolidatedCargoManifest
    xmlns:ns1="http://www.example.org/CargoManifest"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

    <!-- ================= HEADER ================= -->
    <ns1:ManifestHeader>
        <ns1:MasterAirWaybillNumber>123-12345678</ns1:MasterAirWaybillNumber>
        <ns1:MasterAirWaybillIssueDate>2025-03-01</ns1:MasterAirWaybillIssueDate>
        <ns1:IssueDate>2025-03-01T10:30:00</ns1:IssueDate>
        <ns1:EstimatedArrivalDateTime>2025-03-02T14:45:00</ns1:EstimatedArrivalDateTime>
        <ns1:PortOfUnloading>PTY</ns1:PortOfUnloading>
        <ns1:PlaceOfDeparture>MIA</ns1:PlaceOfDeparture>
        <ns1:PlaceOfDestination>PTY</ns1:PlaceOfDestination>
        <ns1:TotalHouseWaybillCount>1</ns1:TotalHouseWaybillCount>
    </ns1:ManifestHeader>

    <!-- ================= TRANSPORT SEGMENT ================= -->
    <ns1:TransportSegment>
        <ns1:Carrier>
            <ns1:AirlineID>CM</ns1:AirlineID>
            <ns1:Name>COPA AIRLINES</ns1:Name>
        </ns1:Carrier>

        <ns1:Flight>
            <ns1:FlightNumber>CM1234</ns1:FlightNumber>
            <ns1:AircraftRegistration>HP1234</ns1:AircraftRegistration>
            <ns1:AircraftType>B737</ns1:AircraftType>
        </ns1:Flight>

        <ns1:RegistrationCountry>
            <ns1:CountryCode>PA</ns1:CountryCode>
        </ns1:RegistrationCountry>
    </ns1:TransportSegment>

    <!-- ================= INVOICE ================= -->
    <ns1:Invoice>
        <ns1:ID>INV-0001</ns1:ID>
        <ns1:IssueDateTime>2025-03-01</ns1:IssueDateTime>
        <ns1:GrandChargeAmount>1500.250000</ns1:GrandChargeAmount>
    </ns1:Invoice>

    <!-- ================= HOUSE WAYBILL ================= -->
    <ns1:HouseWaybill>

        <!-- Header -->
        <ns1:HouseWayBillHeader>
            <ns1:DocumentType>DRA</ns1:DocumentType>
            <ns1:AirWaybillNumber>123-87654321</ns1:AirWaybillNumber>
            <ns1:IssueDate>2025-03-01</ns1:IssueDate>
            <ns1:MasterAirWaybillNumber>123-12345678</ns1:MasterAirWaybillNumber>
            <ns1:MasterAirWaybillDate>2025-03-01</ns1:MasterAirWaybillDate>
            <ns1:ProcessingIndicator>22</ns1:ProcessingIndicator>
            <ns1:TrackingID>TRK123456</ns1:TrackingID>
            <ns1:TotalPieceCount>10.000</ns1:TotalPieceCount>
            <ns1:PackageCode>1.000</ns1:PackageCode>
            <ns1:GrossWeight>250.500</ns1:GrossWeight>
            <ns1:TotalPrepaidAmount>500.00</ns1:TotalPrepaidAmount>
            <ns1:TotalInsuranceAmount>50.00</ns1:TotalInsuranceAmount>
            <ns1:WoodPackagingIndicator>false</ns1:WoodPackagingIndicator>
        </ns1:HouseWayBillHeader>

        <!-- Parties -->
        <ns1:PartiesInformation>
            <ns1:Exporter>
                <ns1:Name>EXPORTADORA XYZ S.A.</ns1:Name>
                <ns1:RegistrationNumber>RUC123456</ns1:RegistrationNumber>
                <ns1:Address>CALLE 1, CIUDAD DE PANAMA</ns1:Address>
            </ns1:Exporter>

            <ns1:Consignee>
                <ns1:Name>IMPORTADORA ABC S.A.</ns1:Name>
                <ns1:RegistrationNumber>RUC987654</ns1:RegistrationNumber>
                <ns1:Address>AVENIDA CENTRAL, CIUDAD DE PANAMA</ns1:Address>
            </ns1:Consignee>

            <ns1:NotifyParty>
                <ns1:Name>AGENTE LOGISTICO</ns1:Name>
                <ns1:Address>AREA CARGA AEROPUERTO</ns1:Address>
            </ns1:NotifyParty>
        </ns1:PartiesInformation>

        <!-- Locations -->
        <ns1:LocationDetails>
            <ns1:OriginLocation>
                <ns1:CountryCode>US</ns1:CountryCode>
                <ns1:PortCode>MIA</ns1:PortCode>
            </ns1:OriginLocation>

            <ns1:DepartureLocation>
                <ns1:CountryCode>US</ns1:CountryCode>
                <ns1:PortCode>MIA</ns1:PortCode>
            </ns1:DepartureLocation>

            <ns1:DestinationLocation>
                <ns1:CountryCode>PA</ns1:CountryCode>
                <ns1:PortCode>PTY</ns1:PortCode>
            </ns1:DestinationLocation>

            <ns1:TransitLocation>
                <ns1:CountryCode>CO</ns1:CountryCode>
                <ns1:PortCode>BOG</ns1:PortCode>
                <ns1:SequenceNumber>1</ns1:SequenceNumber>
            </ns1:TransitLocation>
        </ns1:LocationDetails>

        <!-- Goods -->
        <ns1:GoodsItemList>
            <ns1:GoodsItem>
                <ns1:HSCode>84713000</ns1:HSCode>
                <ns1:CargoCategory>A</ns1:CargoCategory>
                <ns1:Description>COMPUTADORAS PORTATILES</ns1:Description>
                <ns1:CargoType>GEN</ns1:CargoType>
                <ns1:OriginCountryCode>US</ns1:OriginCountryCode>
                <ns1:ManifestedQuantity>10</ns1:ManifestedQuantity>
                <ns1:QuantityUnit>1</ns1:QuantityUnit>
                <ns1:GrossWeight>250.500</ns1:GrossWeight>
                <ns1:CargoNature>001</ns1:CargoNature>
                <ns1:FOBValue>12000.000</ns1:FOBValue>
                <ns1:UNNumber>UN0000</ns1:UNNumber>
            </ns1:GoodsItem>
        </ns1:GoodsItemList>

    </ns1:HouseWaybill>

</ns1:ConsolidatedCargoManifest>