{
	"table_name_local": "invoice_payment",
	"table_number": 52,
	"name": "table/external/4d/manager/order/accounts_payable_payment.json",
	"table_name": "accounts_payable_payment",
	"field": [
		{
			"constraint": [
				"index"
			],
			"field_number": 9,
			"name": "account_id",
			"nullable": true,
			"foreign_key": {
				"table": "account",
				"field": "account_id"
			},
			"type": "varchar",
			"length": 12
		},
		{
			"constraint": [
				"index"
			],
			"field_number": 2,
			"name": "accounts_payable_id",
			"nullable": true,
			"foreign_key": {
				"table": "accounts_payable",
				"field": "code_id"
			},
			"type": "varchar",
			"length": 10
		},
		{
			"field_number": 20,
			"name": "bank_statement",
			"type": "varchar",
			"length": 40
		},
		{
			"field_number": 26,
			"name": "change_id",
			"type": "varchar",
			"length": 45
		},
		{
			"field_number": 27,
			"name": "creator_id",
			"type": "varchar",
			"length": 20
		},
		{
			"constraint": [
				"index"
			],
			"field_number": 21,
			"name": "currency_id",
			"nullable": true,
			"foreign_key": {
				"table": "currency",
				"field": "currency_id"
			},
			"type": "varchar",
			"length": 6
		},
		{
			"field_number": 24,
			"name": "customer_project",
			"type": "varchar",
			"length": 40
		},
		{
			"field_number": 5,
			"type": "double",
			"name": "discount_sum"
		},
		{
			"field_number": 18,
			"type": "double",
			"name": "exchange_rate"
		},
		{
			"field_number": 15,
			"type": "double",
			"name": "expence_sum"
		},
		{
			"field_number": 17,
			"name": "firm_id",
			"constraint": [
				"index"
			],
			"type": "integer"
		},
		{
			"field_number": 8,
			"type": "text",
			"name": "info"
		},
		{
			"field_number": 14,
			"type": "boolean",
			"name": "is_expence_account"
		},
		{
			"field_number": 6,
			"name": "method_of_payment",
			"type": "varchar",
			"length": 25
		},
		{
			"field_number": 28,
			"name": "modifier_id",
			"type": "varchar",
			"length": 20
		},
		{
			"field_number": 13,
			"type": "double",
			"name": "partial_payment_sum"
		},
		{
			"field_number": 7,
			"name": "payee_bank_account",
			"type": "varchar",
			"length": 40
		},
		{
			"field_number": 10,
			"name": "payment_date",
			"constraint": [
				"index"
			],
			"type": "date"
		},
		{
			"field_number": 11,
			"type": "double",
			"name": "payment_sum"
		},
		{
			"field_number": 16,
			"type": "integer",
			"name": "progress_payment"
		},
		{
			"field_number": 25,
			"name": "project_id",
			"type": "varchar",
			"length": 40
		},
		{
			"field_number": 22,
			"name": "record_id",
			"constraint": [
				"unique"
			],
			"type": "varchar",
			"length": 45
		},
		{
			"field_number": 3,
			"name": "row_number",
			"constraint": [
				"index"
			],
			"type": "integer"
		},
		{
			"field_number": 12,
			"name": "state",
			"constraint": [
				"index"
			],
			"type": "varchar",
			"length": 2
		},
		{
			"field_number": 19,
			"type": "double",
			"name": "sum_amount"
		},
		{
			"field_number": 23,
			"name": "transfer_id",
			"constraint": [
				"index"
			],
			"type": "varchar",
			"length": 60
		},
		{
			"field_number": 29,
			"type": "integer",
			"name": "transfer_state"
		},
		{
			"field_number": 4,
			"name": "value_date",
			"constraint": [
				"index"
			],
			"type": "date"
		},
		{
			"field_number": 1,
			"name": "voucher_number",
			"type": "varchar",
			"length": 20
		}
	],
	"table_prefix": "appa",
	"record_type_local": "accounts_payable"
}