(* Options: Date: 2024-11-21 12:52:18 Version: 8.23 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: EaccountingInvoiceQuery.* //ExcludeTypes: //InitializeCollections: True //AddNamespaces: *) namespace BokaMera.API.ServiceModel.Dtos open System open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations open System.Globalization open ServiceStack.Data open System.IO [] type ICompany = abstract CompanyId:Nullable with get,set [] type InvoiceAddress() = member val CorporateIdentityNumber:String = null with get,set member val InvoiceAddress1:String = null with get,set member val InvoiceAddress2:String = null with get,set member val InvoiceCity:String = null with get,set member val InvoicePostalCode:String = null with get,set member val InvoiceCountryCode:String = null with get,set [] type EAccountingPagination() = /// ///Page number that will be fetched to e-accounting client; Default 1 /// [] [] member val PageNumber:Nullable = new Nullable() with get,set /// ///Page size that will be fetched to e-accounting client; Default 75~ /// [] [] member val PageSize:Nullable = new Nullable() with get,set type EAccountingInvoiceSendTypes = | None = 0 | AutoInvoiceElectronic = 1 | AutoInvoicePrint = 2 | AutoInvoiceB2C = 3 type GreenTechnologyType = | None = 0 | SolarCellInstallation = 1 | ElectricEnergyStorageInstallation = 2 | ElectricVehicleChargingPointInstallation = 3 [] type ContributionMargin() = member val Amount:Nullable = new Nullable() with get,set member val Percentage:Nullable = new Nullable() with get,set [] type InvoiceLineQueryResponse() = member val ArticleNumber:String = null with get,set member val ArticleId:String = null with get,set member val IsServiceArticle:Boolean = new Boolean() with get,set member val AmountNoVat:Decimal = new Decimal() with get,set member val PercentVat:Nullable = new Nullable() with get,set member val LineNumber:Int32 = new Int32() with get,set member val IsTextRow:Boolean = new Boolean() with get,set member val Text:String = null with get,set member val UnitPrice:Decimal = new Decimal() with get,set member val UnitAbbreviation:String = null with get,set member val UnitAbbreviationEnglish:String = null with get,set member val DiscountPercentage:Decimal = new Decimal() with get,set member val Quantity:Single = new Single() with get,set member val IsWorkCost:Boolean = new Boolean() with get,set member val IsVatFree:Boolean = new Boolean() with get,set member val CostCenterItemId1:String = null with get,set member val CostCenterItemId2:String = null with get,set member val CostCenterItemId3:String = null with get,set member val UnitId:String = null with get,set member val ProjectId:String = null with get,set member val WorkCostType:Nullable = new Nullable() with get,set member val WorkHours:Nullable = new Nullable() with get,set member val MaterialCosts:Nullable = new Nullable() with get,set member val GreenTechnologyType:Nullable = new Nullable() with get,set member val ContributionMargin:ContributionMargin = null with get,set [] type VatSpecificationQueryResponse() = member val AmountInvoiceCurrency:Decimal = new Decimal() with get,set member val VatAmountInvoiceCurrency:Decimal = new Decimal() with get,set member val VatPercent:Decimal = new Decimal() with get,set [] type Person() = member val Ssn:String = null with get,set member val Amount:Int32 = new Int32() with get,set type PaymentStatus = | Paid = 0 | Unpaid = 1 | Overdue = 2 [] type CreditedBy() = member val CreditInvoiceId:String = null with get,set [] type NoteQueryResponse() = member val Id:String = null with get,set member val Text:String = null with get,set member val CreatedUtc:DateTime = new DateTime() with get,set member val ModifiedUtc:DateTime = new DateTime() with get,set [] type EAccountingTermsOfPaymentQueryResponse() = member val Id:String = null with get,set member val Name:String = null with get,set member val NameEnglish:String = null with get,set member val NumberOfDays:Int32 = new Int32() with get,set member val TermsOfPaymentTypeId:Int32 = new Int32() with get,set member val TermsOfPaymentTypeText:String = null with get,set member val AvailableForSales:Boolean = new Boolean() with get,set member val AvailableForPurchase:Boolean = new Boolean() with get,set [] type InvoiceQueryResponse() = member val InvoiceId:Guid = new Guid() with get,set member val CreatedDate:DateTime = new DateTime() with get,set member val TotalAmount:Decimal = new Decimal() with get,set member val TotalVatAmount:Decimal = new Decimal() with get,set member val CustomerId:String = null with get,set member val Rows:ResizeArray = new ResizeArray() with get,set member val VatSpecification:ResizeArray = new ResizeArray() with get,set member val InvoiceDate:String = null with get,set member val DueDate:String = null with get,set member val DeliveryDate:Nullable = new Nullable() with get,set member val Persons:ResizeArray = new ResizeArray() with get,set member val InvoiceCustomerName:String = null with get,set member val InvoiceAddress:InvoiceAddress = null with get,set member val CustomerIsPrivatePerson:Boolean = new Boolean() with get,set member val TermsOfPaymentId:String = null with get,set member val TermsOfPaymentData:EAccountingTermsOfPaymentQueryResponse = null with get,set member val CustomerEmail:String = null with get,set member val InvoiceNumber:Int32 = new Int32() with get,set member val CustomerNumber:String = null with get,set member val Notes:ResizeArray = new ResizeArray() with get,set member val NoteIds:ResizeArray = new ResizeArray() with get,set member val CreatedUtc:DateTime = new DateTime() with get,set member val ModifiedUtc:DateTime = new DateTime() with get,set member val IncludesVat:Boolean = new Boolean() with get,set member val SendType:Nullable = new Nullable() with get,set member val IsSold:Boolean = new Boolean() with get,set member val PaymentDate:Nullable = new Nullable() with get,set member val PaymentStatus:PaymentStatus = new PaymentStatus() with get,set member val PaymentStatusTitle:String = null with get,set member val CreditedBy:ResizeArray = new ResizeArray() with get,set member val PriceSign:String = null with get,set member val BookingId:String = null with get,set [] [] type EaccountingInvoiceQuery() = inherit EAccountingPagination() interface IReturn member val BookingId:Nullable = new Nullable() with get,set member val Paid:Nullable = new Nullable() with get,set member val IncludeInvoiceLines:Boolean = new Boolean() with get,set member val IncludeInvoiceNotes:Boolean = new Boolean() with get,set member val IncludePaymentTermData:Boolean = new Boolean() with get,set member val IncludeInvoiceAddress:Boolean = new Boolean() with get,set member val CompanyId:Nullable = new Nullable() with get,set