GET /v1/documents/{document_number}
View a document by document number
Parameters
+ document_number (string, required) - document identifier
Request
application/json
TS-Apikey: api_key
{}
Response
application/json
HTTP 200
{
"item": {
"document_number": "DOC01",
"description": "Doklad moj pekny",
"batch_settings": {
"allowed_types" : ["R", "V"],
"allowed_directions" : ["I", "O"],
},
{
"item_number": 1,
"product_code": "50661001",
"lot": "55",
"amount_ordered": 1.5E1,
"amount_delivered": 0.55,
"wplace": ["a1", "b5"],
"direction": "I"
},
{
"item_number": 2,
"product_code": "50661005",
"lot": "",
"amount_ordered": 3000.0,
"amount_delivered": 0.0,
"wplace": [],
"direction": "I"
},
{
"item_number": 1,
"product_code": "30800191",
"lot": "",
"amount_ordered": 8.0,
"amount_delivered": 8.0,
"wplace": [],
"direction": "O"
}

