Tax Filing Service

<back to all web services

SubmitUstSvFromDefinitionAsync

AsyncUmsatzsteuerSondervorauszahlungReturnBuilderDefinition

An asynchronous service to submit content that represents a filing of the special advance payment for VAT (Umsatzsteuersondervorauszahlung) as an Entrepreneur from the specified dictionary (hash map) of key/value definitions.

Requires Authentication
The following routes are available for this service:
POST/SubmitUstSvFromDefinitionAsync
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


# @Api(Description="Create a VAT return from a dictionary (hash map) of key/value definitions with a dictionary (hash map) of properties.")
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class CreateXmlFromDefinitionBase:
    """
    Create a VAT return from a dictionary (hash map) of key/value definitions with a dictionary (hash map) of properties.
    """

    # @ApiMember(Description="The 4-digit year of the tax assessment.")
    jahr: int = 0
    """
    The 4-digit year of the tax assessment.
    """


    # @ApiMember(Description="Dictionary of key-value pairs that represent the intrinsic properties of the VAT return. Each key represents a name of the VAT property.Each value of the pair represents the VAT property value.")
    properties: Optional[Dict[str, str]] = None
    """
    Dictionary of key-value pairs that represent the intrinsic properties of the VAT return. Each key represents a name of the VAT property.Each value of the pair represents the VAT property value.
    """


# @Api(Description="Represents a base class for a file with raw data.")
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class FileBase:
    """
    Represents a base class for a file with raw data.
    """

    # @ApiMember(Description="The raw data content of the file.", Name="Content")
    content: Optional[bytes] = None
    """
    The raw data content of the file.
    """


# @Api(Description="Represents a portal certificate that is protected by a password.")
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class PortalCertificate(FileBase, ISecuredCertificate, IHasIndex):
    """
    Represents a portal certificate that is protected by a password.
    """

    # @ApiMember(Description="The unique identifier of the certificate.")
    id: Optional[str] = None
    """
    The unique identifier of the certificate.
    """


    # @ApiMember(Description="The position of the certificate element in an indexed collection of certificates.")
    index: int = 0
    """
    The position of the certificate element in an indexed collection of certificates.
    """


    # @StringLength(255)
    # @ApiMember(Description="The password to protect the certificate from unauthorized access.")
    pin: Optional[str] = None
    """
    The password to protect the certificate from unauthorized access.
    """


    # @StringLength(2147483647)
    # @ApiMember(Description="The description of the certificate.")
    description: Optional[str] = None
    """
    The description of the certificate.
    """


    # @ApiMember(Description="Tags that can be used to label or identify the certificate.")
    tags: Optional[List[str]] = None
    """
    Tags that can be used to label or identify the certificate.
    """


    # @ApiMember(Description="Gets or sets the file name of the certificate.")
    name: Optional[str] = None
    """
    Gets or sets the file name of the certificate.
    """


    # @ApiMember(Description="The raw data content of the file.", Name="Content")
    content: Optional[bytes] = None
    """
    The raw data content of the file.
    """


# @Api(Description="Submit content that  represents a special advance payment for VAT (Umsatzsteuersondervorauszahlung) as an Entrepreneur return from the specified dictionary (hash map) of key/value definitions.")
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class SubmitUstSvFromDefinitionBase(CreateXmlFromDefinitionBase, IReturn[BearbeiteVorgangResponse], IDruckRequest, IVeschlueselungsRequest):
    """
    Submit content that  represents a special advance payment for VAT (Umsatzsteuersondervorauszahlung) as an Entrepreneur return from the specified dictionary (hash map) of key/value definitions.
    """

    # @ApiMember(Description="Should the PDF file be prepared for a double-sided printout with a margin for punching? True: The straight sides are indented to the left for a stitching margin for punching. False: There is no indentation of the straight sides. The created PDF is only intended for printing pages page by page.")
    duplex_druck: Optional[bool] = None
    """
    Should the PDF file be prepared for a double-sided printout with a margin for punching? True: The straight sides are indented to the left for a stitching margin for punching. False: There is no indentation of the straight sides. The created PDF is only intended for printing pages page by page.
    """


    # @ApiMember(Description="Name prefix of the generated transfer protocol file.")
    protocol_prefix: Optional[str] = None
    """
    Name prefix of the generated transfer protocol file.
    """


    # @ApiMember(Description="Footer text to be used on the printout (optional).")
    fuss_text: Optional[str] = None
    """
    Footer text to be used on the printout (optional).
    """


    # @ApiMember(Description="The portal certificate to authenticate and encrypt the submission.")
    zertifikat: Optional[PortalCertificate] = None
    """
    The portal certificate to authenticate and encrypt the submission.
    """


    # @ApiMember(Description="The 4-digit year of the tax assessment.")
    jahr: int = 0
    """
    The 4-digit year of the tax assessment.
    """


    # @ApiMember(Description="Dictionary of key-value pairs that represent the intrinsic properties of the VAT return. Each key represents a name of the VAT property.Each value of the pair represents the VAT property value.")
    properties: Optional[Dict[str, str]] = None
    """
    Dictionary of key-value pairs that represent the intrinsic properties of the VAT return. Each key represents a name of the VAT property.Each value of the pair represents the VAT property value.
    """
    @staticmethod
    def response_type(): return BearbeiteVorgangResponse


# @Api(Description="Specifies a service response from an ERiC service operation.")
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class ServiceReponseBase(IHasIndex):
    """
    Specifies a service response from an ERiC service operation.
    """

    # @ApiMember(Description="The unique identifier of the response.", Name="Id")
    id: Optional[str] = None
    """
    The unique identifier of the response.
    """


    # @ApiMember(Description="The position of the response element in an indexed collection.", Name="Index")
    index: int = 0
    """
    The position of the response element in an indexed collection.
    """


    # @ApiMember(Description="Metadata that contains structured error information on the service response.", Name="ResponseStatus")
    response_status: Optional[ResponseStatus] = None
    """
    Metadata that contains structured error information on the service response.
    """


