DocPayment

Model that describes a payment document.

Name Type Description
amount Decimal Payment document amount with up to 3 decimal places.
attached_user User Responsible person.
category AccountOperationCategory Income or expense category.
code String Document code generated by the database. Maximum length is 50 characters.
contract DocContractShort Contract document.
date Int64 Document date as Unix time in seconds.
deleted_mark Boolean Deletion mark.
description String Additional description. Maximum length is 300 characters.
document_id Int64 ID of the document used as the payment basis.
document_type_id Int64 ID of the document type used as the payment basis.
exchange_rate Decimal Exchange rate used for non-base currency payments with up to 8 decimal places.
fields Array of FieldValue Custom field values.
firm Firm Company.
id Int64 Payment document ID.
last_update Int64 Last record update date as Unix time in seconds.
partner Partner Partner.
performed Boolean Document posted flag.
type PaymentType Payment method.