""" Options: Date: 2025-04-04 19:14:44 Version: 8.23 Tip: To override a DTO option, remove "#" prefix before updating BaseUrl: https://testapi.bokamera.se #GlobalNamespace: #AddServiceStackTypes: True #AddResponseStatus: False #AddImplicitVersion: #AddDescriptionAsComments: True IncludeTypes: UpdateVossInvoiceConfigurations.* #ExcludeTypes: #DefaultImports: datetime,decimal,marshmallow.fields:*,servicestack:*,typing:*,dataclasses:dataclass/field,dataclasses_json:dataclass_json/LetterCase/Undefined/config,enum:Enum/IntEnum #DataClass: #DataClassJson: """ import datetime import decimal from marshmallow.fields import * from servicestack import * from typing import * from dataclasses import dataclass, field from dataclasses_json import dataclass_json, LetterCase, Undefined, config from enum import Enum, IntEnum class IntermediaryPlacementEnum(IntEnum): NONE = 1 INCLUDE_IN21_ST_COLUMN = 2 INCLUDE_IN7_TH_COLUMN = 3 class AccrualCodeFormatEnum(IntEnum): DEFAULT = 1 DUTCH = 2 class UnitEnum(IntEnum): DAY = 1 MONTH = 2 YEAR = 3 @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class TimeLengthRequestDto: unit: Optional[UnitEnum] = None value: int = 0 @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class UpdateInvoiceConfigurationsRequest: intermediary_placement: Optional[IntermediaryPlacementEnum] = None accrual_code_format: Optional[AccrualCodeFormatEnum] = None date_format: Optional[str] = None delimiter: Optional[str] = None decimal_separator: Optional[str] = None order_creator_code: Optional[str] = None sales_person_id: Optional[str] = None sales_department_id: Optional[str] = None include_billing_period_dates: bool = False track_invoice_payments: bool = False include_invoiced_customer_details: bool = False billing_period_text_format: Optional[str] = None customer_footer_text: Optional[str] = None add_empty_line_before_customer_footer: bool = False include_only_default_sales_person_and_department: bool = False include_subscription_customer_details_if_payed_by_another_customer: bool = False transaction_group: Optional[str] = None invoice_arbitrary_number: Optional[str] = None delivery_method: Optional[str] = None delivery_conditions: Optional[str] = None order_type: Optional[str] = None invoice_status: Optional[str] = None use_product_group_revenue_recognition: bool = False product_group_line_exclude_print: Optional[str] = None product_group_line_edit_preferences: Optional[str] = None product_line_exclude_print: Optional[str] = None use_discounted_prices: bool = False terminate_unpaid_subscriptions: bool = False allowed_unpaid_amount_limit: float = 0.0 allowed_payment_overdue: Optional[TimeLengthRequestDto] = None unpaid_subscription_termination_reason_id: Optional[str] = None unpaid_subscription_termination_comment: Optional[str] = None credit_invoice_number_reference_text_format: Optional[str] = None # @Route("/voss/invoiceConfigurations", "GET") # @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class UpdateVossInvoiceConfigurations(UpdateInvoiceConfigurationsRequest): pass