class EricFehlerCode(IntEnum):
    """
    Enumeration of ERiC API error codes.
    """

    ERI_C__O_K = 0
    ERI_C__G_L_O_B_A_L__U_N_K_N_O_W_N = 610001001
    ERI_C__G_L_O_B_A_L__P_R_U_E_F__F_E_H_L_E_R = 610001002
    ERI_C__G_L_O_B_A_L__H_I_N_W_E_I_S_E = 610001003
    ERI_C__G_L_O_B_A_L__F_E_H_L_E_R_M_E_L_D_U_N_G__N_I_C_H_T__V_O_R_H_A_N_D_E_N = 610001007
    ERI_C__G_L_O_B_A_L__K_E_I_N_E__D_A_T_E_N__V_O_R_H_A_N_D_E_N = 610001008
    ERI_C__G_L_O_B_A_L__N_I_C_H_T__G_E_N_U_E_G_E_N_D__A_R_B_E_I_T_S_S_P_E_I_C_H_E_R = 610001013
    ERI_C__G_L_O_B_A_L__D_A_T_E_I__N_I_C_H_T__G_E_F_U_N_D_E_N = 610001014
    ERI_C__G_L_O_B_A_L__H_E_R_S_T_E_L_L_E_R__I_D__N_I_C_H_T__E_R_L_A_U_B_T = 610001016
    ERI_C__G_L_O_B_A_L__I_L_L_E_G_A_L__S_T_A_T_E = 610001017
    ERI_C__G_L_O_B_A_L__F_U_N_K_T_I_O_N__N_I_C_H_T__E_R_L_A_U_B_T = 610001018
    ERI_C__G_L_O_B_A_L__E_C_H_T_F_A_L_L__N_I_C_H_T__E_R_L_A_U_B_T = 610001019
    ERI_C__G_L_O_B_A_L__N_O__V_E_R_S_A_N_D__I_N__B_E_T_A__V_E_R_S_I_O_N = 610001020
    ERI_C__G_L_O_B_A_L__T_E_S_T_M_E_R_K_E_R__U_N_G_U_E_L_T_I_G = 610001025
    ERI_C__G_L_O_B_A_L__D_A_T_E_N_S_A_T_Z__Z_U__G_R_O_S_S = 610001026
    ERI_C__G_L_O_B_A_L__V_E_R_S_C_H_L_U_E_S_S_E_L_U_N_G_S__P_A_R_A_M_E_T_E_R__N_I_C_H_T__E_R_L_A_U_B_T = 610001027
    ERI_C__G_L_O_B_A_L__N_U_R__P_O_R_T_A_L_Z_E_R_T_I_F_I_K_A_T__E_R_L_A_U_B_T = 610001028
    ERI_C__G_L_O_B_A_L__A_B_R_U_F_C_O_D_E__N_I_C_H_T__E_R_L_A_U_B_T = 610001029
    ERI_C__G_L_O_B_A_L__E_R_R_O_R__X_M_L__C_R_E_A_T_E = 610001030
    ERI_C__G_L_O_B_A_L__T_E_X_T_P_U_F_F_E_R_G_R_O_E_S_S_E__F_I_X = 610001031
    ERI_C__G_L_O_B_A_L__I_N_T_E_R_N_E_R__F_E_H_L_E_R = 610001032
    ERI_C__G_L_O_B_A_L__A_R_I_T_H_M_E_T_I_K_F_E_H_L_E_R = 610001033
    ERI_C__G_L_O_B_A_L__S_T_E_U_E_R_N_U_M_M_E_R__U_N_G_U_E_L_T_I_G = 610001034
    ERI_C__G_L_O_B_A_L__S_T_E_U_E_R_N_U_M_M_E_R__F_A_L_S_C_H_E__L_A_E_N_G_E = 610001035
    ERI_C__G_L_O_B_A_L__S_T_E_U_E_R_N_U_M_M_E_R__N_I_C_H_T__N_U_M_E_R_I_S_C_H = 610001036
    ERI_C__G_L_O_B_A_L__L_A_N_D_E_S_N_U_M_M_E_R__U_N_B_E_K_A_N_N_T = 610001037
    ERI_C__G_L_O_B_A_L__B_U_F_A_N_R__U_N_B_E_K_A_N_N_T = 610001038
    ERI_C__G_L_O_B_A_L__L_A_N_D_E_S_N_U_M_M_E_R__B_U_F_A_N_R = 610001039
    ERI_C__G_L_O_B_A_L__P_U_F_F_E_R__Z_U_G_R_I_F_F_S_K_O_N_F_L_I_K_T = 610001040
    ERI_C__G_L_O_B_A_L__P_U_F_F_E_R__U_E_B_E_R_L_A_U_F = 610001041
    ERI_C__G_L_O_B_A_L__D_A_T_E_N_A_R_T_V_E_R_S_I_O_N__U_N_B_E_K_A_N_N_T = 610001042
    ERI_C__G_L_O_B_A_L__D_A_T_E_N_A_R_T_V_E_R_S_I_O_N__X_M_L__I_N_K_O_N_S_I_S_T_E_N_T = 610001044
    ERI_C__G_L_O_B_A_L__C_O_M_M_O_N_D_A_T_A__N_I_C_H_T__V_E_R_F_U_E_G_B_A_R = 610001045
    ERI_C__G_L_O_B_A_L__L_O_G__E_X_C_E_P_T_I_O_N = 610001046
    ERI_C__G_L_O_B_A_L__T_R_A_N_S_P_O_R_T_S_C_H_L_U_E_S_S_E_L__N_I_C_H_T__E_R_L_A_U_B_T = 610001047
    ERI_C__G_L_O_B_A_L__O_E_F_F_E_N_T_L_I_C_H_E_R__S_C_H_L_U_E_S_S_E_L__U_N_G_U_E_L_T_I_G = 610001048
    ERI_C__G_L_O_B_A_L__T_R_A_N_S_P_O_R_T_S_C_H_L_U_E_S_S_E_L__T_Y_P__F_A_L_S_C_H = 610001049
    ERI_C__G_L_O_B_A_L__P_U_F_F_E_R__U_N_G_L_E_I_C_H_E_R__I_N_S_T_A_N_Z = 610001050
    ERI_C__G_L_O_B_A_L__V_O_R_S_A_T_Z__U_N_G_U_E_L_T_I_G = 610001051
    ERI_C__G_L_O_B_A_L__D_A_T_E_I_Z_U_G_R_I_F_F__V_E_R_W_E_I_G_E_R_T = 610001053
    ERI_C__G_L_O_B_A_L__U_N_G_U_E_L_T_I_G_E__I_N_S_T_A_N_Z = 610001080
    ERI_C__G_L_O_B_A_L__N_I_C_H_T__I_N_I_T_I_A_L_I_S_I_E_R_T = 610001081
    ERI_C__G_L_O_B_A_L__M_E_H_R_F_A_C_H_E__I_N_I_T_I_A_L_I_S_I_E_R_U_N_G = 610001082
    ERI_C__G_L_O_B_A_L__F_E_H_L_E_R__I_N_I_T_I_A_L_I_S_I_E_R_U_N_G = 610001083
    ERI_C__G_L_O_B_A_L__U_N_K_N_O_W_N__P_A_R_A_M_E_T_E_R__E_R_R_O_R = 610001102
    ERI_C__G_L_O_B_A_L__C_H_E_C_K__C_O_R_R_U_P_T_E_D__N_D_S = 610001108
    ERI_C__G_L_O_B_A_L__V_E_R_S_C_H_L_U_E_S_S_E_L_U_N_G_S__P_A_R_A_M_E_T_E_R__N_I_C_H_T__A_N_G_E_G_E_B_E_N = 610001206
    ERI_C__G_L_O_B_A_L__S_E_N_D__F_L_A_G__M_E_H_R__A_L_S__E_I_N_E_S = 610001209
    ERI_C__G_L_O_B_A_L__U_N_G_U_E_L_T_I_G_E__F_L_A_G__K_O_M_B_I_N_A_T_I_O_N = 610001218
    ERI_C__G_L_O_B_A_L__E_R_S_T_E__S_E_I_T_E__D_R_U_C_K__N_I_C_H_T__U_N_T_E_R_S_T_U_E_T_Z_T = 610001220
    ERI_C__G_L_O_B_A_L__U_N_G_U_E_L_T_I_G_E_R__P_A_R_A_M_E_T_E_R = 610001222
    ERI_C__G_L_O_B_A_L__D_R_U_C_K__F_U_E_R__V_E_R_F_A_H_R_E_N__N_I_C_H_T__E_R_L_A_U_B_T = 610001224
    ERI_C__G_L_O_B_A_L__V_E_R_S_A_N_D__A_R_T__N_I_C_H_T__U_N_T_E_R_S_T_U_E_T_Z_T = 610001225
    ERI_C__G_L_O_B_A_L__U_N_G_U_E_L_T_I_G_E__P_A_R_A_M_E_T_E_R__V_E_R_S_I_O_N = 610001226
    ERI_C__G_L_O_B_A_L__T_R_A_N_S_F_E_R_H_A_N_D_L_E = 610001227
    ERI_C__G_L_O_B_A_L__P_L_U_G_I_N_I_N_I_T_I_A_L_I_S_I_E_R_U_N_G = 610001228
    ERI_C__G_L_O_B_A_L__I_N_K_O_M_P_A_T_I_B_L_E__V_E_R_S_I_O_N_E_N = 610001229
    ERI_C__G_L_O_B_A_L__V_E_R_S_C_H_L_U_E_S_S_E_L_U_N_G_S_V_E_R_F_A_H_R_E_N__N_I_C_H_T__U_N_T_E_R_S_T_U_E_T_Z_T = 610001230
    ERI_C__G_L_O_B_A_L__M_E_H_R_F_A_C_H_A_U_F_R_U_F_E__N_I_C_H_T__U_N_T_E_R_S_T_U_E_T_Z_T = 610001231
    ERI_C__G_L_O_B_A_L__U_T_I__C_O_U_N_T_R_Y__N_O_T__S_U_P_P_O_R_T_E_D = 610001404
    ERI_C__G_L_O_B_A_L__I_B_A_N__F_O_R_M_A_L_E_R__F_E_H_L_E_R = 610001501
    ERI_C__G_L_O_B_A_L__I_B_A_N__L_A_E_N_D_E_R_C_O_D_E__F_E_H_L_E_R = 610001502
    ERI_C__G_L_O_B_A_L__I_B_A_N__L_A_N_D_E_S_F_O_R_M_A_T__F_E_H_L_E_R = 610001503
    ERI_C__G_L_O_B_A_L__I_B_A_N__P_R_U_E_F_Z_I_F_F_E_R__F_E_H_L_E_R = 610001504
    ERI_C__G_L_O_B_A_L__B_I_C__F_O_R_M_A_L_E_R__F_E_H_L_E_R = 610001510
    ERI_C__G_L_O_B_A_L__B_I_C__L_A_E_N_D_E_R_C_O_D_E__F_E_H_L_E_R = 610001511
    ERI_C__G_L_O_B_A_L__Z_U_L_A_S_S_U_N_G_S_N_U_M_M_E_R__Z_U__L_A_N_G = 610001519
    ERI_C__G_L_O_B_A_L__I_D_N_U_M_M_E_R__U_N_G_U_E_L_T_I_G = 610001525
    ERI_C__G_L_O_B_A_L__N_U_L_L__P_A_R_A_M_E_T_E_R = 610001526
    ERI_C__G_L_O_B_A_L__E_W_A_Z__U_N_G_U_E_L_T_I_G = 610001527
    ERI_C__G_L_O_B_A_L__E_W_A_Z__L_A_N_D_E_S_K_U_E_R_Z_E_L__U_N_B_E_K_A_N_N_T = 610001528
    ERI_C__G_L_O_B_A_L__U_P_D_A_T_E__N_E_C_E_S_S_A_R_Y = 610001851
    ERI_C__G_L_O_B_A_L__E_I_N_S_T_E_L_L_U_N_G__N_A_M_E__U_N_G_U_E_L_T_I_G = 610001860
    ERI_C__G_L_O_B_A_L__E_I_N_S_T_E_L_L_U_N_G__W_E_R_T__U_N_G_U_E_L_T_I_G = 610001861
    ERI_C__G_L_O_B_A_L__E_R_R__D_E_K_O_D_I_E_R_E_N = 610001862
    ERI_C__G_L_O_B_A_L__F_U_N_K_T_I_O_N__N_I_C_H_T__U_N_T_E_R_S_T_U_E_T_Z_T = 610001863
    ERI_C__G_L_O_B_A_L__N_U_T_Z_D_A_T_E_N_T_I_C_K_E_T_S__N_I_C_H_T__E_I_N_D_E_U_T_I_G = 610001865
    ERI_C__G_L_O_B_A_L__N_U_T_Z_D_A_T_E_N_H_E_A_D_E_R_V_E_R_S_I_O_N_E_N__U_N_E_I_N_H_E_I_T_L_I_C_H = 610001866
    ERI_C__G_L_O_B_A_L__B_U_N_D_E_S_L_A_E_N_D_E_R__U_N_E_I_N_H_E_I_T_L_I_C_H = 610001867
    ERI_C__G_L_O_B_A_L__Z_E_I_T_R_A_E_U_M_E__U_N_E_I_N_H_E_I_T_L_I_C_H = 610001868
    ERI_C__G_L_O_B_A_L__N_U_T_Z_D_A_T_E_N_H_E_A_D_E_R__E_M_P_F_A_E_N_G_E_R__N_I_C_H_T__K_O_R_R_E_K_T = 610001869
    ERI_C__T_R_A_N_S_F_E_R__C_O_M__E_R_R_O_R = 610101200
    ERI_C__T_R_A_N_S_F_E_R__V_O_R_G_A_N_G__N_I_C_H_T__U_N_T_E_R_S_T_U_E_T_Z_T = 610101201
    ERI_C__T_R_A_N_S_F_E_R__E_R_R__X_M_L__T_H_E_A_D_E_R = 610101210
    ERI_C__T_R_A_N_S_F_E_R__E_R_R__P_A_R_A_M = 610101251
    ERI_C__T_R_A_N_S_F_E_R__E_R_R__D_A_T_E_N_T_E_I_L_E_N_D_N_O_T_F_O_U_N_D = 610101253
    ERI_C__T_R_A_N_S_F_E_R__E_R_R__B_E_G_I_N_D_A_T_E_N_L_I_E_F_E_R_A_N_T = 610101255
    ERI_C__T_R_A_N_S_F_E_R__E_R_R__E_N_D_D_A_T_E_N_L_I_E_F_E_R_A_N_T = 610101256
    ERI_C__T_R_A_N_S_F_E_R__E_R_R__B_E_G_I_N_T_R_A_N_S_P_O_R_T_S_C_H_L_U_E_S_S_E_L = 610101257
    ERI_C__T_R_A_N_S_F_E_R__E_R_R__E_N_D_T_R_A_N_S_P_O_R_T_S_C_H_L_U_E_S_S_E_L = 610101258
    ERI_C__T_R_A_N_S_F_E_R__E_R_R__B_E_G_I_N_D_A_T_E_N_G_R_O_E_S_S_E = 610101259
    ERI_C__T_R_A_N_S_F_E_R__E_R_R__E_N_D_D_A_T_E_N_G_R_O_E_S_S_E = 610101260
    ERI_C__T_R_A_N_S_F_E_R__E_R_R__S_E_N_D = 610101271
    ERI_C__T_R_A_N_S_F_E_R__E_R_R__N_O_T_E_N_C_R_Y_P_T_E_D = 610101274
    ERI_C__T_R_A_N_S_F_E_R__E_R_R__P_R_O_X_Y_C_O_N_N_E_C_T = 610101276
    ERI_C__T_R_A_N_S_F_E_R__E_R_R__C_O_N_N_E_C_T_S_E_R_V_E_R = 610101278
    ERI_C__T_R_A_N_S_F_E_R__E_R_R__N_O_R_E_S_P_O_N_S_E = 610101279
    ERI_C__T_R_A_N_S_F_E_R__E_R_R__P_R_O_X_Y_A_U_T_H = 610101280
    ERI_C__T_R_A_N_S_F_E_R__E_R_R__S_E_N_D__I_N_I_T = 610101282
    ERI_C__T_R_A_N_S_F_E_R__E_R_R__T_I_M_E_O_U_T = 610101283
    ERI_C__T_R_A_N_S_F_E_R__E_R_R__P_R_O_X_Y_P_O_R_T__I_N_V_A_L_I_D = 610101284
    ERI_C__T_R_A_N_S_F_E_R__E_R_R__O_T_H_E_R = 610101291
    ERI_C__T_R_A_N_S_F_E_R__E_R_R__X_M_L__N_H_E_A_D_E_R = 610101292
    ERI_C__T_R_A_N_S_F_E_R__E_R_R__X_M_L__E_N_C_O_D_I_N_G = 610101293
    ERI_C__T_R_A_N_S_F_E_R__E_R_R__E_N_D_S_I_G_U_S_E_R = 610101294
    ERI_C__T_R_A_N_S_F_E_R__E_R_R__X_M_L_T_A_G__N_I_C_H_T__G_E_F_U_N_D_E_N = 610101295
    ERI_C__T_R_A_N_S_F_E_R__E_R_R__D_A_T_E_N_T_E_I_L_F_E_H_L_E_R = 610101297
    ERI_C__T_R_A_N_S_F_E_R__E_I_D__Z_E_R_T_I_F_I_K_A_T_F_E_H_L_E_R = 610101500
    ERI_C__T_R_A_N_S_F_E_R__E_I_D__K_E_I_N_K_O_N_T_O = 610101510
    ERI_C__T_R_A_N_S_F_E_R__E_I_D__I_D_N_R_N_I_C_H_T_E_I_N_D_E_U_T_I_G = 610101511
    ERI_C__T_R_A_N_S_F_E_R__E_I_D__S_E_R_V_E_R_F_E_H_L_E_R = 610101512
    ERI_C__T_R_A_N_S_F_E_R__E_I_D__K_E_I_N_C_L_I_E_N_T = 610101520
    ERI_C__T_R_A_N_S_F_E_R__E_I_D__C_L_I_E_N_T_F_E_H_L_E_R = 610101521
    ERI_C__T_R_A_N_S_F_E_R__E_I_D__F_E_H_L_E_N_D_E_F_E_L_D_E_R = 610101522
    ERI_C__T_R_A_N_S_F_E_R__E_I_D__I_D_E_N_T_I_F_I_K_A_T_I_O_N_A_B_G_E_B_R_O_C_H_E_N = 610101523
    ERI_C__T_R_A_N_S_F_E_R__E_I_D__N_P_A_B_L_O_C_K_I_E_R_T = 610101524
    ERI_C__C_R_Y_P_T__E_R_R_O_R__C_R_E_A_T_E__K_E_Y = 610201016
    ERI_C__C_R_Y_P_T__E__I_N_V_A_L_I_D__H_A_N_D_L_E = 610201101
    ERI_C__C_R_Y_P_T__E__M_A_X__S_E_S_S_I_O_N = 610201102
    ERI_C__C_R_Y_P_T__E__B_U_S_Y = 610201103
    ERI_C__C_R_Y_P_T__E__O_U_T__O_F__M_E_M = 610201104
    ERI_C__C_R_Y_P_T__E__P_S_E__P_A_T_H = 610201105
    ERI_C__C_R_Y_P_T__E__P_I_N__W_R_O_N_G = 610201106
    ERI_C__C_R_Y_P_T__E__P_I_N__L_O_C_K_E_D = 610201107
    ERI_C__C_R_Y_P_T__E__P7__R_E_A_D = 610201108
    ERI_C__C_R_Y_P_T__E__P7__D_E_C_O_D_E = 610201109
    ERI_C__C_R_Y_P_T__E__P7__R_E_C_I_P_I_E_N_T = 610201110
    ERI_C__C_R_Y_P_T__E__P12__R_E_A_D = 610201111
    ERI_C__C_R_Y_P_T__E__P12__D_E_C_O_D_E = 610201112
    ERI_C__C_R_Y_P_T__E__P12__S_I_G__K_E_Y = 610201113
    ERI_C__C_R_Y_P_T__E__P12__E_N_C__K_E_Y = 610201114
    ERI_C__C_R_Y_P_T__E__P11__S_I_G__K_E_Y = 610201115
    ERI_C__C_R_Y_P_T__E__P11__E_N_C__K_E_Y = 610201116
    ERI_C__C_R_Y_P_T__E__X_M_L__P_A_R_S_E = 610201117
    ERI_C__C_R_Y_P_T__E__X_M_L__S_I_G__A_D_D = 610201118
    ERI_C__C_R_Y_P_T__E__X_M_L__S_I_G__T_A_G = 610201119
    ERI_C__C_R_Y_P_T__E__X_M_L__S_I_G__S_I_G_N = 610201120
    ERI_C__C_R_Y_P_T__E__E_N_C_O_D_E__U_N_K_N_O_W_N = 610201121
    ERI_C__C_R_Y_P_T__E__E_N_C_O_D_E__E_R_R_O_R = 610201122
    ERI_C__C_R_Y_P_T__E__X_M_L__I_N_I_T = 610201123
    ERI_C__C_R_Y_P_T__E__E_N_C_R_Y_P_T = 610201124
    ERI_C__C_R_Y_P_T__E__D_E_C_R_Y_P_T = 610201125
    ERI_C__C_R_Y_P_T__E__P11__S_L_O_T__E_M_P_T_Y = 610201126
    ERI_C__C_R_Y_P_T__E__N_O__S_I_G__E_N_C__K_E_Y = 610201127
    ERI_C__C_R_Y_P_T__E__L_O_A_D__D_L_L = 610201128
    ERI_C__C_R_Y_P_T__E__N_O__S_E_R_V_I_C_E = 610201129
    ERI_C__C_R_Y_P_T__E__E_S_I_C_L__E_X_C_E_P_T_I_O_N = 610201130
    ERI_C__C_R_Y_P_T__E__T_O_K_E_N__T_Y_P_E__M_I_S_M_A_T_C_H = 610201144
    ERI_C__C_R_Y_P_T__E__P12__C_R_E_A_T_E = 610201146
    ERI_C__C_R_Y_P_T__E__V_E_R_I_F_Y__C_E_R_T__C_H_A_I_N = 610201147
    ERI_C__C_R_Y_P_T__E__P11__E_N_G_I_N_E__L_O_A_D_E_D = 610201148
    ERI_C__C_R_Y_P_T__E__U_S_E_R__C_A_N_C_E_L = 610201149
    ERI_C__C_R_Y_P_T__Z_E_R_T_I_F_I_K_A_T = 610201200
    ERI_C__C_R_Y_P_T__S_I_G_N_A_T_U_R = 610201201
    ERI_C__C_R_Y_P_T__N_I_C_H_T__U_N_T_E_R_S_T_U_E_T_Z_T_E_S__P_S_E__F_O_R_M_A_T = 610201203
    ERI_C__C_R_Y_P_T__P_I_N__B_E_N_O_E_T_I_G_T = 610201205
    ERI_C__C_R_Y_P_T__P_I_N__S_T_A_E_R_K_E__N_I_C_H_T__A_U_S_R_E_I_C_H_E_N_D = 610201206
    ERI_C__C_R_Y_P_T__E__I_N_T_E_R_N = 610201208
    ERI_C__C_R_Y_P_T__Z_E_R_T_I_F_I_K_A_T_S_P_F_A_D__K_E_I_N__V_E_R_Z_E_I_C_H_N_I_S = 610201209
    ERI_C__C_R_Y_P_T__Z_E_R_T_I_F_I_K_A_T_S_D_A_T_E_I__E_X_I_S_T_I_E_R_T__B_E_R_E_I_T_S = 610201210
    ERI_C__C_R_Y_P_T__P_I_N__E_N_T_H_A_E_L_T__U_N_G_U_E_L_T_I_G_E__Z_E_I_C_H_E_N = 610201211
    ERI_C__C_R_Y_P_T__E__I_N_V_A_L_I_D__P_A_R_A_M__A_B_C = 610201212
    ERI_C__C_R_Y_P_T__C_O_R_R_U_P_T_E_D = 610201213
    ERI_C__C_R_Y_P_T__E_I_D_K_A_R_T_E__N_I_C_H_T__U_N_T_E_R_S_T_U_E_T_Z_T = 610201214
    ERI_C__C_R_Y_P_T__E__S_C__S_L_O_T__E_M_P_T_Y = 610201215
    ERI_C__C_R_Y_P_T__E__S_C__N_O__A_P_P_L_E_T = 610201216
    ERI_C__C_R_Y_P_T__E__S_C__S_E_S_S_I_O_N = 610201217
    ERI_C__C_R_Y_P_T__E__P11__N_O__S_I_G__C_E_R_T = 610201218
    ERI_C__C_R_Y_P_T__E__P11__I_N_I_T__F_A_I_L_E_D = 610201219
    ERI_C__C_R_Y_P_T__E__P11__N_O__E_N_C__C_E_R_T = 610201220
    ERI_C__C_R_Y_P_T__E__P12__N_O__S_I_G__C_E_R_T = 610201221
    ERI_C__C_R_Y_P_T__E__P12__N_O__E_N_C__C_E_R_T = 610201222
    ERI_C__C_R_Y_P_T__E__S_C__E_N_C__K_E_Y = 610201223
    ERI_C__C_R_Y_P_T__E__S_C__N_O__S_I_G__C_E_R_T = 610201224
    ERI_C__C_R_Y_P_T__E__S_C__N_O__E_N_C__C_E_R_T = 610201225
    ERI_C__C_R_Y_P_T__E__S_C__I_N_I_T__F_A_I_L_E_D = 610201226
    ERI_C__C_R_Y_P_T__E__S_C__S_I_G__K_E_Y = 610201227
    ERI_C__I_O__F_E_H_L_E_R = 610301001
    ERI_C__I_O__D_A_T_E_I__I_N_K_O_R_R_E_K_T = 610301005
    ERI_C__I_O__P_A_R_S_E__F_E_H_L_E_R = 610301006
    ERI_C__I_O__N_D_S__G_E_N_E_R_I_E_R_U_N_G__F_E_H_L_G_E_S_C_H_L_A_G_E_N = 610301007
    ERI_C__I_O__M_A_S_T_E_R_D_A_T_E_N_S_E_R_V_I_C_E__N_I_C_H_T__V_E_R_F_U_E_G_B_A_R = 610301010
    ERI_C__I_O__S_T_E_U_E_R_Z_E_I_C_H_E_N__I_M__N_D_S = 610301014
    ERI_C__I_O__V_E_R_S_I_O_N_S_I_N_F_O_R_M_A_T_I_O_N_E_N__N_I_C_H_T__G_E_F_U_N_D_E_N = 610301031
    ERI_C__I_O__F_A_L_S_C_H_E_S__V_E_R_F_A_H_R_E_N = 610301104
    ERI_C__I_O__R_E_A_D_E_R__M_E_H_R_F_A_C_H_E__S_T_E_U_E_R_F_A_E_L_L_E = 610301105
    ERI_C__I_O__R_E_A_D_E_R__U_N_E_R_W_A_R_T_E_T_E__E_L_E_M_E_N_T_E = 610301106
    ERI_C__I_O__R_E_A_D_E_R__F_O_R_M_A_L_E__F_E_H_L_E_R = 610301107
    ERI_C__I_O__R_E_A_D_E_R__F_A_L_S_C_H_E_S__E_N_C_O_D_I_N_G = 610301108
    ERI_C__I_O__R_E_A_D_E_R__M_E_H_R_F_A_C_H_E__N_U_T_Z_D_A_T_E_N__E_L_E_M_E_N_T_E = 610301109
    ERI_C__I_O__R_E_A_D_E_R__M_E_H_R_F_A_C_H_E__N_U_T_Z_D_A_T_E_N_B_L_O_C_K__E_L_E_M_E_N_T_E = 610301110
    ERI_C__I_O__U_N_B_E_K_A_N_N_T_E__D_A_T_E_N_A_R_T = 610301111
    ERI_C__I_O__R_E_A_D_E_R__U_N_T_E_R_S_A_C_H_B_E_R_E_I_C_H__U_N_G_U_E_L_T_I_G = 610301114
    ERI_C__I_O__R_E_A_D_E_R__Z_U__V_I_E_L_E__N_U_T_Z_D_A_T_E_N_B_L_O_C_K__E_L_E_M_E_N_T_E = 610301115
    ERI_C__I_O__R_E_A_D_E_R__S_T_E_U_E_R_Z_E_I_C_H_E_N__I_M__T_R_A_N_S_F_E_R_H_E_A_D_E_R = 610301150
    ERI_C__I_O__R_E_A_D_E_R__S_T_E_U_E_R_Z_E_I_C_H_E_N__I_M__N_U_T_Z_D_A_T_E_N_H_E_A_D_E_R = 610301151
    ERI_C__I_O__R_E_A_D_E_R__S_T_E_U_E_R_Z_E_I_C_H_E_N__I_N__D_E_N__N_U_T_Z_D_A_T_E_N = 610301152
    ERI_C__I_O__R_E_A_D_E_R__Z_U__V_I_E_L_E__A_N_H_A_E_N_G_E = 610301190
    ERI_C__I_O__R_E_A_D_E_R__A_N_H_A_N_G__Z_U__G_R_O_S_S = 610301191
    ERI_C__I_O__R_E_A_D_E_R__A_N_H_A_E_N_G_E__Z_U__G_R_O_S_S = 610301192
    ERI_C__I_O__R_E_A_D_E_R__S_C_H_E_M_A__V_A_L_I_D_I_E_R_U_N_G_S_F_E_H_L_E_R = 610301200
    ERI_C__I_O__R_E_A_D_E_R__U_N_B_E_K_A_N_N_T_E__X_M_L__E_N_T_I_T_Y = 610301201
    ERI_C__I_O__D_A_T_E_N_T_E_I_L_N_O_T_F_O_U_N_D = 610301252
    ERI_C__I_O__D_A_T_E_N_T_E_I_L_E_N_D_N_O_T_F_O_U_N_D = 610301253
    ERI_C__I_O__U_E_B_E_R_G_A_B_E_P_A_R_A_M_E_T_E_R__F_E_H_L_E_R_H_A_F_T = 610301300
    ERI_C__I_O__U_N_G_U_E_L_T_I_G_E__U_T_F8__S_E_Q_U_E_N_Z = 610301400
    ERI_C__I_O__U_N_G_U_E_L_T_I_G_E__Z_E_I_C_H_E_N__I_N__P_A_R_A_M_E_T_E_R = 610301401
    ERI_C__P_R_I_N_T__I_N_T_E_R_N_E_R__F_E_H_L_E_R = 610501001
    ERI_C__P_R_I_N_T__D_R_U_C_K_V_O_R_L_A_G_E__N_I_C_H_T__G_E_F_U_N_D_E_N = 610501002
    ERI_C__P_R_I_N_T__U_N_G_U_E_L_T_I_G_E_R__D_A_T_E_I__P_F_A_D = 610501004
    ERI_C__P_R_I_N_T__I_N_I_T_I_A_L_I_S_I_E_R_U_N_G__F_E_H_L_E_R_H_A_F_T = 610501007
    ERI_C__P_R_I_N_T__A_U_S_G_A_B_E_Z_I_E_L__U_N_B_E_K_A_N_N_T = 610501008
    ERI_C__P_R_I_N_T__A_B_B_R_U_C_H__D_R_U_C_K_V_O_R_B_E_R_E_I_T_U_N_G = 610501009
    ERI_C__P_R_I_N_T__A_B_B_R_U_C_H__G_E_N_E_R_I_E_R_U_N_G = 610501010
    ERI_C__P_R_I_N_T__S_T_E_U_E_R_F_A_L_L__N_I_C_H_T__U_N_T_E_R_S_T_U_E_T_Z_T = 610501011
    ERI_C__P_R_I_N_T__F_U_S_S_T_E_X_T__Z_U__L_A_N_G = 610501012


# @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.", Name="StatusCode")
    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.", Name="StatusText")
    status_text: Optional[str] = None
    """
    The status message that the ERiC API function returns.
    """


    # @ApiMember(Description="The unique identifier of the response.", Name="Id")
    id: Optional[str] = None
    """
    The unique identifier of the response.
    """


    # @ApiMember(Description="The position of the response element in an indexed collection.", Name="Index")
    index: int = 0
    """
    The position of the response element in an indexed collection.
    """


    # @ApiMember(Description="Metadata that contains structured error information on the service response.", Name="ResponseStatus")
    response_status: Optional[ResponseStatus] = None
    """
    Metadata that contains structured error information on the service response.
    """


# @Api(Description="Represents information returned from a successful tax declaration process.")
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class Erfolg:
    """
    Represents information returned from a successful tax declaration process.
    """

    # @ApiMember(Description="The generated tele-number for the successful tax declaration process.")
    telenummer: Optional[List[str]] = None
    """
    The generated tele-number for the successful tax declaration process.
    """


    # @ApiMember(Description="The classification key for the successful tax declaration process.")
    ordnungsbegriffe: Optional[List[str]] = None
    """
    The classification key for the successful tax declaration process.
    """


# @Api(Description="Represents information on the delivery.")
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class Transfer:
    """
    Represents information on the delivery.
    """

    # @ApiMember(Description="The ticket of the transfer.")
    transfer_ticket: Optional[str] = None
    """
    The ticket of the transfer.
    """


