Klanten Import
Korte omschrijving
Deze interface beschrijft welke klantinformatie vanuit het ERP systeem naar Vendisto wordt getransporteerd.
Klantinformatie omvat:
Shop Specifiek debiteurnummer
N.a.w. gegevens factuuradres
Naam1
Naam2 (Bijv. t.a.v.)
Adres
Postcode
Plaats
Land
N.a.w. gegevens standaard verzendadres
Naam1
Naam2 (Bijv. t.a.v.)
Adres
Postcode
Plaats
Land
Extra aanduiding (Bijv. Havennummer, afslagnummer, etc.)
Afleverinstructie (Bijv. “Achter de keet in kist achterlaten…”)
Naam contactpersoon
E-mailadres contactpersoon
Betaalmethode (op rekening, contant, etc.)
Aanleverwijze
Update Frequentie: Batch minimaal 1x per dag Incrementeel of complete set: Incrementeel Bestandtype: Zipped XML
Bestandsbenaming: [SHOPNAME]_customers_[INDEXNUMBER].xml Transport: over FTPS, FTPS Vendisto server wordt gehost door INTEGRACE, bestand wordt door ERP partij neergezet op FTPS server.
Location within FTP root: \Vendisto\Integration\
Customer XML Structure
This XML structure can be used for batch import of Customer data. All optional elements can be omitted from the import. Omitted elements that represent customer information will not update existing information. E.G. if <FirstName> is not present in the XML but is in the database, the field will not be updated. If <FirstName /> is present as an empty XML element, the FirstName in the database will be made empty. If <CustomerAddresses> is not present, the CustomerAddresses will not be updated. If <CustomerAddresses /> is present as empty XML element, all existing customer’s addresses will be removed from the database.
The ImportSettings element can be used to set the default behavior of import. Setting the importsettings is not required (yet).
Changes from Customer XML 2.0 to 2.1
The ImportSettings node is now required as well as the 'Importer' setting.
The PartialUserImport setting is no longer available.
StreetAddressType is a new import setting with values: Combined and Separated
StreetAddres1 and StreetAddress2 are renamed to AddressLine1 and AddressLine2
AddressLine1 contains Street and housenumber when StreetAddressType is set to Combined
The new fields Street, HouseNumber and HouseNumberAddition are to be used when StreetAddressType is set to Separated
AddressLine2: May contain an additional address line
UserType and UserRights are new elements on the User level
ExternalId can be filled with the address id of the ERP system
Changes from Customer XML 2.1 to 2.2
The PriceGroup element was removed from the XML definition
A new PriceList element was added to the definition
Velden customer XML
Import element:
Name | Description | Type | Required/Optional |
ImportSettings | Container element for importsettings | Element | Required |
Customers | Container element for Customer data | Element | Required |
ImportSettings element:
Name | Description | Type | Required/Optional |
Importer | Name of the importer. Should be CustomerData. | Text, default CustomerData | Required |
Version | Version of the import xml. Value must be set to 2.2 | Text | Required |
PartialImport | Defines if import is full or partial import. | Boolean, default Y | Optional |
Validation | Defines the validation type. Strict validation requires FirstName and LastName fields of Customer Address. Loose validation doesn’t. | Validation, default Loose | Optional |
StreetAddressType | Setting to make the distinction between 'Combined' and 'Separated' address lines. ERP systems that store the housenumber in a separate field should set the type to 'Separated'. Those that don't to 'Combined'. | StreetAddressType, default Separated | Optional |
Customer element:
Name | Description | Type | Required/Optional |
DebtorNumber | Debtor number | Text | Required if Vendisto setting ‘Customer identification type’ is set to ‘Debtor number’, else Optional. |
Company | Name of the company | Text | Optional |
CompanyVatNumber | Vat number | Text | Optional |
Gln | Global location number | GLN | Optional |
Gender | Gender of the customer contact person | Gender | Optional |
FirstName | of the contact person | Text | Optional |
MiddleName | of the contact person | Text | Optional |
LastName | of the contact person | Text | Optional |
of the contact person | Text, must be a valid email address | Required | |
PhoneNumber | of the contact person | Text | Optional |
MobilePhoneNumber | of the contact person | Text | Optional |
DateOfBirth | of the contact person | Date | Optional |
DefaultReference | Depricated | Text | Optional |
Iban | For future use | Text | Optional |
BuyOnCredit | Enables the BuyOnCredit payment method, if this is available in the shop | Boolean, default N | Optional |
PriceList | Vendisto pricelist name | PriceList | Optional |
State | State of the customer: Active or Blocked | CustomerState, default Active | Optional |
PreferredBranche | Preferred branche of the customer | text | Optional |
Authorization | Container for list of Profiles | Authorization element | Optional |
CustomerAddresses | List of addresses of the customer (Invoice or Delivery) | CustomerAddress elements | Optional |
Users | List of users for the customer | User elements | Optional |
Authorization element:
Name | Description | Type | Required/Optional |
Profile | Code of authorization profile | Char[3] | Optional |
CustomerAddress element:
Name | Description | Type | Required/Optional |
AddressType | Defines the type of the address: Invoicing or Delivery | AddressType | Required |
CompanyName | Name of the company | Text | Optional |
Gender | Gender of the customer address contact person | Gender, default Undefined | Optional |
FirstName | of the address contact person | Text | Required if Validation is Strict |
MiddleName | of the address contact person | Text | Optional |
LastName | of the address contact person | Text | Required if Validation is Strict |
AddressLine1 | of the address contact person | Text | Only imported if StreetAddressType is Combined and in that case Required |
Street | of the address contact person | Text | Only imported if StreetAddressType is Separated and in that case Required |
HouseNumber | of the address contact person | Text | Only imported if StreetAddressType is Separated and in that case Required |
HouseNumberAddition | of the address contact person | Text | Only imported if StreetAddressType is Separated and in that case Optional |
AddressLine2 | of the address contact person | Text | Optional |
PostalCode | of the address contact person | Text | Required |
City | of the address contact person | Text | Required |
Country | of the address contact person | Text | Required |
ExternalId | Address ID of the external (ERP) system | Text | Optional |
IsDefaultAddress | In case of multiple addresses of the given Type this property indicates the default | Boolean, default N | Optional |
User element:
Name | Description | Type | Required/Optional |
Username | User’s username | Text | Required |
User’s email address | Text, must be a valid email address | Optional | |
PreferredLanguage | Indicates preferred language on website | LCID | Optional |
BuyOnCredit | Enables the BuyOnCredit payment method, if this is available in the shop | Boolean, overrides customer’s BuyOnCredit setting | Optional |
State | State of the user: Inactive, Active or Blocked | UserState, default Active | Optional |
Authorization | Container for list of Profiles, overrides customer authorization profiles | Authorization element | Optional |
UserType | The type of the user. Can be used to indicate the superuser who is able to manage the Rights per user. | UserType, default User | Optional |
UserRights | Container for a list of Rights | UserRights element | Optional |
UserRights element:
Name | Description | Type | Required/Optional |
Right | Specifies a right that the user has | Right | Required |
Types:
Type | Values |
AddressType | Invoicing, Delivery |
Boolean | Y, N |
Date | yyyy-MM-dd |
CustomerIdentification | DebtorNumber, Email |
CustomerState | Active, Blocked |
Gender | Undefined, Male, Female |
GLN | Must be a valid GLN number |
LCID | Windows decimal LCID |
PriceList | Name of in Vendisto existing PriceList |
Right | OrderHistory, InvoiceHistory, BackOrderOverview, RestrictedOrderList, FavoritesList, UserManagement |
StreetAddressType | Combined, Separated |
UserState | Inactive, Active, Blocked |
UserType | User, SuperUser |
Validation | Strict, Loose |
Structuur Customer XML (Legacy)
De informatie in deze sectie beschrijft het legacy formaat voor de Customer XML import. Dit formaat wordt nog ondersteund maar zal worden uitgefaseerd. Nieuwe implementaties dienen hier geen gebruik meer van te maken.
Velden customer XML (Legacy)
Name | Description | Type | Required / Optional |
accountNumber | The identifier of a customer. | Text | Required |
defaultBillingAddress / name1 | Name of the billing address (department). | Text | Required |
defaultBillingAddress / name2 | A second name row of the billing address (attn) | Text | Optional |
defaultBillingAddress / address1 | Street and house number of the billing address | Text | Required |
defaultBillingAddress / address2 | An extra address row for the billing address | Text | Optional |
defaultBillingAddress / postalcode | The postal code of the billing address | Text | Required |
defaultBillingAddress /city | The city of the billing address | Text | Required |
defaultBillingAddress /country | The country of the billing address | Text | Required |
defaultShippingAddress / name1 | Name of the shipping address (department). | Text | Required |
defaultShippingAddress / name2 | A second name row of the shipping address (attn) | Text | Optional |
defaultShippingAddress / address1 | Street and house number of the shipping address | Text | Required |
defaultShippingAddress / address2 | An extra address row for the shipping address | Text | Optional |
defaultShippingAddress / postalcode | The postal code of the shipping address | Text | Required |
defaultShippingAddress /city | The city of the Shipping address | Text | Required |
defaultShippingAddress /country | The country of the Shipping address | Text | Required |
defaultShippingAddress /transportInstructionText | Transport and delivery instruction for the shipping address | Text | Optional |
project / projectAccountNumber | The identifier of a project | Text | Required |
project / name | The name of the project | Text | Required |
project / description | A description of the project | Text | Optional |
project / defaultShippingAddress / name1 | Name of the shipping address (department). | Text | Required |
project / defaultShippingAddress / name2 | A second name row of the shipping address (attn) | Text | Optional |
project / defaultShippingAddress / address1 | Street and house number of the shipping address | Text | Required |
project / defaultShippingAddress / address2 | An extra address row for the shipping address | Text | Optional |
project / defaultShippingAddress / postalcode | The postal code of the shipping address | Text | Required |
project / defaultShippingAddress /city | The city of the Shipping address | Text | Required |
project / defaultShippingAddress /country | The country of the Shipping address | Text | Required |
project /defaultShippingAddress /transportInstructionText | Transport and delivery instruction for the shipping address | Text | Optional |
ContactName | The name of the contact. Can be replaced by FirstName, MiddleName and LastName | Text | Optional |
ContactEmailAddress | The contacts emailaddress | Text | Required |
FirstName | First name of the contact person | Text | Optional |
MiddleName | Middle name of the contact person | Text | Optional |
LastName | Last name of the contact person | Text | Optional |
CompanyVatNumber | Vat number | Text | Optional |
GLN | Global location number | GLN | Optional |
priceListNumber | The pricelist reference | Text | Required |
paymentOnAccountAllowed | Is the customer allowed to pay on account? (yes = true, no = false) | Boolean | Required |
showPrices | Can the customer see price information? (yes = true, no = false) | Boolean | Required |
showStock | Can the customer see stock information? (yes = true, no = false) | Boolean | Required |
Types:
Name | Values |
Boolean | yes, no |
GLN | Must be a valid GLN number |
Last updated