If you want to change the document series on a document (this must be combined with a change of document type) and you want the internal number to be updated accordingly, use the sample request below.
{
"winstrom":{
"faktura-vydana":{
"id":"20",
"typDokl":"code:FAKTURA",
"typDokl@previousValue":"code:ZÁLOHA"
}
}
}