Tax Filing Service

<back to all web services

SubmitZm2026Async

AsyncUmsatzsteuerZusammenfassende Meldung

An asynchronous service to submit content that represents a recapitulative tax declaration for 2026.

Requires Authentication
The following routes are available for this service:
POST/SubmitZm2026AsyncAn asynchronous service to submit content that represents a recapitulative tax declaration for 2026.
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="Angaben zum Unternehmen")
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class Anschrift:
    """
    Angaben zum Unternehmen
    """

    # @ApiMember(Description="Der Name des Unternehmers.", IsRequired=true)
    name: Optional[str] = None
    """
    Der Name des Unternehmers.
    """


    # @ApiMember(Description="Der Adresszusatz des Unternehmers.")
    adresszusatz: Optional[str] = None
    """
    Der Adresszusatz des Unternehmers.
    """


    # @ApiMember(Description="Der Straßenname des Unternehmers.", IsRequired=true)
    strasse: Optional[str] = None
    """
    Der Straßenname des Unternehmers.
    """


    # @ApiMember(Description="Die Hausnummer des Unternehmers.")
    hausnr: Optional[str] = None
    """
    Die Hausnummer des Unternehmers.
    """


    # @ApiMember(Description="Der Hausnummerzusatz des Unternehmers.")
    hausnrzusatz: Optional[str] = None
    """
    Der Hausnummerzusatz des Unternehmers.
    """


    # @ApiMember(Description="Der Ort des Unternehmers.", IsRequired=true)
    ort: Optional[str] = None
    """
    Der Ort des Unternehmers.
    """


    # @ApiMember(Description="Die Postleitzahl des Unternehmers.")
    plz: Optional[str] = None
    """
    Die Postleitzahl des Unternehmers.
    """


    # @ApiMember(Description="Übermittlung des ISO-3166-Alpha-2-Codes des Staates von Unternehmer.", IsRequired=true)
    staat: Optional[str] = None
    """
    Übermittlung des ISO-3166-Alpha-2-Codes des Staates von Unternehmer.
    """


    # @ApiMember(Description="Die Telefonummer des Unternehmers.")
    telefon: Optional[str] = None
    """
    Die Telefonummer des Unternehmers.
    """


class Waehrung(str, Enum):
    """
    Die Art der Währung
    """

    UNGUELTIG = 'UNGUELTIG'
    EUR = 'EUR'


class Meldeart(IntEnum):
    """
    Art der Meldung
    """

    NEIN = 10
    JA = 11


class Quart(IntEnum):
    """
    Die Art des Quartals
    """

    Q1 = 1
    Q2 = 2
    Q3 = 3
    Q4 = 4
    JM = 5
    M11 = 11
    M12 = 12
    M13 = 13
    M14 = 14
    M21 = 21
    M22 = 22
    M23 = 23
    M24 = 24
    M25 = 25
    M26 = 26
    M27 = 27
    M28 = 28
    M29 = 29
    M30 = 30
    M31 = 31
    M32 = 32


# @Api(Description="Meldungszeitraum")
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class Mzr:
    """
    Meldungszeitraum
    """

    # @ApiMember(Description="Quartal", IsRequired=true)
    quart: Optional[Quart] = None
    """
    Quartal
    """


    # @ApiMember(Description="Die 4-stellige Jahreszahl, welche die Veranlagungszeitraum darstellt.", IsRequired=true)
    jahr: int = 0
    """
    Die 4-stellige Jahreszahl, welche die Veranlagungszeitraum darstellt.
    """


class Umsatzart(str, Enum):
    """
    Die Art des Umsatzes.
    """

    D = 'D'
    L = 'L'
    S = 'S'


# @Api(Description="Specifies an amount of money without cents with limits and a specialized string representation")
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class GrossGeldBetragOhneCent:
    """
    Specifies an amount of money without cents with limits and a specialized string representation
    """

    # @ApiMember(Description="The intrinsic currency value.")
    wert: int = 0
    """
    The intrinsic currency value.
    """


# @Api(Description="Represents an amount of money without cents whose value has a maximum length of 11 digits. That is, 1 to 11 digits. Minus sign allowed.")
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class GeldBetragOhneCent11EN(GrossGeldBetragOhneCent):
    """
    Represents an amount of money without cents whose value has a maximum length of 11 digits. That is, 1 to 11 digits. Minus sign allowed.
    """

    pass


# @Api(Description="Meldung der Warenlieferungen")
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class Zeile:
    """
    Meldung der Warenlieferungen
    """

    # @ApiMember(Description="Umsatzart", IsRequired=true)
    umsatzart: Optional[Umsatzart] = None
    """
    Umsatzart
    """


    # @ApiMember(Description="Umsatzsteuer-Identifikationsnummer des Erwerbers / Unternehmers in einem anderen Mitgliedstaat", IsRequired=true)
    knre: Optional[str] = None
    """
    Umsatzsteuer-Identifikationsnummer des Erwerbers / Unternehmers in einem anderen Mitgliedstaat
    """


    # @ApiMember(Description="Summe (Euro)", IsRequired=true)
    betrag: Optional[GeldBetragOhneCent11EN] = None
    """
    Summe (Euro)
    """


# @Api(Description="Allgemeine Daten")
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class ZmZeilen:
    """
    Allgemeine Daten
    """

    # @ApiMember(Description="Währung", IsRequired=true)
    waehrung: Optional[Waehrung] = None
    """
    Währung
    """


    # @ApiMember(Description="Berichtigte Meldung", IsRequired=true)
    meldeart: Optional[Meldeart] = None
    """
    Berichtigte Meldung
    """


    # @ApiMember(Description="Die in § 18a Absatz 1 Satz 2 UStG enthaltene Regelung nehme ich nicht in Anspruch.  Ich gebe die Zusammenfassende Meldung künftig monatlich ab. Diese Anzeige bindet mich bis zum Zeitpunkt des Widerrufs, mindestens aber für die Dauer von 12 Kalendermonaten.", IsRequired=true)
    anzeige: bool = False
    """
    Die in § 18a Absatz 1 Satz 2 UStG enthaltene Regelung nehme ich nicht in Anspruch.  Ich gebe die Zusammenfassende Meldung künftig monatlich ab. Diese Anzeige bindet mich bis zum Zeitpunkt des Widerrufs, mindestens aber für die Dauer von 12 Kalendermonaten.
    """


    # @ApiMember(Description="Widerruf meiner Anzeige nach § 18a Absatz 1 UStG", IsRequired=true)
    widerruf: bool = False
    """
    Widerruf meiner Anzeige nach § 18a Absatz 1 UStG
    """


    # @ApiMember(Description="Meldungszeitraum", IsRequired=true)
    mzr: Optional[Mzr] = None
    """
    Meldungszeitraum
    """


    # @ApiMember(Description="Meldungen der Warenlieferungen", IsRequired=true)
    zeilen: List[Zeile] = field(default_factory=list)
    """
    Meldungen der Warenlieferungen
    """


