DivideBV / Postnl

Library to connect to PostNL's SOAP service called CIF
GNU General Public License v2.0
31 stars 40 forks source link

CN23 forms for Customs #73

Closed Soetens closed 4 months ago

Soetens commented 5 years ago

I can see in DivideBV\Postnl\ComplexTypes\Label the method setLabeltype. I would like to assume this can be used for the CN23 form (A5) labeltype.

But I cant see where it wil get it's use or how to put it in use.

ameenross commented 5 years ago

A label is returned by PostNL when you call the generateLabel endpoint. You need to use the correct product code. See: https://developer.postnl.nl/browse-apis/send-and-track/labelling-webservice/documentation/