The structure below is the SAME as the standard SO structure but has been modified specifically for a type M order.
What is on this page
XML Segment Information
<ORDERS> | At the beginning of the file | |||
<SO> | At the beginning of each order | Each SO is grouped by field HD3, you can not have multiple SO with the same HD3 data within the same file. | ||
<HD></HD> | Header - One time for each order | MANDATORY segment | ||
<HO></HO> | Header Options - One time for each order | MANDATORY segment | ||
<HU></HU> | Header Underbond - One time for each order | only if needed | ||
<DO></DO> | Delivery Options - One time for each order | only if needed | ||
<HI></HI> | Header Invoice - One time for each order | only if needed | ||
<LD> | Line Detail - Repeats for each product line on the order | MANDATORY segment at least once per SO | ||
<LO></LO> | Line Options - One time for each LD entry | only if needed | ||
</LD> | ||||
</SO> | At the end of each order | You can then open a new order by using <SO> and repeating the above. | ||
</ORDERS> | End of the file |
<ORDERS> <SO> <-- can repeat for additional orders <HD>fields within the segment tag</HD> <HO>fields within the segment tag</HO> <HU>fields within the segment tag</HU> <DO>fields within the segment tag</DO> <HI>fields within the segment tag</HI> <HF>fields within the segment tag</HF> <LD>fields within the segment tag <LO>fields within the segment tag</LO> </LD> <-- can repeat with a further <LD> </SO> Repeat next <SO> </ORDERS>
Notes :
<SO> Can be repeated within the same file
If you do not need a field you do not need to send it.
Key Code
Requirement | Description and Notes |
---|---|
Mandatory | Must be supplied on all inbound files, failure to supply this field will result in a file failure and file can not be processed. |
No longer in use | This field is no longer in use |
Conditional | Important Conditional fields. Please read the conditions carefully. |
Coming Soon | there is a plan to introduce these fields in a future version. |
Data Types - For information on what the data types are then click this link to visit the reference page.
XML HD (Header) Segment
XML Element | XML Key Name | Notes | Length | Requirements | Field Notes or Conditions | |
---|---|---|---|---|---|---|
<HD>1 | FKCustomer | Customer will specify their stock holding account code for the warehousekeepers warehouse system. | AN | 8 | Mandatory | The entire file will fail if this is missing from any order within the file |
<HD>2 | FKUnderBondType | What type of order are you wanting to process . Below is the code list in use : Standard warehouse systems - see code List A Customs warehouse systems - see code list B Special Movement Types for customs warehouse systems - see code list C
| A | 1 | Mandatory | The entire file will fail if this is missing from any order within the file |
<HD>3 | DocumentRef | Unique Reference for this order e.g. Your Order number | AN | 30 | Mandatory | As this prints on paperwork CHECK with your warehouse that they print this length as most warehouses paperwork is set for 15 maximum. The entire file will fail if this is missing from any order within the file |
<HD>4 | DPAccountRef | This is the unique delivery point reference code given by the customer for this delivery point. e.g. A unique identifier for your customer | AN | 30 | Mandatory | As this prints on paperwork CHECK with your warehouse that they print this length as most warehouses paperwork is set for 15 maximum. The entire file will fail if this is missing from any order within the file |
<HD>5 | OrderDate | This should be the current date, the file generation date It can be a date in the future but you need to speak to your warehouse to see if they can accept forward dated orders, however you should consider using the booked date field instead. We use a custom xml format which is : dd/mm/yy or dd/mm/yyyy | DT | 10 | Mandatory | The entire file will fail if the order date is before the current date |
<HD>6 | DeliveryName | Mandatory field - DELIVERY POINT NAME Fields HD6 -HD12; the following applies to this and subsequent fields : For Any orders not mentioned below - This is the name at the DELIVERY POINT e.g. for the person or company receiving the goods. For Transfers (T)(M)– This MUST be the receiving stock holding customers name, for other fields review the fields there are specific notes. For UK underbond orders (U) - MUST be the receiving warehouse name and address (All must be UK addresses except E where an approved EU address is allowed) or this may be the shipper name and address where that is considered the export point. For any non UK underbond orders (E,X) - this may be the shipper name and address where that is considered the export point from the UK Underbond (V,D,O) MUST be the receiving entity name and address. [Note - Consignee should also contain the warrant holder name and address ] | CH | 50 | Mandatory | Type E orders may be removed for BREXIT At this point all orders which were Type E would need to be Type X |
<HD>7 | DeliveryAddress1 | Mandatory field which must contain the DELIVERY POINT STREET NAME MUST BE A VALID STREET NAME | CH | 50 | Mandatory | For Type T or M Orders (Transfers) fill this field with the receiving customer code which can be obtained from the warehouse keeper The entire file will fail if this is missing from any order within the file |
<HD>8 | DeliveryAddress2 | General Address field | CH | 50 | Conditional | Conditions : Mandatory for type T or Type M orders (transfers) If a transfer order (T)(M) then fill the receiving customers' site code into this field, this is a two digit code corresponding to the site where the receiving customer is based and would be obtained from the warehouse keeper. |
<HD>9 | DeliveryAddress3 | General address field | CH | 50 | Conditional | Conditions : Required for Type T or M orders (transfers) If receiving customer uses reserve codes then this field is REQUIRED however if it is not known then leave blank but it will require a manual warehouse process to be undertaken. |
<HD>10 | DeliveryTownOrCounty | Mandatory field - which must contain the DELIVERY POINT TOWN Must be a valid TOWN MUST NOT contain COUNTY | CH | 50 | Mandatory | This must be a minimum of 4 alphbetic letters (not including spaces) For Type T or M Orders (Transfers) this should be the "TOWN" of the receiving warehouse. This should not contain the COUNTY |
<HD>11 | DeliveryPostcode | Mandatory - Supply the postcode for DELIVERY POINT FOR UK Deliveries | AN | 15 | Conditional | MANDATORY . for ALL UK Deliveries REQUIRED : for countries with zip / postcodes For Type T or M orders this should be the postcode for the receiving warehouse |
<HD>12 | DeliveryCountry | Supply the country code, ISO 2 digit codes. | A | 2 | Mandatory | Please ensure you use "GB" for all UK deliveries |
<HD>13 | ContactName | used for a delivery to contact the delivery point | AN | 50 | Optional | |
<HD>14 | ContactTelephoneNo | used for a delivery to contact the delivery point.
| N | 30 | Optional | If used then HD13 Contact name is Mandatory If your warehouse uses Distribution with notifications then sending an 07xx number will result in the mobile number receiving SMS notifications regarding the delivery eatimated delivery times / delays. |
XML HO (Header Options) Segment
XML Element | XML Key Name | Notes | Type | Length | Requirements | Field Notes or Conditions |
---|---|---|---|---|---|---|
<HO>1 | FKSalesOrderType | See Code List D | N | 1 | Mandatory | |
<HO>2 | SiteCode | This is the warehouse keepers site code for where the stock is located that you wish to use to fulfill this order request. | AN | 2 | Mandatory | |
<HO>3 | DeliveryInstructions1 | This is printed on the paperwork given to the customer and is provided to the driver / delivery vehicle for the delivery of the order.
| CH | 120 | Optional | |
<HO>4 | PickInstructions | This is printed on the warehouse picking note and is instructions for the warehouse to follow when picking the goods. e.g. chep pallets, shrink wrap…. Etc.. | CH | 120 | Optional | |
<HO>5 | EarliestTime | 1st Delivery time field -Format is hh:mm | TM | 5 | Conditional | HO5/6/7/8 can all be blank, you do NOT have to specify any time. If supplied then must be also send HO6 |
<HO>6 | LatestTime | 1st Delivery time field - Format is hh:mm | TM | 5 | Conditional | Mandatory if you supply <HO>5
|
<HO>7 | EarliestTime2 | 2nd Delivery time field.- Format hh:mm | TM | 5 | Conditional | <HO> 5 / 6 must be supplied before adding this field |
<HO>8 | LatestTime2 | 2nd Delivery time fields - Format hh:mm | TM | 5 | Conditional | Mandatory if you supply <HO>7 |
<HO>9 | CustomerPORef | This is the final customers purchase order reference, its free text just quoted on the final delivery document | AN | 30 | Optional | As this prints on paperwork CHECK with your warehouse that they print this length as most warehouses paperwork is set for 20 maximum. |
<HO>10 | BookedOrCollectionDate | Do not use this field for reference or for the next delivery day, it must only be used if you have a SPECIFIC date the goods must be delivered. Use of this field may adjust the picking time/date for the goods and MAY incur a charge for specifying a fixed date For Warehouse Deliveries : Use of this field is dependant on your warehouse and deadlines or delivery schedule that they provide. For Collections from Warehouse : | DT | 10 | Conditional | Based on the Delivery method Collection from Warehouse = mandatory Transfers = not required. We use a custom xml format for this which is : |
<HO>11 | IsBookingRequired | If Y then the order will needs to be booked in prior to the order being available to pick. Usually only used only when the warehouse are making the delivery. | B | 1 | Optional | Default to N |
<HO>12 | IsCustomerPickup | This field is supported to 31 Dec 2015 for backward compatibility only for customer using prior to October 2010 All pick up requests should arrive as PRE-ADVICES with effect from 1st April 2011 onwards. | Do not include this field in new files after 1st January 2015 | |||
<HO>13 | CollectionDeliveryArea | Used for Collection of Goods from Warehouse and allows the system to allocate specific goods to a specific delivery area / zone Standard Codes are found in Code List E (Click on the link)
This field should be left blank to indicate that the warehouse keeper is arranging delivery of the goods. | AN | 6 | Optional | If this field is used then the following fields are conditionally required Field Notes <HO>10 Mandatory |
<HO>14 | CollectionBy | Who is collecting the goods. Either the name of the company, haulier or the person collecting. Security Note This is an important security field - it allows the warehouse information on the haulier expected, if you choose to supply dummy information the warehouse could give your goods to the wrong carrier | AN | 50 | Conditional | Mandatory if HO13 ‘CollectionDeliveryArea’ is in use and contains anything, can only be blank if HO13 is also blank. |
<HO>15 | VehicleRegistration | Enter the registration number or mark for the vehicle collecting the goods. If you are unsure about the registration you must still fill this field in as it is MANDATORY, but it is acceptable to put "TBC" in this field. | AN | 15 | Conditional | Conditional if HO13 ‘CollectionDeliveryArea’ is in use |
<HO>16 | CollectionTime | You must provide a time to allow the warehouse to plan the picking for the goods and ensures that they will be ready for collection.from warehouse If you do not know the time then use 08:00 as a default to ensure the warehouse have the goods picked for first thing If you are using this as a Collection AFTER then the time should be specified as 23:59 Underbond Collections - This should be specified and HMRC requirement should allow one working day. | TM | 5 | Conditional | Conditional if HO13 ‘CollectionDeliveryArea’ is in use Format hh:mm |
<HO>17 | RemovalAuthorisationConfirmed | Is only needed where reserve customer authorization is marked as being required for the customer owning the stocks. If supplied in the sales order format as Y warehouse system will not ask warehouse keeper to check order with stock owner. | B | 1 | Optional | The default is N |
<HO>18 | DeliveryCategory | Should not be sent unless the warehouse keeper asks you to send this field. | AN | 8 | Replaced by DO Segment | |
<HO>19 | PickGroup | Should not be sent unless the warehouse keeper asks you to send this field. This field is used to facilitate bulk picking groups. When customers use their own vehicles this can be used to identify what goods go onto which vehicle or could be used to identify specific groups of goods, such as all those going to a remote distribution centre. | AN | 8 | Optional | |
<HO>20 | SpecialMessageText1 | Message Lines – A service offered by the warehouse – please check availability. Used by customers who wish to put a card inside the delivery for the receiver. Can be used for “Happy Birthday” “Merry Christmas” messages or similar. | HTML | 4096 | Optional | Gift Messaging |
<HO>21 | SpecialMessageText2 | Message Lines – A service offered by the warehouse – please check availability. Used by customers who wish to put a card inside the delivery for the receiver. Can be used for “Happy Birthday” “Merry Christmas” messages or similar. This is line 2 of the message text and is predominantly used as a marketing message for the receiver of the goods. | HTML | 4096 | Optional | Gift Messaging |
<HO>22 | ParcelCarrierServiceCode | A service offered by the warehouse – please check availability. | AN | 12 | Conditional | If you use a CARR code in HO 13 then look at the code list as these fields are used, with HO23 being mandatory |
<HO>23 | ParcelCarrierAccountNo | A service offered by the warehouse – please check availability. | AN | 12 | Conditional | |
<HO>24 | ParcelCarrierExtraInsuranceRequired | A service offered by the warehouse – please check availability. | A | 4 | Optional | |
<HO>25 | SecurityPinNo | A service offered by the warehouse – please check availability. A service for high value goods. The delivery will only be made if the receiver of the goods can quote the PIN NUMBER. This PIN number is stored securely and is not visible to warehouse or delivery personnel. Used to securely delivery goods of high value where it is important the correct person signs for the items. | N | 4 | Optional | Must be a NUMBER |
<HO>26 | ProcessedBy | A service offered by the warehouse – please check availability. If you wish to put the order processor onto the delivery note for the customer so that they can contact the processor. | AN | 50 | Optional | |
<HO>28 | DeliveryIssueEmailAddress | Will over write the default customer delivery issue email field which is transferred to the orders when adding a new order | AN | 50 | Optional | This is the address to notify you that there is an issue with the order, by default we use the address on the system setup for contacts. |
<HO>30 | SendDeliveryConfirmationEmail | Will over write the default customer delivery issue email field which is transferred to the orders when adding a new order | B | 1 | Optional | |
<HO>31 | SendDeliveryIssueEmail | Will over write the default customer delivery issue email field which is transferred to the orders when adding a new order | B | 1 | Optiona | |
<HO>32 | SendBookingDelayedEmail | Will over write the default customer delivery issue email field which is transferred to the orders when adding a new order | B | 1 | Optional | |
<HO>33 | DeliveryIssueDPCustEmailAddress | Will over write the default customer delivery issue email field which is transferred to the orders when adding a new order – will send a desaptch email to the customer confirming ETA | EM | 50 | Optional | This is your customers eMail address, the email for the delivery point, by default this would have to be supplied on every order for this to be used for outbound notifications. |
<HO>34 | AWRS | AWRS Registration Number of the customer to whom you are selling the goods You can either send
Blank or N/A will not be accepted from 01 January 2019 | AN | 30 | Conditional | In an HMRC Excise warehouse this is mandatory for all orders to businesses where duty is being paid. Will become mandatory - August 2018 onwards |
<HO>35 | ResCust | This field is used for pre-processing of the file, where you want the system to only choose from the available stocks belonging to a specific reserve customer account then this field would have the reserve customer code entered. The system will pre-process the inbound file, adding a specific rotation for each product required | AN | 12 | Optional | Please ensure your warehouse offers this service. |
<HO>36 | GDPR_Type | 0 - Business 1 - Personal | I | 6 | Optional | defaults to 0 for all order unless 1 is specified. |
<HO>37 | GDPR_Erase | Y or N | B | 1 | Conditional | Can only be sent if the GDPR_Type = 1 Default is N |
<HO>38 | SM3 | Special Message 3 - Header | AN | 120 | Optional | Gift Messaging |
<HO>39 | SM4 | Special Message 4 - Footer | AN | 120 | Optional | |
<HO>40 | SM5 | Special Message 5 - Recipient (to) | AN | 80 | Optional | |
<HO>41 | SM6 | Special Message 6 - Sender (from) | AN | 80 | Optional | |
<HO>42 | SMD | Special Message Document ID | I | 6 | Optional | |
<HO>43 | SMDT | Special Message Document ID Text Description | AN | 80 | Optional | |
<HO>44 | SMDQ | Special Message Document Quantity | I | 6 | Optional | |
<HO>45 | SMDE | Special Message Email Address | Optional |
XML HU (Header Underbond) Segment
XML Element | XML Key Name | Notes | Type | Length | Requirements | Field Notes or Conditions |
---|---|---|---|---|---|---|
<HU>1 | ExciseDefermentNumber | This is the account code given to the deferment account. | AN | 10 | Conditional | MANDATORY for Excise or Customs warehouse This may not be the deferment number or stock holding customer code as it accommodates cash deferments where HMRC numbers are not issued. Please speak to your warehouse to find out this code |
<HU>2 | CustomsDefermentNumber | This is the account code given to the deferment account. | AN | 10 | Conditional | |
<HU>3 | PayCustomsDuty | B | 1 | Conditional | Should default to “N” for anything leaving the UK | |
<HU>4 | ViaECCountry | If your export goes through an EC country then additional paperwork is required for the goods. | B | 1 | Conditional | From 31/12/2020 no longer used. |
<HU>5 | C426No | Max 8 characters | INT | 8 | Conditional | MANDATORY for Diplomatic Orders (Type D) |
<HU>6 | C185No | Max 8 characters | INT | 8 | Conditional | MANDATORY for NATO Order (Type V) |
<HU>8 | ConsigneeName | The Consignee is the buyer of the goods. Purchasing Customers Name (not where its going but who it is going to) | CH | 50 | Conditional | Conditions : Where the stock holding customer is paying the duty and the order type is = P (Duty Paid) then optional, in all other cases this is mandatory. You can supply this even if it is Type P we would just ignore it. If the country you are supplying to has no post codes / zip codes then add the country code to the postcode field. Address Information for specific Order types: |
<HU>9 | ConsigneeAddress1 | Buyer Address Line 1 | CH | 50 | Conditional | |
<HU>10 | ConsigneeAddress2 | Optional Address field | CH | 50 | Optional | |
<HU>11 | ConsigneeAddress3 | Optional Address field | CH | 50 | Optional | |
ConsigneeAddress4 | Buyer Address TOWN | CH | 50 | Conditional | ||
<HU>13 | ConsigneePostcode | Buyer Postcode or ZIP | AN | 15 | Conditional | |
<HU>15 | ConsigneeCountry | Buyer COUNTRY code | A | 2 | Conditional | |
<HU>16 | ExciseNo | The receiving warehouse excise warehouse number. | AN | 15 | Conditional | Do not send these if you are storing at a 3PL These fields should only be used if your warehouse is solely used by you for your own products. |
<HU>17 | VATNo | The receiving warehouse / customer VAT registration number. Should also contain the country code as the first two digits. - Used for Intra EC movements | AN | 15 | Conditional | |
<HU>18 | CustomsGuarantee | The receiving warehouse customs warehouse number. | AN | 15 | Conditional | |
<HU>20 | TransportName | Underbond Orders - Need to know the transporter name. | AN | 40 | Conditional | |
<HU>21 | TransportAddress1 | if the Transport code is known then this field is not required. | AN | 40 | Conditional | |
<HU>22 | TransportAddress2 | if the Transport code is known then this field is not required. | AN | 40 | Conditional | |
<HU>23 | TransportAddress3 | if the Transport code is known then this field is not required. | AN | 40 | Conditional | |
<HU>24 | TransportAddress4 | if the Transport code is known then this field is not required. | AN | 40 | Conditional | |
<HU>25 | TransportPostcode | if the Transport code is known then this field is not required. | AN | 15 | Conditional | |
<HU>26 | TransportCountry | if the Transport code is known then this field is not required. | A | 2 | Conditional | |
<HU>28 | GuaranteeNo | The HMRC guarantee number being used for the EC movement. | AN | 8 | Conditional | |
<HU>29 | GuaranteeDate | The HMRC guarantee date being used for the EC movement. | DT | 10 | Conditional |
XML DO (Delivery Options) Segment
XML Element | XML Key Name | Notes | Data Type | Mandatory / Optional / Conditional [M/O/C] |
---|---|---|---|---|
<DO>1 | LabelURL | For use with NetDespatch module | URL | |
<DO>2 | ConsignmentNo | For use with NetDespatch module | N | |
<DO>3 | CarrierID | For use with NetDespatch module | AN | |
<DO>4 | CarrierCode | For use with NetDespatch module. | AN | |
<DO>5 | ServiceCodes | This is a string of codes seperated by semicolon which assists in the transport planning system. This is the 'vehicle requirements' for the route planning. Code - Description Leave blank if not using; check with your warehouse before using as these codes may be different and they may not be using them. | AN | Optional - Route planning module within Distribution required |
<DO>6 | ServiceLevel | This defines a service level other than the standard delivery service levels. Code - Description Leave Blank if not using, but check with your warehouse as this is a non standard service. | AN | Optional - Route planning module within Distribution required |
<DO>7 | AreaNumber | This defines an area number for the vehicle and is used for automatic routing system to allocate this specific order to a specific vehicle. This is an INTEGER field | AN | Optional - Route planning module within Distribution required |
<DO>8 | BKContact | Booking Contact Name | ||
<DO>9 | BKTel | Booking Contact Telephone No | ||
<DO>10 | BKEmail | Booking Email Address | ||
<DO>11 | BKRef | Booking Reference Number | ||
<DO>12 | DNDB | Do not Delivery before dd/mm/yyyy If you set this field the system will pick the next delivery date on or after the date provided. | DT | |
<DO>13 | DNDA | Do not Delivery after dd/mm/yyy If you set this field the system will pick a delivery date on or before the date provided | DT | |
<DO>14 | DNote | 1 - Electronic Delivery Note sent via email to DP email and no paper copy (Green option) | IN | Will default to 1 |
<DO>15 | POD | You can download a POD any time up to the point where your warehouse state they will retain documents for, so there is no need for POD's to be systematically sent to you unless there is something wrong. 1 - Store POD on warehouse system copy not required | IN | Will default to 1 |
<DO>16 | ROR | Report Over Ride Feature If left blank will default to your normal delivery note, however if completed we will use an alternative Delivery note template for this order only | IN | Default is BLANK |
XML HI (Header Invoicing) Segment - Optional
A service offered by the warehouse – please check availability.
Invoice your customers – warehouse creates the invoices on behalf of the customers. - only send this segment if you will use it.
XML Element | XML Key Name | Notes | Mandatory / Optional / Conditional [M/O/C] |
---|---|---|---|
<HI>1 | InvoiceName | If left blank then the delivery name, address and postcode are used as the default. | |
<HI>2 | InvoiceAddress1 | If left blank then the delivery name, address and postcode are used as the default. | |
<HI>3 | InvoiceAddress2 | If left blank then the delivery name, address and postcode are used as the default. | |
<HI>4 | InvoiceAddress3 | If left blank then the delivery name, address and postcode are used as the default. | |
<HI>5 | InvoiceAddress4 | If left blank then the delivery name, address and postcode are used as the default. | |
<HI>6 | InvoicePostcode | If left blank then the delivery name, address and postcode are used as the default. | |
<HI>8 | InvoiceCountry | If left blank then the delivery name, address and postcode are used as the default. | |
<HI>10 | PricedDeliveryNoteRequired | If used then field LD8 is MANDATORY unless the product information stored by the warehouse contains pricing information. | |
<HI>11 | OrderDiscountPercentage | Used to calculate the invoice price for the invoice or priced delivery note | |
<HI>12 | OrderCarraigeCharge1 | Used to calculate the invoice price for the invoice or priced delivery note | |
<HI>13 | OrderCarraigeCharge2 | Used to calculate the invoice price for the invoice or priced delivery note | |
<HI>14 | OPCOD | Order Payment Cash on Delivery Flag | Optional Default to 0 = NO |
<HI>15 | OPType | Order Payment Type 299 - Cash on Delivery Not all warehouses offer the above services, where they do there could be limitations or additional charges. | Optional |
<HI>16 | NetTotal | Format decimal (8,2) | |
<HI>17 | SalesTax | Format decimal (8,2) | |
<HI>18 | GrandTotal | Format decimal (8,2) | Conditional, if OPCOD = 1 then this field is mandatory |
<HI>18 | Currency | The three digit currency code as specified in the ISO listing e.g. USD, ZAR, GBP, AUD | Conditional, if HI18 field is filled then this is mandatory |
XML LD (Line Details) Segment
XML Element | XML Key Name | Notes | Type | Length | Requirements | Field Notes or Comments |
---|---|---|---|---|---|---|
<LD>1 | FKProduct | Specify the product code of the item you wish to send out from the warehouse [This field is usually alpha numeric, we can accept some symbols but these sometimes present problems on printed paperwork] Note : The length on this field is limited as most customers do not have configured paperwork beyond 20 characters, if you need larger then contact your warehouse first as they may need to make changes to accommodate. The absolute limit is 50. | AN | 20 | REQUIRED | IF stock holding customer is set to "batch mandatory for orders" is true then this field is not required. OTHERWISE MANDATORY (also see LD2 notes) If the Product Code provided is wrong then the ENTIRE Order will fail validation and will not be allowed to enter into the main warehousing system You can only send the same product more than once if you include a unique rotation number for each order line. |
<LD>2 | RotationNo | Specify the rotation number of the stock you wish to send to the customer. The rotation format is strictly YY/Dnnnnnn YY = Year D = Duty Paid indicator either T or P or D or 0 (number) Nnnnn = sequential number | AN | 10 | CONDITIONAL |
Please check that your warehouse will accept only Rotation Number as there is no double check on the stock if you only supply rotation number and many customers get this wrong
Otherwise it is OPTIONAL You can not duplicate the rotation number unless each one has a different rotation line number |
<LD>3 | RotationLineNo | This is part of the rotation number, it does not have to be used however when you are selecting which one to use as each rotation comes from the same origin. However it would be used when the stocks have to be identified to a single batch. | IN | 4 | Optional | This field is required and mandatory when the customer is setup to use “Reserve Customers” and also when the order type is type = "T" Also is optional to identify high value stocks where a specific rotation has to be identified. |
<LD>4 | CustomerBatchNo | This can be used when batch / lot numbers are taken for goods. You need to specify the product code for the items, as batch numbers can be used more than once by some producers. A Batch number could stretch over a number of rotations of the product. When batch numbers are in use, each receipt of goods with batch numbers should receive separate rotation numbers. | AN | 15 | Conditional | If stock holding customer is set "use batch ordering" is true then OPTIONAL (as this enforces the batch to be recorded on receipt) If stock holding customer is set "batch mandatory for orders" is true this is MANDATORY Otherwise its not used but can be sent and it will be recorded |
<LD>5 | PalletsOrdered | Enter the number of pallets required. Order quantities can be quoted as a quantity of any or all or a mix of each columns. e.g. 1 pallet 0 case 0 singles OR 0 pallet 12case 4 singles | IN | 4 | Conditional | LD5,LD6 or LD7 must have an entry in one of the fields. There can be entries in all fields or a mixture of fields. But at least one field of the three needs to be a positive value e.g.1 or more |
<LD>6 | UnitsOrdered | Enter the number of cases / units required. Order quantities can be quoted as a quantity of any or all or a mix of each columns. e.g. 1 pallet 0 case 0 singles OR 0 pallet 12case 4 singles | IN | 4 | Conditional | LD5,LD6 or LD7must have an entry in one of the fields. There can be entries in all fields or a mixture of fields. But at least one field of the three needs to be a positive value e.g.1 or more |
<LD>7 | SinglesOrdered | Enter the number of singles/bottles required. Order quantities can be quoted as a quantity of any or all or a mix of each columns. e.g. 1 pallet 0 case 0 singles OR 0 pallet 12case 4 singles You do not calculate the number of singles needed to fulfill the order if you complete the case or pallet fields. In this column you can enter the total number of singles required, this will be converted to a quantity of pallets / cases / singles as required. | IN | 4 | Conditional | LD5,LD6 or LD7must have an entry in one of the fields. There can be entries in all fields or a mixture of fields. But at least one field of the three needs to be a positive value e.g.1 or more |
<LD>8 | SalesPrice | Is used to declare the sales price of the goods for underbond / duty deferred /priced delivery notes or invoice advices The value for VAT purposes can never be 0,00 so either leave blank or supply the correct value | CU | 8.3 | Conditional Mandatory for underbond / duty deferred and prices delivery notes. | Conditional – Is mandatory when the warehouse is a HMRC warehouse OR if you use the invoice option. This is a currency field so 8.2 format. You can supply this for all lines it has no effect if supplied and not required. |
<LD>9 | SinglePrice | Is used if the sales price per case (LD8) is not available and you can only provide the price per single item. If you provide BOTH LD8 and LD9 then we will not recalculate them we will take them as correct (this is in case you are selling at different case to single prices) | CU | 8.3 | This is the sales price of the single item. NOT AVAILABLE UNTIL Q3,2020 | |
<LD>10 | PODLineNumber | Used by customers to identify this line on the order from the customers system. If you wish to receive confirmations back to your system we would send DocRef, SOLineNo to aid identification of this incoming line from the customers system. If a line has been manually inserted by the warehouse then this remains blank as it does not relate to anything on the customers system so it can then be identified as a modified line. | IN | 4 | Required |
XML LO (Line Options) Segment
XML Element | XML Key Name | Notes | Type | Length | Mandatory / Optional / Conditional [M/O/C] |
---|---|---|---|---|---|
<LO>1 | SOLineNotes | A service offered by the warehouse – please check availability. Any notes which are needed for the product line, these are printed beneath the product line. Can be used for messages about the product, pricing, customers own information. | CH | 120 | |
<LO>2 | SOLineDiscountPercentage | A service offered by the warehouse – please check availability. Used to calculate the invoice price for the invoice or priced delivery note | NU | 8.3 | |
<LO>3 | SOLineDiscountValue | A service offered by the warehouse – please check availability. Used to calculate the invoice price for the invoice or priced delivery note | NU | 8.3 | |
<LO>4 | DestProduct | Type M - This is the product code of the receiving customer and this product needs to exist | AN | 30 | Conditional - If Type M order then Mandatory |
<LO>5 | DestUnits | Type M - Planned Number of Cases | NU | 5 | Conditional - If Type M order then Mandatory |
<LO>6 | DestSingles | Type M - PlannedNumber of Single Bottles or this can be the total in single bottles | NU | 5 | Conditional - If Type M order then Mandatory |
<LO>7 | DestSPC | Type M - The singles per case which were output during the manufacturing process | NU | 4 | Conditional - If Type M order then Mandatory |
<LO>8 | DestStamps | Type M - Specifies whether the final product will be duty stamped (Y or N) | BIT | 1 | Conditional - If Type M order then Mandatory |
<LO>9 | DestValue | Type M - The value of the goods per case when they are landed, in the warehouse base currency e.g. UK warehouses use GBP | MO | 8.2 | Conditional - If Type M order then Mandatory |