# @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 in bytes.", Name="Content")
    content: Optional[bytes] = None
    """
    The raw data content of the file in bytes.
    """


# @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):
    """
    Represents a portal certificate that is protected by a password.
    """

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


    # @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: List[str] = field(default_factory=list)
    """
    Tags that can be used to label or identify the certificate.
    """


# @Api(Description="A base base service request to submit content that represents a recapitulative tax declaration for 2026.")
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class SubmitZm2026Base(IReturn[BearbeiteVorgangResponse], IPost, IDruckRequest, IVeschlueselungsRequest):
    """
    A base base service request to submit content that represents a recapitulative tax declaration for 2026.
    """

    # @ApiMember(Description="Inländische Umsatzsteuer-Identifikationsnummer des Meldenden bestehend aus dem Länderkürzel 'DE' gefolgt von exakt 9 Ziffern.", IsRequired=true)
    knri: Optional[str] = None
    """
    Inländische Umsatzsteuer-Identifikationsnummer des Meldenden bestehend aus dem Länderkürzel 'DE' gefolgt von exakt 9 Ziffern.
    """


    # @ApiMember(Description="Angaben zum Unternehmer", IsRequired=true)
    anschrift: Optional[Anschrift] = None
    """
    Angaben zum Unternehmer
    """


    # @ApiMember(Description="Allgemeine Daten", IsRequired=true)
    zm_zeilen: Optional[ZmZeilen] = None
    """
    Allgemeine Daten
    """


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


    # @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.", Name="DuplexDruck")
    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.", IsRequired=true, Name="ProtocolPrefix")
    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 authentification certificate.", IsRequired=true)
    zertifikat: Optional[PortalCertificate] = None
    """
    The authentification certificate.
    """
    @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.")
    id: Optional[str] = None
    """
    The unique identifier of the response.
    """


    # @ApiMember(Description="The position of the response element in an indexed collection.")
    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.")
    response_status: Optional[ResponseStatus] = None
    """
    Metadata that contains structured error information on the service response.
    """


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

    ERIC_OK = 0
    ERIC_GLOBAL_UNKNOWN = 610001001
    ERIC_GLOBAL_PRUEF_FEHLER = 610001002
    ERIC_GLOBAL_HINWEISE = 610001003
    ERIC_GLOBAL_FEHLERMELDUNG_NICHT_VORHANDEN = 610001007
    ERIC_GLOBAL_KEINE_DATEN_VORHANDEN = 610001008
    ERIC_GLOBAL_NICHT_GENUEGEND_ARBEITSSPEICHER = 610001013
    ERIC_GLOBAL_DATEI_NICHT_GEFUNDEN = 610001014
    ERIC_GLOBAL_HERSTELLER_ID_NICHT_ERLAUBT = 610001016
    ERIC_GLOBAL_ILLEGAL_STATE = 610001017
    ERIC_GLOBAL_FUNKTION_NICHT_ERLAUBT = 610001018
    ERIC_GLOBAL_ECHTFALL_NICHT_ERLAUBT = 610001019
    ERIC_GLOBAL_NO_VERSAND_IN_BETA_VERSION = 610001020
    ERIC_GLOBAL_TESTMERKER_UNGUELTIG = 610001025
    ERIC_GLOBAL_DATENSATZ_ZU_GROSS = 610001026
    ERIC_GLOBAL_VERSCHLUESSELUNGS_PARAMETER_NICHT_ERLAUBT = 610001027
    ERIC_GLOBAL_NUR_PORTALZERTIFIKAT_ERLAUBT = 610001028
    ERIC_GLOBAL_ERROR_XML_CREATE = 610001030
    ERIC_GLOBAL_TEXTPUFFERGROESSE_FIX = 610001031
    ERIC_GLOBAL_INTERNER_FEHLER = 610001032
    ERIC_GLOBAL_ARITHMETIKFEHLER = 610001033
    ERIC_GLOBAL_STEUERNUMMER_UNGUELTIG = 610001034
    ERIC_GLOBAL_STEUERNUMMER_FALSCHE_LAENGE = 610001035
    ERIC_GLOBAL_STEUERNUMMER_NICHT_NUMERISCH = 610001036
    ERIC_GLOBAL_LANDESNUMMER_UNBEKANNT = 610001037
    ERIC_GLOBAL_BUFANR_UNBEKANNT = 610001038
    ERIC_GLOBAL_LANDESNUMMER_BUFANR = 610001039
    ERIC_GLOBAL_PUFFER_ZUGRIFFSKONFLIKT = 610001040
    ERIC_GLOBAL_PUFFER_UEBERLAUF = 610001041
    ERIC_GLOBAL_DATENARTVERSION_UNBEKANNT = 610001042
    ERIC_GLOBAL_DATENARTVERSION_XML_INKONSISTENT = 610001044
    ERIC_GLOBAL_COMMONDATA_NICHT_VERFUEGBAR = 610001045
    ERIC_GLOBAL_LOG_EXCEPTION = 610001046
    ERIC_GLOBAL_TRANSPORTSCHLUESSEL_NICHT_ERLAUBT = 610001047
    ERIC_GLOBAL_OEFFENTLICHER_SCHLUESSEL_UNGUELTIG = 610001048
    ERIC_GLOBAL_TRANSPORTSCHLUESSEL_TYP_FALSCH = 610001049
    ERIC_GLOBAL_PUFFER_UNGLEICHER_INSTANZ = 610001050
    ERIC_GLOBAL_VORSATZ_UNGUELTIG = 610001051
    ERIC_GLOBAL_DATEIZUGRIFF_VERWEIGERT = 610001053
    ERIC_GLOBAL_UNGUELTIGE_INSTANZ = 610001080
    ERIC_GLOBAL_NICHT_INITIALISIERT = 610001081
    ERIC_GLOBAL_MEHRFACHE_INITIALISIERUNG = 610001082
    ERIC_GLOBAL_FEHLER_INITIALISIERUNG = 610001083
    ERIC_GLOBAL_UNKNOWN_PARAMETER_ERROR = 610001102
    ERIC_GLOBAL_CHECK_CORRUPTED_NDS = 610001108
    ERIC_GLOBAL_VERSCHLUESSELUNGS_PARAMETER_NICHT_ANGEGEBEN = 610001206
    ERIC_GLOBAL_SEND_FLAG_MEHR_ALS_EINES = 610001209
    ERIC_GLOBAL_UNGUELTIGE_FLAG_KOMBINATION = 610001218
    ERIC_GLOBAL_UNGUELTIGER_PARAMETER = 610001222
    ERIC_GLOBAL_DRUCK_FUER_VERFAHREN_NICHT_ERLAUBT = 610001224
    ERIC_GLOBAL_VERSAND_ART_NICHT_UNTERSTUETZT = 610001225
    ERIC_GLOBAL_UNGUELTIGE_PARAMETER_VERSION = 610001226
    ERIC_GLOBAL_TRANSFERHANDLE = 610001227
    ERIC_GLOBAL_PLUGININITIALISIERUNG = 610001228
    ERIC_GLOBAL_INKOMPATIBLE_VERSIONEN = 610001229
    ERIC_GLOBAL_VERSCHLUESSELUNGSVERFAHREN_NICHT_UNTERSTUETZT = 610001230
    ERIC_GLOBAL_MEHRFACHAUFRUFE_NICHT_UNTERSTUETZT = 610001231
    ERIC_GLOBAL_UTI_COUNTRY_NOT_SUPPORTED = 610001404
    ERIC_GLOBAL_IBAN_FORMALER_FEHLER = 610001501
    ERIC_GLOBAL_IBAN_LAENDERCODE_FEHLER = 610001502
    ERIC_GLOBAL_IBAN_LANDESFORMAT_FEHLER = 610001503
    ERIC_GLOBAL_IBAN_PRUEFZIFFER_FEHLER = 610001504
    ERIC_GLOBAL_BIC_FORMALER_FEHLER = 610001510
    ERIC_GLOBAL_BIC_LAENDERCODE_FEHLER = 610001511
    ERIC_GLOBAL_ZULASSUNGSNUMMER_ZU_LANG = 610001519
    ERIC_GLOBAL_IDNUMMER_UNGUELTIG = 610001525
    ERIC_GLOBAL_NULL_PARAMETER = 610001526
    ERIC_GLOBAL_EWAZ_UNGUELTIG = 610001527
    ERIC_GLOBAL_EWAZ_LANDESKUERZEL_UNBEKANNT = 610001528
    ERIC_GLOBAL_UPDATE_NECESSARY = 610001851
    ERIC_GLOBAL_EINSTELLUNG_NAME_UNGUELTIG = 610001860
    ERIC_GLOBAL_EINSTELLUNG_WERT_UNGUELTIG = 610001861
    ERIC_GLOBAL_ERR_DEKODIEREN = 610001862
    ERIC_GLOBAL_FUNKTION_NICHT_UNTERSTUETZT = 610001863
    ERIC_GLOBAL_NUTZDATENTICKETS_NICHT_EINDEUTIG = 610001865
    ERIC_GLOBAL_NUTZDATENHEADERVERSIONEN_UNEINHEITLICH = 610001866
    ERIC_GLOBAL_BUNDESLAENDER_UNEINHEITLICH = 610001867
    ERIC_GLOBAL_ZEITRAEUME_UNEINHEITLICH = 610001868
    ERIC_GLOBAL_NUTZDATENHEADER_EMPFAENGER_NICHT_KORREKT = 610001869
    ERIC_TRANSFER_COM_ERROR = 610101200
    ERIC_TRANSFER_VORGANG_NICHT_UNTERSTUETZT = 610101201
    ERIC_TRANSFER_ERR_XML_THEADER = 610101210
    ERIC_TRANSFER_ERR_PARAM = 610101251
    ERIC_TRANSFER_ERR_DATENTEILENDNOTFOUND = 610101253
    ERIC_TRANSFER_ERR_BEGINDATENLIEFERANT = 610101255
    ERIC_TRANSFER_ERR_ENDDATENLIEFERANT = 610101256
    ERIC_TRANSFER_ERR_BEGINTRANSPORTSCHLUESSEL = 610101257
    ERIC_TRANSFER_ERR_ENDTRANSPORTSCHLUESSEL = 610101258
    ERIC_TRANSFER_ERR_BEGINDATENGROESSE = 610101259
    ERIC_TRANSFER_ERR_ENDDATENGROESSE = 610101260
    ERIC_TRANSFER_ERR_SEND = 610101271
    ERIC_TRANSFER_ERR_NOTENCRYPTED = 610101274
    ERIC_TRANSFER_ERR_PROXYCONNECT = 610101276
    ERIC_TRANSFER_ERR_CONNECTSERVER = 610101278
    ERIC_TRANSFER_ERR_NORESPONSE = 610101279
    ERIC_TRANSFER_ERR_PROXYAUTH = 610101280
    ERIC_TRANSFER_ERR_SEND_INIT = 610101282
    ERIC_TRANSFER_ERR_TIMEOUT = 610101283
    ERIC_TRANSFER_ERR_PROXYPORT_INVALID = 610101284
    ERIC_TRANSFER_ERR_OTHER = 610101291
    ERIC_TRANSFER_ERR_XML_NHEADER = 610101292
    ERIC_TRANSFER_ERR_XML_ENCODING = 610101293
    ERIC_TRANSFER_ERR_ENDSIGUSER = 610101294
    ERIC_TRANSFER_ERR_XMLTAG_NICHT_GEFUNDEN = 610101295
    ERIC_TRANSFER_ERR_DATENTEILFEHLER = 610101297
    ERIC_TRANSFER_EID_ZERTIFIKATFEHLER = 610101500
    ERIC_TRANSFER_EID_KEINKONTO = 610101510
    ERIC_TRANSFER_EID_IDNRNICHTEINDEUTIG = 610101511
    ERIC_TRANSFER_EID_SERVERFEHLER = 610101512
    ERIC_TRANSFER_EID_KEINCLIENT = 610101520
    ERIC_TRANSFER_EID_CLIENTFEHLER = 610101521
    ERIC_TRANSFER_EID_FEHLENDEFELDER = 610101522
    ERIC_TRANSFER_EID_IDENTIFIKATIONABGEBROCHEN = 610101523
    ERIC_TRANSFER_EID_NPABLOCKIERT = 610101524
    ERIC_CRYPT_ERROR_CREATE_KEY = 610201016
    ERIC_CRYPT_E_INVALID_HANDLE = 610201101
    ERIC_CRYPT_E_MAX_SESSION = 610201102
    ERIC_CRYPT_E_BUSY = 610201103
    ERIC_CRYPT_E_OUT_OF_MEM = 610201104
    ERIC_CRYPT_E_PSE_PATH = 610201105
    ERIC_CRYPT_E_PIN_WRONG = 610201106
    ERIC_CRYPT_E_PIN_LOCKED = 610201107
    ERIC_CRYPT_E_P7_READ = 610201108
    ERIC_CRYPT_E_P7_DECODE = 610201109
    ERIC_CRYPT_E_P7_RECIPIENT = 610201110
    ERIC_CRYPT_E_P12_READ = 610201111
    ERIC_CRYPT_E_P12_DECODE = 610201112
    ERIC_CRYPT_E_P12_SIG_KEY = 610201113
    ERIC_CRYPT_E_P12_ENC_KEY = 610201114
    ERIC_CRYPT_E_P11_SIG_KEY = 610201115
    ERIC_CRYPT_E_P11_ENC_KEY = 610201116
    ERIC_CRYPT_E_XML_PARSE = 610201117
    ERIC_CRYPT_E_XML_SIG_ADD = 610201118
    ERIC_CRYPT_E_XML_SIG_TAG = 610201119
    ERIC_CRYPT_E_XML_SIG_SIGN = 610201120
    ERIC_CRYPT_E_ENCODE_UNKNOWN = 610201121
    ERIC_CRYPT_E_ENCODE_ERROR = 610201122
    ERIC_CRYPT_E_XML_INIT = 610201123
    ERIC_CRYPT_E_ENCRYPT = 610201124
    ERIC_CRYPT_E_DECRYPT = 610201125
    ERIC_CRYPT_E_P11_SLOT_EMPTY = 610201126
    ERIC_CRYPT_E_NO_SIG_ENC_KEY = 610201127
    ERIC_CRYPT_E_LOAD_DLL = 610201128
    ERIC_CRYPT_E_NO_SERVICE = 610201129
    ERIC_CRYPT_E_ESICL_EXCEPTION = 610201130
    ERIC_CRYPT_E_ESIGNER_NICHT_GELADEN = 610201140
    ERIC_CRYPT_E_INKOMPATIBLE_ESIGNER_VERSION = 610201141
    ERIC_CRYPT_E_VERALTETE_ESIGNER_VERSION = 610201142
    ERIC_CRYPT_E_TOKEN_TYPE_MISMATCH = 610201144
    ERIC_CRYPT_E_P12_CREATE = 610201146
    ERIC_CRYPT_E_VERIFY_CERT_CHAIN = 610201147
    ERIC_CRYPT_E_P11_ENGINE_LOADED = 610201148
    ERIC_CRYPT_E_USER_CANCEL = 610201149
    ERIC_CRYPT_ZERTIFIKAT = 610201200
    ERIC_CRYPT_SIGNATUR = 610201201
    ERIC_CRYPT_NICHT_UNTERSTUETZTES_PSE_FORMAT = 610201203
    ERIC_CRYPT_PIN_BENOETIGT = 610201205
    ERIC_CRYPT_PIN_STAERKE_NICHT_AUSREICHEND = 610201206
    ERIC_CRYPT_E_INTERN = 610201208
    ERIC_CRYPT_ZERTIFIKATSPFAD_KEIN_VERZEICHNIS = 610201209
    ERIC_CRYPT_ZERTIFIKATSDATEI_EXISTIERT_BEREITS = 610201210
    ERIC_CRYPT_PIN_ENTHAELT_UNGUELTIGE_ZEICHEN = 610201211
    ERIC_CRYPT_CORRUPTED = 610201213
    ERIC_CRYPT_EIDKARTE_NICHT_UNTERSTUETZT = 610201214
    ERIC_CRYPT_E_SC_SLOT_EMPTY = 610201215
    ERIC_CRYPT_E_SC_NO_APPLET = 610201216
    ERIC_CRYPT_E_SC_SESSION = 610201217
    ERIC_CRYPT_E_P11_NO_SIG_CERT = 610201218
    ERIC_CRYPT_E_P11_INIT_FAILED = 610201219
    ERIC_CRYPT_E_P11_NO_ENC_CERT = 610201220
    ERIC_CRYPT_E_P12_NO_SIG_CERT = 610201221
    ERIC_CRYPT_E_P12_NO_ENC_CERT = 610201222
    ERIC_CRYPT_E_SC_ENC_KEY = 610201223
    ERIC_CRYPT_E_SC_NO_SIG_CERT = 610201224
    ERIC_CRYPT_E_SC_NO_ENC_CERT = 610201225
    ERIC_CRYPT_E_SC_INIT_FAILED = 610201226
    ERIC_CRYPT_E_SC_SIG_KEY = 610201227
    ERIC_CRYPT_E_DATA_NOT_INITIALIZED = 610201228
    ERIC_CRYPT_E_ASN1_READ_BUFFER_TOO_SMALL = 610201229
    ERIC_CRYPT_E_ASN1_READ_DATA_INCOMPLETE = 610201230
    ERIC_CRYPT_E_ASN1_NO_ENVELOPED_DATA = 610201231
    ERIC_CRYPT_E_ASN1_NO_CONTENT_DATA = 610201232
    ERIC_IO_FEHLER = 610301001
    ERIC_IO_DATEI_INKORREKT = 610301005
    ERIC_IO_PARSE_FEHLER = 610301006
    ERIC_IO_NDS_GENERIERUNG_FEHLGESCHLAGEN = 610301007
    ERIC_IO_MASTERDATENSERVICE_NICHT_VERFUEGBAR = 610301010
    ERIC_IO_STEUERZEICHEN_IM_NDS = 610301014
    ERIC_IO_VERSIONSINFORMATIONEN_NICHT_GEFUNDEN = 610301031
    ERIC_IO_FALSCHES_VERFAHREN = 610301104
    ERIC_IO_READER_MEHRFACHE_STEUERFAELLE = 610301105
    ERIC_IO_READER_UNERWARTETE_ELEMENTE = 610301106
    ERIC_IO_READER_FORMALE_FEHLER = 610301107
    ERIC_IO_READER_FALSCHES_ENCODING = 610301108
    ERIC_IO_READER_MEHRFACHE_NUTZDATEN_ELEMENTE = 610301109
    ERIC_IO_READER_MEHRFACHE_NUTZDATENBLOCK_ELEMENTE = 610301110
    ERIC_IO_UNBEKANNTE_DATENART = 610301111
    ERIC_IO_READER_UNTERSACHBEREICH_UNGUELTIG = 610301114
    ERIC_IO_READER_ZU_VIELE_NUTZDATENBLOCK_ELEMENTE = 610301115
    ERIC_IO_READER_STEUERZEICHEN_IM_TRANSFERHEADER = 610301150
    ERIC_IO_READER_STEUERZEICHEN_IM_NUTZDATENHEADER = 610301151
    ERIC_IO_READER_STEUERZEICHEN_IN_DEN_NUTZDATEN = 610301152
    ERIC_IO_READER_RABE_FEHLER = 610301170
    ERIC_IO_READER_KEINE_RABEID = 610301171
    ERIC_IO_READER_RABEID_UNGUELTIG = 610301172
    ERIC_IO_READER_RABE_VERIFIKATIONSID_UNGUELTIG = 610301173
    ERIC_IO_READER_RABE_REFERENZID_UNGUELTIG = 610301174
    ERIC_IO_READER_RABE_REFERENZID_NICHT_ERLAUBT = 610301175
    ERIC_IO_READER_RABE_REFERENZIDS_NICHT_EINDEUTIG = 610301176
    ERIC_IO_READER_ZU_VIELE_ANHAENGE = 610301190
    ERIC_IO_READER_ANHANG_ZU_GROSS = 610301191
    ERIC_IO_READER_ANHAENGE_ZU_GROSS = 610301192
    ERIC_IO_READER_ANHANG_ZU_KLEIN = 610301193
    ERIC_IO_READER_SCHEMA_VALIDIERUNGSFEHLER = 610301200
    ERIC_IO_READER_UNBEKANNTE_XML_ENTITY = 610301201
    ERIC_IO_TESTHERSTELLERID_GESPERRT = 610301202
    ERIC_IO_DATENTEILNOTFOUND = 610301252
    ERIC_IO_DATENTEILENDNOTFOUND = 610301253
    ERIC_IO_UEBERGABEPARAMETER_FEHLERHAFT = 610301300
    ERIC_IO_UNGUELTIGE_UTF8_SEQUENZ = 610301400
    ERIC_IO_UNGUELTIGE_ZEICHEN_IN_PARAMETER = 610301401
    ERIC_PRINT_INTERNER_FEHLER = 610501001
    ERIC_PRINT_DRUCKVORLAGE_NICHT_GEFUNDEN = 610501002
    ERIC_PRINT_UNGUELTIGER_DATEI_PFAD = 610501004
    ERIC_PRINT_INITIALISIERUNG_FEHLERHAFT = 610501007
    ERIC_PRINT_AUSGABEZIEL_UNBEKANNT = 610501008
    ERIC_PRINT_ABBRUCH_DRUCKVORBEREITUNG = 610501009
    ERIC_PRINT_ABBRUCH_GENERIERUNG = 610501010
    ERIC_PRINT_STEUERFALL_NICHT_UNTERSTUETZT = 610501011
    ERIC_PRINT_FUSSTEXT_ZU_LANG = 610501012
    ERIC_PRINT_PDFCALLBACK = 610501015


