# https://www.moloni.pt/dev/entities/customers/insert/

- erp-sync / NcForm: 37. rest save -call error: '[
  "2 payment_day 1 null null 0 28",
  "2 discount 0 null null 0 100",
  "2 credit_limit 0 null null 0"
  ]'

* company_id int
* in connection prf call_body -tag
  Mandatory

* vat string
* "json_data.vat": "999999990"
  Mandatory

* new: customer_id
* company_number

* number string (max: 20)
* company_id
  Mandatory

* name string
* name
  Mandatory

* language_id int
* "language_id": 1
  Mandatory

* address string
* address
  Mandatory

* zip_code string
* post_code

* city string
* post_office
  Mandatory

* country_id int
* "json_data.country_id": 1,
  Mandatory

* email string
* email

* website string
* www

* phone string
* phone

* string fax
* no

* contact_name string
* json_data.default_sales_person_id

contact_email string
contact_phone string

- notes string
- info

- salesman_id int
- "co.json_data.salesman_id": 0

- price_class_id int
- "co.json_data.price_class_id": 0,

- maturity_date_id int
- "co.json_data.maturity_date_id": 1262141
  Mandatory

- payment_day int
- top.net_days

- discount float
- json_data.discount

- credit_limit float
- json_data.credit_limit

copies array

    - document_type_id int
    	Mandatory

    - copies int
    	Mandatory

- payment_method_id int
- "co.json_data.payment_method_id": 1412311
  Mandatory

- delivery_method_id int
- "co.json_data.delivery_method_id": 1446286

field_notes string
