Xml Shipment Upload
DESCRIPTION
This XML is used to upload shipments to the system.
BODY
Name | Type | Required | Description |
<masterAwb> | |||
awb | string(34) | Yes | Air waybill number. The system validates that the data is sent in the field and validates if there is no duplication of information. |
fechaDespacho | Date(yyyy-MM-dd) | Yes | Shipment date. |
origen | string(3) | Yes | IATA origin airport code. |
destino | string(3) | Yes | IATA destination airport code. |
<house> | |||
hawb | string(12) | No | House air waybill number. |
codigoClienteExportador | string(16) | Yes | Customer integration code. |
nombreClienteExportador | string(256) | No | Customer name. |
codigoCultivo | string(16) | Yes | Exporter integration code. |
nombreCultivo | string(256) | No | Exporter name. |
packing | int | No | Packing. |
<box> | |||
codigoCliente | string(16) | Yes | Ship-to integration code. When the box is for inventory, you should use “NULL”. |
nombreCliente | string() *** | No | Ship-to name. |
codigoPieza | string(14) | Yes | Barcode number has to be a unique number per box, maximum 14 digits long. You will be provided with a 2-letter prefix that should be used together with an alphanumeric sequential. |
codigoProducto | string(8) | Yes | Product integration code. |
descripcionProducto | string(250) | No | Product description. |
empaque | string(5) | Yes | Box type (ex. FB, HB, QB…). |
unidades | int | Yes | Number of units in the box. |
piezas | int | Yes | Number of pieces. |
largo | int | Yes | Length of the piece. It cannot be 0. |
alto | int | Yes | Height of the piece. It cannot be 0. |
ancho | int | Yes | Width of the piece. It cannot be 0. |
kilos | int | Yes | Weight of the piece in kg. |
tallos_ramo | int | Yes | Number of stems per bunch. |
ramos_caja | int | Yes | Number of bunches per box. |
precio | int | Yes | Price per unit. |
precio_ramo | int | Yes | Price per bunch. |
po | string(15) | Yes | Po Number. |
caja_transportador | string(16) | Yes | Trucking company code. |
caja_fecha_transportado | Date(yyyy-MM-dd) | Yes | Shipping date to the final customer. |
EXAMPLE
<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<masterAwb>
<awb>071-4431 3317</awb>
<fechaDespacho>2024-09-09</fechaDespacho>
<origen>MDE</origen>
<destino>AMS</destino>
<House>
<hawb>[house number, not mandatory]</hawb>
<codigoClienteExportador>[customer integration code]</codigoClienteExportador>
<nombreClienteExportador>[customer name]</nombreClienteExportador>
<codigoCultivo>[exporter integration code]</codigoCultivo>
<nombreCultivo>[exporter name]</nombreCultivo>
<packing>1</packing>
<box>
<codigoCliente>[final-customer integration code]</codigoCliente>
<nombreCliente>[final-customer name]</nombreCliente>
<codigoPieza>[barcode 1]</codigoPieza>
<codigoProducto>[product integration code]</codigoProducto>
<descripcionProducto>[product name]</descripcionProducto>
<empaque>QB</empaque>
<unidades>120</unidades>
<piezas>0</piezas>
<largo>38</largo>
<alto>4</alto>
<ancho>9</ancho>
<kilos>0</kilos>
<tallos_ramo>120</tallos_ramo>
<ramos_caja>1</ramos_caja>
<precio>0</precio>
<precio_ramo>0</precio_ramo>
<po>ORDER</po>
<caja_transportador>[trucking line integration code]</caja_transportador>
<caja_fecha_transportador>2024-09-09</caja_fecha_transportador>
</box>
<box>
<codigoCliente>[final-customer integration code]</codigoCliente>
<nombreCliente>[final-customer name]</nombreCliente>
<codigoPieza>[barcode 2]</codigoPieza>
<codigoProducto>[product integration code]</codigoProducto>
<descripcionProducto>[product name]</descripcionProducto>
<empaque>QB</empaque>
<unidades>120</unidades>
<piezas>0</piezas>
<largo>38</largo>
<alto>4</alto>
<ancho>9</ancho>
<kilos>0</kilos>
<tallos_ramo>120</tallos_ramo>
<ramos_caja>1</ramos_caja>
<precio>0</precio>
<precio_ramo>0</precio_ramo>
<po>ORDER</po>
<caja_transportador>[trucking line integration code]</caja_transportador>
<caja_fecha_transportador>2024-09-09</caja_fecha_transportador>
</box>
</House>
</masterAwb>
</root>