' 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: '''MakePartial: True '''MakeVirtual: True '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: False '''ExportValueTypes: False 'IncludeTypes: CreateSummarizedInvoice.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.IO Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports System.Globalization Imports ServiceStack.Data Imports System.Net Imports System.Net.Http.Headers Imports BokaMera.API.ServiceModel.Interfaces Imports BokaMera.API.ServiceModel.Enums Imports BokaMera.API.ServiceModel.Dtos Namespace Global Namespace BokaMera.API.ServiceModel.Dtos Public Partial Class CreateSummarizedInvoice Implements IReturn(Of CreateSummarizedInvoiceResponse) Implements ICompany ''' '''The company id, if empty will use the company id for the user you are logged in with. ''' Public Overridable Property CompanyId As Guid? Implements ICompany.CompanyId ''' '''Start date for the booking range to include. ''' Public Overridable Property DateFrom As Date ''' '''End date for the booking range to include. ''' Public Overridable Property DateTo As Date ''' '''Optional customer id. If null, creates one summarized invoice per customer with eligible bookings. ''' Public Overridable Property CustomerId As Guid? ''' '''Optional service/event id filter. Only include bookings for this service. ''' Public Overridable Property ServiceId As Integer? ''' '''Optional list of booking status ids to include. If empty, all statuses are included. ''' Public Overridable Property BookingStatusIds As List(Of Integer) ''' '''The terms of payment id from EAccounting. ''' Public Overridable Property TermsOfPaymentId As String ''' '''Invoice creation type: 'Draft' or 'Invoice'. Defaults to company's EAccounting DefaultCreateType. ''' Public Overridable Property CreateType As String ''' '''Send type for final invoices. 0 = None, 1 = AutoInvoiceElectronic, 2 = AutoInvoicePrint, 3 = AutoInvoiceB2C. ''' Public Overridable Property SendType As EAccountingInvoiceSendTypes? ''' '''Override corporate identity number for invoice address. ''' Public Overridable Property CorporateIdentityNumber As String ''' '''Override invoice address line 1. ''' Public Overridable Property InvoiceAddress1 As String ''' '''Override invoice address line 2. ''' Public Overridable Property InvoiceAddress2 As String ''' '''Override invoice city. ''' Public Overridable Property InvoiceCity As String ''' '''Override invoice postal code. ''' Public Overridable Property InvoicePostalCode As String ''' '''Override invoice country code. ''' Public Overridable Property InvoiceCountryCode As String End Class Public Partial Class CreateSummarizedInvoiceResponse Public Overridable Property TotalCustomersQueued As Integer Public Overridable Property Jobs As List(Of SummarizedInvoiceJobResponse) = New List(Of SummarizedInvoiceJobResponse) Public Overridable Property ResponseStatus As ResponseStatus End Class Public Partial Class SummarizedInvoiceJobResponse Public Overridable Property SummarizedInvoiceId As Guid Public Overridable Property CustomerId As Guid Public Overridable Property CustomerName As String Public Overridable Property BookingCount As Integer End Class End Namespace Namespace BokaMera.API.ServiceModel.Interfaces Public Interface ICompany Property CompanyId As Guid? End Interface End Namespace End Namespace