(* Options: Date: 2026-04-01 02:30:54 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: CreateSummarizedInvoice.* //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 SummarizedInvoiceJobResponse() = member val SummarizedInvoiceId:Guid = new Guid() with get,set member val CustomerId:Guid = new Guid() with get,set member val CustomerName:String = null with get,set member val BookingCount:Int32 = new Int32() with get,set [] type CreateSummarizedInvoiceResponse() = member val TotalCustomersQueued:Int32 = new Int32() with get,set member val Jobs:ResizeArray = null with get,set member val ResponseStatus:ResponseStatus = null with get,set [] [] [] [] type CreateSummarizedInvoice() = 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. If null, creates one summarized invoice per customer with eligible bookings. /// [] member val CustomerId:Nullable = new Nullable() with get,set /// ///Optional service/event id filter. Only include bookings for this service. /// [] 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 /// ///The terms of payment id from EAccounting. /// [] member val TermsOfPaymentId:String = null with get,set /// ///Invoice creation type: 'Draft' or 'Invoice'. Defaults to company's EAccounting DefaultCreateType. /// [] member val CreateType:String = null with get,set /// ///Send type for final invoices. 0 = None, 1 = AutoInvoiceElectronic, 2 = AutoInvoicePrint, 3 = AutoInvoiceB2C. /// [] member val SendType:Nullable = new Nullable() with get,set /// ///Override corporate identity number for invoice address. /// [] member val CorporateIdentityNumber:String = null with get,set /// ///Override invoice address line 1. /// [] member val InvoiceAddress1:String = null with get,set /// ///Override invoice address line 2. /// [] member val InvoiceAddress2:String = null with get,set /// ///Override invoice city. /// [] member val InvoiceCity:String = null with get,set /// ///Override invoice postal code. /// [] member val InvoicePostalCode:String = null with get,set /// ///Override invoice country code. /// [] member val InvoiceCountryCode:String = null with get,set