The ERP Cache Order interface is used to keep a record of of the orders in the ERP system. The Orders in the ERP Cache are used to show order history to the user.
Delivery method
Update Frequency: Batch at least once a day
Incremental or complete set: Incremental
Filetype: Zipped XML
Filename: [SHOPNAME]_ErpCache_Order_[INDEXNUMBER].xml
Transport: over FTPS, FTPS Vendisto server hosted by INTEGRACE, file will be placed on FTPS server by ERP party.
Version of the import xml. To be used for backward compatibility issues.
Text,
default 1.0
Optional
Name
Description
Type
Required/Optional
OrderNumber
The order number of the ERP system
Text
Required
JobNumber
Legacy field
Text
Optional
BillingAddress1
Street and housenumber of the billing address
Text
Optional
BillingCity
The city of the billing address
Text
Optional
BillingCountry
The country of the billing address
Text
Optional
BillingName1
Name of the billing address (department)
Text
Optional
BillingName2
Contains the company name
Text
Optional
BillingPostalCode
The postalcode of the billing address
Text
Optional
ExternalOrderNumber
This the Shoxl Shop unique order number
Text
Optional
OrderDate
The order date
Date
Optional
OrderState
State should be derived form orderlinestates: Open means 1 or more lines have state Open or Backorder, Closed means all lines have status Shipped or Cancelled.
OrderState
Optional
OrderLines
Container element for list of OrderLine elements.
Element
Optional
PaymentMethodCode
The used payment method code, 1 = on account, 2 = PSP, 4 = zero order.
PaymentMethodCode
Optional
PaymentReference
When using a Payment Service Provider (PSP) a reference is given from the PSP system (not yet implemented)
Text
Optional
Reference
This is the customers reference for an order.
Text
Optional
ShipmentMethodCode
A Shipment Method Code: 0 = pickup by customer, 1 = default delivery
ShipmentMethodCode
Required
ShippingAddress1
Street and housenumber of the shipping address
Text
Optional
ShippingCity
The city of the shipping address
Text
Optional
ShippingCountry
The country of the shipping address
Text
Optional
ShippingName1
Name of the shipping address (department)
Text
Optional
ShippingName2
Contains the company name
Text
Optional
ShippingPostalCode
The postalcode of the shipping address
Text
Optional
ShippingTransportInstruction
Transport and delivery instruction for the shipping address
Text
Optional
TotalPriceExclVat
The total price of the order excluding VAT
Decimal
Required
TotalPriceInclVat
The total price of the order including VAT
Decimal
Required
TotalVat
The total amount of VAT
Decimal
Required
Name
Description
Type
Required/Optional
Carrier
The description of the Carrier who ships the order
Text
Optional
DiscountAmountExclVat
This field can be used to give the calculated Discount Amount using a discount percentage. Or just give a discount amount when no discount percentage is used for the calculation.
Decimal
Optional
DiscountDescription
A description of the discount from the ERP.
Text
Optional
DiscountPercentage
A percentage of the give discount on the default netto price excluding VAT. When this field is set, the field DiscountAmountExclVat is required.
Decimal
Optional
IsExternal
If the order line is added by the ERP system (for example when its an extra fee or shipping costs), this field must be set true. If Shoxl Shop adds an order line this field is set false.
Boolean
Required
GrossPriceExclVat
The gross price excluding vat
Decimal
Required
NettoPriceExclVat
The netto price excluding vat, this can be a customer-specific or even project-specific price.
Decimal
Required
OrderLineStatus
The status of the order line
OrderLineStatus
Optional
ProductDescription
The default description of the product
Text
Required
ProductNumber
The product number for the requested product details, this can be a customer-specific product number. If IsExternal=false, the ordernumber must be filled.
Text
Optional
Quantity
The number of items ordered
Integer
Required
RemainingQuantity
The number of items not yet shipped.
Integer
Optional
SubTotalPriceExclVat
Sub Total of the order line excluding Vat
Decimal
Optional
TrackAndTraceReference
If available, a track and trace reference of the carrier. This can be an unique code or a uri.
Text
Optional
VatCode
The VAT Code of the product
VatCode
Required
NettoPriceInclVat
The netto price including vat, this can be a customer-specific or even project-specific price.