Model that describes return-to-partner documents.
| Name | Type | Description |
|---|---|---|
| amount | Decimal | Return document amount. |
| attached_user | User | Responsible user attached to the return-to-partner document. |
| blocked | Boolean | Indicates whether the return-to-partner document is locked for editing. |
| 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 return-to-partner document is locked 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 return-to-partner document is marked for deletion. |
| description | String | Additional description. Maximum length is 300 characters. |
| exchange_rate | Decimal | Exchange rate. |
| id | Int64 | Return-to-partner document ID. |
| last_update | Int64 | Last record update date as Unix time in seconds. |
| partner | Partner | Partner. |
| performed | Boolean | Indicates whether the return-to-partner document is posted and affects stock and partner balances. |
| 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. |