(* Options: Date: 2026-04-01 02:31:20 Version: 10.05 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: PreviewSummarizedInvoice.* //ExcludeTypes: //InitializeCollections: False //AddNamespaces: *) namespace BokaMera.API.ServiceModel.Dtos open System open System.IO open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations open System.Globalization open ServiceStack.Data open System.Net open System.Net.Http.Headers [] type ICompany = abstract CompanyId:Nullable with get,set type EAccountingInvoiceSendTypes = | None = 0 | AutoInvoiceElectronic = 1 | AutoInvoicePrint = 2 | AutoInvoiceB2C = 3 [] type PreviewCustomerGroup() = member val CustomerId:Guid = new Guid() with get,set member val CustomerName:String = null with get,set member val Email:String = null with get,set member val BookingCount:Int32 = new Int32() with get,set member val BookingIds:ResizeArray = null with get,set member val MissingInvoiceAddress:Boolean = new Boolean() with get,set member val MissingEmail:Boolean = new Boolean() with get,set [] type PreviewSummarizedInvoiceResponse() = member val TotalCustomers:Int32 = new Int32() with get,set member val TotalBookings:Int32 = new Int32() with get,set member val Customers:ResizeArray = null with get,set member val ResponseStatus:ResponseStatus = null with get,set [] [] [] type PreviewSummarizedInvoice() = interface IReturn /// ///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 /// ///Start date for the booking range to include. /// [] member val DateFrom:DateTime = new DateTime() with get,set /// ///End date for the booking range to include. /// [] member val DateTo:DateTime = new DateTime() with get,set /// ///Optional customer id filter. /// [] member val CustomerId:Nullable = new Nullable() with get,set /// ///Optional service/event id filter. /// [] member val ServiceId:Nullable = new Nullable() with get,set /// ///Optional list of booking status ids to include. If empty, all statuses are included. /// [] member val BookingStatusIds:ResizeArray = null with get,set /// ///Send type for invoices. 0 = None, 1 = AutoInvoiceElectronic, 2 = AutoInvoicePrint, 3 = AutoInvoiceB2C. Used to validate customer addresses for postal delivery. /// [] member val SendType:Nullable = new Nullable() with get,set