# @Api(Description="Represents information on all data deliveries, including deliveries that have not been confirmed by the server. For more information, see the ERiC developer manual in the 'TransferTicket' section.")
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class Transfers:
    """
    Represents information on all data deliveries, including deliveries that have not been confirmed by the server. For more information, see the ERiC developer manual in the 'TransferTicket' section.
    """

    # @ApiMember(Description="Contains information on all data deliveries, including deliveries that have not been confirmed by the server.")
    transfer_list: Optional[List[Transfer]] = None
    """
    Contains information on all data deliveries, including deliveries that have not been confirmed by the server.
    """


# @Api(Description="Represents value of an index field, which identfies the context about an error message.")
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class SemantischerIndex:
    """
    Represents value of an index field, which identfies the context about an error message.
    """

    # @ApiMember(Description="The name of the index field.")
    name: Optional[str] = None
    """
    The name of the index field.
    """


    # @ApiMember(Description="The value of the index field.")
    value: Optional[str] = None
    """
    The value of the index field.
    """


# @Api(Description="Represents information on an ERiC reference.")
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class FehlerRegelpruefung:
    """
    Represents information on an ERiC reference.
    """

    # @ApiMember(Description="The user data ticket of the reference.")
    nutzdatenticket: Optional[str] = None
    """
    The user data ticket of the reference.
    """


    # @ApiMember(Description="The field identifier of the reference.")
    feldidentifikator: Optional[str] = None
    """
    The field identifier of the reference.
    """


    # @ApiMember(Description="The multi-line index of the reference.")
    mehrfachzeilenindex: Optional[str] = None
    """
    The multi-line index of the reference.
    """


    # @ApiMember(Description="The delivery number form of the reference.")
    lfd_nr_vordruck: Optional[str] = None
    """
    The delivery number form of the reference.
    """


    # @ApiMember(Description="Indicates the line number of the error field mentioned in the form.")
    vordruck_zeilennummer: Optional[str] = None
    """
    Indicates the line number of the error field mentioned in the form.
    """


    # @ApiMember(Description="Specifies the value of one or more index fields that identify the context of error messages.")
    semantische_indexes: Optional[List[SemantischerIndex]] = None
    """
    Specifies the value of one or more index fields that identify the context of error messages.
    """


    # @ApiMember(Description="The sub-subject-area of the reference.")
    untersachbereich: Optional[str] = None
    """
    The sub-subject-area of the reference.
    """


    # @ApiMember(Description="The private identification number of the reference.")
    private_kennnummer: Optional[str] = None
    """
    The private identification number of the reference.
    """


    # @ApiMember(Description="The name of the rule that applies to the reference.")
    regel_name: Optional[str] = None
    """
    The name of the rule that applies to the reference.
    """


    # @ApiMember(Description="The technical error identifier of the reference.")
    fachliche_fehler_id: Optional[str] = None
    """
    The technical error identifier of the reference.
    """


    # @ApiMember(Description="The textual details of the reference.")
    text: Optional[str] = None
    """
    The textual details of the reference.
    """


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class Hinweis:
    # @ApiMember(Description="The user data ticket of the reference.")
    nutzdatenticket: Optional[str] = None
    """
    The user data ticket of the reference.
    """


    # @ApiMember(Description="The field identifier of the reference.")
    feldidentifikator: Optional[str] = None
    """
    The field identifier of the reference.
    """


    # @ApiMember(Description="The multi-line index of the reference.")
    mehrfachzeilenindex: Optional[str] = None
    """
    The multi-line index of the reference.
    """


    # @ApiMember(Description="The delivery number form of the reference.")
    lfd_nr_vordruck: Optional[str] = None
    """
    The delivery number form of the reference.
    """


    # @ApiMember(Description="Indicates the line number of the error field mentioned in the form.")
    vordruck_zeilennummer: Optional[str] = None
    """
    Indicates the line number of the error field mentioned in the form.
    """


    # @ApiMember(Description="Specifies the value of one or more index fields that identify the context of error messages.")
    semantische_indexes: Optional[List[SemantischerIndex]] = None
    """
    Specifies the value of one or more index fields that identify the context of error messages.
    """


    # @ApiMember(Description="The sub-subject-area of the reference.")
    untersachbereich: Optional[str] = None
    """
    The sub-subject-area of the reference.
    """


    # @ApiMember(Description="The private identification number of the reference.")
    private_kennnummer: Optional[str] = None
    """
    The private identification number of the reference.
    """


    # @ApiMember(Description="The name of the rule that applies to the reference.")
    regel_name: Optional[str] = None
    """
    The name of the rule that applies to the reference.
    """


    # @ApiMember(Description="The technical note identifier of the reference.")
    fachliche_hinweis_id: Optional[str] = None
    """
    The technical note identifier of the reference.
    """


    # @ApiMember(Description="The textual details of the reference.")
    text: Optional[str] = None
    """
    The textual details of the reference.
    """


