Create Cash Register sequence


post https://api.trivi.com/v2/cashregisters/{cashRegisterId}/sequences

Path Variables
cashRegisterId
integer   required
Format int64
Body
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
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