DocPurchase

Model that describes a receipt-from-partner document.

Name Type Description
additional_expenses_amount Decimal Document additional expenses amount. Calculated only for posted documents and in the document currency.
amount Decimal Receipt-from-partner document amount.
attached_user User Responsible person.
blocked Boolean Document blocked flag.
code String Receipt-from-partner document code.
contract DocContractShort Contract document.
currency Currency Currency.
current_user_blocked Boolean Indicates whether the document is locked by the current user. Null when the document is not locked.
date Int64 Document date as Unix time in seconds.
deleted_mark Boolean Deletion mark.
description String Additional description.
exchange_rate Decimal Exchange rate.
fields Array of FieldValue Custom field values.
id Int64 Receipt-from-partner document ID.
last_update Int64 Last record update date as Unix time in seconds.
partner Partner Partner.
performed Boolean Document posted flag.
price_type PriceType Document price type.
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.