README.md in colissimo_label-0.19.0 vs README.md in colissimo_label-0.20.0

- old
+ new

@@ -142,10 +142,16 @@ ``` with_signature: true ``` +To provide the insurance value (by default, it depends of the weight of the package), add this parameter: + +``` +insurance_value: 100 +``` + For a national address and delivered to a relay point: ```ruby parcel_number = ColissimoLabel::GenerateLabel.new( 'label_filename', # Name of the file generated @@ -199,20 +205,21 @@ country_code: 'Normalized country code of the addressee', phone: 'Phone number of the addressee', mobile: 'Mobile number of the addressee', email: 'Email of the addressee' }, - customs_total_weight: 2, # Total weight of the package + customs_total_weight: 2, # Total weight of the package, required for customs + customs_category: 3, # Type of business (commercial by default) customs_data: [ # Details content of your package { description: 'Product description', quantity: 1, weight: 2, item_price: 100, country_code: 'FR', currency_code: 'EUR', - customs_code: 'hsCode' # Harmonized system code of your product + customs_code: 'hsCode' # Harmonized system code of your product, it's a number or a string (starting with '0') } ] ).perform ``` @@ -220,10 +227,10 @@ ## Documentation Colissimo documentation can be found here: -https://www.colissimo.entreprise.laposte.fr/system/files/imagescontent/docs/spec_ws_affranchissement.pdf +https://www.colissimo.entreprise.laposte.fr/sites/default/files/2021-03/spec_ws_affranchissement.pdf ## Contributing Bug reports and pull requests are welcome on GitHub at https://github.com/floXcoder/colissimo_label. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.