(* Options: Date: 2024-11-21 11:36:31 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: UpdateEaccountingCustomer.* //ExcludeTypes: //InitializeCollections: True //AddNamespaces: *) namespace BokaMera.API.ServiceModel.Dtos open System open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations open System.Globalization open ServiceStack.Data open System.IO [] type ICompany = abstract CompanyId:Nullable with get,set [] type InvoiceAddress() = member val CorporateIdentityNumber:String = null with get,set member val InvoiceAddress1:String = null with get,set member val InvoiceAddress2:String = null with get,set member val InvoiceCity:String = null with get,set member val InvoicePostalCode:String = null with get,set member val InvoiceCountryCode:String = null with get,set [] type EAccountingTermsOfPayment() = member val Id:String = null with get,set member val Name:String = null with get,set member val NameEnglish:String = null with get,set member val NumberOfDays:Int32 = new Int32() with get,set member val TermsOfPaymentTypeId:Int32 = new Int32() with get,set member val TermsOfPaymentTypeText:String = null with get,set member val AvailableForSales:Boolean = new Boolean() with get,set member val AvailableForPurchase:Boolean = new Boolean() with get,set [] type CustomerLabel() = member val Id:String = null with get,set member val Name:String = null with get,set member val Description:String = null with get,set [] type DirectDebitCustomerSettings() = member val MandateId:String = null with get,set member val MandateType:Int32 = new Int32() with get,set member val SequenceType:Int32 = new Int32() with get,set member val SigningDate:DateTime = new DateTime() with get,set member val EndDate:DateTime = new DateTime() with get,set member val LatestDirectDebit:DateTime = new DateTime() with get,set [] type CreateEAccountingCustomer() = inherit InvoiceAddress() member val CustomerNumber:String = null with get,set member val ContactPersonEmail:String = null with get,set member val ContactPersonMobile:String = null with get,set member val ContactPersonName:String = null with get,set member val ContactPersonPhone:String = null with get,set member val CurrencyCode:String = null with get,set member val GLN:String = null with get,set member val EmailAddress:String = null with get,set member val EmailAddressOrder:String = null with get,set member val EmailAddressQuote:String = null with get,set member val DeliveryCustomerName:String = null with get,set member val DeliveryAddress1:String = null with get,set member val DeliveryAddress2:String = null with get,set member val DeliveryCity:String = null with get,set member val DeliveryCountryCode:String = null with get,set member val DeliveryPostalCode:String = null with get,set member val DeliveryMethodId:String = null with get,set member val DeliveryTermId:String = null with get,set member val PayToAccountId:String = null with get,set member val Name:String = null with get,set member val Note:String = null with get,set member val ReverseChargeOnConstructionServices:Boolean = new Boolean() with get,set member val WebshopCustomerNumber:Nullable = new Nullable() with get,set member val MobilePhone:String = null with get,set member val Telephone:String = null with get,set member val TermsOfPaymentId:String = null with get,set member val EAccountingTermsOfPayment:EAccountingTermsOfPayment = null with get,set member val VatNumber:String = null with get,set member val WwwAddress:String = null with get,set member val LastInvoiceDate:String = null with get,set member val IsPrivatePerson:Boolean = new Boolean() with get,set member val IsNorthernIreland:Boolean = new Boolean() with get,set member val DiscountPercentage:Decimal = new Decimal() with get,set member val ChangedUtc:Nullable = new Nullable() with get,set member val IsActive:Boolean = new Boolean() with get,set member val ForceBookkeepVat:Boolean = new Boolean() with get,set member val EdiGlnNumber:String = null with get,set member val SalesDocumentLanguage:String = null with get,set member val ElectronicAddress:String = null with get,set member val ElectronicReference:String = null with get,set member val EdiServiceDelivererId:String = null with get,set member val AutoInvoiceActivationEmailSentDate:Nullable = new Nullable() with get,set member val AutoInvoiceRegistrationRequestSentDate:Nullable = new Nullable() with get,set member val EmailAddresses:ResizeArray = new ResizeArray() with get,set member val CustomerLabels:ResizeArray = new ResizeArray() with get,set member val MessageThreads:ResizeArray = new ResizeArray() with get,set member val Notes:ResizeArray = new ResizeArray() with get,set member val IsFutureInvoiceDateAllowed:Boolean = new Boolean() with get,set member val DeliveryBasedVat:Boolean = new Boolean() with get,set member val SalesPriceListId:String = null with get,set member val Iban:String = null with get,set member val DirectDebitCustomerSettings:DirectDebitCustomerSettings = null with get,set member val DiscountAgreementId:String = null with get,set member val UnpaidInvoicesAmount:Decimal = new Decimal() with get,set [] type EAccountingCustomerResponse() = inherit CreateEAccountingCustomer() member val Id:String = null with get,set [] [] [] [] type UpdateEaccountingCustomer() = interface IReturn /// ///Customer Id in e-accounting. /// [] member val Id:String = null with get,set /// /// /// [] member val InvoiceCity:String = null with get,set /// ///Max length: 10 characters /// [] member val InvoicePostalCode:String = null with get,set /// ///Max length: 50 characters /// [] member val Name:String = null with get,set /// /// /// [] member val TermsOfPaymentId:String = null with get,set /// /// /// [] member val IsPrivatePerson:Boolean = new Boolean() with get,set /// /// /// [] member val IsActive:Boolean = new Boolean() with get,set /// /// /// [] member val Telephone:String = null with get,set /// /// /// [] member val EmailAddress:String = null with get,set /// /// /// [] member val MobilePhone:String = null with get,set /// ///The company id, if empty will use the company id for the user you are logged in with. /// [] member val CompanyId:Nullable = new Nullable() with get,set