Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 1.56 KB

CreateVoucherCommand.md

File metadata and controls

19 lines (15 loc) · 1.56 KB

SiigoApi.CreateVoucherCommand

Properties

Name Type Description Notes
document DocumentCommand [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]
customer Customer [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]
currency CurrencyCommand [optional]
items [Item] Contains a list with items associated withvoucher. [optional]
payment Payment [optional]
observations String Represent additional comments in document. [optional]