""" Options: Date: 2026-01-25 05:49:33 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: FormatStNrAsync.* #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 represent the given tax number in the format of the responsible Federal State.") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class FormatStNrBase(IReturn[FormatStNrResponse], IGet): """ A base service to represent the given tax number in the format of the responsible Federal State. """ # @ApiMember(Description="The valid ELSTER-formatted tax number.") eingabe_steuernummer: Optional[str] = None """ The valid ELSTER-formatted tax number. """ @staticmethod def response_type(): return FormatStNrResponse # @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 that formats tax numbers.") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class FormatStNrResponse(EricFehlerCodeResponse): """ Represents a type that encapsulates the return values of the ERiC API function that formats tax numbers. """ # @ApiMember(Description="The formatted tax number.") rueckgabe: Optional[str] = None """ The formatted tax number. """ # @Route("/FormatStNrAsync/{EingabeSteuernummer}", "GET") # @Api(Description="An asynchronous service to represent the given tax number in the format of the responsible Federal State.") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class FormatStNrAsync(FormatStNrBase, IReturn[FormatStNrResponse]): """ An asynchronous service to represent the given tax number in the format of the responsible Federal State. """ pass