Model that describes order-from-partner documents.
| Name | Type | Description |
|---|---|---|
| amount | Decimal | Order document amount calculated from operation rows, discounts, and allowances. |
| attached_user | User | Responsible person. |
| blocked | Boolean | Document blocked flag. |
| booked | Boolean | Indicates whether the order reserves items. |
| code | String | Document code. Maximum length is 50 characters. |
| contract | DocContractShort | Contract document. |
| currency | Currency | Currency. |
| current_user_blocked | Boolean | Current request user's lock state: null - unlocked, true - locked by current user, false - locked by another user. |
| date | Int64 | Document date as Unix time in seconds. |
| deleted_mark | Boolean | Deletion mark flag. |
| description | String | Document note. Maximum length is 300 characters. |
| exchange_rate | Decimal | Exchange rate. |
| id | Int64 | Order-from-partner document ID. |
| last_update | Int64 | Last record update date as Unix time in seconds. |
| partner | Partner | Partner. |
| status | DocumentStatus | Document status. |
| stock | Stock | Stock. |
| vat_calculation_type | String | VAT calculation mode: No - do not accrue, Exclude - included in the amount, Include - added on top. Allowed values: No, Exclude, Include. |