Set Cash Register sequence's last generated number


put https://api.trivi.com/v2/cashregisters/{cashRegisterId}/sequences/{sequenceId}/lastGeneratedNumbers/{year}

Path Variables
cashRegisterId
integer   required
sequenceId
integer   required
Format int64
year
integer   required
Body
Object
id
number   optional

Only in GET

Format int64
name
string   required
format
string   required
exampleNo
string   optional

Only in GET

accountingDocumentType
number   required

Same as AccountingDocument.type

accountingDocumentDirection
number   required

Same as AccountingDocument.direction

validFrom
string   required
Format date
validTo
string   optional
Format date
isDisabled
boolean   optional
lastGeneratedNumbers
SequenceLastGeneratedNumbers   optional
SequenceLastGeneratedNumbers
ValidationError
code
string   optional
message
string   optional
params
object   optional
fieldsAffected
Array of ValidationFieldError   optional
ValidationFieldError
name
string   optional
message
string   optional
code
string   optional
params
object   optional
Object