Requires the role: | superadmin |
GET | /voss/invoiceConfigurations | init voss invoice |
---|
namespace BokaMera.API.ServiceModel.Dtos
open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
type IntermediaryPlacementEnum =
| None = 1
| IncludeIn21StColumn = 2
| IncludeIn7ThColumn = 3
type AccrualCodeFormatEnum =
| Default = 1
| Dutch = 2
type UnitEnum =
| Day = 1
| Month = 2
| Year = 3
[<DataContract(Name="TimeLengthRequestDto")>]
[<AllowNullLiteral>]
type TimeLengthRequestDto() =
[<DataMember(Name="unit", IsRequired=true)>]
member val Unit:UnitEnum = new UnitEnum() with get,set
[<DataMember(Name="value", IsRequired=true)>]
member val Value:Int32 = new Int32() with get,set
[<DataContract(Name="UpdateInvoiceConfigurationsRequest")>]
[<AllowNullLiteral>]
type UpdateInvoiceConfigurationsRequest() =
[<DataMember(Name="intermediaryPlacement", IsRequired=true)>]
member val IntermediaryPlacement:IntermediaryPlacementEnum = new IntermediaryPlacementEnum() with get,set
[<DataMember(Name="accrualCodeFormat", IsRequired=true)>]
member val AccrualCodeFormat:AccrualCodeFormatEnum = new AccrualCodeFormatEnum() with get,set
[<DataMember(Name="dateFormat", IsRequired=true)>]
member val DateFormat:String = null with get,set
[<DataMember(Name="delimiter", IsRequired=true)>]
member val Delimiter:String = null with get,set
[<DataMember(Name="decimalSeparator", IsRequired=true)>]
member val DecimalSeparator:String = null with get,set
[<DataMember(Name="orderCreatorCode", IsRequired=true)>]
member val OrderCreatorCode:String = null with get,set
[<DataMember(Name="salesPersonId", IsRequired=true)>]
member val SalesPersonId:String = null with get,set
[<DataMember(Name="salesDepartmentId", IsRequired=true)>]
member val SalesDepartmentId:String = null with get,set
[<DataMember(Name="includeBillingPeriodDates")>]
member val IncludeBillingPeriodDates:Boolean = new Boolean() with get,set
[<DataMember(Name="trackInvoicePayments")>]
member val TrackInvoicePayments:Boolean = new Boolean() with get,set
[<DataMember(Name="includeInvoicedCustomerDetails")>]
member val IncludeInvoicedCustomerDetails:Boolean = new Boolean() with get,set
[<DataMember(Name="billingPeriodTextFormat", IsRequired=true)>]
member val BillingPeriodTextFormat:String = null with get,set
[<DataMember(Name="customerFooterText")>]
member val CustomerFooterText:String = null with get,set
[<DataMember(Name="addEmptyLineBeforeCustomerFooter")>]
member val AddEmptyLineBeforeCustomerFooter:Boolean = new Boolean() with get,set
[<DataMember(Name="includeOnlyDefaultSalesPersonAndDepartment")>]
member val IncludeOnlyDefaultSalesPersonAndDepartment:Boolean = new Boolean() with get,set
[<DataMember(Name="includeSubscriptionCustomerDetailsIfPayedByAnotherCustomer")>]
member val IncludeSubscriptionCustomerDetailsIfPayedByAnotherCustomer:Boolean = new Boolean() with get,set
[<DataMember(Name="transactionGroup", IsRequired=true)>]
member val TransactionGroup:String = null with get,set
[<DataMember(Name="invoiceArbitraryNumber", IsRequired=true)>]
member val InvoiceArbitraryNumber:String = null with get,set
[<DataMember(Name="deliveryMethod", IsRequired=true)>]
member val DeliveryMethod:String = null with get,set
[<DataMember(Name="deliveryConditions", IsRequired=true)>]
member val DeliveryConditions:String = null with get,set
[<DataMember(Name="orderType", IsRequired=true)>]
member val OrderType:String = null with get,set
[<DataMember(Name="invoiceStatus", IsRequired=true)>]
member val InvoiceStatus:String = null with get,set
[<DataMember(Name="useProductGroupRevenueRecognition")>]
member val UseProductGroupRevenueRecognition:Boolean = new Boolean() with get,set
[<DataMember(Name="productGroupLineExcludePrint", IsRequired=true)>]
member val ProductGroupLineExcludePrint:String = null with get,set
[<DataMember(Name="productGroupLineEditPreferences", IsRequired=true)>]
member val ProductGroupLineEditPreferences:String = null with get,set
[<DataMember(Name="productLineExcludePrint", IsRequired=true)>]
member val ProductLineExcludePrint:String = null with get,set
[<DataMember(Name="useDiscountedPrices")>]
member val UseDiscountedPrices:Boolean = new Boolean() with get,set
[<DataMember(Name="terminateUnpaidSubscriptions")>]
member val TerminateUnpaidSubscriptions:Boolean = new Boolean() with get,set
[<DataMember(Name="allowedUnpaidAmountLimit", EmitDefaultValue=false)>]
member val AllowedUnpaidAmountLimit:Double = new Double() with get,set
[<DataMember(Name="allowedPaymentOverdue")>]
member val AllowedPaymentOverdue:TimeLengthRequestDto = null with get,set
[<DataMember(Name="unpaidSubscriptionTerminationReasonId")>]
member val UnpaidSubscriptionTerminationReasonId:Nullable<Guid> = new Nullable<Guid>() with get,set
[<DataMember(Name="unpaidSubscriptionTerminationComment")>]
member val UnpaidSubscriptionTerminationComment:String = null with get,set
[<DataMember(Name="creditInvoiceNumberReferenceTextFormat")>]
member val CreditInvoiceNumberReferenceTextFormat:String = null with get,set
[<ApiResponse(Description="You were unauthorized to call this service", StatusCode=401)>]
[<AllowNullLiteral>]
type UpdateVossInvoiceConfigurations() =
inherit UpdateInvoiceConfigurationsRequest()
F# UpdateVossInvoiceConfigurations DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /voss/invoiceConfigurations HTTP/1.1 Host: testapi.bokamera.se Accept: text/csv
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {}