1. Help
  2. Orders

Order customers: retail code or create

Which ERP customer an order's document is charged to.

Every document needs a customer in the ERP. In Order settings you decide what happens when the order’s customer is not linked to an ERP customer.

A fixed retail customer code

All retail orders are charged to the same ERP customer, for example “E-shop retail customer”. It is the simplest choice. The code must exist in the ERP.

Create the customer in the ERP

A customer record is created in the ERP for every new customer. It needs the details of the section “Creating customers”, on the tab “Invoices and customers”:

  • Code rule: prefix and number, or the VAT number when there is one and otherwise prefix and number.
  • Code prefix. Every integration on the same ERP needs its own prefix.
  • VAT status, country (ERP code) and, optionally, a customer category.
  • Countries: an optional table that maps the shop’s country code (for example GR) to the ERP’s country code.

Invoice orders

Whatever you choose above, an invoice order always looks the customer up in the ERP by VAT number and creates them if missing. So the customer creation details are needed if you accept invoices. See Greek invoice fields.

New shop registrations

With “Send new shop registrations to the ERP”, every new customer account is also created in the ERP, without waiting for an order.

Common errors

customer_settings_missing, customer_ambiguous.