# @Api(Description="Represents a structure that contains the first output of the ERiC tax data submission process.")
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class EricBearbeiteVorgang:
    """
    Represents a structure that contains the first output of the ERiC tax data submission process.
    """

    # @ApiMember(Description="Information from the successful processing a tax declaration.")
    erfolg: Optional[Erfolg] = None
    """
    Information from the successful processing a tax declaration.
    """


    # @ApiMember(Description="Gets or sets information on all data deliveries, including deliveries that have not been confirmed by the server.")
    transfers: Optional[Transfers] = None
    """
    Gets or sets information on all data deliveries, including deliveries that have not been confirmed by the server.
    """


    # @ApiMember(Description="Error rules that result from the processing of a tax declaration.")
    fehler_regelpruefungen: Optional[List[FehlerRegelpruefung]] = None
    """
    Error rules that result from the processing of a tax declaration.
    """


    # @ApiMember(Description="Hints that result the processing of a tax declaration.")
    hinweise: Optional[List[Hinweis]] = None
    """
    Hints that result the processing of a tax declaration.
    """


class Verfahren(str, Enum):
    """
    Auflistung der gültigen Verfahren
    """

    ELSTER_ANMELDUNG = 'ElsterAnmeldung'
    ELSTER_BEREITSTELLUNG = 'ElsterBereitstellung'
    ELSTER_BILANZ = 'ElsterBilanz'
    ELSTER_B_R_M = 'ElsterBRM'
    ELSTER_B_R_M_ORG = 'ElsterBRMOrg'
    ELSTER_DATENABHOLUNG = 'ElsterDatenabholung'
    ELSTER_ERKLAERUNG = 'ElsterErklaerung'
    ELSTER_EXTERN = 'ElsterExtern'
    ELSTER_F_S_E = 'ElsterFSE'
    ELSTER_KAP_E_ST = 'ElsterKapESt'
    ELSTER_K_M_V = 'ElsterKMV'
    ELSTER_KONTOABFRAGE = 'ElsterKontoabfrage'
    ELSTER_LAVENDEL = 'ElsterLavendel'
    ELSTER_LOHN = 'ElsterLohn'
    ELSTER_LOHN2 = 'ElsterLohn2'
    ELSTER_NACHRICHT = 'ElsterNachricht'
    ELSTER_SIGNATUR = 'ElsterSignatur'
    ELSTER_VOLLMACHT_D_B = 'ElsterVollmachtDB'


class Datenart(str, Enum):
    """
    Auflistung aller gültigen Datenarten.
    """

    ANLAGE34A = 'Anlage34a'
    ANPASSUNG_VORAUSZAHLUNG = 'AnpassungVorauszahlung'
    ANTRAG_U_ST_VERGUETUNG4A = 'AntragUStVerguetung4a'
    ABRUFCODE_ANTRAG = 'AbrufcodeAntrag'
    AENDERUNG_ADRESSE = 'AenderungAdresse'
    ABRUFCODE_STORNO = 'AbrufcodeStorno'
    ABRUFVOLLMACHT_ANLAGE = 'AbrufvollmachtAnlage'
    ABRUFVOLLMACHT_UPDATE = 'AbrufvollmachtUpdate'
    AENDERUNG_BANKVERBINDUNG = 'AenderungBankverbindung'
    ANTRAEGE_RECHTE_LOESCHEN = 'AntraegeRechteLoeschen'
    ANTRAEGE_UND_RECHTE = 'AntraegeUndRechte'
    AUFZEICHNUNG146A = 'Aufzeichnung146a'
    BET_P_G = 'BetPG'
    BILANZ = 'Bilanz'
    BELEGNACHREICHUNG = 'Belegnachreichung'
    BSB_MITTEILUNG = 'BSBMitteilung'
    BZ_ST2 = 'BZSt2'
    C19_MITTEILUNG = 'C19Mitteilung'
    D_UE_ABMELDEN = 'DUeAbmelden'
    D_UE_ANMELDEN = 'DUeAnmelden'
    D_UE_UMMELDEN = 'DUeUmmelden'
    EINSPRUCH = 'Einspruch'
    EINSPRUCH_NACHTRAG = 'EinspruchNachtrag'
    EINSPRUCH_RUECKNAHME = 'EinspruchRuecknahme'
    E_LE_V_ANTRAG_E_L_ST_A_M = 'ELeVAntragELStAM'
    E_LE_V_ERMAESSIGUNG = 'ELeVErmaessigung'
    E_LE_V_GETRENNTLEBEND = 'ELeVGetrenntlebend'
    E_LE_V_STEUERKLASSENWECHSEL = 'ELeVSteuerklassenwechsel'
    E_LE_V_WIEDERAUFNAHME_EHE = 'ELeVWiederaufnahmeEhe'
    EP_ANTWORT = 'EPAntwort'
    EP_BESCHEID = 'EPBescheid'
    EP_MITTEILUNG = 'EPMitteilung'
    EP_KURZMITTEILUNG = 'EPKurzmitteilung'
    ELSTER_ERKLAERUNG_DATEN = 'ElsterErklaerungDaten'
    ELSTER_K_M_V_DATEN = 'ElsterKMVDaten'
    ELSTER_LOHN2_DATEN = 'ElsterLohn2Daten'
    ELSTER_LOHN_DATEN = 'ElsterLohnDaten'
    ELSTER_VA_ST_DATEN = 'ElsterVaStDaten'
    ELSTER_D_I_V_A_DATEN = 'ElsterDIVADaten'
    ELSTER_D_I_V_DATEN = 'ElsterDIVDaten'
    ELSTER_E_P_BESCHEID_DATEN = 'ElsterEPBescheidDaten'
    ELSTER_E_P_MITTEILUNG_DATEN = 'ElsterEPMitteilungDaten'
    EP_ST_BESCHEID_ABHOLUNG = 'EPStBescheidAbholung'
    EP_ST_MITTEILUNG_ABHOLUNG = 'EPStMitteilungAbholung'
    ERBSCHAFTSTEUER = 'Erbschaftsteuer'
    E_ST = 'ESt'
    E_STBESCHRAENKT = 'EStbeschraenkt'
    EUER = 'EUER'
    E_UN = 'EUn'
    FEIN = 'FEIN'
    FORSCHUNG_ZUL_ANTRAG = 'ForschungZulAntrag'
    K_ST_ANTRAG_OPTION_PERS_G = 'KStAntragOptionPersG'
    FLH_MITTEILUNG = 'FLHMitteilung'
    FREISTELLUNG_KAPITALERTRAEGE_B_V = 'FreistellungKapitalertraegeBV'
    FRISTVERLAENGERUNG = 'Fristverlaengerung'
    FS_E_VEREIN = 'FsEVerein'
    GEWERBEMELDUNG = 'Gewerbemeldung'
    GDB_MITTEILUNG = 'GDBMitteilung'
    GEWINNERMITTLUNG13A_E_ST_G = 'Gewinnermittlung13aEStG'
    GEW_ST = 'GewSt'
    GEW_ST_Z = 'GewStZ'
    GRUNDSTEUER_B_W = 'GrundsteuerBW'
    GRUNDSTEUER_B_Y = 'GrundsteuerBY'
    GRUNDSTEUER_H_E = 'GrundsteuerHE'
    GRUNDSTEUER_H_H = 'GrundsteuerHH'
    GRUNDSTEUER_N_I = 'GrundsteuerNI'
    GRUNDSTEUERWERT = 'Grundsteuerwert'
    INV_ST_G56_ABS5 = 'InvStG56Abs5'
    INV_ST_G51_FESTSTELLUNG = 'InvStG51Feststellung'
    KAP_E_ST_A = 'KapEStA'
    KAP_E_ST_INV_ST_G = 'KapEStInvStG'
    KAP_G = 'KapG'
    KAP_G_AUS = 'KapGAus'
    KKV_MITTEILUNG = 'KKVMitteilung'
    KONTOABFRAGE = 'Kontoabfrage'
    KONTOINFORMATION = 'Kontoinformation'
    K_ST = 'KSt'
    K_ST_Z = 'KStZ'
    KTT_ANMELDUNG_H_H = 'KTTAnmeldungHH'
    KTT_ANZEIGE_H_H = 'KTTAnzeigeHH'
    LOHNERSATZLEISTUNG = 'Lohnersatzleistung'
    LOHNERSATZ_MITTEILUNG = 'LohnersatzMitteilung'
    L_ST_A = 'LStA'
    L_ST_B = 'LStB'
    L_ST_H_V_V_M_ANLAGE = 'LStHVVMAnlage'
    L_ST_H_V_V_M_UPDATE = 'LStHVVMUpdate'
    OGH_MITTEILUNG = 'OGHMitteilung'
    VERMOEGENSWIRKSAME_LEISTUNG = 'VermoegenswirksameLeistung'
    VM_WIDERRUF = 'VMWiderruf'
    VOLLMACHT_DETAILS = 'VollmachtDetails'
    V_NO_V_M_V_REGISTRIERUNG = 'VNoVMVRegistrierung'
    V_NO_V_M_V_UPDATE = 'VNoVMVUpdate'
    V_NO_V_M_V_LOESCHUNG = 'VNoVMVLoeschung'
    VOLLF_A_ANLAGE = 'VollfAAnlage'
    VOLLF_A_UPDATE = 'VollfAUpdate'
    V_MO_V_M_V_ST_B_ANLAGE = 'VMoVMVStBAnlage'
    V_MO_V_M_V_ST_B_UPDATE = 'VMoVMVStBUpdate'
    V_MO_V_M_V_FREISCHALTUNG = 'VMoVMVFreischaltung'
    VAG_MITTEILUNG = 'VAGMitteilung'
    DIVA_DATEN_B_Z_ST = 'DIVADatenBZSt'
    DIVA_EINWILLIGUNG_ANLAGE_B_R_M = 'DivaEinwilligungAnlageBRM'
    DIVA_EINWILLIGUNG_FREISCH = 'DivaEinwilligungFreisch'
    DIVA_EINWILLIGUNG_UPDATE_B_R_M = 'DivaEinwilligungUpdateBRM'
    DIVA_WIDERRUF_B_R_M = 'DivaWiderrufBRM'
    DIVA_ERGEBNISLISTE = 'DivaErgebnisliste'
    L_ST_H_V_DIVA_ADRESSE_B_R_M = 'LStHVDivaAdresseBRM'
    VM_ERGEBNIS_LISTE_V_N_SICHT = 'VMErgebnisListeVNSicht'
    PERS_G = 'PersG'
    POSTFACH_ANFRAGE = 'PostfachAnfrage'
    POSTFACH_STATUS = 'PostfachStatus'
    PROTOKOLL_ANFORDERUNG = 'ProtokollAnforderung'
    REGISTRIERUNG = 'Registrierung'
    SCHENKUNGSTEUER = 'Schenkungsteuer'
    SONSTIGE_NACHRICHTEN = 'SonstigeNachrichten'
    SPEZ_RECHT_ANTRAG = 'SpezRechtAntrag'
    SPEZ_RECHT_FREISCHALTUNG = 'SpezRechtFreischaltung'
    SPEZ_RECHT_LISTE = 'SpezRechtListe'
    SPEZ_RECHT_STORNO = 'SpezRechtStorno'
    SPEZ_RECHT_TEILNAHME = 'SpezRechtTeilnahme'
    ST_AB50A = 'StAb50a'
    STATUSABFRAGE = 'Statusabfrage'
    UNENTGELTLICHE_DEPOTUEBERTRAGUNG = 'UnentgeltlicheDepotuebertragung'
    UENST_ANMELDUNG_B_E = 'UENSTAnmeldungBE'
    UENST_ANZEIGE_B_E = 'UENSTAnzeigeBE'
    U_ST = 'USt'
    U_ST_V_A = 'UStVA'
    U_ST_D_V = 'UStDV'
    U_ST_S_V = 'UStSV'
    VGN_ANMELDUNG_H_B = 'VGNAnmeldungHB'
    VGN_ANMELDUNG_B_E = 'VGNAnmeldungBE'
    VGN_ANMELDUNG_H_H = 'VGNAnmeldungHH'
    VGN_ANZEIGE_H_H = 'VGNAnzeigeHH'
    WTB_ANMELDUNG_H_B = 'WTBAnmeldungHB'
    ZMDO = 'ZMDO'
    ELSTER_VOLLMACHT_DATEN = 'ElsterVollmachtDaten'
    MITTEILUNG_ABHOLUNG = 'MitteilungAbholung'


