Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 1.81 KB

VoucherViewModel.md

File metadata and controls

21 lines (17 loc) · 1.81 KB

SiigoApi.VoucherViewModel

Properties

Name Type Description Notes
id String Represents the unique Id of voucher, this value must be a Guid with the next format 00000000-0000-0000-0000-000000000000. [optional]
document DocumentVoucher [optional]
number Number Represents the sequential number of the document, this number is required depending of document type. [optional]
name String Contains information about document type, document type Id and the sequential number of the document. For example, 'RC-2-22' indicates that its document type is a 'voucher', its document type id is '2' and its sequential number is '22'. [optional]
date String Represents the date of the document. This format must be 'yyyy-MM-dd'. For example, '2021-10-31' to indicate the date 'October 31st, 2021'. [optional]
type String Represents the voucher type, this type will be 'DebtPayment', 'AdvancePayment' or 'Detailed'. [optional]
costCenter Number Represents the id of the cost center, the value of this field must be an integer number that represents the unique id of the cost center. [optional]
customer CustomerVoucher [optional]
currency CurrencyModel [optional]
items [ItemVoucher] Contains a list with items associated with voucher. [optional]
payment PaymentsModel [optional]
observations String Represents additional comments in document. [optional]
metadata Metadata [optional]