Model that describes a stock receipt or stock write-off document.
| Name | Type | Description |
|---|---|---|
| attached_user | User | Responsible user assigned to the document. |
| auto | Boolean | Indicates whether the document was created automatically by another workflow, such as production or inventory. |
| blocked | Boolean | Document edit lock state: true - locked, false - unlocked. |
| code | String | Document code generated by the database. Maximum length is 50 characters. |
| current_user_blocked | Boolean | Edit lock status for the current request user: null - not locked, true - locked by the current user, false - locked by another user. |
| date | Int64 | Document date as Unix time in seconds. |
| deleted_mark | Boolean | Document deletion mark state: true - marked for deletion, false - not marked for deletion. |
| description | String | Document note. Maximum storage length is 300 characters. |
| id | Int64 | Stock receipt/write-off document ID. |
| inout_type | String | Document type: income - stock receipt, outcome - stock write-off. Allowed values: all, income, outcome. |
| last_update | Int64 | Last record update date as Unix time in seconds. |
| performed | Boolean | Document posting state: true - posted, false - not posted. |
| stock | Stock | Stock that receives or writes off document item quantities. |