Model that describes an order-to-partner document.
| Name | Type | Description |
|---|---|---|
| amount | Decimal | Order amount calculated from operation rows. Stored with up to three decimal places. |
| attached_user | User | Responsible person. |
| blocked | Boolean | Document blocked flag. |
| code | String | Document code generated by the server. Maximum length is 50 characters. |
| contract | DocContractShort | Contract document. |
| currency | Currency | Currency. |
| current_user_blocked | Boolean | Indicates whether the document is blocked by the current request user. Returned only when the document is locked. |
| date | Int64 | Document date as Unix time in seconds. |
| deleted_mark | Boolean | Indicates whether the partner order document is marked for deletion. |
| description | String | Document note. Maximum length is 300 characters. |
| exchange_rate | Decimal | Exchange rate. |
| id | Int64 | Partner order document ID. |
| last_update | Int64 | Last record update date as Unix time in seconds. |
| partner | Partner | Partner. |
| status | DocumentStatus | Document status. |
| 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. |