""" Options: Date: 2026-01-25 01:16:23 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: HoleFinanzamtsdatenAsync.* #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 tax office information for a specified Federal Tax Office Number.") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class HoleFinanzamtsdatenBase(IReturn[HoleFinanzamtsdatenResponse], IGet): """ A base service to get tax office information for a specified Federal Tax Office Number. """ # @ApiMember(Description="The Federal Tax Office Number.", Name="BufaNr") bufa_nr: Optional[str] = None """ The Federal Tax Office Number. """ @staticmethod def response_type(): return HoleFinanzamtsdatenResponse @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class AdresseListe: """ Represents a list of Adresse items. """ pass @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class KontaktListe: """ Represents a list of business contacts. """ pass @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class BankverbindungListe: """ Represents a list of bank details """ pass @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class OeffnungszeitListe: """ Represents a list of information on the opening hours. """ pass @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class BemerkungListe: """ Represents a list of comments. """ pass # @Api(Description="Represents Represents a central processing office.") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class Hauptstelle: """ Represents Represents a central processing office. """ # @ApiMember(Description="The Federal Tax Office (Bundesfinanzamt) identification number of the office.") bu_fa_nr: Optional[str] = None """ The Federal Tax Office (Bundesfinanzamt) identification number of the office. """ # @ApiMember(Description="The name of the office.") name: Optional[str] = None """ The name of the office. """ # @Api(Description="Represents a structure that encapsulates details of fiscal authorities.") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class Finanzamtsdaten: """ Represents a structure that encapsulates details of fiscal authorities. """ # @ApiMember(Description="The Federal Tax Office (Bundesfinanzamt) identification number of the fiscal authority.") bu_fa_nr: Optional[str] = None """ The Federal Tax Office (Bundesfinanzamt) identification number of the fiscal authority. """ # @ApiMember(Description="The name of the fiscal authority.") name: Optional[str] = None """ The name of the fiscal authority. """ # @ApiMember(Description="The list of addresses of the fiscal authority.") adresse_liste: Optional[AdresseListe] = None """ The list of addresses of the fiscal authority. """ # @ApiMember(Description="The list of business contacts of the fiscal authority.") kontakt_liste: Optional[KontaktListe] = None """ The list of business contacts of the fiscal authority. """ # @ApiMember(Description="The list of bank accounts of the fiscal authority.") bankverbindung_liste: Optional[BankverbindungListe] = None """ The list of bank accounts of the fiscal authority. """ # @ApiMember(Description="The opening hours of the fiscal authority.") oeffnungszeit_liste: Optional[OeffnungszeitListe] = None """ The opening hours of the fiscal authority. """ # @ApiMember(Description="The list of comments of the fiscal authority.") bemerkung_liste: Optional[BemerkungListe] = None """ The list of comments of the fiscal authority. """ # @ApiMember(Description="The central processing office of the fiscal authority.") hauptstelle: Optional[Hauptstelle] = None """ The central processing office of the fiscal authority. """ # @ApiMember(Description="The branch of the fiscal authority.") aussenstelle: Optional[str] = None """ The branch of the fiscal authority. """ # @Api(Description="Represents a structure that encapsulates the list of details of fiscal authorities.") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class EricHoleFinanzamtsdaten: """ Represents a structure that encapsulates the list of details of fiscal authorities. """ # @ApiMember(Description="The version of the information structure.") version: int = 0 """ The version of the information structure. """ # @ApiMember(Description="The details of the fiscal authority.") finanzamtsdaten: Optional[Finanzamtsdaten] = None """ The details of the fiscal authority. """ # @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 all tax office numbers.") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class HoleFinanzamtsdatenResponse(EricFehlerCodeResponse): """ Represents a type that encapsulates the return values of the ERiC API function, which retrieves all tax office numbers. """ # @ApiMember(Description="The details of a specified tax office.") rueckgabe: Optional[EricHoleFinanzamtsdaten] = None """ The details of a specified tax office. """ # @Route("/HoleFinanzamtsdatenAsync/{BufaNr}", "GET") # @Api(Description="An asynchronous service to get tax office information for a specified Federal Tax Office Number.") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class HoleFinanzamtsdatenAsync(HoleFinanzamtsdatenBase, IReturn[HoleFinanzamtsdatenResponse]): """ An asynchronous service to get tax office information for a specified Federal Tax Office Number. """ pass