/* Options: Date: 2026-04-01 02:33:20 SwiftVersion: 6.0 Version: 10.05 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: GetSummarizedInvoice.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/eaccounting/summarizedinvoice/{Id}", "GET") // @ValidateRequest(Validator="IsAuthenticated") public class GetSummarizedInvoice : IReturn, ICompany, Codable { public typealias Return = SummarizedInvoiceDetailResponse /** * The summarized invoice id. */ // @ApiMember(Description="The summarized invoice id.", IsRequired=true) public var id:String? /** * The company id, if empty will use the company id for the user you are logged in with. */ // @ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.") public var companyId:String? required public init(){} } public class SummarizedInvoiceDetailResponse : Codable { public var id:String? public var companyId:String? public var customerId:String? public var customerName:String? public var eAccountingInvoiceId:String? public var draft:Bool? public var dateFrom:Date? public var dateTo:Date? public var serviceId:Int? public var status:Int? public var statusName:String? public var errorMessage:String? public var bookingIds:[Int] = [] public var createdDate:Date? public var updatedDate:Date? required public init(){} } public protocol ICompany { var companyId:String? { get set } }