""" Options: Date: 2024-11-21 13:22:33 Version: 8.23 Tip: To override a DTO option, remove "#" prefix before updating BaseUrl: https://api.bokamera.se #GlobalNamespace: #AddServiceStackTypes: True #AddResponseStatus: False #AddImplicitVersion: #AddDescriptionAsComments: True IncludeTypes: UpdateEAccountingSettingsQuery.* #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 ICompany: company_id: Optional[str] = None @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class EAccountingSettingsQueryResponse: company_id: Optional[str] = None active: bool = False default_article6_percent_vat: Optional[str] = None default_article12_percent_vat: Decimal = decimal.Decimal(0) default_article25_percent_vat: Decimal = decimal.Decimal(0) default_create_type: Optional[str] = None default_terms_of_payment_id: Optional[str] = None # @Route("/eaccounting/settings", "PUT") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class UpdateEAccountingSettingsQuery(IReturn[EAccountingSettingsQueryResponse], ICompany): # @ApiMember(Description="Article id for 25% VAT in e-accounting system") default_article25_percent_vat: Optional[str] = None """ Article id for 25% VAT in e-accounting system """ # @ApiMember(Description="Article id for 12% VAT in e-accounting system") default_article12_percent_vat: Optional[str] = None """ Article id for 12% VAT in e-accounting system """ # @ApiMember(Description="Article id for 6% VAT in e-accounting system") default_article6_percent_vat: Optional[str] = None """ Article id for 6% VAT in e-accounting system """ # @ApiMember(Description="Default invoice create type for invoice creation") default_create_type: Optional[str] = None """ Default invoice create type for invoice creation """ # @ApiMember(Description="Determines wether e-accounting intergration is active or not") e_accounting_integration_active: bool = False """ Determines wether e-accounting intergration is active or not """ # @ApiMember(Description="Default terms of payment value for invoice creation") default_terms_of_payment_id: Optional[str] = None """ Default terms of payment value for invoice creation """ # @ApiMember(Description="E-Accounting settings company Id.") company_id: Optional[str] = None """ E-Accounting settings company Id. """