""" Options: Date: 2025-02-22 13:59:50 Version: 8.52 Tip: To override a DTO option, remove "#" prefix before updating BaseUrl: https://taxfiling.staging.pwc.de #GlobalNamespace: #AddServiceStackTypes: True #AddResponseStatus: False #AddImplicitVersion: #AddDescriptionAsComments: True IncludeTypes: SubmitZm2025.* #ExcludeTypes: #DefaultImports: datetime,decimal,marshmallow.fields:*,servicestack:*,typing:*,dataclasses:dataclass/field,dataclasses_json:dataclass_json/LetterCase/Undefined/config,enum:Enum/IntEnum #DataClass: #DataClassJson: """ import datetime import decimal from marshmallow.fields import * from servicestack import * from typing import * from dataclasses import dataclass, field from dataclasses_json import dataclass_json, LetterCase, Undefined, config from enum import Enum, IntEnum class IDruckRequest: duplex_druck: Optional[bool] = None protocol_prefix: Optional[str] = None fuss_text: Optional[str] = None # @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. """ class IVeschlueselungsRequest: zertifikat: Optional[PortalCertificate] = None # @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="Name") name: Optional[str] = None """ Der Name des Unternehmers. """ # @ApiMember(Description="Der Adresszusatz des Unternehmers.", Name="Adresszusatz") adresszusatz: Optional[str] = None """ Der Adresszusatz des Unternehmers. """ # @ApiMember(Description="Der Straßenname des Unternehmers.", IsRequired=true, Name="Strasse") strasse: Optional[str] = None """ Der Straßenname des Unternehmers. """ # @ApiMember(Description="Die Hausnummer des Unternehmers.", Name="Hausnr") hausnr: Optional[str] = None """ Die Hausnummer des Unternehmers. """ # @ApiMember(Description="Der Hausnummerzusatz des Unternehmers.", Name="Hausnrzusatz") hausnrzusatz: Optional[str] = None """ Der Hausnummerzusatz des Unternehmers. """ # @ApiMember(Description="Der Ort des Unternehmers.", IsRequired=true, Name="Ort") ort: Optional[str] = None """ Der Ort des Unternehmers. """ # @ApiMember(Description="Die Postleitzahl des Unternehmers.", Name="PLZ") plz: Optional[str] = None """ Die Postleitzahl des Unternehmers. """ # @ApiMember(Description="Übermittlung des ISO-3166-Alpha-2-Codes des Staates von Unternehmer.", IsRequired=true, Name="Staat") staat: Optional[str] = None """ Übermittlung des ISO-3166-Alpha-2-Codes des Staates von Unternehmer. """ # @ApiMember(Description="Die Telefonummer des Unternehmers.", Name="Telefon") 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, Name="Quart") 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, Name="Umsatzart") umsatzart: Optional[Umsatzart] = None """ Umsatzart """ # @ApiMember(Description="Umsatzsteuer-Identifikationsnummer des Erwerbers / Unternehmers in einem anderen Mitgliedstaat", IsRequired=true, Name="Knre") knre: Optional[str] = None """ Umsatzsteuer-Identifikationsnummer des Erwerbers / Unternehmers in einem anderen Mitgliedstaat """ # @ApiMember(Description="Summe (Euro)", IsRequired=true, Name="Betrag") 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, Name="Waehrung") waehrung: Optional[Waehrung] = None """ Währung """ # @ApiMember(Description="Berichtigte Meldung", IsRequired=true, Name="Meldeart") 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, Name="Meldeart") 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, Name="Widerruf") widerruf: bool = False """ Widerruf meiner Anzeige nach § 18a Absatz 1 UStG """ # @ApiMember(Description="Meldungszeitraum", IsRequired=true, Name="Mzr") mzr: Optional[Mzr] = None """ Meldungszeitraum """ # @ApiMember(Description="Meldungen der Warenlieferungen", IsRequired=true, Name="Zeilen") zeilen: List[Zeile] = field(default_factory=list) """ Meldungen der Warenlieferungen """ # @Api(Description="A base base service request to submit content that represents a recapitulative tax declaration for 2025.") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class SubmitZm2025Base(IReturn[BearbeiteVorgangResponse], IPost, IDruckRequest, IVeschlueselungsRequest): """ A base base service request to submit content that represents a recapitulative tax declaration for 2025. """ # @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.") 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="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): """ 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' ELSTER_RABE = 'ElsterRabe' 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' 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' 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' 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' GRUNDSTEUERWERT = 'Grundsteuerwert' INV_ST_G56_ABS5 = 'InvStG56Abs5' INV_ST_G51_FESTSTELLUNG = 'InvStG51Feststellung' IBAN_MELDUNG = 'IBANMeldung' 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_ANTRAG_EINLAGENRUECK = 'KStAntragEinlagenrueck' 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_V_M_ANLAGE = 'LStHVVMAnlage' L_ST_H_V_V_M_UPDATE = 'LStHVVMUpdate' LST_MITTEILUNG = 'LSTMitteilung' OGH_MITTEILUNG = 'OGHMitteilung' MINDEST_ST_UNTERNEHMEN_E_U = 'MindestStUnternehmenEU' MVO_MITTEILUNG = 'MVOMitteilung' MVZ_MITTEILUNG = 'MVZMitteilung' FZL_MITTEILUNG = 'FZLMitteilung' NEK_MITTEILUNG = 'NEKMitteilung' 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' 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' 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_AB50A = 'StAb50a' ST_AB_S50A = 'StAbS50a' STATUSABFRAGE = 'Statusabfrage' STUNDUNG_ANTRAG = 'StundungAntrag' UNENTGELTLICHE_DEPOTUEBERTRAGUNG = 'UnentgeltlicheDepotuebertragung' UENST_ANMELDUNG_B_E = 'UENSTAnmeldungBE' UENST_ANZEIGE_B_E = 'UENSTAnzeigeBE' U_ST = 'USt' U_ST_A_KFZ_EINZEL = 'UStAKfzEinzel' U_ST_V_A = 'UStVA' U_ST_D_V = 'UStDV' U_ST_S_V = 'UStSV' VAG_MITTEILUNG = 'VAGMitteilung' VGN_ANMELDUNG_H_B = 'VGNAnmeldungHB' VGN_ANMELDUNG_B_E = 'VGNAnmeldungBE' VGN_ANMELDUNG_H_H = 'VGNAnmeldungHH' VGN_ANZEIGE_H_H = 'VGNAnzeigeHH' VGN_ANZEIGE_B_E = 'VGNAnzeigeBE' WTB_ANMELDUNG_H_B = 'WTBAnmeldungHB' ZMDO = 'ZMDO' ELSTER_VOLLMACHT_DATEN = 'ElsterVollmachtDaten' MITTEILUNG_ABHOLUNG = 'MitteilungAbholung' POSTFACH_BESTAETIGUNG = 'PostfachBestaetigung' 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_M300000002 = 300000002 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 """ # @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.") ziel: Optional[str] = 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.", IsRequired=true) verschluesselung: Optional[Verschluesselungsart] = None """ The type of data encryption used. """ # @ApiMember(Description="The type of data compression used.", IsRequired=true) 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.", IsRequired=true) 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.", IsRequired=true) 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.", IsRequired=true) 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.", IsRequired=true) 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.", IsRequired=true) 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.", IsRequired=true) 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.", IsRequired=true) id: Optional[EmpfaengerID] = None """ The identifier of the receiver. """ # @ApiMember(Description="The value of the receiver.", IsRequired=true) 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.", IsRequired=true) 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.", IsRequired=true) 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.", IsRequired=true) 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. """ class ISecuredCertificate: pin: Optional[str] = None class IFileMetadata: name: Optional[str] = None full_name: Optional[str] = None last_access_time: datetime.datetime = datetime.datetime(1, 1, 1) last_access_time_utc: datetime.datetime = datetime.datetime(1, 1, 1) last_write_time: datetime.datetime = datetime.datetime(1, 1, 1) last_write_time_utc: datetime.datetime = datetime.datetime(1, 1, 1) length: int = 0 user_id: int = 0 group_id: int = 0 group_can_execute: bool = False group_can_write: bool = False group_can_read: bool = False owner_can_read: bool = False owner_can_execute: bool = False owner_can_write: bool = False others_can_read: bool = False others_can_execute: bool = False others_can_write: bool = False extensions: Optional[Dict[str, str]] = None # @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="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. """ # @Route("/SubmitZm2025", "POST") # @Api(Description="A synchronous service to submit content that represents a recapitulative tax declaration for 2025.") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class SubmitZm2025(SubmitZm2025Base, IReturn[BearbeiteVorgangResponse]): """ A synchronous service to submit content that represents a recapitulative tax declaration for 2025. """ pass