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
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports BokaMera.API.ServiceModel.Dtos
Imports BokaMera.VossIntegration.ApiTools.Model

Namespace Global

    Namespace BokaMera.API.ServiceModel.Dtos

        <ApiResponse(Description:="You were unauthorized to call this service", StatusCode:=401)>
        Public Partial Class UpdateVossInvoiceConfigurations
            Inherits UpdateInvoiceConfigurationsRequest
        End Class
    End Namespace

    Namespace BokaMera.VossIntegration.ApiTools.Model

        <DataContract(Name:="TimeLengthRequestDto")>
        Public Partial Class TimeLengthRequestDto
            <DataMember(Name:="unit", IsRequired:=true)>
            Public Overridable Property Unit As UnitEnum

            <DataMember(Name:="value", IsRequired:=true)>
            Public Overridable Property Value As Integer

            Public Enum UnitEnum
                Day
                Month
                Year
            End Enum
        End Class

        <DataContract(Name:="UpdateInvoiceConfigurationsRequest")>
        Public Partial Class UpdateInvoiceConfigurationsRequest
            <DataMember(Name:="intermediaryPlacement", IsRequired:=true)>
            Public Overridable Property IntermediaryPlacement As IntermediaryPlacementEnum

            <DataMember(Name:="accrualCodeFormat", IsRequired:=true)>
            Public Overridable Property AccrualCodeFormat As AccrualCodeFormatEnum

            <DataMember(Name:="dateFormat", IsRequired:=true)>
            Public Overridable Property DateFormat As String

            <DataMember(Name:="delimiter", IsRequired:=true)>
            Public Overridable Property Delimiter As String

            <DataMember(Name:="decimalSeparator", IsRequired:=true)>
            Public Overridable Property DecimalSeparator As String

            <DataMember(Name:="orderCreatorCode", IsRequired:=true)>
            Public Overridable Property OrderCreatorCode As String

            <DataMember(Name:="salesPersonId", IsRequired:=true)>
            Public Overridable Property SalesPersonId As String

            <DataMember(Name:="salesDepartmentId", IsRequired:=true)>
            Public Overridable Property SalesDepartmentId As String

            <DataMember(Name:="includeBillingPeriodDates")>
            Public Overridable Property IncludeBillingPeriodDates As Boolean

            <DataMember(Name:="trackInvoicePayments")>
            Public Overridable Property TrackInvoicePayments As Boolean

            <DataMember(Name:="includeInvoicedCustomerDetails")>
            Public Overridable Property IncludeInvoicedCustomerDetails As Boolean

            <DataMember(Name:="billingPeriodTextFormat", IsRequired:=true)>
            Public Overridable Property BillingPeriodTextFormat As String

            <DataMember(Name:="customerFooterText")>
            Public Overridable Property CustomerFooterText As String

            <DataMember(Name:="addEmptyLineBeforeCustomerFooter")>
            Public Overridable Property AddEmptyLineBeforeCustomerFooter As Boolean

            <DataMember(Name:="includeOnlyDefaultSalesPersonAndDepartment")>
            Public Overridable Property IncludeOnlyDefaultSalesPersonAndDepartment As Boolean

            <DataMember(Name:="includeSubscriptionCustomerDetailsIfPayedByAnotherCustomer")>
            Public Overridable Property IncludeSubscriptionCustomerDetailsIfPayedByAnotherCustomer As Boolean

            <DataMember(Name:="transactionGroup", IsRequired:=true)>
            Public Overridable Property TransactionGroup As String

            <DataMember(Name:="invoiceArbitraryNumber", IsRequired:=true)>
            Public Overridable Property InvoiceArbitraryNumber As String

            <DataMember(Name:="deliveryMethod", IsRequired:=true)>
            Public Overridable Property DeliveryMethod As String

            <DataMember(Name:="deliveryConditions", IsRequired:=true)>
            Public Overridable Property DeliveryConditions As String

            <DataMember(Name:="orderType", IsRequired:=true)>
            Public Overridable Property OrderType As String

            <DataMember(Name:="invoiceStatus", IsRequired:=true)>
            Public Overridable Property InvoiceStatus As String

            <DataMember(Name:="useProductGroupRevenueRecognition")>
            Public Overridable Property UseProductGroupRevenueRecognition As Boolean

            <DataMember(Name:="productGroupLineExcludePrint", IsRequired:=true)>
            Public Overridable Property ProductGroupLineExcludePrint As String

            <DataMember(Name:="productGroupLineEditPreferences", IsRequired:=true)>
            Public Overridable Property ProductGroupLineEditPreferences As String

            <DataMember(Name:="productLineExcludePrint", IsRequired:=true)>
            Public Overridable Property ProductLineExcludePrint As String

            <DataMember(Name:="useDiscountedPrices")>
            Public Overridable Property UseDiscountedPrices As Boolean

            <DataMember(Name:="terminateUnpaidSubscriptions")>
            Public Overridable Property TerminateUnpaidSubscriptions As Boolean

            <DataMember(Name:="allowedUnpaidAmountLimit", EmitDefaultValue:=false)>
            Public Overridable Property AllowedUnpaidAmountLimit As Double

            <DataMember(Name:="allowedPaymentOverdue")>
            Public Overridable Property AllowedPaymentOverdue As TimeLengthRequestDto

            <DataMember(Name:="unpaidSubscriptionTerminationReasonId")>
            Public Overridable Property UnpaidSubscriptionTerminationReasonId As Guid?

            <DataMember(Name:="unpaidSubscriptionTerminationComment")>
            Public Overridable Property UnpaidSubscriptionTerminationComment As String

            <DataMember(Name:="creditInvoiceNumberReferenceTextFormat")>
            Public Overridable Property CreditInvoiceNumberReferenceTextFormat As String

            Public Enum IntermediaryPlacementEnum
                None
                IncludeIn21StColumn
                IncludeIn7ThColumn
            End Enum

            Public Enum AccrualCodeFormatEnum
                [Default]
                Dutch
            End Enum
        End Class
    End Namespace
End Namespace

VB.NET UpdateVossInvoiceConfigurations DTOs

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

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

{}