Order Export

Short description

If the Realtime PlaceOrder interface is not an option, the Order XML export can be used to place an XML document with the submitted order contents in an FTPS folder.

For validation purposes of the Exported XML an XSD document is available. The current version of the XSD document is: OrderXmlExport_v2.xsd

Delivery method

Update Frequency: When the order is submitted

Incremental or complete set: Incremental

Filetype: XML

Filename: order_[ordernumber].xml Transport: over FTPS, FTPS Vendisto server hosted by INTEGRACE, file will be placed on FTPS server by the shop.

Location within FTP root: \ShoxlPro\Orders\

Structure XML

<?xml version="1.0" encoding="utf-8"?>
<OrderInformation>
    <OrderId> </OrderId>
    <OrderNumber></OrderNumber>
    <CustomerId/>
    <DebtorNumber></DebtorNumber>
    <CompanyName></CompanyName>
    <CompanyVatNumber></CompanyVatNumber>
    <CocNumber></CocNumber >
    <Reference/>
    <DeliveryMethod></DeliveryMethod>
    <PaymentMethod></PaymentMethod>
    <Gender></Gender>
    <FirstName></FirstName>
    <MiddleName/>
    <LastName></LastName>
    <StreetAddress1></StreetAddress1>
    <StreetAddress2/>
    <PostalCode></PostalCode>
    <City></City>
    <Country></Country>
    <UseSeparateDeliveryAddress></UseSeparateDeliveryAddress>
    <DeliveryCompanyName></DeliveryCompanyName>
    <DeliveryFirstName/>
    <DeliveryMiddleName/>
    <DeliveryLastName/>
    <DeliveryStreetAddress1></DeliveryStreetAddress1>
    <DeliveryStreetAddress2/>
    <DeliveryPostalCode/>
    <DeliveryCity/>
    <DeliveryCountry></DeliveryCountry>
    <Comments/>
    <PhoneNumber></PhoneNumber>
    <MobilePhoneNumber/>
    <EmailAddress></EmailAddress>
    <InvoiceEmailAddress/>
    <PaymentReference/>
    <TotalPriceWithoutTax></TotalPriceWithoutTax>
    <TotalPrice></TotalPrice>
    <TotalTax></TotalTax>
    <CostLines>
        <CostLineInformation>
            <Description/>
            <Price></Price>
            <PriceWithoutTax></PriceWithoutTax>
            <Tax></Tax>
        </CostLineInformation>
    </CostLines>
    <OrderLines>
        <OrderLineInformation>
            <ArticleNumber></ArticleNumber>
            <ArticleDescription></ArticleDescription>
            <Quantity></Quantity>
            <Price></Price>
            <PriceWithoutTax></PriceWithoutTax>
            <DiscountPrice/>
            <DiscountPercentage/>
            <Unit></Unit>
            <DeliveryDate></DeliveryDate>
        </OrderLineInformation>
    </OrderLines>
</OrderInformation>

Fields XML

OrderInformation element:

Name

Description

Type

Occurs

OrderId

The unique identifier of the order

string

1..1

OrderNumber

This the Shoxl Shop unique order number

string

1..1

CustomerId

Not in use

string

1..1

DebtorNumber

Debtor number

string

1..1

CompanyName

Name of the company

string

1..1

CompanyVatNumber

Vat number

string

1..1

CocNumber

Chamber of Commerce number

string

0..1

Reference

This is the customers reference for an order.

string

1..1

DeliveryMethod

Delivery method

DeliveryMethod

1..1

PaymentMethod

Payment method

PaymentMethod

1..1

Gender

Gender of the invoice contact person

Gender

1..1

FirstName

of the invoice contact person

string

1..1

LastName

of the invoice contact person

string

1..1

StreetAddress1

Invoice address

string

1..1

StreetAddress2

Invoice address

string

1..1

PostalCode

Invoice address

string

1..1

City

Invoice address

string

1..1

Country

Invoice address

string

1..1

UseSeparateDeliveryAddress

If false, order must be delivered at invoice address

boolean

1..1

DeliveryCompanyName

Delivery address

string

0..1

DeliveryFirstName

Delivery address contact person

string

0..1

DeliveryMiddleName

Delivery address contact person

string

0..1

DeliveryLastName

Delivery address contact person

string

0..1

DeliveryStreetAddress1

Delivery address

string

0..1

DeliveryStreetAddress2

Delivery address

string

0..1

DeliveryPostalCode

Delivery address

string

0..1

DeliveryCity

Delivery address

string

0..1

DeliveryCountry

Delivery address

string

0..1

Comments

string

1..1

PhoneNumber

Order contact phone number

string

1..1

MobilePhoneNumber

Order contact mobile phone number

string

1..1

InvoiceEmailAddress

Order contact email address

string

1..1

PaymentReference

When using a Payment Service Provider (PSP) a reference is given from the PSP system (not yet implemented)

string

1..1

TotalPriceWithoutTax

The total price of the order excluding VAT

decimal

1..1

TotalPrice

The total price of the order including VAT

decimal

1..1

TotalTax

The total amount of VAT

decimal

1..1

CostLines

Container element for CostlineInformation elements

Element

0..1

OrderLines

Container element for OrderLineInformation elements

Element

1..1

CostLineInformation element:

Name

Description

Type

Occurs

Description

Description of the costline

string

1..1

Price

Cost including VAT

decimal

1..1

PriceWithoutTax

Cost excluding VAT

decimal

1..1

Tax

Cost VAT amount

decimal

1..1

OrderLineInformation element:

Name

Description

Type

Occurs

ArticleNumber

Article number

string

1..1

ArticleDescription

Article description

string

1..1

Quantity

The number of items ordered

integer

1..1

Price

Price including VAT

decimal

1..1

PriceWithoutTax

Price excluding VAT

decimal

1..1

DiscountPrice

Not in use

Empty element

0..1

DiscountPercentage

Not in use

Empty element

0..1

Unit

The base unit of the ordered quantity, eg pce or meter.

string

1..1

DeliveryDate

Preferred delivery date

Date

0..1

Types:

Type

Values

boolean

false, true

DeliveryMethod

DEFAULT, PICKUP

Gender

Unknown, Male, Female

GUID

00000000-0000-0000-0000-000000000000

PaymentMethod

NONE, BUY_ON_CREDIT, CASH_ON_PICKUP, CASH_ON_DELIVERY, BANK_TRANSFER, DIRECT_DEBIT, AMEX, MASTERCARD, VISA, IDEAL, MISTER_CASH, BELFIUS_DIRECT_NET, CBC_ONLINE, ING_HOMEPAY, KBC_ONLINE, PAYPAL, EBANKING, MAESTRO, TEST

Date

Must be a string of eight positions formatted as: yyyyMMdd

Last updated