OrderId | Int32 | Can be specified in requests to SaveInvoices, otherwise set by the system. If an existing orderId is set the request is treated as an update for an InvoiceOrder. Default value: Int32.MinValue |
CustomerId | Int32 | Required. Must exist in system. Default value: Int32.MinValue |
CustomerName | String | Default value: “”. Max length 100 characters. |
CustomerDeliveryName | String | Default value: “”. Use this property when getting the Customer Delivery Name. the Delivery Name property under ‘Addresses’ can also be used for setting the name, but only this property can be used for both getting and setting the Delivery Name. Max length 250 characters |
CustomerDeliveryPhone | String | Customer Delivery Phone. Max length 25 characters |
DeliveryAlternative | String | Default value: “”. Max length 250 characters |
Addresses | Addresses | Default value: null |
OrderStatus | OrderSlipStateType | Default value: Web |
InvoiceId | Int32 | Cannot be specified in requests to SaveInvoices, this is always defined by the system. Default value: Int32.MinValue |
DateOrdered | DateTime | Default value: DateTime.MinValue |
DateInvoiced | DateTime | Default value: DateTime.MinValue |
DateChanged | DateTime | Default value: DateTime.MinValue |
PaymentTime | Int16 | Default (no change): Int16.MinValue >=1: number of days 0: no credit time -1: end of month + 30 days -2: end of month + 60 days -3: end of month + 90 days -4: end of month -5:end of month + 45 days If the value received is less than the negative values in the above list it is set to "end of month + custom(egendefinert) where you have to subtract the value from 10000 to receive the value. Example: you receive -9940. Then you need to subtract that value from 10000 to get the result of end of month+ 60 days. |
CustomerReferenceNo | String | Deprecated |
ProjectId | Int32 | If set, must exist in system. Default value: Int32.MinValue |
OurReference | Int32 | EmployeeId. If set, must exist in system. Default value: Int32.MinValue |
IncludeVAT | Boolean? | Default value: null |
YourReference | String | Default value: “”. Max length 50 characters |
OrderTotalIncVat | Decimal | Default value: Decimal.MinValue. Read only |
OrderTotalVat | Decimal | Default value: Decimal.MinValue. Read only |
InvoiceTitle | String | Default value: “”. Max length 300 characters. This is the "comment" field of an invoice. |
InvoiceText | String | Default value: “”. Max length 750 characters |
Paid | DateTime | Default value: DateTime.MinValue |
OCR | String | Default value: “”. This is the invoice KID number. Max length 32 characters |
CustomerOrgNo | String | Default value: “”. Max length 20 characters |
Currency | Currency | Default value: null |
PaymentMethodId | Int32 | Default value: Int32.MinValue |
PaymentAmount | Decimal | Write only property. Used for registering payments. Default value: Decimal.MinValue |
ProductionManagerId | Int32 | If set, must exist in system. Default value: Int32.MinValue |
SalesOpportunityId | Int32 | If set, must exist in system. Default value: Int32.MinValue |
TypeOfSaleId | Int32 | Default value: Int32.MinValue. You can get the values from GetTypeGroupList in the ClientService |
Distributor | Common.Distributor | Default value: Default |
DistributionMethod | Common.DistributionMethod | Default value: Unchanged |
DepartmentId | Int32 | If set, must exist in system. Default value: Int32.MinValue |
ExternalStatus | Int32 | Default value: Int32.MinValue |
DeliveryDate | DateTime | Default value: DateTime.MinValue |
SkipStock | Boolean | Default value: false |
ProductionNumber | String | Default value: “”. Max length 20 characters |
ReferenceInvoiceId | Int32 | Default value: Int32.MinValue. Used for reference to original invoice when making a credit note. |
ReferenceOrderId | Int32 | Default value: Int32.MinValue. Used for reference to original order when making a credit note. |
ReferenceNumber | String | Default value: “”. Max length 50 characters |
InvoiceEmailAddress | String | Default value: “”. Max length 250 characters |
AccrualDate | DateTime | Default value: DateTime.MinValue. Determines the start date for the accrual period(s) |
AccrualLength | Int32 | Default value: Int32.MinValue. Sets the number of accrual months |
RoundFactor | Decimal | Default value: Decimal.MinValue. May be set to 0.1, 0.5 or 1.0 |
InvoiceTemplateId | Guid | Default value: 00000000-0000-0000-0000-000000000000 |
VippsNumber | String | Deprecated |
DeliveryMethod | DeliveryMethod | Default value: null |
SendToFactoring | Boolean? | Default value: true |
Commission | Decimal | Default value: Decimal.MinValue |
InvoiceRows | InvoiceRow[] | Default value: null |
APIException | Common.APIException | Default value: null |
UserDefinedDimensions | UserDefinedDimensions[] | Dimensions defined by the user |
GLNNumber | String | Default value: “”. Uses Customer GLNNumber if default value is used and customer card has GLNNumber. To override this logic and set GLNNumber to the value NULL, the value in your request should be set to the string value NULL. Max length 13 characters |
CustomerDeliveryId | Int32 | Default value: Int32.MinValue. CustomerId of recipient, in cases where it differs from CustomerId |