Extra@Home COD shipment example

Information

Extra@Home COD shipments require some specific fields to be used:

  • Shipment.Content should be given (this is the article description)
  • Shipment.Reference should be given (this is used to generate an order number; the field should be unique for each shipment)
  • Dimensions.Volume is required
  • Dimensions.Weight is required
  • Amount: type 01
  • Product option: characteristic 003, option 003

Example

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:con="http://postnl.nl/cif/services/ConfirmingWebService/" 
xmlns:tpp="http://postnl.nl/cif/domain/ConfirmingWebService/">
    <soapenv:Body>
        <con:Confirming>
            <tpp:Customer>
                <tpp:Address>
                    <tpp:AddressType>02</tpp:AddressType>
                    <tpp:City>Hoofddorp</tpp:City>
                    <tpp:CompanyName>PostNL</tpp:CompanyName>
                    <tpp:Countrycode>NL</tpp:Countrycode>
                    <tpp:FirstName>Frank</tpp:FirstName>
                    <tpp:HouseNr>42</tpp:HouseNr>
                    <tpp:HouseNrExt>A</tpp:HouseNrExt>
                    <tpp:Name>Peeters</tpp:Name>
                    <tpp:Street>Siriusdreef</tpp:Street>
                    <tpp:Zipcode>2132WT</tpp:Zipcode>
                </tpp:Address>
                <tpp:CollectionLocation>123456</tpp:CollectionLocation>
                <tpp:CustomerCode>DEVC</tpp:CustomerCode>
                <tpp:CustomerNumber>11223344</tpp:CustomerNumber>
            </tpp:Customer>
            <tpp:Message>
                <tpp:MessageID>1</tpp:MessageID>
                <tpp:MessageTimeStamp>29-06-2016 12:00:00</tpp:MessageTimeStamp>
            </tpp:Message>
            <tpp:Shipments>
                <tpp:Shipment>
                    <tpp:Addresses>
                        <tpp:Address>
                            <tpp:AddressType>01</tpp:AddressType>
                            <tpp:City>Utrecht</tpp:City>
                            <tpp:CompanyName>PostNL</tpp:CompanyName>
                            <tpp:Countrycode>NL</tpp:Countrycode>
                            <tpp:FirstName>Peter</tpp:FirstName>
                            <tpp:HouseNr>137</tpp:HouseNr>
                            <tpp:HouseNrExt/>
                            <tpp:Name>de Ruiter</tpp:Name>
                            <tpp:Street>Oldenburgerstraat</tpp:Street>
                            <tpp:Zipcode>3573SJ</tpp:Zipcode>
                        </tpp:Address>
                    </tpp:Addresses>
                    <tpp:Amounts>
                        <tpp:Amount>
                            <tpp:AmountType>01</tpp:AmountType>
                            <tpp:Currency>EUR</tpp:Currency>
                            <tpp:IBAN>NL00RABO0123456789</tpp:IBAN>
                            <tpp:Value>10.00</tpp:Value>
                        </tpp:Amount>
                    </tpp:Amounts>
                    <tpp:Barcode>3SDEVC6659149</tpp:Barcode>
                    <tpp:Contacts>
                        <tpp:Contact>
                            <tpp:ContactType>01</tpp:ContactType>
                            <tpp:Email>receiver@gmail.com</tpp:Email>
                            <tpp:SMSNr>0612345678</tpp:SMSNr>
                        </tpp:Contact>
                    </tpp:Contacts>
                    <tpp:Content>Media player</tpp:Content>
                    <tpp:Dimension>
                        <tpp:Volume>30000</tpp:Volume>
                        <tpp:Weight>4300</tpp:Weight>
                    </tpp:Dimension>
                    <tpp:ProductCodeDelivery>3792</tpp:ProductCodeDelivery>
                    <tpp:ProductOptions>
                        <tpp:ProductOption>
                            <tpp:Characteristic>003</tpp:Characteristic>
                            <tpp:Option>003</tpp:Option>
                        </tpp:ProductOption>
                    </tpp:ProductOptions>
                    <tpp:Reference>2016014567</tpp:Reference>
                </tpp:Shipment>
            </tpp:Shipments>
        </con:Confirming>
    </soapenv:Body>
</soapenv:Envelope>