POST /v1/documents/

Add new document


Parameters

None.


Request

application/json
TS-Apikey: api_key
{
    "data":{
        "document_number":"DOC001",
        "description":"Doklad moj pekny",
        "batch_settings":{
            "allowed_types":[
                "R",
                "V"
            ],
            "allowed_directions":[
                "I",
                "O"
            ]
        },




            {
                "item_number":1,
                "product_code":"corbru",
                "meta":{
                    "note":""
                },










































Response

application/json
HTTP 201
{
}