{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/la-poste/main/json-schema/article.json",
"title": "Article",
"required": [
"description",
"quantity",
"value",
"weight"
],
"type": "object",
"properties": {
"description": {
"type": "string",
"description": "AN1\u202664
Detailed description of the article. Appears on CN23 document.
Must be in English for the US and for shipments with the DDP option.Description d\u00e9taill\u00e9e de l\u2019article.
Appara\u00eet sur le fichier CN23.
Obligatoirement en anglais pour les US et pour les envois avec l'option DDP"
},
"quantity": {
"type": "integer",
"description": "N
Number of articles of this type. Appears on CN23 document.Nombre d\u2019articles de ce type.
Appara\u00eet sur le fichier CN23. ",
"format": "int32"
},
"weight": {
"type": "number",
"description": "N
Unitary net weight of the articles in kg. Appears on CN23 document.Poids net unitaire des articles en kg.
Appara\u00eet sur le fichier CN23. ",
"format": "float"
},
"value": {
"type": "number",
"description": "N
Unitary value of articles in EUROS.
Appears on CN23 document.Valeur unitaire des articles en EURO.
Appara\u00eet sur le fichier CN23.",
"format": "float"
},
"hsCode": {
"type": "string",
"description": "N6, N8 ou N10
Mandatory if is 3 (commercial shipment).
Mandatory for 7R and 5R return products. Then its size must be 6 or 11.
Tariff number corresponding to the article. It will be necessary to indicate 6, 8 or 10 digits for the international shipments requiring a customs declaration.
Appears on CN23 document.Num\u00e9ro tarifaire correspondant \u00e0 l\u2019article.
Il faudra indiquer 6, 8 ou 10 chiffres pour les envois \u00e0 l\u2019international n\u00e9cessitant une d\u00e9claration douanière.
Un code erreur 30519 appara\u00eetra dans la r\u00e9ponse du Web Service si la balise est mal renseign\u00e9e.
Obligatoire si category vaut 3 (envoi commercial).
Obligatoire pour les produits retours 7R et 5R. Il doit \u00eatre de taille 6 ou 11
Appara\u00eet sur le fichier CN23. "
},
"originCountry": {
"type": "string",
"description": "A2
ISO code of the country of origin of the article.
Mandatory for 7R and 5R return products. It must be identical for all declared articles.
Mandatory if category = 3 (commercial shipment).
Country name appears on CN23 document.
If filled in, check that the country code is A2 otherwise set FR by default.
If the country code is different from the format A2, the WS sls will return an error.Code ISO du pays d\u2019origine de l\u2019article.
Obligatoire pour les produits retours 7R et 5R. Il doit \u00eatre identique pour tous les articles d\u00e9clar\u00e9s
Obligatoire si category=3 (envoi commercial)
Le nom du pays apparait en entier sur le fichier CN23.
Si non vide, v\u00e9rifier que le code pays est sur A2 sinon mettre FR par d\u00e9faut.
Si le code pays est diff\u00e9rent du format A2, le WS sls retournera une erreur"
},
"originCountryLabel": {
"type": "string",
"description": "LabelLibell\u00e9"
},
"currency": {
"type": "string",
"description": "AN3
Set EUR by default if empty
Mandatory for 7R and 5R return products.
The currency must be the same for all declared articles. It must belong to the list {USD, EUR, CHF, GBP, CNY, JPY, CAD, AUD}. If the currency is different from the list above, the Web Service will return an error.|Devise.
Fix\u00e9 par d\u00e9faut en EUR si vide
Obligatoire pour les produits de retour 7R et 5R.
La devise doit \u00eatre la m\u00eame pour tous les articles d\u00e9clar\u00e9s. Elle doit appartenir \u00e0 la liste {USD, EUR, CHF, GBP, CNY, JPY, CAD, AUD}. Si la devise est diff\u00e9rente de la liste ci-dessus, le service web renverra une erreur."
},
"artref": {
"type": "string",
"description": "AN1...35
Mandatory for 7R and 5R return products.
Article reference, serial number.R\u00e9f\u00e9rence de l\u2019article, num\u00e9ro de série.
Obligatoire pour les produits retours inter (7R) hors UE et 5R (OM)."
},
"originalIdent": {
"type": "string",
"description": "A1
Mandatory for 7R and 5R return products.
Key for identifying the outgoing invoice and the parcel related to the article.
Link up the parcel number with its sequencing:
- if the article belongs to the 1st parcel, indicate A;
- If the article belongs to the 3rd parcel, indicate C;
- etc
Cl\u00e9 permettant d\u2019identifier la facture aller et le colis li\u00e9 \u00e0 l\u2019article.
Obligatoire pour les produits retours inter (7R) hors UE et 5R(OM).
Appairer le num\u00e9ro de colis avec son ordonnancement :
- si l\u2019article appartient au 1er colis, indiquer A ;
- si l\u2019article appartient au 3\u00e8me colis, indiquer C ;
- etc \u2026
"
},
"vatAmount": {
"type": "number",
"description": "N
VAT on itemsTVA des articles",
"format": "float"
},
"customsFees": {
"type": "number",
"description": "N
Customs duties on itemsDroits Douane des articles",
"format": "float"
}
},
"description": "SUB
The block can be repeated up to 100 times.Le bloc article peut \u00eatre r\u00e9p\u00e9t\u00e9 jusqu\u2019\u00e0 100 fois."
}