DocWholeSaleReturn

Model that describes a return-from-partner document.

Name Type Description
amount Decimal Wholesale return document amount.
attached_user User Responsible person attached to the wholesale return document.
blocked Boolean Indicates whether the wholesale return 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 wholesale return 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 wholesale return document is marked for deletion.
description String Additional description. Maximum length is 300 characters.
exchange_rate Decimal Exchange rate.
id Int64 Return-from-partner document ID.
last_update Int64 Last record update date as Unix time in seconds.
partner Partner Partner.
performed Boolean Indicates whether the wholesale return 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.