""" Options: Date: 2026-01-25 01:16:37 Version: 8.90 Tip: To override a DTO option, remove "#" prefix before updating BaseUrl: https://taxfiling.staging.pwc.de #GlobalNamespace: #AddServiceStackTypes: True #AddResponseStatus: False #AddImplicitVersion: #AddDescriptionAsComments: True IncludeTypes: HoleFinanzaemterAsync.* #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 Object = TypeVar('Object') # @Api(Description="A base service to get the list of tax offices for a specified federal state.") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class HoleFinanzaemterBase(IReturn[HoleFinanzaemterResponse], IGet): """ A base service to get the list of tax offices for a specified federal state. """ # @ApiMember(Description="The state number of the tax offices.") finanzamt_land_nummer: Optional[str] = None """ The state number of the tax offices. """ @staticmethod def response_type(): return HoleFinanzaemterResponse # @Api(Description="Represents the base class of a German tax office.") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class FinanzamtBase: """ Represents the base class of a German tax office. """ # @ApiMember(Description="The identification number of the German tax office.", Name="BuFaNummer") bu_fa_nummer: Optional[str] = None """ The identification number of the German tax office. """ # @ApiMember(Description="The name of the German tax office.", Name="Name") name: Optional[str] = None """ The name of the German tax office. """ # @Api(Description="Represents a German tax office.") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class Finanzamt(FinanzamtBase): """ Represents a German tax office. """ pass # @Api(Description="Represents a structure that encapsulates a list of German tax offices.") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class EricHoleFinanzaemter: """ Represents a structure that encapsulates a list of German tax offices. """ # @ApiMember(Description="The list of German tax offices.", Name="Finanzaemter") finanzaemter: List[Finanzamt] = field(default_factory=list) """ The list of German tax offices. """ # @Api(Description="Represent a base response that encapsulate any ERiC API function return value.") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class EricFehlerCodeResponse(ServiceReponseBase): """ Represent a base response that encapsulate any ERiC API function return value. """ # @ApiMember(Description="The status code that the ERiC API function returns.") status_code: Optional[EricFehlerCode] = None """ The status code that the ERiC API function returns. """ # @ApiMember(Description="The status message that the ERiC API function returns.") status_text: Optional[str] = None """ The status message that the ERiC API function returns. """ # @Api(Description="Represents a type that encapsulates the return values of the ERiC API function, which retrieves the list of federal tax offices for a specified state.") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class HoleFinanzaemterResponse(EricFehlerCodeResponse): """ Represents a type that encapsulates the return values of the ERiC API function, which retrieves the list of federal tax offices for a specified state. """ # @ApiMember(Description="The list of federal tax offices for a specified state.") rueckgabe: Optional[EricHoleFinanzaemter] = None """ The list of federal tax offices for a specified state. """ # @Route("/HoleFinanzaemterAsync/{FinanzamtLandNummer}", "GET") # @Api(Description="An asynchronous service to get the list of tax offices for a specified federal state.") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class HoleFinanzaemterAsync(HoleFinanzaemterBase, IReturn[HoleFinanzaemterResponse]): """ An asynchronous service to get the list of tax offices for a specified federal state. """ pass