| Name | Description | Type | Additional information |
|---|---|---|---|
| Active |
Specifies the Active state of the Contract. |
boolean |
Required |
| OrderComment |
The general comment to add to the Orders to generate. |
string |
Max length: 2000 |
| Description |
Description of the Customer Contract. |
string |
Max length: 2000 |
| EndDate |
The date when the Customer Contract ends. |
date |
None. |
| ShopId |
The ShopId for the Customer Contract. |
integer |
Required |
| OrderGenerationInterval |
The interval to generate orders. |
OrderGenerationIntervalEnum |
None. |
| LastOrderGeneratedDate |
The date of the last generated Order. |
date |
None. |
| AutoGenerateInvoice |
When true, an Invoice will automaticall be generated. |
boolean |
Required |
| OrderGenerateMoment |
The moment to generate an Order for the Customer Contract. |
OrderGenerateMomentEnum |
None. |
| MailInvoiceToCustomer |
When true, the generated Invoice will be mailed to the Customer. |
boolean |
Required |
| InvoiceMailTemplateId |
The Invoice email template to automatically mail the Invoice. |
integer |
None. |
| OrderGenerationPeriod |
The period for which the Order is being generated. |
OrderGenerationPeriodEnum |
None. |
| OrderGenerationDateMode |
The mooment the Order is generated from the Contract. |
OrderGenerationDateModeEnum |
None. |
| InvoiceMainStatusAfterCreateId |
The Invoice status when it is generated. |
integer |
None. |
| NextScheduleDate |
The planned next schedule date for Order generation. |
date |
None. |
| ViewModusIncVat |
In or Ex VAT modus. |
boolean |
Required |
| PaymentTermsId |
The Payment Terms used for the Order/Invoice to generate. |
integer |
None. |
| OrderCustomerRef |
The Customer reference which will be used in the Order to generate. |
string |
Max length: 2000 |
| PaymentTypeId |
The Payment Type used for the Order/Invoice to generate. |
integer |
None. |
| OrderMainStatusAfterCreateId |
The Order Main status when it is generated. |
integer |
None. |
| ShopName |
The Name of the Shop the Contract is related to. |
string |
None. |
| CurrencyId |
Gets or sets the currency id. |
integer |
None. |
| CurrencyCode |
Gets the currency code. |
string |
None. |
| Products |
The collection of Products included in the Contract. |
Collection of CustomerContractProduct |
None. |
| Id | integer |
Required |
|
| ContractCode | string |
Max length: 50 |
|
| Name | string |
Required Max length: 100 |
|
| CustomerId | integer |
Required |
|
| StartDate | date |
Required |