BokaMera.API.Host

<back to all web services

UpdateVossInvoiceConfigurations

Requires Authentication
Requires the role:superadmin
The following routes are available for this service:
GET/voss/invoiceConfigurationsinit voss invoice
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
import com.google.gson.annotations.*
import com.google.gson.reflect.*


@ApiResponse(Description="You were unauthorized to call this service", StatusCode=401)
open class UpdateVossInvoiceConfigurations : UpdateInvoiceConfigurationsRequest()
{
}

@DataContract(Name="UpdateInvoiceConfigurationsRequest")
open class UpdateInvoiceConfigurationsRequest
{
    @DataMember(Name="intermediaryPlacement", IsRequired=true)
    @SerializedName("intermediaryPlacement")
    open var IntermediaryPlacement:IntermediaryPlacementEnum? = null

    @DataMember(Name="accrualCodeFormat", IsRequired=true)
    @SerializedName("accrualCodeFormat")
    open var AccrualCodeFormat:AccrualCodeFormatEnum? = null

    @DataMember(Name="dateFormat", IsRequired=true)
    @SerializedName("dateFormat")
    open var DateFormat:String? = null

    @DataMember(Name="delimiter", IsRequired=true)
    @SerializedName("delimiter")
    open var Delimiter:String? = null

    @DataMember(Name="decimalSeparator", IsRequired=true)
    @SerializedName("decimalSeparator")
    open var DecimalSeparator:String? = null

    @DataMember(Name="orderCreatorCode", IsRequired=true)
    @SerializedName("orderCreatorCode")
    open var OrderCreatorCode:String? = null

    @DataMember(Name="salesPersonId", IsRequired=true)
    @SerializedName("salesPersonId")
    open var SalesPersonId:String? = null

    @DataMember(Name="salesDepartmentId", IsRequired=true)
    @SerializedName("salesDepartmentId")
    open var SalesDepartmentId:String? = null

    @DataMember(Name="includeBillingPeriodDates")
    @SerializedName("includeBillingPeriodDates")
    open var IncludeBillingPeriodDates:Boolean? = null

    @DataMember(Name="trackInvoicePayments")
    @SerializedName("trackInvoicePayments")
    open var TrackInvoicePayments:Boolean? = null

    @DataMember(Name="includeInvoicedCustomerDetails")
    @SerializedName("includeInvoicedCustomerDetails")
    open var IncludeInvoicedCustomerDetails:Boolean? = null

    @DataMember(Name="billingPeriodTextFormat", IsRequired=true)
    @SerializedName("billingPeriodTextFormat")
    open var BillingPeriodTextFormat:String? = null

    @DataMember(Name="customerFooterText")
    @SerializedName("customerFooterText")
    open var CustomerFooterText:String? = null

    @DataMember(Name="addEmptyLineBeforeCustomerFooter")
    @SerializedName("addEmptyLineBeforeCustomerFooter")
    open var AddEmptyLineBeforeCustomerFooter:Boolean? = null

    @DataMember(Name="includeOnlyDefaultSalesPersonAndDepartment")
    @SerializedName("includeOnlyDefaultSalesPersonAndDepartment")
    open var IncludeOnlyDefaultSalesPersonAndDepartment:Boolean? = null

    @DataMember(Name="includeSubscriptionCustomerDetailsIfPayedByAnotherCustomer")
    @SerializedName("includeSubscriptionCustomerDetailsIfPayedByAnotherCustomer")
    open var IncludeSubscriptionCustomerDetailsIfPayedByAnotherCustomer:Boolean? = null

    @DataMember(Name="transactionGroup", IsRequired=true)
    @SerializedName("transactionGroup")
    open var TransactionGroup:String? = null

    @DataMember(Name="invoiceArbitraryNumber", IsRequired=true)
    @SerializedName("invoiceArbitraryNumber")
    open var InvoiceArbitraryNumber:String? = null

    @DataMember(Name="deliveryMethod", IsRequired=true)
    @SerializedName("deliveryMethod")
    open var DeliveryMethod:String? = null

    @DataMember(Name="deliveryConditions", IsRequired=true)
    @SerializedName("deliveryConditions")
    open var DeliveryConditions:String? = null

    @DataMember(Name="orderType", IsRequired=true)
    @SerializedName("orderType")
    open var OrderType:String? = null

    @DataMember(Name="invoiceStatus", IsRequired=true)
    @SerializedName("invoiceStatus")
    open var InvoiceStatus:String? = null

    @DataMember(Name="useProductGroupRevenueRecognition")
    @SerializedName("useProductGroupRevenueRecognition")
    open var UseProductGroupRevenueRecognition:Boolean? = null

    @DataMember(Name="productGroupLineExcludePrint", IsRequired=true)
    @SerializedName("productGroupLineExcludePrint")
    open var ProductGroupLineExcludePrint:String? = null

    @DataMember(Name="productGroupLineEditPreferences", IsRequired=true)
    @SerializedName("productGroupLineEditPreferences")
    open var ProductGroupLineEditPreferences:String? = null

    @DataMember(Name="productLineExcludePrint", IsRequired=true)
    @SerializedName("productLineExcludePrint")
    open var ProductLineExcludePrint:String? = null

    @DataMember(Name="useDiscountedPrices")
    @SerializedName("useDiscountedPrices")
    open var UseDiscountedPrices:Boolean? = null

    @DataMember(Name="terminateUnpaidSubscriptions")
    @SerializedName("terminateUnpaidSubscriptions")
    open var TerminateUnpaidSubscriptions:Boolean? = null

    @DataMember(Name="allowedUnpaidAmountLimit", EmitDefaultValue=false)
    @SerializedName("allowedUnpaidAmountLimit")
    open var AllowedUnpaidAmountLimit:Double? = null

    @DataMember(Name="allowedPaymentOverdue")
    @SerializedName("allowedPaymentOverdue")
    open var AllowedPaymentOverdue:TimeLengthRequestDto? = null

    @DataMember(Name="unpaidSubscriptionTerminationReasonId")
    @SerializedName("unpaidSubscriptionTerminationReasonId")
    open var UnpaidSubscriptionTerminationReasonId:UUID? = null

    @DataMember(Name="unpaidSubscriptionTerminationComment")
    @SerializedName("unpaidSubscriptionTerminationComment")
    open var UnpaidSubscriptionTerminationComment:String? = null

    @DataMember(Name="creditInvoiceNumberReferenceTextFormat")
    @SerializedName("creditInvoiceNumberReferenceTextFormat")
    open var CreditInvoiceNumberReferenceTextFormat:String? = null
}

enum class IntermediaryPlacementEnum
{
    None,
    IncludeIn21StColumn,
    IncludeIn7ThColumn,
}

enum class AccrualCodeFormatEnum
{
    Default,
    Dutch,
}

@DataContract(Name="TimeLengthRequestDto")
open class TimeLengthRequestDto
{
    @DataMember(Name="unit", IsRequired=true)
    @SerializedName("unit")
    open var Unit:UnitEnum? = null

    @DataMember(Name="value", IsRequired=true)
    @SerializedName("value")
    open var Value:Int? = null
}

enum class UnitEnum
{
    Day,
    Month,
    Year,
}

Kotlin UpdateVossInvoiceConfigurations DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

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: api.bokamera.se 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{}