class Vorgang(str, Enum):
    """
    Hauptinformation ob die Daten authentifiziert wurden (send-Auth) oder nicht (send-NoSig)
    """

    SEND__AUTH = 'Send_Auth'
    SEND__AUTH__PART = 'Send_Auth_Part'
    SEND__NO_SIG = 'Send_NoSig'
    SEND__NO_SIG__PART = 'Send_NoSig_Part'


class Testmerker(IntEnum):
    """
    Kennzeichnung der Datenlieferung ob es sich um einen Testfall handelt, gilt fuer die gesamte Datenlieferung. Ein Echtfall enthält dieses Element nicht. Ein Testfall muss mit einem Testmerker versehen werden, damit er nicht wie ein Echtfall verarbeitet wird. Handelt es sich um Daten, die nur zum Testen des Frontends versendet wurden, müssen sie nicht mehr weiter verarbeitet werden.
    """

    T_M010000001 = 10000001
    T_M080000001 = 80000001
    T_M160000001 = 160000001
    T_M160000002 = 160000002
    T_M220000000 = 220000000
    T_M220002000 = 220002000
    T_M230000001 = 230000001
    T_M240000000 = 240000000
    T_M370000001 = 370000001
    T_M520000000 = 520000000
    T_M700000001 = 700000001
    T_M700000004 = 700000004


# @Api(Description="Represents the signature and associated information of the compressed, encrypted, base64-encoded content of the data part of the tax declaration/statement.")
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class SigUser:
    """
    Represents the signature and associated information of the compressed, encrypted, base64-encoded content of the data part of the tax declaration/statement.
    """

    # @ApiMember(Description="The content of the data. Currently supported: Raw XML (text), XElement or IXmlSerializable")
    inhalt: Optional[Object] = None
    """
    The content of the data. Currently supported: Raw XML (text), XElement or IXmlSerializable
    """


class Bundesland(str, Enum):
    """
    Einheitliche Abkürzungen fuer die Bundesländer bzw. alternative Empfänger
    """

    BW = 'BW'
    BY = 'BY'
    BE = 'BE'
    BB = 'BB'
    HB = 'HB'
    HH = 'HH'
    HE = 'HE'
    MV = 'MV'
    NI = 'NI'
    NW = 'NW'
    RP = 'RP'
    SL = 'SL'
    SN = 'SN'
    ST = 'ST'
    SH = 'SH'
    TH = 'TH'
    EC = 'EC'
    BF = 'BF'
    CS = 'CS'
    CD = 'CD'
    CM = 'CM'
    CN = 'CN'
    DS = 'DS'
    OP = 'OP'
    TK = 'TK'
    ZF = 'ZF'


# @Api(Description="Represents a receiver of tax data.")
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class Empfaenger:
    """
    Represents a receiver of tax data.
    """

    # @ApiMember(Description="The identifier of the receiver.")
    id: Optional[str] = None
    """
    The identifier of the receiver.
    """


    # @ApiMember(Description="The destination of the receiver.")
    ziel: Optional[Bundesland] = None
    """
    The destination of the receiver.
    """


class Verschluesselungsart(str, Enum):
    """
    Protokoll der Verschluesselung. Es kann vorkommen, dass verschieden Verschluesselungsarten eingesetzt werden, eine Unterscheidung ist hier nötig, um das richtige Entschluesselungstool anzusteuern. Mit welcher Verschluesselungsart wurden die Inhalte von den Elementen 'DatenLieferant' und ggf. 'SigUser' im TransferHeader und dem Element 'DatenTeil' verschluesselt
    """

    PKC_S_7V1_5 = 'PKCS_7v1_5'
    PKC_S_7V1_5ENVELOPED = 'PKCS_7v1_5enveloped'
    N_O__B_A_S_E64 = 'NO_BASE64'
    CMS_ENCRYPTED_DATA = 'CMSEncryptedData'
    CMS_ENVELOPED_DATA = 'CMSEnvelopedData'
    ENVELOPED_DATA___R_S_A__O_A_E_P___A_E_S_128___G_ZIP___B64 = 'EnvelopedData__RSA_OAEP__AES_128__GZip__B64'


class Kompression(str, Enum):
    """
    Mit welcher Kompression wurden die Inhalte von den Elementen DatenLieferant und ggf. SigUser im TransferHeader und dem Element DatenTeil komprimiert.
    """

    GZIP = 'GZIP'
    N_O__B_A_S_E64 = 'NO_BASE64'


# @Api(Description="[Documentation unavailable]")
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class EricTyp:
    """
    [Documentation unavailable]
    """

    # @ApiMember(Description="The content of the data. Currently supported: Raw XML (text), XmlElement, XElement or IXmlSerializable")
    inhalt: Optional[Object] = None
    """
    The content of the data. Currently supported: Raw XML (text), XmlElement, XElement or IXmlSerializable
    """


# @Api(Description="[Documentation unavailable]")
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class Erstellung:
    """
    [Documentation unavailable]
    """

    # @ApiMember(Description="[Documentation unavailable]")
    eric: Optional[EricTyp] = None
    """
    [Documentation unavailable]
    """


# @Api(Description="Represents information on the encryption of tax data.")
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class Datei:
    """
    Represents information on the encryption of tax data.
    """

    # @ApiMember(Description="The type of data encryption used.")
    verschluesselung: Optional[Verschluesselungsart] = None
    """
    The type of data encryption used.
    """


    # @ApiMember(Description="The type of data compression used.")
    kompression: Optional[Kompression] = None
    """
    The type of data compression used.
    """


    # @ApiMember(Description="The transport key used in the encryption.")
    transport_schluessel: Optional[str] = None
    """
    The transport key used in the encryption.
    """


    # @ApiMember(Description="[Documentation unavailable]")
    erstellung: Optional[Erstellung] = None
    """
    [Documentation unavailable]
    """


# @Api(Description="Represents an external error stack.")
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class Rueckgabe:
    """
    Represents an external error stack.
    """

    # @ApiMember(Description="The external error code. Either a zero (0) if no external errors occurred; otherwise an error number.")
    code: Optional[str] = None
    """
    The external error code. Either a zero (0) if no external errors occurred; otherwise an error number.
    """


    # @ApiMember(Description="The external error message.")
    text: Optional[str] = None
    """
    The external error message.
    """


