{
	"name": "table/external/moloni/company/company.json",
	"table_name": "company",
	"table_prefix": "co",
	"record_type": ["customer"],
	"local_table": "company",
	"local_record_type": "customer",
	"default_field": "table/default_field.json",
	"field": [
		{
			"field_name": "customer_id",
			"field_type": "varchar",
			"local_field": "company_id"
		},
		{
			"field_name": "number",
			"field_type": "integer",
			"local_field": "json_data.project_id"
		},
		{
			"field_name": "name",
			"field_type": "varchar",
			"local_field": "name"
		},
		{
			"field_name": "address",
			"field_type": "varchar",
			"local_field": "name_2"
		},
		{
			"field_name": "date_modified",
			"field_type": "date",
			"local_field": "modify_time"
		},
		{
			"field_name": "date_created",
			"field_type": "date",
			"local_field": "create_time"
		},
		{
			"field_name": "email",
			"field_type": "varchar",
			"local_field": "email"
		}
	],
	"field_not_in_use": [],
	"example_data": [
		{
			"email": "joana.carilho@brunswick.com",
			"website": "",
			"fax": "",
			"customer_id": 13712052,
			"visibility_id": 1,
			"salesman_id": 0,
			"number": "1057",
			"name": "Brunswick Marine - Emea Operations Lda",
			"vat": "502319224",
			"address": "Zona Industrial\r\nCampos - Vnc",
			"city": "Vila Meã Vnc",
			"zip_code": "4920-140",
			"country_id": 1,
			"phone": "",
			"contact_name": "",
			"contact_email": "",
			"contact_phone": "",
			"notes": "",
			"discount": 0,
			"credit_limit": 0,
			"qty_copies_document": null,
			"maturity_date_id": 507393,
			"payment_day": 0,
			"field_notes": "",
			"language_id": 2,
			"payment_method_id": 519003,
			"delivery_method_id": 551333,
			"price_class_id": 0,
			"document_set_id": 0,
			"country": {
				"iso_3166_1": "pt",
				"country_id": 1,
				"name": "Portugal"
			},
			"maturity_date": {
				"maturity_date_id": 507393,
				"name": "30 Dias",
				"days": 30,
				"associated_discount": 0
			},
			"payment_method": {
				"payment_method_id": 519003,
				"name": "Transferência Bancária"
			},
			"delivery_method": {
				"delivery_method_id": 551333,
				"name": "Nossa Viatura"
			},
			"alternate_addresses": [],
			"associated_taxes": []
		}
	]
}
