Skip to main content

Send orders via FTP

You can transfer orders to Lagersystem via FTP using our XML order format. Each file describes one order. It is preferred that each file be named ordernumber.xml. The file must be in Unicode UTF-8 format.

The order files are uploaded to a folder on the FTP server called new-orders. Once Lagersystem has imported the file, it will automatically be removed from the FTP folder.

You can get the login details for the FTP server from your contact person at Lagersystem.

Before specifying any particular payment or shipping solutions, make sure your Lagersystem is configured to use that solution. For example, if you want to use PostNord for your orders, your API credentials for Pacsoft must be set up in Lagersystem. If you need help with this, feel free to contact us.

Below you will find a table with all supported data fields and their possible values.

You can download an example order file here:

Example order fileDownload

FieldData typeRequired?Description
OrderIDIntegerYesNumeric order identifier, must be unique. Max integer 2147483647
OrderTimestampDatetimeYesTimestamp for initial order placement. Format YYYY-MM-DD HH:MM:SS
Customer → NameStringYesName of customer (or contact if company)
Customer → AddressStringYesStreetname and number etc.
Customer → Address2StringNoStreet 2
Customer → CityStringYesCityname
Customer → ZipCodeStringYesZipcode of customer
Customer → EmailStringYesValid email of customer
Customer → PhoneStringNoPhone no.
Customer → CompanyNumberIntegerNoVAT No in case of company
Customer → CompanyNameStringNoName of company
Customer → CountryIDStringYesISO 3166-1 alfa-2 country identifier
ShipTo → NameStringYesRecipient name or contact
ShipTo → AddressStringYesDelivery street
ShipTo → Address2StringNoDelivery street2
ShipTo → CityStringYesDelivery city
ShipTo → ZipCodeStringYesDelivery zipcode
ShipTo → EmailStringYes/NoEmail for pickup person. Mandatory for deposit services.
ShipTo → PhoneStringYes/NoPhone for pickup person. Mandatory for deposit services.
ShipTo → CompanyNameStringNoName of company
ShipTo → CountryIDStringYesCountry of shipping destination. ISO 3166-1 alfa-2.
ShipTo → DepositIDIntegerNoNumeric identifier of the deposit/parcel shop/pickup point
InternalNoteStringNoInternal note for warehouse staff, ie. ”order has been delayed, please add free items” or ”dont ship until monday”.
ShipmentNoteStringYes/NoNote from customer to add on shipment label, mandatory for shipment types with hand-off if not home.
RefStringNoAdditional Reference
CurrencyCodeStringYesCurrency of order.
ShippingPricePriceYesPrice charged for shipment. Can be 0 if not charged.
OrderTotalPriceYesGrand total of order including shipping price, payment fees and VAT. Important for orders that need live payment capture.
Payment → TypeEnum StringYesPossible types are: – nopayment – quickpay – epay – dandomain – icepay – klarna – paymill
Payment → TransactionIDStringYes/NoMandatory for all payment types except NoPayment.
ShipmentTypeEnum StringYesSee table below.
Lines → Line → TitleStringYesProduct title
Lines → Line → UnitPricePriceYesProduct price per unit.
Lines → Line → VatPctIntegerNoVAT amount for item, defaulting to 25% if not present.
Lines → Line → ItemnumberStringYesItemnumber of product.
Lines → Line → UOMString(10)NoUnit of Measurement (Default STK)
Lines → Line → AmountIntegerYesQuantity of product
Lines → Line → ImageURLURLNoIf present, an product image will be displayed for warehouse personnel when picking order.
Lines → Line → TextLineBooleanNoIf present, the line will be considered a textline.

Shipping types

CodeDescription
postdk_direct=>PostNord Home delivery
postdk_pickup=>PostNord Parcel shop
postdk_erhverv=>PostNord Business
postdk_varebrev=>PostNord Small Parcel – International
gls_direct=>GLS Home delivery
gls_pickup=>GLS Parcel shop
gls_erhverv=>GLS Business
bring_direct=>Bring Home delivery
bring_pickup=>Bring Parcel shop
bring_erhverv=>Bring Business
dao_direct=>DAO356 Home delivery
dao_pickup=>DAO356 Parcel shop
dfm=>Danske Fragtmænd
ups=>UPS International
dhlexpress=>DHL Express
pickup=>Pickup