# @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 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: List[str] = field(default_factory=list)
    """
    The generated tele-number for the successful tax declaration process.
    """


    # @ApiMember(Description="The classification key for the successful tax declaration process.")
    ordnungsbegriffe: List[str] = field(default_factory=list)
    """
    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: List[Transfer] = field(default_factory=list)
    """
    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: List[SemantischerIndex] = field(default_factory=list)
    """
    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: List[SemantischerIndex] = field(default_factory=list)
    """
    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: List[FehlerRegelpruefung] = field(default_factory=list)
    """
    Error rules that result from the processing of a tax declaration.
    """


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


class Verfahren(str, Enum):
    """
    Enumeration of valid procedures
    """

    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):
    """
    Enumeration of all valid data types.
    """

    ABRUFCODE_ANTRAG = 'AbrufcodeAntrag'
    ABRUFCODE_STORNO = 'AbrufcodeStorno'
    ABRUFVOLLMACHT_ANLAGE = 'AbrufvollmachtAnlage'
    ABRUFVOLLMACHT_UPDATE = 'AbrufvollmachtUpdate'
    AENDERUNG_ADRESSE = 'AenderungAdresse'
    AENDERUNG_BANKVERBINDUNG = 'AenderungBankverbindung'
    ANLAGE34A = 'Anlage34a'
    ANPASSUNG_VORAUSZAHLUNG = 'AnpassungVorauszahlung'
    ANTRAEGE_RECHTE_LOESCHEN = 'AntraegeRechteLoeschen'
    ANTRAEGE_UND_RECHTE = 'AntraegeUndRechte'
    ANTR_ANSAESSIGKEIT_BESCH = 'AntrAnsaessigkeitBesch'
    ANTRAG_U_ST_VERGUETUNG4A = 'AntragUStVerguetung4a'
    A_ST_G_H_Z_B = 'AStGHZB'
    AUFZEICHNUNG146A = 'Aufzeichnung146a'
    BAULEISTUNG_ST_AB_ANMELDUNG = 'BauleistungStAbAnmeldung'
    BAULEISTUNG_ST_AB_ERSTATTUNG = 'BauleistungStAbErstattung'
    BELEGNACHREICHUNG = 'Belegnachreichung'
    BET_P_G = 'BetPG'
    BILANZ = 'Bilanz'
    BSB_MITTEILUNG = 'BSBMitteilung'
    BZ_ST2 = 'BZSt2'
    C19_MITTEILUNG = 'C19Mitteilung'
    DIVA_DATEN_B_Z_ST = 'DIVADatenBZSt'
    DIVA_ERGEBNISLISTE = 'DivaErgebnisliste'
    DIVA_EINWILLIGUNG_ANLAGE_B_R_M = 'DivaEinwilligungAnlageBRM'
    DIVA_EINWILLIGUNG_FREISCH = 'DivaEinwilligungFreisch'
    DIVA_EINWILLIGUNG_UPDATE_B_R_M = 'DivaEinwilligungUpdateBRM'
    DIVA_WIDERRUF_B_R_M = 'DivaWiderrufBRM'
    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'
    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'
    ELSTER_ERKLAERUNG_DATEN = 'ElsterErklaerungDaten'
    ELSTER_K_M_V_DATEN = 'ElsterKMVDaten'
    ELSTER_LOHN_DATEN = 'ElsterLohnDaten'
    ELSTER_LOHN2_DATEN = 'ElsterLohn2Daten'
    ELSTER_VA_ST_DATEN = 'ElsterVaStDaten'
    ELSTER_VOLLMACHT_DATEN = 'ElsterVollmachtDaten'
    EP_ANTWORT = 'EPAntwort'
    EP_BESCHEID = 'EPBescheid'
    EP_KURZMITTEILUNG = 'EPKurzmitteilung'
    EP_MITTEILUNG = 'EPMitteilung'
    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'
    FLH_MITTEILUNG = 'FLHMitteilung'
    FZL_MITTEILUNG = 'FZLMitteilung'
    FORSCHUNG_ZUL_ANTRAG = 'ForschungZulAntrag'
    FREISTELLUNG_KAPITALERTRAEGE_B_V = 'FreistellungKapitalertraegeBV'
    FRISTVERLAENGERUNG = 'Fristverlaengerung'
    FS_E_VEREIN = 'FsEVerein'
    GDB_MITTEILUNG = 'GDBMitteilung'
    GEWERBEMELDUNG = 'Gewerbemeldung'
    GEWINNERMITTLUNG13A_E_ST_G = 'Gewinnermittlung13aEStG'
    GEW_ST = 'GewSt'
    GEW_ST_Z = 'GewStZ'
    GRUNDSTEUER_AEND_A_Z = 'GrundsteuerAendAZ'
    GRUNDSTEUER_AEND_A_Z_B_W = 'GrundsteuerAendAZBW'
    GRUNDSTEUER_AEND_A_Z_B_Y = 'GrundsteuerAendAZBY'
    GRUNDSTEUER_AEND_A_Z_H_E = 'GrundsteuerAendAZHE'
    GRUNDSTEUER_AEND_A_Z_H_H = 'GrundsteuerAendAZHH'
    GRUNDSTEUER_AEND_A_Z_N_I = 'GrundsteuerAendAZNI'
    GRUNDSTEUER_B_W = 'GrundsteuerBW'
    GRUNDSTEUER_B_Y = 'GrundsteuerBY'
    GRUNDSTEUER_H_E = 'GrundsteuerHE'
    GRUNDSTEUER_H_H = 'GrundsteuerHH'
    GRUNDSTEUER_N_I = 'GrundsteuerNI'
    GRUNDSTEUERWERT = 'Grundsteuerwert'
    IBAN_MELDUNG = 'IBANMeldung'
    INV_ST_G51_FESTSTELLUNG = 'InvStG51Feststellung'
    INV_ST_G56_ABS5 = 'InvStG56Abs5'
    KAP_G = 'KapG'
    KAP_G_AUS = 'KapGAus'
    KAP_E_ST_A = 'KapEStA'
    KAP_E_ST_INV_ST_G = 'KapEStInvStG'
    KKV_MITTEILUNG = 'KKVMitteilung'
    KONTOABFRAGE = 'Kontoabfrage'
    KONTOINFORMATION = 'Kontoinformation'
    K_ST = 'KSt'
    K_ST_ANTRAG_EINLAGENRUECK = 'KStAntragEinlagenrueck'
    K_ST_ANTRAG_OPTION_PERS_G = 'KStAntragOptionPersG'
    K_ST_Z = 'KStZ'
    K_ST_ZERLEGUNG_V_Z = 'KStZerlegungVZ'
    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_DIVA_ADRESSE_B_R_M = 'LStHVDivaAdresseBRM'
    L_ST_H_V_V_M_ANLAGE = 'LStHVVMAnlage'
    L_ST_H_V_V_M_UPDATE = 'LStHVVMUpdate'
    LST_MITTEILUNG = 'LSTMitteilung'
    MINDEST_ST_UNTERNEHMEN_E_U = 'MindestStUnternehmenEU'
    MITTEILUNG_ABHOLUNG = 'MitteilungAbholung'
    MVO_MITTEILUNG = 'MVOMitteilung'
    MVZ_MITTEILUNG = 'MVZMitteilung'
    NEK_MITTEILUNG = 'NEKMitteilung'
    OGH_MITTEILUNG = 'OGHMitteilung'
    PERS_G = 'PersG'
    POSTFACH_ANFRAGE = 'PostfachAnfrage'
    POSTFACH_BESTAETIGUNG = 'PostfachBestaetigung'
    POSTFACH_STATUS = 'PostfachStatus'
    PROTOKOLL_ANFORDERUNG = 'ProtokollAnforderung'
    RABE_EXT_DATENHALTUNG_CHECK = 'RabeExtDatenhaltungCheck'
    RABE_EXT_DATENHALTUNG_PFLEGE = 'RabeExtDatenhaltungPflege'
    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_AB_S50A = 'StAbS50a'
    STATUSABFRAGE = 'Statusabfrage'
    STUNDUNG_ANTRAG = 'StundungAntrag'
    UENST_ANMELDUNG_B_E = 'UENSTAnmeldungBE'
    UENST_ANZEIGE_B_E = 'UENSTAnzeigeBE'
    UNENTGELTLICHE_DEPOTUEBERTRAGUNG = 'UnentgeltlicheDepotuebertragung'
    U_ST = 'USt'
    U_ST_A_KFZ_EINZEL = 'UStAKfzEinzel'
    U_ST_D_V = 'UStDV'
    U_ST_S_V = 'UStSV'
    U_ST_V_A = 'UStVA'
    VAG_MITTEILUNG = 'VAGMitteilung'
    VERMOEGENSWIRKSAME_LEISTUNG = 'VermoegenswirksameLeistung'
    VGN_ANMELDUNG_B_E = 'VGNAnmeldungBE'
    VGN_ANMELDUNG_H_B = 'VGNAnmeldungHB'
    VGN_ANMELDUNG_H_H = 'VGNAnmeldungHH'
    VGN_ANZEIGE_B_E = 'VGNAnzeigeBE'
    VGN_ANZEIGE_H_H = 'VGNAnzeigeHH'
    VM_ERGEBNIS_LISTE_V_N_SICHT = 'VMErgebnisListeVNSicht'
    V_MO_V_M_V_FREISCHALTUNG = 'VMoVMVFreischaltung'
    V_MO_V_M_V_ST_B_ANLAGE = 'VMoVMVStBAnlage'
    V_MO_V_M_V_ST_B_UPDATE = 'VMoVMVStBUpdate'
    VM_WIDERRUF = 'VMWiderruf'
    V_NO_V_M_V_LOESCHUNG = 'VNoVMVLoeschung'
    V_NO_V_M_V_REGISTRIERUNG = 'VNoVMVRegistrierung'
    V_NO_V_M_V_UPDATE = 'VNoVMVUpdate'
    VOLLF_A_ANLAGE = 'VollfAAnlage'
    VOLLF_A_UPDATE = 'VollfAUpdate'
    VOLLMACHT_DETAILS = 'VollmachtDetails'
    WTB_ANMELDUNG_H_B = 'WTBAnmeldungHB'
    ZMDO = 'ZMDO'
    ZUWENDUNGSBESTAETIGUNG = 'Zuwendungsbestaetigung'


