Szczegóły techniczne dotyczące wdrożenia:
- PLT (PaperlessTrade)
- sekcji celnej/deklaracji eksportowej (CIN)

w integracji opartej o XML PI - SchemaVersion 10.x

Opis zawiera wdrożenie PLT (PaperlessTrade) z opcją BypassPLTError
(last updated: 2023-11-08)


BypassPLTError to funkcjonalnosć/opcja która pozwala wysylać requesty do API z uslugą PLT(WY) - niezależnie czy ta usługa jest dostępna pomiędzy krajami Nadawcy i Odbiorcy (niedostępnosć całkowita lub wynikająca z przekroczenia limitu wartości przesyłki)

Po stronie API następuje weryfikacja dostępnosci usługi:
Jeżeli usługa PLT jest dostępna - tworzony jest list przewozowy z uslugą PLT (WY) - nie ma potrzeby dołączać wydrukowanej faktury
Jeżeli usługa PLT nie jest dostępna - tworzony jest list przewozowy z uslugą ADI (PJ) - niezbędne jest dołączenie do przesyłki wydrukowanej faktury która jest niezbędna do odprawy celnej importowej w kraju przeznaczenia.

W obu powyższych przypadkach do systemów DHL transmitowany jest obraz faktury wystarczający do odprawy exportowej przesyłki.

