(* Options: Date: 2024-09-30 10:22:48 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: CreateInvoiceDraft.* //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 RotPropertyTypes = | Apartment = 1 | Property = 2 type RotReducedInvoicingTypes = | Normal = 0 | Rot = 1 | Rut = 2 [] type InvoiceDraftQueryResponse() = member val InvoiceId:Guid = new Guid() with get,set member val CreatedDate:Nullable = new Nullable() with get,set member val TotalAmount:Nullable = new Nullable() with get,set member val TotalVatAmount:Nullable = new Nullable() with get,set member val CustomerId:String = null with get,set member val Rows:ResizeArray = new ResizeArray() with get,set member val InvoiceDate:String = null with get,set member val DueDate:String = null with get,set member val DeliveryDate:Nullable = new Nullable() with get,set member val Persons:ResizeArray = new ResizeArray() with get,set member val InvoiceCustomerName:String = null with get,set member val InvoiceAddress:InvoiceAddress = null with get,set member val CustomerIsPrivatePerson:Boolean = new Boolean() with get,set member val CustomerNumber:String = null with get,set member val Notes:ResizeArray = new ResizeArray() with get,set member val NoteIds:ResizeArray = new ResizeArray() with get,set member val CreatedUtc:DateTime = new DateTime() with get,set member val IncludesVat:Boolean = new Boolean() with get,set member val PriceSign:String = null with get,set member val BookingId:String = null with get,set [] type CreateInvoiceDraftQueryResponse() = member val Invoice:InvoiceDraftQueryResponse = null with get,set member val InvoiceUri:String = null with get,set member val ResponseStatus:ResponseStatus = null with get,set [] [] type CreateInvoiceDraft() = inherit InvoiceAddress() interface IReturn /// ///The booking id, to be used to create the customer. /// [] member val BookingId:Int32 = new Int32() with get,set /// ///The Term of payment Id, to be used to create the invoice. /// [] member val TermsOfPaymentId:Guid = new Guid() with get,set /// ///Note id's to add to this invoice /// [] member val Notes:ResizeArray = new ResizeArray() with get,set /// ///Invoice Customer name /// [] member val InvoiceCustomerName:String = null with get,set /// ///1 = Apartment, 2 = Property Leave blank or set to null if you do not intend to use ROT or Green Technology functionality. /// [] member val RotPropertyType:Nullable = new Nullable() with get,set /// ///0 = Normal, 1 = Rot, 2 = Rut = ['0', '1', '2'] /// [] member val RotReducedInvoicingType:Nullable = new Nullable() 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