class Vorgang(str, Enum):
    """
    Main information whether the data was authenticated (send-Auth) or not (send-NoSig)
    """

    SEND_AUTH = 'Send_Auth'
    SEND_AUTH_PART = 'Send_Auth_Part'
    SEND_NOSIG = 'Send_NoSig'


class Testmerker(IntEnum):
    """
    Marking of the data delivery whether it is a test case, applies to the entire data delivery. A real case does not contain this element. A test case must be marked with a test marker so that it is not processed like a real case. If the data was only sent for testing the frontend, it does not need to be processed further.
    """

    TM010000001 = 10000001
    TM080000001 = 80000001
    TM160000001 = 160000001
    TM160000002 = 160000002
    TM220000000 = 220000000
    TM220002000 = 220002000
    TM230000001 = 230000001
    TM240000000 = 240000000
    TM370000001 = 370000001
    TM520000000 = 520000000
    TM700000001 = 700000001
    TM700000004 = 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):
    """
    Uniform abbreviations for the federal states or alternative recipients
    """

    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.", IsRequired=true)
    id: Optional[str] = None
    """
    The identifier of the receiver.
    """


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


class Verschluesselungsart(str, Enum):
    """
    Encryption protocol. Different encryption types may be used, a distinction is necessary here to control the correct decryption tool. With which encryption type were the contents of the elements 'DatenLieferant' and possibly 'SigUser' in the TransferHeader and the element 'DatenTeil' encrypted
    """

    PKCS_7V1_5 = 'PKCS_7v1_5'
    PKCS_7V1_5ENVELOPED = 'PKCS_7v1_5enveloped'
    NO_BASE64 = 'NO_BASE64'
    CMS_ENCRYPTED_DATA = 'CMSEncryptedData'
    CMS_ENVELOPED_DATA = 'CMSEnvelopedData'
    ENVELOPEDDATA__RSA_OAEP__AES_128__GZIP__B64 = 'EnvelopedData__RSA_OAEP__AES_128__GZip__B64'


