Update a document state
Update a document state
| Path Parameters |
|---|
id string — REQUIRED |
| Request Body — REQUIRED |
|---|
transition string — REQUIREDPossible values: [ Invoice transition states: (to_unpaid, to_canceled, to_draft ) || Estimates transition states: (to_created, to_canceled, to_draft, to_accepted, to_negotiation) || delivery notes transition states: (to_created, to_canceled, to_draft, to_delivery) || Supplier delivery notes transition states: ( to_created, to_canceled, to_draft, to_received ) |
| Responses | ||||
|---|---|---|---|---|
200Returns the updated document
| ||||
400Document not valid |