# @Api(Description="Represents an internal error stack.")
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class Stack:
    """
    Represents an internal error stack.
    """

    # @ApiMember(Description="The internal error code. Either a zero (0) if no internal errors occurred; otherwise an error number.")
    code: Optional[str] = None
    """
    The internal error code. Either a zero (0) if no internal errors occurred; otherwise an error number.
    """


    # @ApiMember(Description="The external error message.")
    text: Optional[str] = None
    """
    The external error message.
    """


# @Api(Description="Represents an ERiC return code.")
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class RC:
    """
    Represents an ERiC return code.
    """

    # @ApiMember(Description="The return value of the return code.")
    rueckgabe: Optional[Rueckgabe] = None
    """
    The return value of the return code.
    """


    # @ApiMember(Description="The internal value of the return code.")
    stack: Optional[Stack] = None
    """
    The internal value of the return code.
    """


# @Api(Description="Represents an ERiC extension.")
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class Zusatz:
    """
    Represents an ERiC extension.
    """

    # @ApiMember(Description="The user-customizable items for the extension. Data providers can use these items for their own extensions/information.")
    infos: Optional[List[str]] = None
    """
    The user-customizable items for the extension. Data providers can use these items for their own extensions/information.
    """


    # @ApiMember(Description="The ELSTER items for the extension. They can be included in the response XML from the ELSTER server, if special information must be returned to the user after data submission. For example, for authenticated submission, information about impending certificate expiration etc. It must not be supplied by the data provider (even when empty).")
    elster_infos: Optional[List[str]] = None
    """
    The ELSTER items for the extension. They can be included in the response XML from the ELSTER server, if special information must be returned to the user after data submission. For example, for authenticated submission, information about impending certificate expiration etc. It must not be supplied by the data provider (even when empty).
    """


# @Api(Description="Represents the transfer header part of an ELSTER document.")
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class TransferHeader:
    """
    Represents the transfer header part of an ELSTER document.
    """

    # @ApiMember(Description="The version of the transfer header.", IsRequired=true)
    version: Optional[str] = None
    """
    The version of the transfer header.
    """


    # @ApiMember(Description="The tax operation used in the ELSTER process.", IsRequired=true)
    verfahren: Optional[Verfahren] = None
    """
    The tax operation used in the ELSTER process.
    """


    # @ApiMember(Description="The tax data type of the ELSTER process.", IsRequired=true)
    daten_art: Optional[Datenart] = None
    """
    The tax data type of the ELSTER process.
    """


    # @ApiMember(Description="The authentification procedure of the ELSTER process.", IsRequired=true)
    vorgang: Optional[Vorgang] = None
    """
    The authentification procedure of the ELSTER process.
    """


    # @ApiMember(Description="The ticket identifier after a successful ELSTER process.")
    transfer_ticket: Optional[str] = None
    """
    The ticket identifier after a successful ELSTER process.
    """


    # @ApiMember(Description="The flag that indicates whether the tax declaration or filing is a test case. For production purposes, this value should not be set.")
    testmerker: Optional[Testmerker] = None
    """
    The flag that indicates whether the tax declaration or filing is a test case. For production purposes, this value should not be set.
    """


    # @ApiMember(Description="The signature and associated information on the compressed, encrypted, base64-encoded content of the the data part of a tax declaration / statement.")
    sig_user: Optional[SigUser] = None
    """
    The signature and associated information on the compressed, encrypted, base64-encoded content of the the data part of a tax declaration / statement.
    """


    # @ApiMember(Description="The receiving ELSTER server.")
    empfaenger: Optional[Empfaenger] = None
    """
    The receiving ELSTER server.
    """


    # @ApiMember(Description="The identifier of the software manufacturer, through whose software the tax declaration is filed.", IsRequired=true)
    hersteller_i_d: Optional[str] = None
    """
    The identifier of the software manufacturer, through whose software the tax declaration is filed.
    """


    # @ApiMember(Description="The details of the provider that submits tax data.", IsRequired=true)
    daten_lieferant: Optional[str] = None
    """
    The details of the provider that submits tax data.
    """


    # @ApiMember(Description="The date of receipt of the tax data.")
    eingangs_datum: Optional[datetime.datetime] = None
    """
    The date of receipt of the tax data.
    """


    # @ApiMember(Description="The encryption data required for authenticated transmission of tax data.")
    datei: Optional[Datei] = None
    """
    The encryption data required for authenticated transmission of tax data.
    """


    # @ApiMember(Description="The return code of the transfer header and is included in the response XML of the ELSTER server. The value should never be set by the data provider.")
    rc: Optional[RC] = None
    """
    The return code of the transfer header and is included in the response XML of the ELSTER server. The value should never be set by the data provider.
    """


    # @ApiMember(Description="The details of the software that submits the tax data.")
    version_client: Optional[str] = None
    """
    The details of the software that submits the tax data.
    """


    # @ApiMember(Description="Data extensions to the transfer header.")
    zusatz: Optional[Zusatz] = None
    """
    Data extensions to the transfer header.
    """


class EmpfaengerID(str, Enum):
    """
    Represents a receriver ID
    """

    L = 'L'
    F = 'F'


# @Api(Description="Represents a receiver of tax data.")
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class NDHEmpfaenger:
    """
    Represents a receiver of tax data.
    """

    # @ApiMember(Description="The identifier of the receiver.")
    id: Optional[EmpfaengerID] = None
    """
    The identifier of the receiver.
    """


    # @ApiMember(Description="The value of the receiver.")
    value: Optional[str] = None
    """
    The value of the receiver.
    """


# @Api(Description="Represents a manufacturer/vendor of tax software.")
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class Hersteller:
    """
    Represents a manufacturer/vendor of tax software.
    """

    # @ApiMember(Description="The product name of the tax software produced by the manufacturer.")
    produkt_name: Optional[str] = None
    """
    The product name of the tax software produced by the manufacturer.
    """


    # @ApiMember(Description="The product version of the tax software produced by the manufacturer.")
    produkt_version: Optional[str] = None
    """
    The product version of the tax software produced by the manufacturer.
    """


# @Api(Description="Represents the header of a tax data.")
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class NutzdatenHeader:
    """
    Represents the header of a tax data.
    """

    # @ApiMember(Description="The version of the header.", IsRequired=true)
    version: Optional[str] = None
    """
    The version of the header.
    """


    # @ApiMember(Description="The ticket identifier of the header.", IsRequired=true)
    nutzdaten_ticket: Optional[str] = None
    """
    The ticket identifier of the header.
    """


    # @ApiMember(Description="The receiver of the header.", IsRequired=true)
    empfaenger: Optional[NDHEmpfaenger] = None
    """
    The receiver of the header.
    """


    # @ApiMember(Description="The software manufacturer, through whose software the tax declaration or filing is submitted.", IsRequired=true)
    hersteller: Optional[Hersteller] = None
    """
    The software manufacturer, through whose software the tax declaration or filing is submitted.
    """


    # @ApiMember(Description="The details of the data provider (e.g. taxpayer, tax consulant or firm), who produced the tax data and it must not necessarily be the same person declared in the TransferHeader section.")
    daten_lieferant: Optional[str] = None
    """
    The details of the data provider (e.g. taxpayer, tax consulant or firm), who produced the tax data and it must not necessarily be the same person declared in the TransferHeader section.
    """


    # @ApiMember(Description="The return code of the header.")
    rc: Optional[RC] = None
    """
    The return code of the header.
    """


    # @ApiMember(Description="The data extensions of the header.")
    zusatz: Optional[Zusatz] = None
    """
    The data extensions of the header.
    """


# @Api(Description="Represents an encapsulation of tax data content.")
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class Nutzdaten:
    """
    Represents an encapsulation of tax data content.
    """

    # @ApiMember(Description="The content of the tax data. This varies by tax declaration. Currently supported formats: Raw XML (text), XElement, and IXmlSerializable", IsRequired=true)
    inhalt: Optional[Object] = None
    """
    The content of the tax data. This varies by tax declaration. Currently supported formats: Raw XML (text), XElement, and IXmlSerializable
    """


# @Api(Description="Represents a block of tax data.")
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class Nutzdatenblock:
    """
    Represents a block of tax data.
    """

    # @ApiMember(Description="The header part of the block.", IsRequired=true)
    nutzdaten_header: Optional[NutzdatenHeader] = None
    """
    The header part of the block.
    """


    # @ApiMember(Description="The data part of the block.", IsRequired=true)
    nutzdaten: Optional[Nutzdaten] = None
    """
    The data part of the block.
    """


# @Api(Description="Represents the data part of an ELSTER document.")
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class DatenTeil:
    """
    Represents the data part of an ELSTER document.
    """

    # @ApiMember(Description="The blocks of tax data of the ELSTER document.", IsRequired=true)
    nutzdatenbloecke: Optional[List[Nutzdatenblock]] = None
    """
    The blocks of tax data of the ELSTER document.
    """


# @Api(Description="Represents an ELSTER document.")
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class Elster:
    """
    Represents an ELSTER document.
    """

    # @ApiMember(Description="The transfer header part of the ELSTER document.", IsRequired=true)
    transfer_header: Optional[TransferHeader] = None
    """
    The transfer header part of the ELSTER document.
    """


    # @ApiMember(Description="The data (facts) part of the ELSTER document.")
    daten_teil: Optional[DatenTeil] = None
    """
    The data (facts) part of the ELSTER document.
    """


