{
	"name": "form/local/input/order/order-invoice1/query.json",
	"table": [
		{
			"table": "order",
			"record_type": ["invoice"]
		}
	],
	"parameter": {
		"record_id": "",
		"show_sql": true
	},
	"field": [
		"ord.order_id",
		"ord.invoicing_company_id",
		"ord.invoicing_address",
		"ord.company_reference_number",
		"ord.note",
		"ord.order_date",
		"ord.order_type",
		"ord.json_data.destination_date",
		"ord.order_state",
		"ord.json_data.bank_reference_number",
		"ord.due_date",
		"ord.json_data.penalty_interest_percent",
		"ord.way_of_delivery",
		"ord.terms_of_payment_id",
		"top.name",
		"ord.json_data.remark_time",
		"ord.our_reference",
		"ord.your_reference",
		"ord.json_data.footnote",
		"ord.json_data.printed",
		"ord.json_data.exported_to_ar",
		"ord.voucher_id",
		"ord.currency_id",
		"ord.discount_price",
		"ord.json_data.order_discount_total",
		"ord.price_without_vat",
		"ord.vat_price",
		"ord.exchange_rate",
		"ord.json_data.rounding_price",
		"ord.price_with_vat"
	],
	"query": [["ord.record_id", "=", "record_id"]],
	"limit": 1
}
