/* Options: Date: 2024-11-21 12:40:27 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: EaccountingInvoicePrintQuery.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/eaccounting/invoice/print", Verbs="GET") open class EaccountingInvoicePrintQuery : IReturn, ICompany { var InvoiceId:String? = null var CompanyId:UUID? = null companion object { private val responseType = InvoiceQueryResponse::class.java } override fun getResponseType(): Any? = EaccountingInvoicePrintQuery.responseType } open class InvoiceQueryResponse { var InvoiceId:UUID? = null var CreatedDate:Date? = null var TotalAmount:BigDecimal? = null var TotalVatAmount:BigDecimal? = null var CustomerId:String? = null var Rows:ArrayList = ArrayList() var VatSpecification:ArrayList = ArrayList() var InvoiceDate:String? = null var DueDate:String? = null var DeliveryDate:Date? = null var Persons:ArrayList = ArrayList() var InvoiceCustomerName:String? = null var InvoiceAddress:InvoiceAddress? = null var CustomerIsPrivatePerson:Boolean? = null var TermsOfPaymentId:String? = null var TermsOfPaymentData:EAccountingTermsOfPaymentQueryResponse? = null var CustomerEmail:String? = null var InvoiceNumber:Int? = null var CustomerNumber:String? = null var Notes:ArrayList = ArrayList() var NoteIds:ArrayList = ArrayList() var CreatedUtc:Date? = null var ModifiedUtc:Date? = null var IncludesVat:Boolean? = null var SendType:EAccountingInvoiceSendTypes? = null var IsSold:Boolean? = null var PaymentDate:Date? = null var PaymentStatus:PaymentStatus? = null var PaymentStatusTitle:String? = null var CreditedBy:ArrayList = ArrayList() var PriceSign:String? = null var BookingId:String? = null } open interface ICompany { var CompanyId:UUID? } open class InvoiceAddress { var CorporateIdentityNumber:String? = null var InvoiceAddress1:String? = null var InvoiceAddress2:String? = null var InvoiceCity:String? = null var InvoicePostalCode:String? = null var InvoiceCountryCode:String? = null } enum class EAccountingInvoiceSendTypes { None, AutoInvoiceElectronic, AutoInvoicePrint, AutoInvoiceB2C, } open class InvoiceLineQueryResponse { var ArticleNumber:String? = null var ArticleId:String? = null var IsServiceArticle:Boolean? = null var AmountNoVat:BigDecimal? = null var PercentVat:BigDecimal? = null var LineNumber:Int? = null var IsTextRow:Boolean? = null var Text:String? = null var UnitPrice:BigDecimal? = null var UnitAbbreviation:String? = null var UnitAbbreviationEnglish:String? = null var DiscountPercentage:BigDecimal? = null var Quantity:Float? = null var IsWorkCost:Boolean? = null var IsVatFree:Boolean? = null var CostCenterItemId1:String? = null var CostCenterItemId2:String? = null var CostCenterItemId3:String? = null var UnitId:String? = null var ProjectId:String? = null var WorkCostType:Int? = null var WorkHours:Float? = null var MaterialCosts:BigDecimal? = null var GreenTechnologyType:GreenTechnologyType? = null var ContributionMargin:ContributionMargin? = null } open class VatSpecificationQueryResponse { var AmountInvoiceCurrency:BigDecimal? = null var VatAmountInvoiceCurrency:BigDecimal? = null var VatPercent:BigDecimal? = null } open class Person { var Ssn:String? = null var Amount:Int? = null } enum class PaymentStatus { Paid, Unpaid, Overdue, } open class CreditedBy { var CreditInvoiceId:String? = null } enum class GreenTechnologyType { None, SolarCellInstallation, ElectricEnergyStorageInstallation, ElectricVehicleChargingPointInstallation, } open class ContributionMargin { var Amount:Int? = null var Percentage:Int? = null } open class NoteQueryResponse { var Id:String? = null var Text:String? = null var CreatedUtc:Date? = null var ModifiedUtc:Date? = null } open class EAccountingTermsOfPaymentQueryResponse { var Id:String? = null var Name:String? = null var NameEnglish:String? = null var NumberOfDays:Int? = null var TermsOfPaymentTypeId:Int? = null var TermsOfPaymentTypeText:String? = null var AvailableForSales:Boolean? = null var AvailableForPurchase:Boolean? = null }