¿En qué podemos ayudarte?
Document (class)
Contains information required to create a document.
This class is obsolete, we recommend using Note (class)
Properties
| Property | Type | Description |
|---|---|---|
| IdDocument | integer | Document identifier |
| TypeDocument * | DocumentType | Type of document, see more in DocumentType (enum) |
| Status | DocumentStatus | Status of document, see more in DocumentStatus (enum) |
| DateDocument | date | Document date |
| ProspectCustomer | boolean | Indicates if document owner is a prospect customer |
| PropertyCode * | string | Code document owner, supplier or customer, according to the TypeDocument |
| InvoiceToCode | string | Customer who will go run the bill |
| StoreCode | string | Warehouse code |
| Reference | string | Reference text |
| Description | string | Description text of document |
| Number | integer | Number of document |
| SerialCode | string | Series code document |
| Observations | string | Description observations of document |
| ManagerCode | string | Code of responsible employee |
| ProjectCode | string | Set the code of project to which is attached |
| WorkingPartCode | string | Indicates the code of working part which is adhered |
| RateCode | string | Indicates the rate code to apply in the document |
| DeliveryData | boolean | Specifies whether to include information delivery |
| DeliveryPerson | string | Contact for delivery |
| DeliveryName | string | Name or company making the delivery |
| DeliveryAddress | string | Delivery address |
| DeliveryCity | string | Delivery city |
| DeliveryState | string | Delivery state |
| DeliveryCodeCountry | string | Delivery country code |
| DeliveryZipCode | string | Postal delivery |
| DeliveryPhone | string | Contact phone delivery |
| DeliveryFax | string | Contact fax delivery |
| DeliveryEmail | string | Contact email delivery |
| DeliveryVAT | string | Tax identification number to delivery |
| DeliveryDateExpected | date | Date expected delivery products |
| DeliveryDateCollection | date | Indicates when the transport agency will collect packages |
| TransportCode | string | Code of transport agency |
| TransportWay | string | Delivery method |
| TransportPaid | boolean | If transportation is paid |
| TransportPrice | decimal | Amount of transport |
| TransportPercentVAT | decimal | Percent of tax rate |
| TransportTruckDriver | string | Driver Name |
| TransportTruckDriverID | string | Driver identification number |
| TransportTruckID | string | Truck registration ID |
| TransportTrailerID | string | Trailer registration ID |
| Payments | list of DocumentPayment | Collect the payment forms of the document, see more in DocumentPayment (class) |
| Lines * | list of DocumentLine | It stores the information of the lines of the document, see more in DocumentLine (class) |
* Required to create a new document