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, 'FV-2-22' indicates that its document type is an 'invoice', 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] |
customer | CustomerCommand | [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] | |
seller | Number | Represents the Id of the seller associated with the invoice. For example, the id '629' can represent a seller called 'Mike'. | [optional] |
retentions | [RetentionsCommand] | Contains a list information about every Retention associated with invoice. | [optional] |
advancePayment | Number | Represent the Advance Payment. For example, an advance payment of 33.3 dollars for a product of 40 dollars. | [optional] |
observations | String | Represent additional comments in document. | [optional] |
items | [ItemsCommand] | Contains a list of items associated with the invoice. | [optional] |
payments | [PaymentsCommand] | Contains a list with payments types associated with invoice. | [optional] |
additionalFields | AdditionalFieldsCommand | [optional] | |
stamp | StampCommand | [optional] | |
MailCommand | [optional] | ||
globalCharges | [GlobalTaxCommand] | Contains information about the global taxes charges associated with document type. | [optional] |
globalDiscounts | [GlobalTaxCommand] | Contains information about the global taxes discounts associated with document type. | [optional] |