{
	"name": "form/nc/erp-sync/ksef/query/invoice-metadata.json",
	"info": "Query invoice metadata with subject type and date range filters per KSeF API v2 spec.",
	"table": [
		{
			"table": "order",
			"record_type": ["invoice"]
		}
	],
	"parameter": {
		"all_data_tag": "json_data",
		"show_sql": false,
		"page_size": 100,
		"page_offset": 0,
		"subject_type": "Subject1",
		"date_type": "invoice_date",
		"date_from": "",
		"date_to": ""
	},
	"call_body": {
		"queryCriteria": {
			"subjectType": {
				"field": "subject_type"
			},
			"dateRange": {
				"dateType": {
					"field": "date_type"
				},
				"from": {
					"field": "date_from"
				},
				"to": {
					"field": "date_to"
				}
			},
			"pagination": {
				"pageSize": {
					"field": "page_size"
				},
				"pageOffset": {
					"field": "page_offset"
				}
			}
		}
	},
	"call_url": "invoices/query/metadata",
	"call_method": "POST",
	"organization_id": "ksef",
	"query": []
}