# @Api(Description="Represents information about a file or directory.")
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class FileMetadata(IFileMetadata):
    """
    Represents information about a file or directory.
    """

    # @ApiMember(Description="The name of the file.\nFor files, gets the name of the file.\nFor directories, gets the name of the last directory in the hierarchy if a hierarchy exists; otherwise, the name of the directory.", Name="Name")
    name: Optional[str] = None
    """
    The name of the file.For files, gets the name of the file.For directories, gets the name of the last directory in the hierarchy if a hierarchy exists; otherwise, the name of the directory.
    """


    # @ApiMember(Description="The full path of the directory or file.", Name="FullName")
    full_name: Optional[str] = None
    """
    The full path of the directory or file.
    """


    # @ApiMember(Description="The time the current file or directory was last accessed.", Name="LastAccessTime")
    last_access_time: datetime.datetime = datetime.datetime(1, 1, 1)
    """
    The time the current file or directory was last accessed.
    """


    # @ApiMember(Description="The name of the file.", Name="LastAccessTimeUtc")
    last_access_time_utc: datetime.datetime = datetime.datetime(1, 1, 1)
    """
    The name of the file.
    """


    # @ApiMember(Description="The time when the current file or directory was last written to.", Name="LastAccessTime")
    last_write_time: datetime.datetime = datetime.datetime(1, 1, 1)
    """
    The time when the current file or directory was last written to.
    """


    # @ApiMember(Description="The time, in coordinated universal time (UTC), when the current file or directory was last written to.", Name="LastWriteTimeUtc")
    last_write_time_utc: datetime.datetime = datetime.datetime(1, 1, 1)
    """
    The time, in coordinated universal time (UTC), when the current file or directory was last written to.
    """


    # @ApiMember(Description="The size, in bytes, of the current file.", Name="Length")
    length: int = 0
    """
    The size, in bytes, of the current file.
    """


    # @ApiMember(Description="The size, in bytes, of the current file.", Name="UserId")
    user_id: int = 0
    """
    The size, in bytes, of the current file.
    """


    # @ApiMember(Description="The file group id.", Name="GroupId")
    group_id: int = 0
    """
    The file group id.
    """


    # @ApiMember(Description="A value that indicates whether the others can read from this file.", Name="OthersCanRead")
    others_can_read: bool = False
    """
    A value that indicates whether the others can read from this file.
    """


    # @ApiMember(Description="A value that indicates whether the group members can execute this file.", Name="GroupCanExecute")
    group_can_execute: bool = False
    """
    A value that indicates whether the group members can execute this file.
    """


    # @ApiMember(Description="A value that indicates whether the group members can write into this file.", Name="GroupCanWrite")
    group_can_write: bool = False
    """
    A value that indicates whether the group members can write into this file.
    """


    # @ApiMember(Description="A value that indicates whether the group members can read from this file.", Name="GroupCanRead")
    group_can_read: bool = False
    """
    A value that indicates whether the group members can read from this file.
    """


    # @ApiMember(Description="A value that indicates whether the owner can execute this file.", Name="OwnerCanExecute")
    owner_can_execute: bool = False
    """
    A value that indicates whether the owner can execute this file.
    """


    # @ApiMember(Description="A value that indicates whether the owner can write into this file.", Name="OwnerCanWrite")
    owner_can_write: bool = False
    """
    A value that indicates whether the owner can write into this file.
    """


    # @ApiMember(Description="A value that indicates whether the owner can read from this file.", Name="OthersCanRead")
    owner_can_read: bool = False
    """
    A value that indicates whether the owner can read from this file.
    """


    # @ApiMember(Description="A value that indicates whether others can read from this file.", Name="OthersCanExecute")
    others_can_execute: bool = False
    """
    A value that indicates whether others can read from this file.
    """


    # @ApiMember(Description="A value that indicates whether others can write into this file.", Name="OthersCanWrite")
    others_can_write: bool = False
    """
    A value that indicates whether others can write into this file.
    """


    # @ApiMember(Description="Extensions to the file attributes.", Name="Extensions")
    extensions: Optional[Dict[str, str]] = None
    """
    Extensions to the file attributes.
    """


# @Api(Description="Represents a file that contains raw data content in bytes")
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class BinaryFile(FileBase):
    """
    Represents a file that contains raw data content in bytes
    """

    # @ApiMember(Description="The attributes of the file.", Name="Metadata")
    metadata: Optional[FileMetadata] = None
    """
    The attributes of the file.
    """


    # @ApiMember(Description="The name of the file without information on its directory path.", Name="Name")
    name: Optional[str] = None
    """
    The name of the file without information on its directory path.
    """


    # @ApiMember(Description="The raw data content of the file.", Name="Content")
    content: Optional[bytes] = None
    """
    The raw data content of the file.
    """


# @Api(Description="A type that encapsulates the return values from the ERiC API function that processes tax data.")
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class BearbeiteVorgangResponse(EricFehlerCodeResponse):
    """
    A type that encapsulates the return values from the ERiC API function that processes tax data.
    """

    # @ApiMember(Description="The return value of the process.")
    rueckgabe: Optional[EricBearbeiteVorgang] = None
    """
    The return value of the process.
    """


    # @ApiMember(Description="The server response of the process.")
    serverantwort: Optional[Elster] = None
    """
    The server response of the process.
    """


    # @ApiMember(Description="If available, the PDF-based files to represent generated transfer prototocols.")
    transfer_protocols: Optional[List[BinaryFile]] = None
    """
    If available, the PDF-based files to represent generated transfer prototocols.
    """


    # @ApiMember(Description="The status code that the ERiC API function returns.", Name="StatusCode")
    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.", Name="StatusText")
    status_text: Optional[str] = None
    """
    The status message that the ERiC API function returns.
    """


    # @ApiMember(Description="The unique identifier of the response.", Name="Id")
    id: Optional[str] = None
    """
    The unique identifier of the response.
    """


    # @ApiMember(Description="The position of the response element in an indexed collection.", Name="Index")
    index: int = 0
    """
    The position of the response element in an indexed collection.
    """


    # @ApiMember(Description="Metadata that contains structured error information on the service response.", Name="ResponseStatus")
    response_status: Optional[ResponseStatus] = None
    """
    Metadata that contains structured error information on the service response.
    """


# @Api(Description="An asynchronous service to submit content that represents a filing of the special advance payment for VAT (Umsatzsteuersondervorauszahlung) as an Entrepreneur from the specified dictionary (hash map) of key/value definitions.")
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class SubmitUstSvFromDefinitionAsync(SubmitUstSvFromDefinitionBase):
    """
    An asynchronous service to submit content that represents a filing of the special advance payment for VAT (Umsatzsteuersondervorauszahlung) as an Entrepreneur from the specified dictionary (hash map) of key/value definitions.
    """

    # @ApiMember(Description="Should the PDF file be prepared for a double-sided printout with a margin for punching? True: The straight sides are indented to the left for a stitching margin for punching. False: There is no indentation of the straight sides. The created PDF is only intended for printing pages page by page.")
    duplex_druck: Optional[bool] = None
    """
    Should the PDF file be prepared for a double-sided printout with a margin for punching? True: The straight sides are indented to the left for a stitching margin for punching. False: There is no indentation of the straight sides. The created PDF is only intended for printing pages page by page.
    """


    # @ApiMember(Description="Name prefix of the generated transfer protocol file.")
    protocol_prefix: Optional[str] = None
    """
    Name prefix of the generated transfer protocol file.
    """


    # @ApiMember(Description="Footer text to be used on the printout (optional).")
    fuss_text: Optional[str] = None
    """
    Footer text to be used on the printout (optional).
    """


    # @ApiMember(Description="The portal certificate to authenticate and encrypt the submission.")
    zertifikat: Optional[PortalCertificate] = None
    """
    The portal certificate to authenticate and encrypt the submission.
    """


    # @ApiMember(Description="The 4-digit year of the tax assessment.")
    jahr: int = 0
    """
    The 4-digit year of the tax assessment.
    """


    # @ApiMember(Description="Dictionary of key-value pairs that represent the intrinsic properties of the VAT return. Each key represents a name of the VAT property.Each value of the pair represents the VAT property value.")
    properties: Optional[Dict[str, str]] = None
    """
    Dictionary of key-value pairs that represent the intrinsic properties of the VAT return. Each key represents a name of the VAT property.Each value of the pair represents the VAT property value.
    """

Python SubmitUstSvFromDefinitionAsync DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /SubmitUstSvFromDefinitionAsync HTTP/1.1 
Host: taxfiling.pwc.de 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"duplexDruck":false,"protocolPrefix":"String","fussText":"String","zertifikat":{"id":"00000000000000000000000000000000","index":0,"pin":"String","description":"String","tags":["String"],"name":"String","content":"AA=="},"jahr":0,"properties":{"String":"String"}}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"rueckgabe":{"erfolg":{"telenummer":["String"],"ordnungsbegriffe":["String"]},"transfers":{"transferList":[{"transferTicket":"String"}]},"fehlerRegelpruefungen":[{"nutzdatenticket":"String","feldidentifikator":"String","mehrfachzeilenindex":"String","lfdNrVordruck":"String","vordruckZeilennummer":"String","semantischeIndexes":[{"name":"String","value":"String"}],"untersachbereich":"String","privateKennnummer":"String","regelName":"String","fachlicheFehlerId":"String","text":"String"}],"hinweise":[{"nutzdatenticket":"String","feldidentifikator":"String","mehrfachzeilenindex":"String","lfdNrVordruck":"String","vordruckZeilennummer":"String","semantischeIndexes":[{"name":"String","value":"String"}],"untersachbereich":"String","privateKennnummer":"String","regelName":"String","fachlicheHinweisId":"String","text":"String"}]},"serverantwort":{"transferHeader":{"version":"String","verfahren":"ElsterAnmeldung","datenArt":"34a","vorgang":"send-Auth","transferTicket":"String","testmerker":"0","sigUser":{"inhalt":{}},"empfaenger":{"id":"String","ziel":"BW"},"herstellerID":"String","datenLieferant":"String","eingangsDatum":"\/Date(-62135596800000-0000)\/","datei":{"verschluesselung":"PKCS#7v1.5","kompression":"GZIP","transportSchluessel":"String","erstellung":{"eric":{"inhalt":{}}}},"rc":{"rueckgabe":{"code":"String","text":"String"},"stack":{"code":"String","text":"String"}},"versionClient":"String","zusatz":{"infos":["String"],"elsterInfos":["String"]}},"datenTeil":{"nutzdatenbloecke":[{"nutzdatenHeader":{"version":"String","nutzdatenTicket":"String","empfaenger":{"id":"L","value":"String"},"hersteller":{"produktName":"String","produktVersion":"String"},"datenLieferant":"String","rc":{"rueckgabe":{"code":"String","text":"String"},"stack":{"code":"String","text":"String"}},"zusatz":{"infos":["String"],"elsterInfos":["String"]}},"nutzdaten":{"inhalt":{}}}]}},"transferProtocols":[{"metadata":{"name":"String","fullName":"String","lastAccessTime":"\/Date(-62135596800000-0000)\/","lastAccessTimeUtc":"\/Date(-62135596800000-0000)\/","lastWriteTime":"\/Date(-62135596800000-0000)\/","lastWriteTimeUtc":"\/Date(-62135596800000-0000)\/","length":0,"userId":0,"groupId":0,"othersCanRead":false,"groupCanExecute":false,"groupCanWrite":false,"groupCanRead":false,"ownerCanExecute":false,"ownerCanWrite":false,"ownerCanRead":false,"othersCanExecute":false,"othersCanWrite":false,"extensions":{"String":"String"}},"name":"String","content":"AA=="}],"statusCode":"ERIC_OK","statusText":"String","id":"String","index":0,"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}