Poniżej przykłady requestów w zależnosci od 'źródła pochodzenia' faktury (własna / generowana przez API):

  • 1 .Własne faktury - Obraz(y) własnych faktur + sekcja celna

    Załączone elektroniczne obrazy własnych fakur (maksymalnie 2MB na jeden obraz) + uzupełniona sekcja celna

    a.
    pobierz plik
    <UseDHLInvoice>N</UseDHLInvoice>
    <DHLInvoiceLanguageCode>en</DHLInvoiceLanguageCode>
    <DHLInvoiceType>CMI</DHLInvoiceType>
    <!--  type of invoice CMI/PFI - Commercial/Proforma  -->
    <ExportDeclaration>
    	<SignatureName>John Smith</SignatureName>
    	<ExportReason>Sale</ExportReason>
    	<!-- P (Permanent)T ( Temporary)R ( Re-Export)  -->
    	<ExportReasonCode>P</ExportReasonCode>
    	<InvoiceNumber>123/2020</InvoiceNumber>
    	<InvoiceDate>2022-01-31</InvoiceDate>
    	<!-- TRANSPORT COST - IF EXISTS
    	 <OtherCharges>
    		 <OtherCharge>
    			 <OtherChargeValue>13.06</OtherChargeValue>
    			 <OtherChargeType>FRCST</OtherChargeType>
    		 </OtherCharge>
    	 </OtherCharges>
    	 -->
    	<ExportLineItem>
    		<LineNumber>1</LineNumber>
    		<Quantity>2</Quantity>
    		<QuantityUnit>PCS</QuantityUnit>
    		<Description>hdd drive model 1</Description>
    		<!--  one lement value  -->
    		<Value>6.25</Value>
    		<CommodityCode>12345678</CommodityCode> <!-- export HS code in sender's country -->
    		<Weight>
    			<!--  waga net weight all elements of this line item   -->
    			<Weight>0.1</Weight>
    			<WeightUnit>K</WeightUnit>
    		</Weight>
    		<GrossWeight>
    			<Weight>0.2</Weight>
    			<!--  waga gross weight all elements of this line item   -->
    			<WeightUnit>K</WeightUnit>
    		</GrossWeight>
    		<ManufactureCountryCode>PL</ManufactureCountryCode>
    		<ManufactureCountryName>Poland</ManufactureCountryName>
    		<ImportCommodityCode>12345678</ImportCommodityCode> <!-- import HS code in receiver's country -->
    		<!--if a few invoices assign to one shipment - declare number of invoice to this LineItem -->
    		<!--
    		<CustomsPaperworks> 
    			<CustomsPaperwork>
    		<CustomsPaperworkType>INV</CustomsPaperworkType> 
    		<CustomsPaperworkID>FA/07037/23</CustomsPaperworkID> <!-- declare number of invoice to this LineItem and put see in references in tag 'InvoiceNumber' -->
    		<!--
    		</CustomsPaperwork>
    		</CustomsPaperworks>
    		-->
    	</ExportLineItem>
    	<ExportLineItem>
    		<LineNumber>2</LineNumber>
    		<Quantity>3</Quantity>
    		<QuantityUnit>PCS</QuantityUnit>
    		<Description>hdd drive model 2</Description>
    		<Value>11.25</Value>
    		<CommodityCode>87654321</CommodityCode><!-- export HS code in sender's country -->
    		<Weight>
    			<Weight>0.3</Weight>
    			<WeightUnit>K</WeightUnit>
    		</Weight>
    		<GrossWeight>
    			<Weight>0.4</Weight>
    			<WeightUnit>K</WeightUnit>
    		</GrossWeight>
    		<ManufactureCountryCode>PL</ManufactureCountryCode>
    		<ManufactureCountryName>Poland</ManufactureCountryName>
    		<ImportCommodityCode>12345678</ImportCommodityCode> <!-- import HS code in receiver's country -->
    	</ExportLineItem>
    	<PlaceOfIncoterm>BASEL</PlaceOfIncoterm>
    </ExportDeclaration>

    b.
    pobierz plik
    <SpecialService>
    		<SpecialServiceType>WY</SpecialServiceType>
    </SpecialService>

    c.
    pobierz plik
    <BypassPLTError>Y</BypassPLTError>

    d.
    pobierz plik
    <DocImages>
    	<!--  images of invoice(s) encoded Base64  -->
    	<DocImage>
    		<!--  pfirst image  -->
    		<Type>INV</Type>
    		<!--  HWB=Air waybill, INV=Invoice, PNV=Proforma, COO=Certificate Of Origin, NAF=Nafta Certificate of Origin, CIN=Commercial Invoice, DCL=Customs Declaration -->
    		<Image>JVBERi0xLjQKJcfsj6IKNSAwIG9iago8PC9MZW5ndGggNiAwIFIvRmlsdGVyIC9GbGF0ZURlY29kZT4+CnN0cmVhbQp4nKVQwQ6CMAy99yt6xINzdWyjVxNiYjwI7mY8ESEeOKD/n7iNgCNyc83S1/W1Xd+AUtAeZbAJND3saovdG6TQON36uAhfHQxQCBVOrEpx0+PB+SaMLNiga30pcyHtOIBQWWGZNVrrp3pCD7eMNlsltFV5hqvISHl3JygdVEAYzP+B8Amact/doFGsUDHHgCk4z3lAC5wych4zS4ZJGZJ4mY76RAki+G95Q7/LX+ZFzzNyKzJ838oZXZNsKlIFHxSBX5ZlbmRzdHJlYW0KZW5kb2JqCjYgMCBvYmoKMTk1CmVuZG9iago0IDAgb2JqCjw8L1R5cGUvUGFnZS9NZWRpYUJveCBbMCAwIDYxMiA3OTJdCi9Sb3RhdGUgMC9QYXJlbnQgMyAwIFIKL1Jlc291cmNlczw8L1Byb2NTZXRbL1BERiAvVGV4dF0KL0V4dEdTdGF0ZSAxMCAwIFIKL0ZvbnQgMTEgMCBSCj4+Ci9Db250ZW50cyA1IDAgUgo+PgplbmRvYmoKMyAwIG9iago8PCAvVHlwZSAvUGFnZXMgL0tpZHMgWwo0IDAgUgpdIC9Db3VudCAxCi9Sb3RhdGUgMD4+CmVuZG9iagoxIDAgb2Jq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mVuZG9iagoyIDAgb2JqCjw8L1Byb2R1Y2VyKEdQTCBHaG9zdHNjcmlwdCA4LjE1KQovQ3JlYXRpb25EYXRlKEQ6MjAyMDA1MjcxNTA4NTMpCi9Nb2REYXRlKEQ6MjAyMDA1MjcxNTA4NTMpCi9UaXRsZShuZXcgMSkKL0NyZWF0b3IoUFNjcmlwdDUuZGxsIFZlcnNpb24gNS4yLjIpCi9BdXRob3IobWtvbGFrKT4+ZW5kb2JqCnhyZWYKMCAxNAowMDAwMDAwMDAwIDY1NTM1IGYgCjAwMDAwMDA1MjcgMDAwMDAgbiAKMDAwMDAwMjEzOCAwMDAwMCBuIAowMDAwMDAwNDU5IDAwMDAwIG4gCjAwMDAwMDAyOTkgMDAwMDAgbiAKMDAwMDAwMDAxNSAwMDAwMCBuIAowMDAwMDAwMjgwIDAwMDAwIG4gCjAwMDAwMDA1NzUgMDAwMDAgbiAKMDAwMDAwMTg4MyAwMDAwMCBuIAowMDAwMDAxNjEzIDAwMDAwIG4gCjAwMDAwMDA2MTYgMDAwMDAgbiAKMDAwMDAwMDY0NiAwMDAwMCBuIAowMDAwMDAwNjc2IDAwMDAwIG4gCjAwMDAwMDE1OTMgMDAwMDAgbiAKdHJhaWxlcgo8PCAvU2l6ZSAxNCAvUm9vdCAxIDAgUiAvSW5mbyAyIDAgUgovSUQgWyh8jAba95hzmAIlia50X4QCKSh8jAba95hzmAIlia50X4QCKV0KPj4Kc3RhcnR4cmVmCjIzMTQKJSVFT0YK</Image>
    		<!--   Maximum image size is 2 MB (2048 KB) -->
    		<ImageFormat>PDF</ImageFormat>
    		<!--  • PDF (Portable Document Format), • PNG (Portable Network Graphics), • TIFF (Tag Image File Format), • GIF (Graphics Interchange Format), • JPEG (Joint Photographic  -->
    
    	
    	</DocImage>
    	<DocImage>
    		<!--  second image  -->
    		<Type>INV</Type>
    		<!--  HWB=Air waybill, INV=Invoice, PNV=Proforma, COO=Certificate Of Origin, NAF=Nafta Certificate of Origin, CIN=Commercial Invo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EzOCAwMDAwMCBuIAowMDAwMDAwNDU5IDAwMDAwIG4gCjAwMDAwMDAyOTkgMDAwMDAgbiAKMDAwMDAwMDAxNSAwMDAwMCBuIAowMDAwMDAwMjgwIDAwMDAwIG4gCjAwMDAwMDA1NzUgMDAwMDAgbiAKMDAwMDAwMTg4MyAwMDAwMCBuIAowMDAwMDAxNjEzIDAwMDAwIG4gCjAwMDAwMDA2MTYgMDAwMDAgbiAKMDAwMDAwMDY0NiAwMDAwMCBuIAowMDAwMDAwNjc2IDAwMDAwIG4gCjAwMDAwMDE1OTMgMDAwMDAgbiAKdHJhaWxlcgo8PCAvU2l6ZSAxNCAvUm9vdCAxIDAgUiAvSW5mbyAyIDAgUgovSUQgWyh8jAba95hzmAIlia50X4QCKSh8jAba95hzmAIlia50X4QCKV0KPj4Kc3RhcnR4cmVmCjIzMTQKJSVFT0YK</Image>
    		<!--   Maximum image size is 2 MB (2048 KB) -->
    		<ImageFormat>PDF</ImageFormat>
    		<!--  • PDF (Portable Document Format), • PNG (Portable Network Graphics), • TIFF (Tag Image File Format), • GIF (Graphics Interchange Format), • JPEG (Joint Photographic  -->
    
    	
    	</DocImage>
    </DocImages>

    e.
    pobierz plik
    <req:ShipmentRequest xmlns:req="http://www.dhl.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.dhl.com ship-val-global-req.xsd" schemaVersion="10.0">
        <Request>
            <ServiceHeader>
                <MessageTime>2022-01-31T13:05:59.835+02:00</MessageTime>
                <MessageReference>1234567890123456789012345678901</MessageReference>
                <SiteID>DServiceVal</SiteID>
                <Password>testServVal</Password>
            </ServiceHeader>
            <MetaData>
                <SoftwareName>DHLShipmentService</SoftwareName>
                <SoftwareVersion>1.0</SoftwareVersion>
            </MetaData>
        </Request>
        <RegionCode>EU</RegionCode>
        <RequestedPickupTime>N</RequestedPickupTime>
        <NewShipper>N</NewShipper>
        <LanguageCode>en</LanguageCode>
        <Billing>
            <!--  valid DHL account number  -->
            <ShipperAccountNumber>*********</ShipperAccountNumber>
            <ShippingPaymentType>S</ShippingPaymentType>
        </Billing>
        <Consignee>
            <CompanyName>RECEIVER COMPANY</CompanyName>
            <AddressLine1>RECEIVER ADDRESS 1</AddressLine1>
            <AddressLine2>RECEIVER ADDRESS 2</AddressLine2>
            <City>BASEL</City>
            <PostalCode>9000</PostalCode>
            <CountryCode>CH</CountryCode>
            <CountryName>SWITZERLAND</CountryName>
            <Contact>
                <PersonName>JOHN SMITH</PersonName>
                <PhoneNumber>00 111 222 333</PhoneNumber>
            </Contact>
        </Consignee>
        <Dutiable>
            <DeclaredValue>46.25</DeclaredValue>
            <DeclaredCurrency>EUR</DeclaredCurrency>
            <TermsOfTrade>DAP</TermsOfTrade>
        </Dutiable>
        <!--  N/Y create invoice -->
        <UseDHLInvoice>N</UseDHLInvoice>
        <DHLInvoiceLanguageCode>en</DHLInvoiceLanguageCode>
        <DHLInvoiceType>CMI</DHLInvoiceType>
        <!--  type of invoice CMI/PFI - Commercial/Proforma  -->
        <ExportDeclaration>
            <SignatureName>John Smith</SignatureName>
            <ExportReason>Sale</ExportReason>
            <!-- P (Permanent)T ( Temporary)R ( Re-Export)  -->
            <ExportReasonCode>P</ExportReasonCode>
            <InvoiceNumber>123/2020</InvoiceNumber>
            <InvoiceDate>2022-01-31</InvoiceDate>
    		<!-- TRANSPORT COST - IF EXISTS
    		 <OtherCharges>
    			 <OtherCharge>
    				 <OtherChargeValue>13.06</OtherChargeValue>
    				 <OtherChargeType>FRCST</OtherChargeType>
    			 </OtherCharge>
    		 </OtherCharges>
    		 -->		
            <ExportLineItem>
                <LineNumber>1</LineNumber>
                <Quantity>2</Quantity>
                <QuantityUnit>PCS</QuantityUnit>
                <Description>hdd drive model 1</Description>
                <!--  one lement value  -->
                <Value>6.25</Value>
                <CommodityCode>12345678</CommodityCode>  <!-- export HS code in sender's country -->
                <Weight>
                    <!--  waga net weight all elements of this line item   -->
                    <Weight>0.1</Weight>
                    <WeightUnit>K</WeightUnit>
                </Weight>
                <GrossWeight>
                    <Weight>0.2</Weight>
                    <!--  waga gross weight all elements of this line item   -->
                    <WeightUnit>K</WeightUnit>
                </GrossWeight>
                <ManufactureCountryCode>PL</ManufactureCountryCode>
                <ManufactureCountryName>Poland</ManufactureCountryName>
    		<ImportCommodityCode>12345678</ImportCommodityCode> <!-- import HS code in receiver's country -->
    		<!--if a few invoices assign to one shipment - declare number of invoice to this LineItem
    		<CustomsPaperworks> 
    			<CustomsPaperwork>
    		<CustomsPaperworkType>INV</CustomsPaperworkType> 
    		<CustomsPaperworkID>FA/07037/23</CustomsPaperworkID> //declare number of invoice to this LineItem and put see in references in tag 'InvoiceNumber'
    		</CustomsPaperwork>
    		</CustomsPaperworks>
    		-->			
            </ExportLineItem>
            <ExportLineItem>
                <LineNumber>2</LineNumber>
                <Quantity>3</Quantity>
                <QuantityUnit>PCS</QuantityUnit>
                <Description>hdd drive model 2</Description>
                <Value>11.25</Value>
                <CommodityCode>87654321</CommodityCode>  <!-- export HS code in sender's country -->
                <Weight>
                    <Weight>0.3</Weight>
                    <WeightUnit>K</WeightUnit>
                </Weight>
                <GrossWeight>
                    <Weight>0.4</Weight>
                    <WeightUnit>K</WeightUnit>
                </GrossWeight>
                <ManufactureCountryCode>PL</ManufactureCountryCode>
                <ManufactureCountryName>Poland</ManufactureCountryName>
    			<ImportCommodityCode>12345678</ImportCommodityCode> <!-- import HS code in receiver's country -->
            </ExportLineItem>
    		<PlaceOfIncoterm>BASEL</PlaceOfIncoterm>
        </ExportDeclaration>
        <!--  <Reference></Reference>  -->
        <ShipmentDetails>
            <Pieces>
                <Piece>
                    <PieceID>Piece 1</PieceID>
                    <PackageType>CP</PackageType>
                    <Weight>1.2</Weight>
                    <Width>1</Width>
                    <Height>1</Height>
                    <Depth>1</Depth>
                    <PieceContents>Sensors 1</PieceContents>
                </Piece>
                <Piece>
                    <PieceID>Piece 2</PieceID>
                    <PackageType>CP</PackageType>
                    <Weight>1.3</Weight>
                    <Width>1</Width>
                    <Height>1</Height>
                    <Depth>1</Depth>
                    <PieceContents>Sensors 2</PieceContents>
                </Piece>
            </Pieces>
            <WeightUnit>K</WeightUnit>
            <GlobalProductCode>P</GlobalProductCode>
            <Date>2022-01-30</Date>
            <Contents>Sensors</Contents>
            <DimensionUnit>C</DimensionUnit>
            <IsDutiable>Y</IsDutiable>
            <CurrencyCode>EUR</CurrencyCode>
            <CustData>dodatkowe dane do przesylki</CustData>
        </ShipmentDetails>
        <Shipper>
            <ShipperID>TEST MK</ShipperID>
            <CompanyName>TEST SENDER</CompanyName>
            <AddressLine1>SENDER ADDRESS 1/</AddressLine1>
            <AddressLine2>SENDER ADDRESS 1/</AddressLine2>
            <City>KATY WROCLAWSKIE</City>
            <PostalCode>55-080</PostalCode>
            <CountryCode>PL</CountryCode>
            <CountryName>Poland</CountryName>
            <Contact>
                <PersonName>MKOLAK</PersonName>
                <PhoneNumber>111 222 333</PhoneNumber>
                <Email>test@o2.pl</Email>
            </Contact>
        </Shipper>
        <SpecialService>
            <!--  PLT (PaperlessTrade Service  -->
            <SpecialServiceType>WY</SpecialServiceType>
        </SpecialService>
        <EProcShip>N</EProcShip>
        <DocImages>
            <!--  images of invoice(s) encoded Base64  -->
            <DocImage>
                <!--  pfirst image  -->
                <Type>INV</Type>
                <!--  HWB=Air waybill, INV=Invoice, PNV=Proforma, COO=Certificate Of Origin, NAF=Nafta Certificate of Origin, CIN=Commercial Invoice, DCL=Customs Declaration -->
                <Image>JVBERi0xLjQKJcfsj6IKNSAwIG9iago8PC9MZW5ndGggNiAwIFIvRmlsdGVyIC9GbGF0ZURlY29kZT4+CnN0cmVhbQp4nKVQwQ6CMAy99yt6xINzdWyjVxNiYjwI7mY8ESEeOKD/n7iNgCNyc83S1/W1Xd+AUtAeZbAJND3saovdG6TQON36uAhfHQxQCBVOrEpx0+PB+SaMLNiga30pcyHtOIBQWWGZNVrrp3pCD7eMNlsltFV5hqvISHl3JygdVEAYzP+B8Amact/doFGsUDHHgCk4z3lAC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MgMDAwMDAgbiAKdHJhaWxlcgo8PCAvU2l6ZSAxNCAvUm9vdCAxIDAgUiAvSW5mbyAyIDAgUgovSUQgWyh8jAba95hzmAIlia50X4QCKSh8jAba95hzmAIlia50X4QCKV0KPj4Kc3RhcnR4cmVmCjIzMTQKJSVFT0YK</Image>
                <!--   Maximum image size is 2 MB (2048 KB) -->
                <ImageFormat>PDF</ImageFormat>
                <!--  • PDF (Portable Document Format), • PNG (Portable Network Graphics), • TIFF (Tag Image File Format), • GIF (Graphics Interchange Format), • JPEG (Joint Photographic  -->
    
            
            </DocImage>
            <DocImage>
                <!--  second image  -->
                <Type>INV</Type>
                <!--  HWB=Air waybill, INV=Invoice, PNV=Proforma, COO=Certificate Of Origin, NAF=Nafta Certificate of Origin, CIN=Commercial Invoice, DCL=Customs Declaration -->
                <Image>JVBERi0xLjQKJcfsj6IKNSAwIG9iago8PC9MZW5ndGggNiAwIFIvRmlsdGVyIC9GbGF0ZURlY29kZT4+CnN0cmVhbQp4nKVQwQ6CMAy99yt6xINzdWyjVxNiYjwI7mY8ESEeOKD/n7iNgCNyc83S1/W1Xd+AUtAeZbAJND3saovdG6TQON36uAhfHQxQCBVOrEpx0+PB+SaMLNiga30pcyHtOIBQWWGZNVrrp3pCD7eMNlsltFV5hqvISHl3JygdVEAYzP+B8Amact/doFGsUDHHgCk4z3lAC5wych4zS4ZJGZJ4mY76RAki+G95Q7/LX+ZFzzNyKzJ838oZXZNsKlIFHxSBX5ZlbmRzdHJlYW0KZW5kb2JqCjYgMCBvYmoKMTk1CmVuZG9iago0IDAgb2JqCjw8L1R5cGUvUGFnZS9NZWRpYUJveCBbMCAwIDYxMiA3OTJdCi9Sb3RhdGUgMC9QYXJlbnQgMyAwIFIKL1Jlc291cmNlczw8L1Byb2NTZXRbL1BERiAvVGV4dF0KL0V4dEdTdGF0ZSAxMCAwIFIKL0ZvbnQgMTEgMCBSCj4+Ci9Db250ZW50cyA1IDAgUgo+PgplbmRvYmoKMyAwIG9iago8P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TWlzc2luZ1dpZHRoIDYwMAovQ2hhclNldCgvTC9vbmUvUC9FL1MvVC9zcGFjZSkvRm9udEZpbGUzIDEyIDAgUj4+CmVuZG9iagoyIDAgb2JqCjw8L1Byb2R1Y2VyKEdQTCBHaG9zdHNjcmlwdCA4LjE1KQovQ3JlYXRpb25EYXRlKEQ6MjAyMDA1MjcxNTA4NTMpCi9Nb2REYXRlKEQ6MjAyMDA1MjcxNTA4NTMpCi9UaXRsZShuZXcgMSkKL0NyZWF0b3IoUFNjcmlwdDUuZGxsIFZlcnNpb24gNS4yLjIpCi9BdXRob3IobWtvbGFrKT4+ZW5kb2JqCnhyZWYKMCAxNAowMDAwMDAwMDAwIDY1NTM1IGYgCjAwMDAwMDA1MjcgMDAwMDAgbiAKMDAwMDAwMjEzOCAwMDAwMCBuIAowMDAwMDAwNDU5IDAwMDAwIG4gCjAwMDAwMDAyOTkgMDAwMDAgbiAKMDAwMDAwMDAxNSAwMDAwMCBuIAowMDAwMDAwMjgwIDAwMDAwIG4gCjAwMDAwMDA1NzUgMDAwMDAgbiAKMDAwMDAwMTg4MyAwMDAwMCBuIAowMDAwMDAxNjEzIDAwMDAwIG4gCjAwMDAwMDA2MTYgMDAwMDAgbiAKMDAwMDAwMDY0NiAwMDAwMCBuIAowMDAwMDAwNjc2IDAwMDAwIG4gCjAwMDAwMDE1OTMgMDAwMDAgbiAKdHJhaWxlcgo8PCAvU2l6ZSAxNCAvUm9vdCAxIDAgUiAvSW5mbyAyIDAgUgovSUQgWyh8jAba95hzmAIlia50X4QCKSh8jAba95hzmAIlia50X4QCKV0KPj4Kc3RhcnR4cmVmCjIzMTQKJSVFT0YK</Image>
                <!--   Maximum image size is 2 MB (2048 KB) -->
                <ImageFormat>PDF</ImageFormat>
                <!--  • PDF (Portable Document Format), • PNG (Portable Network Graphics), • TIFF (Tag Image File Format), • GIF (Graphics Interchange Format), • JPEG (Joint Photographic  -->
    
            
            </DocImage>
        </DocImages>
        <LabelImageFormat>PDF</LabelImageFormat>
        <!--  need Waybill DOC ? -->
        <RequestArchiveDoc>N</RequestArchiveDoc>
        <Label>
            <!-- Label template -->
            <LabelTemplate>8X4_PDF</LabelTemplate>
        </Label>
    	<BypassPLTError>Y</BypassPLTError>
    </req:ShipmentRequest>
  • 2. Faktura generowana przez WebService - sekcja celna która tworzy fakturę - Uwaga: można utworzyć tylko jedną fakturę do przesyłki

    Wypełniona sekcja celna na podstawie której generowana jest faktura i przesyłana do systemów DHL Express.

    a.
    pobierz plik
    <UseDHLInvoice>Y</UseDHLInvoice>
    <DHLInvoiceLanguageCode>en</DHLInvoiceLanguageCode>
    <DHLInvoiceType>CMI</DHLInvoiceType>
    <!--  type of invoice CMI/PFI - Commercial/Proforma  -->
    <ExportDeclaration>
    	<SignatureName>John Smith</SignatureName>
    	<ExportReason>Sale</ExportReason>
    	<!-- P (Permanent)T ( Temporary)R ( Re-Export)  -->
    	<ExportReasonCode>P</ExportReasonCode>
    	<InvoiceNumber>123/2020</InvoiceNumber>
    	<InvoiceDate>2022-01-31</InvoiceDate>
    	<!-- TRANSPORT COST - IF EXISTS
    	 <OtherCharges>
    		 <OtherCharge>
    			 <OtherChargeValue>13.06</OtherChargeValue>
    			 <OtherChargeType>FRCST</OtherChargeType>
    		 </OtherCharge>
    	 </OtherCharges>
    	 -->	
    	<ExportLineItem>
    		<LineNumber>1</LineNumber>
    		<Quantity>2</Quantity>
    		<QuantityUnit>PCS</QuantityUnit>
    		<Description>hdd drive model 1</Description>
    		<!--  one lement value  -->
    		<Value>6.25</Value>
    		<CommodityCode>12345678</CommodityCode> <!-- export HS code in sender's country -->
    		<Weight>
    			<!--  waga net weight all elements of this line item   -->
    			<Weight>0.1</Weight>
    			<WeightUnit>K</WeightUnit>
    		</Weight>
    		<GrossWeight>
    			<Weight>0.2</Weight>
    			<!--  waga gross weight all elements of this line item   -->
    			<WeightUnit>K</WeightUnit>
    		</GrossWeight>
    		<ManufactureCountryCode>PL</ManufactureCountryCode>
    		<ManufactureCountryName>Poland</ManufactureCountryName>
    		<ImportCommodityCode>12345678</ImportCommodityCode> <!-- import HS code in receiver's country -->
    	</ExportLineItem>
    	<ExportLineItem>
    		<LineNumber>2</LineNumber>
    		<Quantity>3</Quantity>
    		<QuantityUnit>PCS</QuantityUnit>
    		<Description>hdd drive model 2</Description>
    		<Value>11.25</Value>
    		<CommodityCode>87654321</CommodityCode> <!-- export HS code in sender's country -->
    		<Weight>
    			<Weight>0.3</Weight>
    			<WeightUnit>K</WeightUnit>
    		</Weight>
    		<GrossWeight>
    			<Weight>0.4</Weight>
    			<WeightUnit>K</WeightUnit>
    		</GrossWeight>
    		<ManufactureCountryCode>PL</ManufactureCountryCode>
    		<ManufactureCountryName>Poland</ManufactureCountryName>
    		<ImportCommodityCode>12345678</ImportCommodityCode> <!-- import HS code in receiver's country -->
    	</ExportLineItem>
    </ExportDeclaration>

    b.
    pobierz plik
    <SpecialService>
    	<!--  PLT (PaperlessTrade Service  -->
    	<SpecialServiceType>WY</SpecialServiceType>
    </SpecialService>

    c.
    pobierz plik
    <BypassPLTError>Y</BypassPLTError>

    d.
    pobierz plik
    <req:ShipmentRequest xmlns:req="http://www.dhl.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.dhl.com ship-val-global-req.xsd" schemaVersion="10.0">
        <Request>
            <ServiceHeader>
                <MessageTime>2022-01-31T13:05:59.835+02:00</MessageTime>
                <MessageReference>1234567890123456789012345678901</MessageReference>
                <SiteID>DServiceVal</SiteID>
                <Password>testServVal</Password>
            </ServiceHeader>
            <MetaData>
                <SoftwareName>DHLShipmentService</SoftwareName>
                <SoftwareVersion>1.0</SoftwareVersion>
            </MetaData>
        </Request>
        <RegionCode>EU</RegionCode>
        <RequestedPickupTime>N</RequestedPickupTime>
        <NewShipper>N</NewShipper>
        <LanguageCode>en</LanguageCode>
        <Billing>
            <!--  valid DHL account number  -->
            <ShipperAccountNumber>*********</ShipperAccountNumber>
            <ShippingPaymentType>S</ShippingPaymentType>
        </Billing>
        <Consignee>
            <CompanyName>RECEIVER COMPANY</CompanyName>
            <AddressLine1>RECEIVER ADDRESS 1</AddressLine1>
            <AddressLine2>RECEIVER ADDRESS 2</AddressLine2>
            <City>BASEL</City>
            <PostalCode>9000</PostalCode>
            <CountryCode>CH</CountryCode>
            <CountryName>SWITZERLAND</CountryName>
            <Contact>
                <PersonName>JOHN SMITH</PersonName>
                <PhoneNumber>00 111 222 333</PhoneNumber>
            </Contact>
        </Consignee>
        <Dutiable>
            <DeclaredValue>46.25</DeclaredValue>
            <DeclaredCurrency>EUR</DeclaredCurrency>
            <TermsOfTrade>DAP</TermsOfTrade>
        </Dutiable>
        <!--  N/Y create invoice -->
        <UseDHLInvoice>Y</UseDHLInvoice>
        <DHLInvoiceLanguageCode>en</DHLInvoiceLanguageCode>
        <DHLInvoiceType>CMI</DHLInvoiceType>
        <!--  type of invoice CMI/PFI - Commercial/Proforma  -->
        <ExportDeclaration>
            <SignatureName>John Smith</SignatureName>
            <ExportReason>Sale</ExportReason>
            <!-- P (Permanent)T ( Temporary)R ( Re-Export)  -->
            <ExportReasonCode>P</ExportReasonCode>
            <InvoiceNumber>123/2020</InvoiceNumber>
            <InvoiceDate>2022-01-31</InvoiceDate>
    		<!-- TRANSPORT COST - IF EXISTS
    		 <OtherCharges>
    			 <OtherCharge>
    				 <OtherChargeValue>13.06</OtherChargeValue>
    				 <OtherChargeType>FRCST</OtherChargeType>
    			 </OtherCharge>
    		 </OtherCharges>
    		 -->		
            <ExportLineItem>
                <LineNumber>1</LineNumber>
                <Quantity>2</Quantity>
                <QuantityUnit>PCS</QuantityUnit>
                <Description>hdd drive model 1</Description>
                <!--  one lement value  -->
                <Value>6.25</Value>
                <CommodityCode>12345678</CommodityCode><!-- export HS code in sender's country -->
                <Weight>
                    <!--  waga net weight all elements of this line item   -->
                    <Weight>0.1</Weight>
                    <WeightUnit>K</WeightUnit>
                </Weight>
                <GrossWeight>
                    <Weight>0.2</Weight>
                    <!--  waga gross weight all elements of this line item   -->
                    <WeightUnit>K</WeightUnit>
                </GrossWeight>
                <ManufactureCountryCode>PL</ManufactureCountryCode>
                <ManufactureCountryName>Poland</ManufactureCountryName>
    			<ImportCommodityCode>12345678</ImportCommodityCode> <!-- import HS code in receiver's country -->
            </ExportLineItem>
            <ExportLineItem>
                <LineNumber>2</LineNumber>
                <Quantity>3</Quantity>
                <QuantityUnit>PCS</QuantityUnit>
                <Description>hdd drive model 2</Description>
                <Value>11.25</Value>
                <CommodityCode>87654321</CommodityCode><!-- export HS code in sender's country -->
                <Weight>
                    <Weight>0.3</Weight>
                    <WeightUnit>K</WeightUnit>
                </Weight>
                <GrossWeight>
                    <Weight>0.4</Weight>
                    <WeightUnit>K</WeightUnit>
                </GrossWeight>
                <ManufactureCountryCode>PL</ManufactureCountryCode>
                <ManufactureCountryName>Poland</ManufactureCountryName>
    			<ImportCommodityCode>12345678</ImportCommodityCode> <!-- import HS code in receiver's country -->
            </ExportLineItem>
        </ExportDeclaration>
        <!--  <Reference></Reference>  -->
        <ShipmentDetails>
            <Pieces>
                <Piece>
                    <PieceID>Piece 1</PieceID>
                    <PackageType>CP</PackageType>
                    <Weight>1.2</Weight>
                    <Width>1</Width>
                    <Height>1</Height>
                    <Depth>1</Depth>
                    <PieceContents>Sensors 1</PieceContents>
                </Piece>
                <Piece>
                    <PieceID>Piece 2</PieceID>
                    <PackageType>CP</PackageType>
                    <Weight>1.3</Weight>
                    <Width>1</Width>
                    <Height>1</Height>
                    <Depth>1</Depth>
                    <PieceContents>Sensors 2</PieceContents>
                </Piece>
            </Pieces>
            <WeightUnit>K</WeightUnit>
            <GlobalProductCode>P</GlobalProductCode>
            <Date>2022-01-30</Date>
            <Contents>Sensors</Contents>
            <DimensionUnit>C</DimensionUnit>
            <IsDutiable>Y</IsDutiable>
            <CurrencyCode>EUR</CurrencyCode>
            <CustData>dodatkowe dane do przesylki</CustData>
        </ShipmentDetails>
        <Shipper>
            <ShipperID>TEST MK</ShipperID>
            <CompanyName>TEST SENDER</CompanyName>
            <AddressLine1>SENDER ADDRESS 1/</AddressLine1>
            <AddressLine2>SENDER ADDRESS 1/</AddressLine2>
            <City>KATY WROCLAWSKIE</City>
            <PostalCode>55-080</PostalCode>
            <CountryCode>PL</CountryCode>
            <CountryName>Poland</CountryName>
            <Contact>
                <PersonName>MKOLAK</PersonName>
                <PhoneNumber>111 222 333</PhoneNumber>
                <Email>test@o2.pl</Email>
            </Contact>
        </Shipper>
        <SpecialService>
            <!--  PLT (PaperlessTrade Service  -->
            <SpecialServiceType>WY</SpecialServiceType>
        </SpecialService>
        <EProcShip>N</EProcShip>
        <LabelImageFormat>PDF</LabelImageFormat>
        <!--  need Waybill DOC ? -->
        <RequestArchiveDoc>N</RequestArchiveDoc>
        <Label>
            <!-- Label template -->
            <LabelTemplate>8X4_PDF</LabelTemplate>
        </Label>
    	<BypassPLTError>Y</BypassPLTError>
    </req:ShipmentRequest>

Lista krajów z dostępną usługą PLT v.19.07.2024 >>> Tabela | TXT
IB-Inbound, OB-Outbund - dla wysyłek z PL istotny jest wskaźnik IB poszczególnych krajów.

Kody ISO krajów>>> otwórz


3.133.135.106 / 7.3.33