Information
Smart Returns require some specific fields to be used:
Product code: 2285
Product option: characteristic 152, option 025
Receiver contact fields required: Email address to receive a digital confirmation of handing over the parcel to PostNL.
Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:lab="http://postnl.nl/cif/services/LabellingWebService/"
xmlns:tpp="http://postnl.nl/cif/domain/LabellingWebService/">
<soapenv:Body>
<lab:GenerateLabel>
<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:Printertype>GraphicFile|PDF</tpp:Printertype>
</tpp:Message>
<tpp:Shipments>
<tpp:Shipment>
<tpp:Addresses>
<tpp:Address>
<tpp:AddressType>01</tpp:AddressType>
<tpp:City>Vianen</tpp:City>
<tpp:CompanyName>PostNL</tpp:CompanyName>
<tpp:Countrycode>NL</tpp:Countrycode>
<tpp:HouseNr>1234</tpp:HouseNr>
<tpp:Street>Antwoordnummer</tpp:Street>
<tpp:Zipcode>4131LV</tpp:Zipcode>
</tpp:Address>
</tpp:Addresses>
<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:Dimension>
<tpp:Weight>4300</tpp:Weight>
</tpp:Dimension>
<tpp:ProductCodeDelivery>2285</tpp:ProductCodeDelivery>
<tpp:ProductOptions>
<tpp:ProductOption>
<tpp:Characteristic>152</tpp:Characteristic>
<tpp:Option>025</tpp:Option>
</tpp:ProductOption>
</tpp:ProductOptions>
</tpp:Shipment>
</tpp:Shipments>
</lab:GenerateLabel>
</soapenv:Body>
</soapenv:Envelope>