XML : explications sur les champs

Mapping your fields

Below you will find an overview of all the fields in the product.xsd with more elaborate explanation and examples. These fields are written down here to make it easier to read and understand. In Automatic updating your products via XML our product.xsd can be found. All technical explanation, structure wise but also all possible data types/values are listed.

Our xml example gives an overview how this data should be shaped.

Cost types, taxes and calculations in XML

It is possible to state the costs per cost type. This can be useful for example when you have different vat percentages per cost type.
If this is the case you can fill in the cost for the 'tuition fee' in <price> and for stating different cost types and matching VAT percentages you can use the node  <AdditionalCosts> stating each cost type and all values per <AdditionalCost>.

Our example:
Let assume you have these values in the xml:

<Price>100</Price> 

<AdditionnalCost>

registration fee  * see our xsd for possible values. Note that tuition fee is not included because we expect it to be(included) in the  tag, it is 100 in our example. 20  no5 no

</AdditionalCost>

<AdditionalCost>

<Type> lunch </Type><Prince> 40</Prince> <VatIncluded> no</VatInlcuded> <VatAmount> 3</VatAmount><Mandatory> no>/Mandatory>

</AdditionalCost>

Calculating course price

Below all different price options:

Calculation of the TOTAL price:We will sum all mandatory costs and add to the total of the course price.

Additional information :

  • courses free of charge should have <price>0</price>
  • for <producttype>in-company</producttype> there should not be a price. To make sure we do not show a price you can use the <PriceAgreement> true</PriceAgreement> in the XML. We won't show any prices in that case
  • the <VatAmount> for an in-company training is not relevant. Please leave it empty
  • Optional costs are not shown until the actual booking is happing. On the booking screen we will give the user the option to book any optional costs.