{
	"name": "table/external/4d/manager/order/invoice.json",
	"table_name": "invoice",
	"table_prefix": "inv",
	"table_number": 17,
	"table_name_local": "order",
	"record_type_local": "invoice",
	"field": [
	{
		"type": "varchar",
		"length": 0,
		"field_number": 65,
		"name": "additional_data"
	},
	{
		"type": "date",
		"field_number": 37,
		"name": "cash_discount_due_date"
	},
	{
		"type": "varchar",
		"length": 90,
		"field_number": 61,
		"name": "change_id"
	},
	{
		"type": "varchar",
		"length": 20,
		"field_number": 54,
		"name": "collection_invoice_id"
	},
	{
		"type": "date",
		"field_number": 49,
		"name": "collection_started"
	},
	{
		"type": "double",
		"field_number": 30,
		"name": "coming_total"
	},
	{
		"field_number": 1,
		"nullable": true,
		"type": "varchar",
		"length": 24,
		"name": "company_id",
		"foreign_key": {
			"field": "company_id",
			"table": "company"
		}
	},
	{
		"type": "varchar",
		"length": 40,
		"field_number": 62,
		"name": "creator_id"
	},
	{
		"type": "varchar",
		"length": 20,
		"field_number": 47,
		"name": "credit_note"
	},
	{
		"field_number": 14,
		"nullable": true,
		"type": "varchar",
		"length": 12,
		"name": "currency_id",
		"foreign_key": {
			"field": "currency_id",
			"table": "currency"
		}
	},
	{
		"type": "varchar",
		"length": 160,
		"field_number": 56,
		"name": "customer_order_number"
	},
	{
		"type": "varchar",
		"length": 80,
		"field_number": 45,
		"name": "customer_project"
	},
	{
		"type": "date",
		"field_number": 5,
		"name": "date_"
	},
	{
		"type": "varchar",
		"length": 0,
		"field_number": 35,
		"name": "delivery_address"
	},
	{
		"field_number": 34,
		"nullable": true,
		"type": "varchar",
		"length": 24,
		"name": "delivery_company_id",
		"foreign_key": {
			"field": "company_id",
			"table": "company"
		}
	},
	{
		"type": "varchar",
		"length": 0,
		"field_number": 43,
		"name": "description_of_the_goods"
	},
	{
		"type": "date",
		"field_number": 48,
		"name": "destination_date"
	},
	{
		"type": "double",
		"field_number": 25,
		"name": "discount_amount"
	},
	{
		"type": "double",
		"field_number": 26,
		"name": "discount_percentage"
	},
	{
		"type": "double",
		"field_number": 23,
		"name": "discount_total"
	},
	{
		"type": "varchar",
		"length": 12,
		"field_number": 27,
		"name": "divided"
	},
	{
		"type": "date",
		"field_number": 10,
		"name": "due_date"
	},
	{
		"type": "varchar",
		"length": 80,
		"field_number": 38,
		"name": "eur_1_no"
	},
	{
		"type": "double",
		"field_number": 44,
		"name": "exchange_rate"
	},
	{
		"type": "boolean",
		"field_number": 9,
		"name": "exported_to_ar"
	},
	{
		"type": "integer",
		"field_number": 46,
		"name": "firm_id"
	},
	{
		"type": "varchar",
		"length": 0,
		"field_number": 2,
		"name": "footnote"
	},
	{
		"type": "double",
		"field_number": 40,
		"name": "gross_weight"
	},
	{
		"type": "varchar",
		"length": 24,
		"field_number": 20,
		"name": "handler_id"
	},
	{
		"type": "varchar",
		"length": 0,
		"field_number": 15,
		"name": "info"
	},
	{
		"type": "varchar",
		"length": 0,
		"field_number": 3,
		"name": "invoice_address"
	},
	{
		"field_number": 4,
		"type": "varchar",
		"length": 20,
		"name": "invoice_id",
		"constraint": [
			"unique"
		]
	},
	{
		"type": "varchar",
		"length": 0,
		"field_number": 8,
		"name": "invoice_text"
	},
	{
		"type": "date",
		"field_number": 50,
		"name": "last_collection_date"
	},
	{
		"type": "varchar",
		"length": 160,
		"field_number": 33,
		"name": "mark"
	},
	{
		"type": "varchar",
		"length": 40,
		"field_number": 63,
		"name": "modifier_id"
	},
	{
		"type": "double",
		"field_number": 41,
		"name": "net_weight"
	},
	{
		"type": "boolean",
		"field_number": 66,
		"name": "no_interest_invoice"
	},
	{
		"type": "double",
		"field_number": 21,
		"name": "order_discount_percentage"
	},
	{
		"type": "double",
		"field_number": 22,
		"name": "order_discount_total"
	},
	{
		"type": "varchar",
		"length": 70,
		"field_number": 18,
		"name": "our_reference"
	},
	{
		"type": "double",
		"field_number": 29,
		"name": "paid_total"
	},
	{
		"type": "double",
		"field_number": 12,
		"name": "penalty_interest"
	},
	{
		"type": "double",
		"field_number": 6,
		"name": "price_total"
	},
	{
		"type": "boolean",
		"field_number": 24,
		"name": "printed"
	},
	{
		"type": "varchar",
		"length": 80,
		"field_number": 60,
		"name": "project_id"
	},
	{
		"field_number": 55,
		"type": "varchar",
		"length": 90,
		"name": "record_id",
		"constraint": [
			"unique"
		]
	},
	{
		"type": "varchar",
		"length": 40,
		"field_number": 31,
		"name": "reference_number"
	},
	{
		"type": "varchar",
		"length": 70,
		"field_number": 17,
		"name": "remark_time"
	},
	{
		"type": "varchar",
		"length": 80,
		"field_number": 58,
		"name": "send_state"
	},
	{
		"type": "varchar",
		"length": 80,
		"field_number": 57,
		"name": "send_type"
	},
	{
		"type": "integer",
		"field_number": 51,
		"name": "state"
	},
	{
		"type": "date",
		"field_number": 53,
		"name": "supplier_invoice_date"
	},
	{
		"type": "varchar",
		"length": 80,
		"field_number": 52,
		"name": "supplier_invoice_number"
	},
	{
		"type": "varchar",
		"length": 60,
		"field_number": 39,
		"name": "term_of_delivery"
	},
	{
		"field_number": 11,
		"nullable": true,
		"type": "varchar",
		"length": 24,
		"name": "terms_of_payment_id",
		"foreign_key": {
			"field": "terms_of_payment_id",
			"table": "terms_of_payment"
		}
	},
	{
		"type": "double",
		"field_number": 13,
		"name": "total_amount"
	},
	{
		"type": "double",
		"field_number": 36,
		"name": "total_rounding"
	},
	{
		"type": "varchar",
		"length": 120,
		"field_number": 59,
		"name": "transfer_id"
	},
	{
		"type": "integer",
		"field_number": 64,
		"name": "transfer_state"
	},
	{
		"type": "varchar",
		"length": 4,
		"field_number": 28,
		"name": "type_"
	},
	{
		"type": "double",
		"field_number": 7,
		"name": "vat_total"
	},
	{
		"type": "double",
		"field_number": 42,
		"name": "volume"
	},
	{
		"type": "varchar",
		"length": 24,
		"field_number": 32,
		"name": "voucher_id"
	},
	{
		"type": "varchar",
		"length": 80,
		"field_number": 16,
		"name": "way_of_delivery"
	},
	{
		"type": "varchar",
		"length": 70,
		"field_number": 19,
		"name": "your_reference"
	}
]
}
