EDI - Ordine XML
Versione del 3 nov 2020 alle 09:31 di Dpezza (discussione | contributi) (Creata pagina con "Di seguito i dettagli della soluzione EDI relativa agli ordini in formato XML. <table> <tr> <td><b>Tipo file</b>:</td> <td>XML</td> </tr> <tr> <td><b>Mo...")
Di seguito i dettagli della soluzione EDI relativa agli ordini in formato XML.
Tipo file: | XML |
Modalità di trasferimento: | FTP |
Frequenza di aggiornamento: | tempo reale |
Flusso informativo: | dal Dealer a Desktoo |
Nome file: | ORDxxxx.xml |
Cartella FTP: | deliveries |
Tag | Description | Example | Notes |
---|---|---|---|
<Order> | Start order | Tag open in the first row, closed </Order> in the last | |
<OrderHead> | Header files | <OrderHead> <Schema> <Version>3.05</Version> </Schema> <Parameters> <Language>en-GB</Language> <DecimalSeparator>.</DecimalSeparator> <Precision>20.3</Precision> </Parameters> <OrderType Code="PUO">Purchase Order</OrderType> <OrderCurrency> <Currency Code="EUR"> </Currency> </OrderCurrency> <Checksum>30906</Checksum> </OrderHead> |
Content mandatory and cannot be modified |
<OrderReferences> | Order reference Desktoo | <BuyersOrderNumber Preserve="true">2020709721441</BuyersOrderNumber> | Dealer Order reference |
<OrderReferences> | Order reference | <CrossReference>2020709721441</CrossReference> | Customer order reference |
<BOSS:AdditionalOrderReferences> | Order type | <BOSS:AdditionalOrderReferences xmlns:BOSS="urn:schemas-bossfed-co-uk:OP-Order-v1"> <BOSS:OrderReference ReferenceType="OTP" ReferenceDesc="Order Type"> <BOSS:Reference>2</BOSS:Reference> </BOSS:OrderReference> </BOSS:AdditionalOrderReferences> |
Order types:
|
<BOSS:OrderReference> | CIG and CUP | <BOSS:CIG></BOSS:CIG> <BOSS:ODA></BOSS:ODA> <BOSS:CUP></BOSS:CUP> |
CIG format: alphanumeric 10 digit CUP format: alphanumeric 15 digit |
<OrderDate> | Order date | <OrderDate>2020-08-03</OrderDate> | Format date YYYY-MM-DD |
<Supplier> | Supplier | <Supplier> <Party>DESKTOO</Party> </Supplier> |
Content mandatory |
<Buyer> | Customer code | <Buyer> <BuyerReferences> <SuppliersCodeForBuyer>IT10000009IT</SuppliersCodeForBuyer> </BuyerReferences> </Buyer> |
Customer code: Numeric 6 digit |
<DeliverTo> | <DeliverTo> <Party>DESKTOO ITALIA S.R.L.</Party> <Address> <AddressLine>VIA DELL'INDUSTRIA 19/F</AddressLine> <AddressLine></AddressLine> <AddressLine>CASTEL SAN GIOVANNI</AddressLine> <AddressLine>PC</AddressLine> <PostCode>29015</PostCode> </Address> </DeliverTo> |
<Party> = Business name (30 cdigit MAX) <AddressLine> = Indirizzo primario (30 characters MAX) <AddressLine> = Indirizzo secondario <AddressLine> = Città (max 25 digits) <AddressLine> = Provincia <PostCode> = CAP | |
<DeliveryFrom> | <DeliverFrom> <DeliverFromReferences> <SuppliersCodeForLocation>50</SuppliersCodeForLocation> </DeliverFromReferences> </DeliverFrom> |
Content mandatory | |
<OrderLine> | Order line | <OrderLine> <LineNumber Preserve="true">1</LineNumber> <OrderLineReferences> <BuyersOrderLineReference Preserve="true">1</BuyersOrderLineReference> </OrderLineReferences> <Product> <SuppliersProductCode>118764</SuppliersProductCode> <BuyersProductCode>R05949</BuyersProductCode> </Product> <Quantity> <Amount>1</Amount> </Quantity> </OrderLine> |
<LineNumber> = line number counter <BuyersOrderLineReference> = order line reference <SuppliersProductCode> = Desktoo product code <BuyersProductCode> = dealer product code <Amount> = order quantity |
<Narrative> | <Narrative>Closed from 1 to 2</Narrative> | Notes at order level |
Esempio File: Ordine XML