class Kompression(str, Enum):
    """
    With which compression the contents of the elements 'DatenLieferant' and possibly 'SigUser' in the TransferHeader and the element DatenTeil were compressed.
    """

    GZIP = 'GZIP'
    NO_BASE64 = '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: List[str] = field(default_factory=list)
    """
    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: List[str] = field(default_factory=list)
    """
    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: List[Nutzdatenblock] = field(default_factory=list)
    """
    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: 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.")
    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.")
    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.")
    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.")
    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.")
    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.")
    length: int = 0
    """
    The size, in bytes, of the current file.
    """


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


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


    # @ApiMember(Description="A value that indicates whether the others can read from this file.")
    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.")
    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.")
    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.")
    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.")
    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.")
    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.")
    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.")
    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.")
    others_can_write: bool = False
    """
    A value that indicates whether others can write into this file.
    """


    # @ApiMember(Description="Extensions to the file attributes.")
    extensions: Dict[str, str] = field(default_factory=dict)
    """
    Extensions to the file attributes.
    """


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

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


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


# @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: List[BinaryFile] = field(default_factory=list)
    """
    If available, the PDF-based files to represent generated transfer prototocols.
    """


# @Api(Description="An asynchronous service to submit content that represents a recapitulative tax declaration for 2026.")
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class SubmitZm2026Async(SubmitZm2026Base):
    """
    An asynchronous service to submit content that represents a recapitulative tax declaration for 2026.
    """

    pass

Python SubmitZm2026Async DTOs

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

HTTP + XML

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

POST /SubmitZm2026Async HTTP/1.1 
Host: taxfiling.staging.pwc.de 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<SubmitZm2026Async xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PwC.xEric.Core.Services.Contracts.Umsatzsteuer.Requests">
  <Anschrift>
    <name>String</name>
    <adresszusatz>String</adresszusatz>
    <strasse>String</strasse>
    <hausnr>String</hausnr>
    <plz>String</plz>
    <ort>String</ort>
    <staat>String</staat>
    <telefon>String</telefon>
  </Anschrift>
  <DatenLieferant>String</DatenLieferant>
  <DuplexDruck>false</DuplexDruck>
  <FussText>String</FussText>
  <Knri>String</Knri>
  <ProtocolPrefix>String</ProtocolPrefix>
  <Zertifikat xmlns:d2p1="http://schemas.datacontract.org/2004/07/PwC.xEric.Core.Domain.Concretes.Certificates">
    <Content xmlns="http://schemas.datacontract.org/2004/07/PwC.DigitalHub.Utilities.Domain.IO.Contracts">AA==</Content>
    <d2p1:Description>String</d2p1:Description>
    <d2p1:Name>String</d2p1:Name>
    <d2p1:Pin>String</d2p1:Pin>
    <d2p1:Tags xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </d2p1:Tags>
  </Zertifikat>
  <ZmZeilen waehrung="0" meldeart="10">
    <anzeige>false</anzeige>
    <widerruf>false</widerruf>
    <mzr>
      <quart>1</quart>
      <jahr>0</jahr>
    </mzr>
    <zeile umsatzart="D">
      <knre>String</knre>
      <betrag>0</betrag>
    </zeile>
  </ZmZeilen>
</SubmitZm2026Async>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<BearbeiteVorgangResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PwC.xEric.Core.Services.Contracts.Responses">
  <Id>String</Id>
  <Index>0</Index>
  <ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
    <d2p1:ErrorCode>String</d2p1:ErrorCode>
    <d2p1:Message>String</d2p1:Message>
    <d2p1:StackTrace>String</d2p1:StackTrace>
    <d2p1:Errors>
      <d2p1:ResponseError>
        <d2p1:ErrorCode>String</d2p1:ErrorCode>
        <d2p1:FieldName>String</d2p1:FieldName>
        <d2p1:Message>String</d2p1:Message>
        <d2p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfstringstring>
            <d5p1:Key>String</d5p1:Key>
            <d5p1:Value>String</d5p1:Value>
          </d5p1:KeyValueOfstringstring>
        </d2p1:Meta>
      </d2p1:ResponseError>
    </d2p1:Errors>
    <d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>String</d3p1:Key>
        <d3p1:Value>String</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </d2p1:Meta>
  </ResponseStatus>
  <StatusCode>ERIC_OK</StatusCode>
  <StatusText>String</StatusText>
  <Rueckgabe>
    <Erfolg>
      <Telenummer>String</Telenummer>
      <Ordnungsbegriff>String</Ordnungsbegriff>
    </Erfolg>
    <Transfers>
      <Transfer>
        <TransferTicket>String</TransferTicket>
      </Transfer>
    </Transfers>
    <FehlerRegelpruefung>
      <Nutzdatenticket>String</Nutzdatenticket>
      <Feldidentifikator>String</Feldidentifikator>
      <Mehrfachzeilenindex>String</Mehrfachzeilenindex>
      <LfdNrVordruck>String</LfdNrVordruck>
      <VordruckZeilennummer>String</VordruckZeilennummer>
      <SemantischerIndex Name="String">String</SemantischerIndex>
      <Untersachbereich>String</Untersachbereich>
      <PrivateKennnummer>String</PrivateKennnummer>
      <RegelName>String</RegelName>
      <FachlicheFehlerId>String</FachlicheFehlerId>
      <Text>String</Text>
    </FehlerRegelpruefung>
    <Hinweis>
      <Nutzdatenticket>String</Nutzdatenticket>
      <Feldidentifikator>String</Feldidentifikator>
      <Mehrfachzeilenindex>String</Mehrfachzeilenindex>
      <LfdNrVordruck>String</LfdNrVordruck>
      <VordruckZeilennummer>String</VordruckZeilennummer>
      <SemantischerIndex Name="String">String</SemantischerIndex>
      <Untersachbereich>String</Untersachbereich>
      <PrivateKennnummer>String</PrivateKennnummer>
      <RegelName>String</RegelName>
      <FachlicheHinweisId>String</FachlicheHinweisId>
      <Text>String</Text>
    </Hinweis>
  </Rueckgabe>
  <Serverantwort>
    <TransferHeader version="String">
      <Verfahren>ElsterAnmeldung</Verfahren>
      <DatenArt>AbrufcodeAntrag</DatenArt>
      <Vorgang>send-Auth</Vorgang>
      <TransferTicket>String</TransferTicket>
      <Testmerker>0</Testmerker>
      <SigUser />
      <Empfaenger id="String">
        <Ziel>BW</Ziel>
      </Empfaenger>
      <HerstellerID>String</HerstellerID>
      <DatenLieferant>String</DatenLieferant>
      <EingangsDatum>00010101000000</EingangsDatum>
      <Datei>
        <Verschluesselung>PKCS#7v1.5</Verschluesselung>
        <Kompression>GZIP</Kompression>
        <TransportSchluessel>String</TransportSchluessel>
        <Erstellung>
          <Eric />
        </Erstellung>
      </Datei>
      <RC>
        <Rueckgabe>
          <Code>String</Code>
          <Text>String</Text>
        </Rueckgabe>
        <Stack>
          <Code>String</Code>
          <Text>String</Text>
        </Stack>
      </RC>
      <VersionClient>String</VersionClient>
      <Zusatz>
        <Info>String</Info>
        <ElsterInfo>String</ElsterInfo>
      </Zusatz>
    </TransferHeader>
    <DatenTeil>
      <Nutzdatenblock>
        <NutzdatenHeader version="String">
          <NutzdatenTicket>String</NutzdatenTicket>
          <Empfaenger id="L">String</Empfaenger>
          <Hersteller>
            <ProduktName>String</ProduktName>
            <ProduktVersion>String</ProduktVersion>
          </Hersteller>
          <DatenLieferant>String</DatenLieferant>
          <RC>
            <Rueckgabe>
              <Code>String</Code>
              <Text>String</Text>
            </Rueckgabe>
            <Stack>
              <Code>String</Code>
              <Text>String</Text>
            </Stack>
          </RC>
          <Zusatz>
            <Info>String</Info>
            <ElsterInfo>String</ElsterInfo>
          </Zusatz>
        </NutzdatenHeader>
        <Nutzdaten />
      </Nutzdatenblock>
    </DatenTeil>
  </Serverantwort>
  <TransferProtocols xmlns:d2p1="http://schemas.datacontract.org/2004/07/PwC.DigitalHub.Utilities.IO.Core.Concretes.Models">
    <d2p1:BinaryFile>
      <Content xmlns="http://schemas.datacontract.org/2004/07/PwC.DigitalHub.Utilities.Domain.IO.Contracts">AA==</Content>
      <d2p1:Metadata>
        <d2p1:Extensions xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfstringstring>
            <d5p1:Key>String</d5p1:Key>
            <d5p1:Value>String</d5p1:Value>
          </d5p1:KeyValueOfstringstring>
        </d2p1:Extensions>
        <d2p1:FullName>String</d2p1:FullName>
        <d2p1:GroupCanExecute>false</d2p1:GroupCanExecute>
        <d2p1:GroupCanRead>false</d2p1:GroupCanRead>
        <d2p1:GroupCanWrite>false</d2p1:GroupCanWrite>
        <d2p1:GroupId>0</d2p1:GroupId>
        <d2p1:LastAccessTime>0001-01-01T00:00:00</d2p1:LastAccessTime>
        <d2p1:LastAccessTimeUtc>0001-01-01T00:00:00</d2p1:LastAccessTimeUtc>
        <d2p1:LastWriteTime>0001-01-01T00:00:00</d2p1:LastWriteTime>
        <d2p1:LastWriteTimeUtc>0001-01-01T00:00:00</d2p1:LastWriteTimeUtc>
        <d2p1:Length>0</d2p1:Length>
        <d2p1:Name>String</d2p1:Name>
        <d2p1:OthersCanExecute>false</d2p1:OthersCanExecute>
        <d2p1:OthersCanRead>false</d2p1:OthersCanRead>
        <d2p1:OthersCanWrite>false</d2p1:OthersCanWrite>
        <d2p1:OwnerCanExecute>false</d2p1:OwnerCanExecute>
        <d2p1:OwnerCanRead>false</d2p1:OwnerCanRead>
        <d2p1:OwnerCanWrite>false</d2p1:OwnerCanWrite>
        <d2p1:UserId>0</d2p1:UserId>
      </d2p1:Metadata>
      <d2p1:Name>String</d2p1:Name>
    </d2p1:BinaryFile>
  </TransferProtocols>
</BearbeiteVorgangResponse>