""" Options: Date: 2026-01-24 21:49:58 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: MakeElsterStnrAsync.* #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 create an ELSTER-compatible tax number from a specified tax number.") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class MakeElsterStnrBase(IReturn[MakeElsterStnrResponse], IPost): """ A base service to create an ELSTER-compatible tax number from a specified tax number. """ # @ApiMember(Description="The format of the tax number as indicated in the official letter.") steuernr_bescheid: Optional[str] = None """ The format of the tax number as indicated in the official letter. """ # @ApiMember(Description="The two-digit state number (corresponds to the first two digits of the Federal Tax Office number).") landesnr: Optional[str] = None """ The two-digit state number (corresponds to the first two digits of the Federal Tax Office number). """ # @ApiMember(Description="The four-digit Federal Tax Office Number.") bundesfinanzamtsnr: Optional[str] = None """ The four-digit Federal Tax Office Number. """ @staticmethod def response_type(): return MakeElsterStnrResponse # @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 creates an ELSTER-compatible tax number from a specified tax number.") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class MakeElsterStnrResponse(EricFehlerCodeResponse): """ Represents a type that encapsulates the return values of the ERiC API function, which creates an ELSTER-compatible tax number from a specified tax number. """ # @ApiMember(Description="The tax number of the return type.") steuernr: Optional[str] = None """ The tax number of the return type. """ # @Route("/MakeElsterStnrAsync", "POST") # @Api(Description="An asynchronous service to create an ELSTER-compatible tax number from a specified tax number.") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class MakeElsterStnrAsync(MakeElsterStnrBase, IReturn[MakeElsterStnrResponse]): """ An asynchronous service to create an ELSTER-compatible tax number from a specified tax number. """ pass