Model that describes stock aggregate operation documents.
| Name | Type | Description |
|---|---|---|
| amount | Decimal | Total item prices. |
| amount2 | Decimal | Total item prices without discount. |
| code | String | Document code. Maximum length is 50 characters. |
| date | Int64 | Document date as Unix time in seconds. |
| id | Int64 | Stock aggregate operation document ID. |
| last_update | Int64 | Last record update date as Unix time in seconds. |
| performed | Boolean | Indicates that the document is posted. |
| stock | Stock | Stock. |