Tax Filing Service

<back to all web services

SubmitUStSv2022AsTaxConsultant

SyncUmsatzsteuerSondervorauszahlungBearbeiteVorgangValidiereAuthentifiziereSendeDrucke2022

A synchronous service to create XML content that represents the filing of the special advance payment for VAT (Umsatzsteuer-sondervorauszahlung) as a tax consultant for 2022.

Requires Authentication
The following routes are available for this service:
POST/SubmitUStSv2022AsTaxConsultantA synchronous service to submit an filing of the special advance payment for VAT (Umsatzsteuer-sondervorauszahlung) as a tax consultant for 2022
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';

/**
* Beim DatenLieferanten handelt es sich um diejenige natürliche Person, welche die Software bedient, bzw. in deren Namen die Software bedient wird,um die Daten zu übersenden (auf den Sendeknopf drückt - NICHT jedoch ein etwaiger Erfüllungsgehilfe).
*/
// @Api(Description="Beim DatenLieferanten handelt es sich um diejenige natürliche Person, welche die Software bedient, bzw. in deren Namen die Software bedient wird,um die Daten zu übersenden (auf den Sendeknopf drückt - NICHT jedoch ein etwaiger Erfüllungsgehilfe).")
class DatenLieferant implements IConvertible
{
    /**
    * Der Name des Datenlieferants.
    */
    // @ApiMember(Description="Der Name des Datenlieferants.", IsRequired=true, Name="Name")
    String? name;

    /**
    * Der Straßenname des Datenlieferants.
    */
    // @ApiMember(Description="Der Straßenname des Datenlieferants.", IsRequired=true, Name="Strasse")
    String? strasse;

    /**
    * Die Postleitzahl des Datenlieferants.
    */
    // @ApiMember(Description="Die Postleitzahl des Datenlieferants.", IsRequired=true, Name="PLZ")
    String? plz;

    /**
    * Der Ort des Datenlieferants.
    */
    // @ApiMember(Description="Der Ort des Datenlieferants.", IsRequired=true, Name="Ort")
    String? ort;

    /**
    * Die Telefonnummer (optional) des Datenlieferants.
    */
    // @ApiMember(Description="Die Telefonnummer (optional) des Datenlieferants.", Name="Telefon")
    String? telefon;

    /**
    * Die Email-Adresse (optional) des Datenlieferant.
    */
    // @ApiMember(Description="Die Email-Adresse (optional) des Datenlieferant.", Name="Email")
    String? email;

    DatenLieferant({this.name,this.strasse,this.plz,this.ort,this.telefon,this.email});
    DatenLieferant.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        name = json['name'];
        strasse = json['strasse'];
        plz = json['plz'];
        ort = json['ort'];
        telefon = json['telefon'];
        email = json['email'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'name': name,
        'strasse': strasse,
        'plz': plz,
        'ort': ort,
        'telefon': telefon,
        'email': email
    };

    getTypeName() => "DatenLieferant";
    TypeContext? context = _ctx;
}

/**
* Stellt einen Steuerberater dar.
*/
// @Api(Description="Stellt einen Steuerberater dar.")
class Berater implements IConvertible
{
    /**
    * Der Bezeichnung (optional) des Beraters (normalerweise der Name des Beraters Unternehmen).
    */
    // @ApiMember(Description="Der Bezeichnung (optional) des Beraters (normalerweise der Name des Beraters Unternehmen).", Name="Bezeichnung")
    String? bezeichnung;

    /**
    * Der Name (optional) des Beraters.
    */
    // @ApiMember(Description="Der Name (optional) des Beraters.", Name="Name")
    String? name;

    /**
    * Der Vorname (optional) des Beraters.
    */
    // @ApiMember(Description="Der Vorname (optional) des Beraters.", Name="Vorname")
    String? vorname;

    /**
    * Der Namenvorsatz (optional) des Beraters.
    */
    // @ApiMember(Description="Der Namenvorsatz (optional) des Beraters.", Name="Namensvorsatz")
    String? namensvorsatz;

    /**
    * Der Namenzusatz (optional) des Beraters.
    */
    // @ApiMember(Description="Der Namenzusatz (optional) des Beraters.", Name="Namenszusatz")
    String? namenszusatz;

    /**
    * Der Straßenname (optional) des Beraters.
    */
    // @ApiMember(Description="Der Straßenname (optional) des Beraters.", Name="Str")
    String? str;

    /**
    * Die Hausnummer (optional) des Beraters.
    */
    // @ApiMember(Description="Die Hausnummer (optional) des Beraters.", Name="Hausnummer")
    String? hausnummer;

    /**
    * Der Hausnummernzusatz (optional) des Beraters.
    */
    // @ApiMember(Description="Der Hausnummernzusatz (optional) des Beraters.", Name="HNrZusatz")
    String? hNrZusatz;

    /**
    * Der Anschriftenzusatz (optional) des Beraters.
    */
    // @ApiMember(Description="Der Anschriftenzusatz (optional) des Beraters.", Name="AnschriftenZusatz")
    String? anschriftenZusatz;

    /**
    * Der Ort (optional) des Beraters.
    */
    // @ApiMember(Description="Der Ort (optional) des Beraters.", Name="Ort")
    String? ort;

    /**
    * Die Postleitzahl (optional) des Beraters.
    */
    // @ApiMember(Description="Die Postleitzahl (optional) des Beraters.", Name="PLZ")
    String? plz;

    /**
    * Die Auslandspostleitzahl (optional) des Beraters.
    */
    // @ApiMember(Description="Die Auslandspostleitzahl (optional) des Beraters.", Name="AuslandsPLZ")
    String? auslandsPLZ;

    /**
    * Der Ländername (falls Anschrift im Ausland) des Beraters - optional. Der Ländername des Beraters kann mit 1-20 alphanumerischen Zeichen geliefert werden.
    */
    // @ApiMember(Description="Der Ländername (falls Anschrift im Ausland) des Beraters - optional. \nDer Ländername des Beraters kann mit 1-20 alphanumerischen Zeichen geliefert werden.", Name="Land")
    String? land;

    /**
    * Der Ort des Postfaches (optional) des Beraters.
    */
    // @ApiMember(Description="Der Ort des Postfaches (optional) des Beraters.", Name="PostfachOrt")
    String? postfachOrt;

    /**
    * Das Postfach (optional) des Beraters.
    */
    // @ApiMember(Description="Das Postfach (optional) des Beraters.", Name="Postfach")
    String? postfach;

    /**
    * Die Postleitzahl (optional) des Beraters.
    */
    // @ApiMember(Description="Die Postleitzahl (optional) des Beraters.", Name="PostfachPLZ")
    String? postfachPLZ;

    /**
    * Die Großkundenpostleitzahl (optional) des Beraters.
    */
    // @ApiMember(Description="Die Großkundenpostleitzahl (optional) des Beraters.", Name="GKPLZ")
    String? gkplz;

    /**
    * Die Telefonnummer (optional) des Beraters.
    */
    // @ApiMember(Description="Die Telefonnummer (optional) des Beraters.", Name="Telefon")
    String? telefon;

    /**
    * Die Emailadresse (optional) des Beraters.
    */
    // @ApiMember(Description="Die Emailadresse (optional) des Beraters.", Name="Email")
    String? email;

    Berater({this.bezeichnung,this.name,this.vorname,this.namensvorsatz,this.namenszusatz,this.str,this.hausnummer,this.hNrZusatz,this.anschriftenZusatz,this.ort,this.plz,this.auslandsPLZ,this.land,this.postfachOrt,this.postfach,this.postfachPLZ,this.gkplz,this.telefon,this.email});
    Berater.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        bezeichnung = json['bezeichnung'];
        name = json['name'];
        vorname = json['vorname'];
        namensvorsatz = json['namensvorsatz'];
        namenszusatz = json['namenszusatz'];
        str = json['str'];
        hausnummer = json['hausnummer'];
        hNrZusatz = json['hNrZusatz'];
        anschriftenZusatz = json['anschriftenZusatz'];
        ort = json['ort'];
        plz = json['plz'];
        auslandsPLZ = json['auslandsPLZ'];
        land = json['land'];
        postfachOrt = json['postfachOrt'];
        postfach = json['postfach'];
        postfachPLZ = json['postfachPLZ'];
        gkplz = json['gkplz'];
        telefon = json['telefon'];
        email = json['email'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'bezeichnung': bezeichnung,
        'name': name,
        'vorname': vorname,
        'namensvorsatz': namensvorsatz,
        'namenszusatz': namenszusatz,
        'str': str,
        'hausnummer': hausnummer,
        'hNrZusatz': hNrZusatz,
        'anschriftenZusatz': anschriftenZusatz,
        'ort': ort,
        'plz': plz,
        'auslandsPLZ': auslandsPLZ,
        'land': land,
        'postfachOrt': postfachOrt,
        'postfach': postfach,
        'postfachPLZ': postfachPLZ,
        'gkplz': gkplz,
        'telefon': telefon,
        'email': email
    };

    getTypeName() => "Berater";
    TypeContext? context = _ctx;
}

/**
* Stellt einen Mandant dar.
*/
// @Api(Description="Stellt einen Mandant dar.")
class Mandant implements IConvertible
{
    /**
    * Der Name (optional) des Mandanten.
    */
    // @ApiMember(Description="Der Name (optional) des Mandanten.", Name="Name")
    String? name;

    /**
    * Der Vorname (optional) des Mandanten.
    */
    // @ApiMember(Description="Der Vorname (optional) des Mandanten.", Name="Vorname")
    String? vorname;

    /**
    * Die Mandantennummer (optional) des Mandanten.
    */
    // @ApiMember(Description="Die Mandantennummer (optional) des Mandanten.", Name="MandantenNr")
    String? mandantenNr;

    /**
    * Das Bearbeiterkennzeichen (optional) des Mandanten.
    */
    // @ApiMember(Description="Das Bearbeiterkennzeichen (optional) des Mandanten.", Name="Bearbeiterkennzeichen")
    String? bearbeiterkennzeichen;

    Mandant({this.name,this.vorname,this.mandantenNr,this.bearbeiterkennzeichen});
    Mandant.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        name = json['name'];
        vorname = json['vorname'];
        mandantenNr = json['mandantenNr'];
        bearbeiterkennzeichen = json['bearbeiterkennzeichen'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'name': name,
        'vorname': vorname,
        'mandantenNr': mandantenNr,
        'bearbeiterkennzeichen': bearbeiterkennzeichen
    };

    getTypeName() => "Mandant";
    TypeContext? context = _ctx;
}

/**
* Stellt eine Anbindung zum ELSTER Online Portal (EOP) dar.
*/
// @Api(Description="Stellt eine Anbindung zum ELSTER Online Portal (EOP) dar.")
class EOP implements IConvertible
{
    String? transferausgabe;

    EOP({this.transferausgabe});
    EOP.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        transferausgabe = json['transferausgabe'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'transferausgabe': transferausgabe
    };

    getTypeName() => "EOP";
    TypeContext? context = _ctx;
}

/**
* Represents a base class for a file with raw data.
*/
// @Api(Description="Represents a base class for a file with raw data.")
abstract class FileBase
{
    /**
    * The raw data content of the file.
    */
    // @ApiMember(Description="The raw data content of the file.", Name="Content")
    Uint8List? content;

    FileBase({this.content});
    FileBase.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        content = JsonConverters.fromJson(json['content'],'Uint8List',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'content': JsonConverters.toJson(content,'Uint8List',context!)
    };

    getTypeName() => "FileBase";
    TypeContext? context = _ctx;
}

/**
* Represents a portal certificate that is protected by a password.
*/
// @Api(Description="Represents a portal certificate that is protected by a password.")
class PortalCertificate extends FileBase implements ISecuredCertificate, IHasIndex, IConvertible
{
    /**
    * The unique identifier of the certificate.
    */
    // @ApiMember(Description="The unique identifier of the certificate.")
    String? id;

    /**
    * The position of the certificate element in an indexed collection of certificates.
    */
    // @ApiMember(Description="The position of the certificate element in an indexed collection of certificates.")
    int? index;

    /**
    * The password to protect the certificate from unauthorized access.
    */
    // @StringLength(255)
    // @ApiMember(Description="The password to protect the certificate from unauthorized access.")
    String? pin;

    /**
    * The description of the certificate.
    */
    // @StringLength(2147483647)
    // @ApiMember(Description="The description of the certificate.")
    String? description;

    /**
    * Tags that can be used to label or identify the certificate.
    */
    // @ApiMember(Description="Tags that can be used to label or identify the certificate.")
    List<String>? tags;

    /**
    * Gets or sets the file name of the certificate.
    */
    // @ApiMember(Description="Gets or sets the file name of the certificate.")
    String? name;

    /**
    * The raw data content of the file.
    */
    // @ApiMember(Description="The raw data content of the file.", Name="Content")
    Uint8List? content;

    PortalCertificate({this.id,this.index,this.pin,this.description,this.tags,this.name,this.content});
    PortalCertificate.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        super.fromMap(json);
        id = json['id'];
        index = json['index'];
        pin = json['pin'];
        description = json['description'];
        tags = JsonConverters.fromJson(json['tags'],'List<String>',context!);
        name = json['name'];
        content = JsonConverters.fromJson(json['content'],'Uint8List',context!);
        return this;
    }

    Map<String, dynamic> toJson() => super.toJson()..addAll({
        'id': id,
        'index': index,
        'pin': pin,
        'description': description,
        'tags': JsonConverters.toJson(tags,'List<String>',context!),
        'name': name,
        'content': JsonConverters.toJson(content,'Uint8List',context!)
    });

    getTypeName() => "PortalCertificate";
    TypeContext? context = _ctx;
}

/**
* Submits a VAT registration (Umsatzsteueranmeldung) for 2022 and files in the XML content as a tax consultant.
*/
// @Api(Description="Submits a VAT registration (Umsatzsteueranmeldung) for 2022 and files in the XML content as a tax consultant.")
abstract class SubmitUmsatzsteueranmeldung2022AsTaxConsultantBase implements IPost, IDruckRequest, IVeschlueselungsRequest
{
    /**
    * Natürliche Person, welche die Software bedient, bzw. in deren Namen die Software bedient wird, um die Daten zu übersenden (Natural person who operates the software or under whose name the software is operated in order to transmit the data).
    */
    // @ApiMember(Description="Natürliche Person, welche die Software bedient, bzw. in deren Namen die Software bedient wird, um die Daten zu übersenden (Natural person who operates the software or under whose name the software is operated in order to transmit the data).", IsRequired=true, Name="DatenLieferant")
    DatenLieferant? datenLieferant;

    /**
    * Das Datum der Erstellung (Date of creation).
    */
    // @ApiMember(Description="Das Datum der Erstellung (Date of creation).", IsRequired=true, Name="Erstellungsdatum")
    DateTime? erstellungsdatum;

    /**
    * Der Steuerberater, der den Steuerfall bearbeitet und abgibt (The tax adviser who processes and submits the tax case).
    */
    // @ApiMember(Description="Der Steuerberater, der den Steuerfall bearbeitet und abgibt (The tax adviser who processes and submits the tax case).", Name="Berater")
    Berater? berater;

    /**
    * Der Mandant, für den der Steuerfall bearbeitet wird (The client for which the tax case is being processed).
    */
    // @ApiMember(Description="Der Mandant, für den der Steuerfall bearbeitet wird (The client for which the tax case is being processed).", Name="Mandant")
    Mandant? mandant;

    /**
    * Die vierstellige Bundesfinanzamtsnummer des empfangenden Finanzamtes (The four-digit federal tax office number of the receiving tax office).
    */
    // @ApiMember(Description="Die vierstellige Bundesfinanzamtsnummer des empfangenden Finanzamtes (The four-digit federal tax office number of the receiving tax office).", IsRequired=true, Name="Bundesfinanzamtsnummer")
    String? bundesfinanzamtsnummer;

    /**
    * Die Anbindung zum ELSTER Online Portal (EOP).
    */
    // @ApiMember(Description="Die Anbindung zum ELSTER Online Portal (EOP).", Name="EOP")
    EOP? eop;

    /**
    * 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="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")
    bool? duplexDruck;

    /**
    * Name prefix of the generated transfer protocol file.
    */
    // @ApiMember(Description="Name prefix of the generated transfer protocol file.", IsRequired=true, Name="ProtocolPrefix")
    String? protocolPrefix;

    /**
    * Footer text to be used on the printout (optional).
    */
    // @ApiMember(Description="Footer text to be used on the printout (optional).", Name="FussText")
    String? fussText;

    /**
    * The authentification certificate.
    */
    // @ApiMember(Description="The authentification certificate.", IsRequired=true, Name="Zertifikat")
    PortalCertificate? zertifikat;

    /**
    * Gets or sets the retrieval code. This value MUST be given for the tax operation ElsterDatenabholung and tax data type ElsterVaStDaten, for which a SoftPSE certificate is used to sign.In other cases a null value should be given. It consists of 2 x 5 characters, which are joined by  '-'. Example: 'K6FG5 - RS32P'.
    */
    // @ApiMember(Description="Gets or sets the retrieval code. This value MUST be given for the tax operation ElsterDatenabholung and tax data type ElsterVaStDaten, for which a SoftPSE certificate is used to sign.In other cases a null value should be given. It consists of 2 x 5 characters, which are joined by  '-'. Example: 'K6FG5 - RS32P'.", Name="AbrufCode")
    String? abrufCode;

    SubmitUmsatzsteueranmeldung2022AsTaxConsultantBase({this.datenLieferant,this.erstellungsdatum,this.berater,this.mandant,this.bundesfinanzamtsnummer,this.eop,this.duplexDruck,this.protocolPrefix,this.fussText,this.zertifikat,this.abrufCode});
    SubmitUmsatzsteueranmeldung2022AsTaxConsultantBase.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        datenLieferant = JsonConverters.fromJson(json['datenLieferant'],'DatenLieferant',context!);
        erstellungsdatum = JsonConverters.fromJson(json['erstellungsdatum'],'DateTime',context!);
        berater = JsonConverters.fromJson(json['berater'],'Berater',context!);
        mandant = JsonConverters.fromJson(json['mandant'],'Mandant',context!);
        bundesfinanzamtsnummer = json['bundesfinanzamtsnummer'];
        eop = JsonConverters.fromJson(json['eop'],'EOP',context!);
        duplexDruck = json['duplexDruck'];
        protocolPrefix = json['protocolPrefix'];
        fussText = json['fussText'];
        zertifikat = JsonConverters.fromJson(json['zertifikat'],'PortalCertificate',context!);
        abrufCode = json['abrufCode'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'datenLieferant': JsonConverters.toJson(datenLieferant,'DatenLieferant',context!),
        'erstellungsdatum': JsonConverters.toJson(erstellungsdatum,'DateTime',context!),
        'berater': JsonConverters.toJson(berater,'Berater',context!),
        'mandant': JsonConverters.toJson(mandant,'Mandant',context!),
        'bundesfinanzamtsnummer': bundesfinanzamtsnummer,
        'eop': JsonConverters.toJson(eop,'EOP',context!),
        'duplexDruck': duplexDruck,
        'protocolPrefix': protocolPrefix,
        'fussText': fussText,
        'zertifikat': JsonConverters.toJson(zertifikat,'PortalCertificate',context!),
        'abrufCode': abrufCode
    };

    getTypeName() => "SubmitUmsatzsteueranmeldung2022AsTaxConsultantBase";
    TypeContext? context = _ctx;
}

/**
* Stellt den Pflichtkennzahl Kz09 dar, welche die Angabe diverser Informationen ermöglicht. Beispiele: 74931 74931*Name Berater*Berufsbezeichnung*** 74931*****Name Mandant 74931***Tel.Nr:Berater/Vorwahl*Tel.Nr:Berater/Anschluss*Name Mandant
*/
// @Api(Description="Stellt den Pflichtkennzahl Kz09 dar, welche die Angabe diverser Informationen ermöglicht. Beispiele: 74931 74931*Name Berater*Berufsbezeichnung*** 74931*****Name Mandant 74931***Tel.Nr:Berater/Vorwahl*Tel.Nr:Berater/Anschluss*Name Mandant")
class Kz09 implements IConvertible
{
    /**
    * Die Bezeichnung des Softwareherstellers (Pflicht), über dessen Software die Steuererklärung oder (Vor)anmeldung abgegeben wird. Die Bezeichnung muss 5-stellig sein.
    */
    // @ApiMember(Description="Die Bezeichnung des Softwareherstellers (Pflicht), über dessen Software die Steuererklärung oder (Vor)anmeldung abgegeben wird. Die Bezeichnung muss 5-stellig sein.", IsRequired=true, Name="HerstellerId")
    int? herstellerId;

    /**
    * Der Name des Beraters, welcher die Steuererklärung oder (Vor)anmeldung abgegeben wird. Das Name des Beraters kann von 0- bis 85-stellig sein.
    */
    // @ApiMember(Description="Der Name des Beraters, welcher die Steuererklärung oder (Vor)anmeldung abgegeben wird. Das Name des Beraters kann von 0- bis 85-stellig sein.", Name="BeraterName")
    String? beraterName;

    /**
    * Die Berufbezeichnung des Beraters. Die Berufbezeichnung des Beraterskann von 0- bis 85-stellig sein.
    */
    // @ApiMember(Description="Die Berufbezeichnung des Beraters. Die Berufbezeichnung des Beraterskann von 0- bis 85-stellig sein.", Name="Berufsbezeichnung")
    String? berufsbezeichnung;

    /**
    * Die Telefonnummervorwahl des Beraters. Die Telefonnummervorwahl des Beraters kann von 0- bis 85-stellig sein.
    */
    // @ApiMember(Description="Die Telefonnummervorwahl des Beraters. Die Telefonnummervorwahl des Beraters kann von 0- bis 85-stellig sein.", Name="Berufsbezeichnung")
    String? beraterTelNrVorwahl;

    /**
    * Der Telefonnummeranschluss des Beraters. Der Telefonnummeranschluss des Beraters kann von 0- bis 85-stellig sein.
    */
    // @ApiMember(Description="Der Telefonnummeranschluss des Beraters. Der Telefonnummeranschluss des Beraters kann von 0- bis 85-stellig sein.", Name="BeraterTelNrAnschluss")
    String? beraterTelNrAnschluss;

    /**
    * Der Name des Mandanten. Der Name des Mandanten kann von 0- bis 85-stellig sein.
    */
    // @ApiMember(Description="Der Name des Mandanten. Der Name des Mandanten kann von 0- bis 85-stellig sein.", Name="MandantName")
    String? mandantName;

    Kz09({this.herstellerId,this.beraterName,this.berufsbezeichnung,this.beraterTelNrVorwahl,this.beraterTelNrAnschluss,this.mandantName});
    Kz09.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        herstellerId = json['herstellerId'];
        beraterName = json['beraterName'];
        berufsbezeichnung = json['berufsbezeichnung'];
        beraterTelNrVorwahl = json['beraterTelNrVorwahl'];
        beraterTelNrAnschluss = json['beraterTelNrAnschluss'];
        mandantName = json['mandantName'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'herstellerId': herstellerId,
        'beraterName': beraterName,
        'berufsbezeichnung': berufsbezeichnung,
        'beraterTelNrVorwahl': beraterTelNrVorwahl,
        'beraterTelNrAnschluss': beraterTelNrAnschluss,
        'mandantName': mandantName
    };

    getTypeName() => "Kz09";
    TypeContext? context = _ctx;
}

/**
* Specifies an integer data type with limits and a specialized string representation
*/
// @Api(Description="Specifies an integer data type with limits and a specialized string representation")
abstract class Ganzzahl
{
    /**
    * The intrinsic integer value.
    */
    // @ApiMember(Description="The intrinsic integer value.")
    int? wert;

    Ganzzahl({this.wert});
    Ganzzahl.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        wert = json['wert'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'wert': wert
    };

    getTypeName() => "Ganzzahl";
    TypeContext? context = _ctx;
}

/**
* Represents an integer data type whose value has a maximum length of 1 digit. Minus sign allowed.
*/
// @Api(Description="Represents an integer data type whose value has a maximum length of 1 digit. Minus sign allowed.")
class Ganzzahl1EN extends Ganzzahl implements IConvertible
{
    /**
    * The intrinsic integer value.
    */
    // @ApiMember(Description="The intrinsic integer value.")
    int? wert;

    Ganzzahl1EN({this.wert});
    Ganzzahl1EN.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        super.fromMap(json);
        wert = json['wert'];
        return this;
    }

    Map<String, dynamic> toJson() => super.toJson()..addAll({
        'wert': wert
    });

    getTypeName() => "Ganzzahl1EN";
    TypeContext? context = _ctx;
}

/**
* Specifies an amount of money without cents with limits and a specialized string representation
*/
// @Api(Description="Specifies an amount of money without cents with limits and a specialized string representation")
abstract class GrossGeldBetragOhneCent
{
    /**
    * The intrinsic currency value.
    */
    // @ApiMember(Description="The intrinsic currency value.")
    int? wert;

    GrossGeldBetragOhneCent({this.wert});
    GrossGeldBetragOhneCent.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        wert = json['wert'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'wert': wert
    };

    getTypeName() => "GrossGeldBetragOhneCent";
    TypeContext? context = _ctx;
}

/**
* Represents an unsigned amount of money without cents whose value has a maximum length of 13 digits. That is, 1 to 13 digits. Minus sign NOT allowed.
*/
// @Api(Description="Represents an unsigned amount of money without cents whose value has a maximum length of 13 digits. That is, 1 to 13 digits. Minus sign NOT allowed.")
class PositiverGeldBetragOhneCent13EN extends GrossGeldBetragOhneCent implements IConvertible
{
    /**
    * The intrinsic currency value.
    */
    // @ApiMember(Description="The intrinsic currency value.")
    int? wert;

    PositiverGeldBetragOhneCent13EN({this.wert});
    PositiverGeldBetragOhneCent13EN.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        super.fromMap(json);
        wert = json['wert'];
        return this;
    }

    Map<String, dynamic> toJson() => super.toJson()..addAll({
        'wert': wert
    });

    getTypeName() => "PositiverGeldBetragOhneCent13EN";
    TypeContext? context = _ctx;
}

/**
* Anmeldung der Sondervorauszahlung für die Umsatzsteuer 2022 (Filing of the special advance payment for VAT 2022).
*/
// @Api(Description="Anmeldung der Sondervorauszahlung für die Umsatzsteuer 2022 (Filing of the special advance payment for VAT 2022).")
class Umsatzsteuersondervorauszahlung2022 implements IConvertible
{
    /**
    * Das Jahr der Veranlagung.
    */
    // @ApiMember(Description="Das Jahr der Veranlagung.", IsRequired=true, Name="Jahr")
    int? jahr;

    /**
    * Steuernummer.
    */
    // @ApiMember(Description="Steuernummer.", IsRequired=true, Name="Steuernummer")
    String? steuernummer;

    /**
    * Pflichtkennzahl, welche die Angabe diverser Informationen ermöglicht.
    */
    // @ApiMember(Description="Pflichtkennzahl, welche die Angabe diverser Informationen ermöglicht.", IsRequired=true, Name="Kz09")
    Kz09? kz09;

    /**
    * Berichtigte Anmeldung
    */
    // @ApiMember(Description="Berichtigte Anmeldung", Name="Kz10")
    Ganzzahl1EN? kz10;

    /**
    * Über die Angaben in der Steueranmeldung hinaus sind weitere oder abweichende Angaben oder Sachverhalte zu berücksichtigen.
    */
    // @ApiMember(Description="Über die Angaben in der Steueranmeldung hinaus sind weitere oder abweichende Angaben oder Sachverhalte zu berücksichtigen.", Name="Kz23")
    Ganzzahl1EN? kz23;

    /**
    * Ergänzende Angaben zur Steueranmeldung
    */
    // @ApiMember(Description="Ergänzende Angaben zur Steueranmeldung", Name="Kz23_Begruendung")
    String? kz23_Begruendung;

    /**
    * Das SEPA-Lastschriftmandat wird ausnahmsweise (zum Beispiel wegen Verrechnungswünschen) für diesen Voranmeldungszeitraum widerrufen (falls ja, bitte eine 1 eintragen). Ein gegebenenfalls verbleibender Restbetrag ist gesondert zu entrichten.
    */
    // @ApiMember(Description="Das SEPA-Lastschriftmandat wird ausnahmsweise (zum Beispiel wegen Verrechnungswünschen) für diesen Voranmeldungszeitraum widerrufen (falls ja, bitte eine 1 eintragen). Ein gegebenenfalls verbleibender Restbetrag ist gesondert zu entrichten.", Name="Kz26")
    Ganzzahl1EN? kz26;

    /**
    * Verrechnung des Erstattungsbetrags erwünscht / Erstattungsbetrag ist abgetreten (falls ja, bitte eine 1 eintragen).
    */
    // @ApiMember(Description="Verrechnung des Erstattungsbetrags erwünscht / Erstattungsbetrag ist abgetreten (falls ja, bitte eine 1 eintragen).", Name="Kz29")
    Ganzzahl1EN? kz29;

    /**
    * Summe der verbleibenden Umsatzsteuer-Vorauszahlungen zuzüglich der zu berücksichtigenden Sondervorauszahlung für das Kalenderjahr 2021; davon 1/11 = Sondervorauszahlung 2022.
    */
    // @ApiMember(Description="Summe der verbleibenden Umsatzsteuer-Vorauszahlungen zuzüglich der zu berücksichtigenden Sondervorauszahlung für das Kalenderjahr 2021; davon 1/11 = Sondervorauszahlung 2022.", IsRequired=true, Name="Kz38")
    PositiverGeldBetragOhneCent13EN? kz38;

    Umsatzsteuersondervorauszahlung2022({this.jahr,this.steuernummer,this.kz09,this.kz10,this.kz23,this.kz23_Begruendung,this.kz26,this.kz29,this.kz38});
    Umsatzsteuersondervorauszahlung2022.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        jahr = json['jahr'];
        steuernummer = json['steuernummer'];
        kz09 = JsonConverters.fromJson(json['kz09'],'Kz09',context!);
        kz10 = JsonConverters.fromJson(json['kz10'],'Ganzzahl1EN',context!);
        kz23 = JsonConverters.fromJson(json['kz23'],'Ganzzahl1EN',context!);
        kz23_Begruendung = json['kz23_Begruendung'];
        kz26 = JsonConverters.fromJson(json['kz26'],'Ganzzahl1EN',context!);
        kz29 = JsonConverters.fromJson(json['kz29'],'Ganzzahl1EN',context!);
        kz38 = JsonConverters.fromJson(json['kz38'],'PositiverGeldBetragOhneCent13EN',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'jahr': jahr,
        'steuernummer': steuernummer,
        'kz09': JsonConverters.toJson(kz09,'Kz09',context!),
        'kz10': JsonConverters.toJson(kz10,'Ganzzahl1EN',context!),
        'kz23': JsonConverters.toJson(kz23,'Ganzzahl1EN',context!),
        'kz23_Begruendung': kz23_Begruendung,
        'kz26': JsonConverters.toJson(kz26,'Ganzzahl1EN',context!),
        'kz29': JsonConverters.toJson(kz29,'Ganzzahl1EN',context!),
        'kz38': JsonConverters.toJson(kz38,'PositiverGeldBetragOhneCent13EN',context!)
    };

    getTypeName() => "Umsatzsteuersondervorauszahlung2022";
    TypeContext? context = _ctx;
}

/**
* Submits the filing of the special advance payment for VAT (Umsatzsteuersondervorauszahlung) as a tax consultant for 2022.
*/
// @Api(Description="Submits the filing of the special advance payment for VAT (Umsatzsteuersondervorauszahlung) as a tax consultant for 2022.")
abstract class SubmitUstSv2022AsTaxConsultantBase extends SubmitUmsatzsteueranmeldung2022AsTaxConsultantBase
{
    /**
    * The filing of the special advance payment for VAT
    */
    // @ApiMember(Description="The filing of the special advance payment for VAT", IsRequired=true, Name="Umsatzsteuersondervorauszahlung")
    Umsatzsteuersondervorauszahlung2022? umsatzsteuersondervorauszahlung;

    /**
    * Natürliche Person, welche die Software bedient, bzw. in deren Namen die Software bedient wird, um die Daten zu übersenden (Natural person who operates the software or under whose name the software is operated in order to transmit the data).
    */
    // @ApiMember(Description="Natürliche Person, welche die Software bedient, bzw. in deren Namen die Software bedient wird, um die Daten zu übersenden (Natural person who operates the software or under whose name the software is operated in order to transmit the data).", IsRequired=true, Name="DatenLieferant")
    DatenLieferant? datenLieferant;

    /**
    * Das Datum der Erstellung (Date of creation).
    */
    // @ApiMember(Description="Das Datum der Erstellung (Date of creation).", IsRequired=true, Name="Erstellungsdatum")
    DateTime? erstellungsdatum;

    /**
    * Der Steuerberater, der den Steuerfall bearbeitet und abgibt (The tax adviser who processes and submits the tax case).
    */
    // @ApiMember(Description="Der Steuerberater, der den Steuerfall bearbeitet und abgibt (The tax adviser who processes and submits the tax case).", Name="Berater")
    Berater? berater;

    /**
    * Der Mandant, für den der Steuerfall bearbeitet wird (The client for which the tax case is being processed).
    */
    // @ApiMember(Description="Der Mandant, für den der Steuerfall bearbeitet wird (The client for which the tax case is being processed).", Name="Mandant")
    Mandant? mandant;

    /**
    * Die vierstellige Bundesfinanzamtsnummer des empfangenden Finanzamtes (The four-digit federal tax office number of the receiving tax office).
    */
    // @ApiMember(Description="Die vierstellige Bundesfinanzamtsnummer des empfangenden Finanzamtes (The four-digit federal tax office number of the receiving tax office).", IsRequired=true, Name="Bundesfinanzamtsnummer")
    String? bundesfinanzamtsnummer;

    /**
    * Die Anbindung zum ELSTER Online Portal (EOP).
    */
    // @ApiMember(Description="Die Anbindung zum ELSTER Online Portal (EOP).", Name="EOP")
    EOP? eop;

    /**
    * 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="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")
    bool? duplexDruck;

    /**
    * Name prefix of the generated transfer protocol file.
    */
    // @ApiMember(Description="Name prefix of the generated transfer protocol file.", IsRequired=true, Name="ProtocolPrefix")
    String? protocolPrefix;

    /**
    * Footer text to be used on the printout (optional).
    */
    // @ApiMember(Description="Footer text to be used on the printout (optional).", Name="FussText")
    String? fussText;

    /**
    * The authentification certificate.
    */
    // @ApiMember(Description="The authentification certificate.", IsRequired=true, Name="Zertifikat")
    PortalCertificate? zertifikat;

    /**
    * Gets or sets the retrieval code. This value MUST be given for the tax operation ElsterDatenabholung and tax data type ElsterVaStDaten, for which a SoftPSE certificate is used to sign.In other cases a null value should be given. It consists of 2 x 5 characters, which are joined by  '-'. Example: 'K6FG5 - RS32P'.
    */
    // @ApiMember(Description="Gets or sets the retrieval code. This value MUST be given for the tax operation ElsterDatenabholung and tax data type ElsterVaStDaten, for which a SoftPSE certificate is used to sign.In other cases a null value should be given. It consists of 2 x 5 characters, which are joined by  '-'. Example: 'K6FG5 - RS32P'.", Name="AbrufCode")
    String? abrufCode;

    SubmitUstSv2022AsTaxConsultantBase({this.umsatzsteuersondervorauszahlung,this.datenLieferant,this.erstellungsdatum,this.berater,this.mandant,this.bundesfinanzamtsnummer,this.eop,this.duplexDruck,this.protocolPrefix,this.fussText,this.zertifikat,this.abrufCode});
    SubmitUstSv2022AsTaxConsultantBase.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        super.fromMap(json);
        umsatzsteuersondervorauszahlung = JsonConverters.fromJson(json['umsatzsteuersondervorauszahlung'],'Umsatzsteuersondervorauszahlung2022',context!);
        datenLieferant = JsonConverters.fromJson(json['datenLieferant'],'DatenLieferant',context!);
        erstellungsdatum = JsonConverters.fromJson(json['erstellungsdatum'],'DateTime',context!);
        berater = JsonConverters.fromJson(json['berater'],'Berater',context!);
        mandant = JsonConverters.fromJson(json['mandant'],'Mandant',context!);
        bundesfinanzamtsnummer = json['bundesfinanzamtsnummer'];
        eop = JsonConverters.fromJson(json['eop'],'EOP',context!);
        duplexDruck = json['duplexDruck'];
        protocolPrefix = json['protocolPrefix'];
        fussText = json['fussText'];
        zertifikat = JsonConverters.fromJson(json['zertifikat'],'PortalCertificate',context!);
        abrufCode = json['abrufCode'];
        return this;
    }

    Map<String, dynamic> toJson() => super.toJson()..addAll({
        'umsatzsteuersondervorauszahlung': JsonConverters.toJson(umsatzsteuersondervorauszahlung,'Umsatzsteuersondervorauszahlung2022',context!),
        'datenLieferant': JsonConverters.toJson(datenLieferant,'DatenLieferant',context!),
        'erstellungsdatum': JsonConverters.toJson(erstellungsdatum,'DateTime',context!),
        'berater': JsonConverters.toJson(berater,'Berater',context!),
        'mandant': JsonConverters.toJson(mandant,'Mandant',context!),
        'bundesfinanzamtsnummer': bundesfinanzamtsnummer,
        'eop': JsonConverters.toJson(eop,'EOP',context!),
        'duplexDruck': duplexDruck,
        'protocolPrefix': protocolPrefix,
        'fussText': fussText,
        'zertifikat': JsonConverters.toJson(zertifikat,'PortalCertificate',context!),
        'abrufCode': abrufCode
    });

    getTypeName() => "SubmitUstSv2022AsTaxConsultantBase";
    TypeContext? context = _ctx;
}

/**
* Specifies a service response from an ERiC service operation.
*/
// @Api(Description="Specifies a service response from an ERiC service operation.")
abstract class ServiceReponseBase implements IHasIndex
{
    /**
    * The unique identifier of the response.
    */
    // @ApiMember(Description="The unique identifier of the response.", Name="Id")
    String? id;

    /**
    * The position of the response element in an indexed collection.
    */
    // @ApiMember(Description="The position of the response element in an indexed collection.", Name="Index")
    int? index;

    /**
    * Metadata that contains structured error information on the service response.
    */
    // @ApiMember(Description="Metadata that contains structured error information on the service response.", Name="ResponseStatus")
    ResponseStatus? responseStatus;

    ServiceReponseBase({this.id,this.index,this.responseStatus});
    ServiceReponseBase.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        id = json['id'];
        index = json['index'];
        responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'id': id,
        'index': index,
        'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!)
    };

    getTypeName() => "ServiceReponseBase";
    TypeContext? context = _ctx;
}

/**
* Enumeration of ERiC API error codes.
*/
enum EricFehlerCode
{
    ERIC_OK,
    ERIC_GLOBAL_UNKNOWN,
    ERIC_GLOBAL_PRUEF_FEHLER,
    ERIC_GLOBAL_HINWEISE,
    ERIC_GLOBAL_FEHLERMELDUNG_NICHT_VORHANDEN,
    ERIC_GLOBAL_KEINE_DATEN_VORHANDEN,
    ERIC_GLOBAL_NICHT_GENUEGEND_ARBEITSSPEICHER,
    ERIC_GLOBAL_DATEI_NICHT_GEFUNDEN,
    ERIC_GLOBAL_HERSTELLER_ID_NICHT_ERLAUBT,
    ERIC_GLOBAL_ILLEGAL_STATE,
    ERIC_GLOBAL_FUNKTION_NICHT_ERLAUBT,
    ERIC_GLOBAL_ECHTFALL_NICHT_ERLAUBT,
    ERIC_GLOBAL_NO_VERSAND_IN_BETA_VERSION,
    ERIC_GLOBAL_TESTMERKER_UNGUELTIG,
    ERIC_GLOBAL_DATENSATZ_ZU_GROSS,
    ERIC_GLOBAL_VERSCHLUESSELUNGS_PARAMETER_NICHT_ERLAUBT,
    ERIC_GLOBAL_NUR_PORTALZERTIFIKAT_ERLAUBT,
    ERIC_GLOBAL_ABRUFCODE_NICHT_ERLAUBT,
    ERIC_GLOBAL_ERROR_XML_CREATE,
    ERIC_GLOBAL_TEXTPUFFERGROESSE_FIX,
    ERIC_GLOBAL_INTERNER_FEHLER,
    ERIC_GLOBAL_ARITHMETIKFEHLER,
    ERIC_GLOBAL_STEUERNUMMER_UNGUELTIG,
    ERIC_GLOBAL_STEUERNUMMER_FALSCHE_LAENGE,
    ERIC_GLOBAL_STEUERNUMMER_NICHT_NUMERISCH,
    ERIC_GLOBAL_LANDESNUMMER_UNBEKANNT,
    ERIC_GLOBAL_BUFANR_UNBEKANNT,
    ERIC_GLOBAL_LANDESNUMMER_BUFANR,
    ERIC_GLOBAL_PUFFER_ZUGRIFFSKONFLIKT,
    ERIC_GLOBAL_PUFFER_UEBERLAUF,
    ERIC_GLOBAL_DATENARTVERSION_UNBEKANNT,
    ERIC_GLOBAL_DATENARTVERSION_XML_INKONSISTENT,
    ERIC_GLOBAL_COMMONDATA_NICHT_VERFUEGBAR,
    ERIC_GLOBAL_LOG_EXCEPTION,
    ERIC_GLOBAL_TRANSPORTSCHLUESSEL_NICHT_ERLAUBT,
    ERIC_GLOBAL_OEFFENTLICHER_SCHLUESSEL_UNGUELTIG,
    ERIC_GLOBAL_TRANSPORTSCHLUESSEL_TYP_FALSCH,
    ERIC_GLOBAL_PUFFER_UNGLEICHER_INSTANZ,
    ERIC_GLOBAL_VORSATZ_UNGUELTIG,
    ERIC_GLOBAL_DATEIZUGRIFF_VERWEIGERT,
    ERIC_GLOBAL_UNGUELTIGE_INSTANZ,
    ERIC_GLOBAL_NICHT_INITIALISIERT,
    ERIC_GLOBAL_MEHRFACHE_INITIALISIERUNG,
    ERIC_GLOBAL_FEHLER_INITIALISIERUNG,
    ERIC_GLOBAL_UNKNOWN_PARAMETER_ERROR,
    ERIC_GLOBAL_CHECK_CORRUPTED_NDS,
    ERIC_GLOBAL_VERSCHLUESSELUNGS_PARAMETER_NICHT_ANGEGEBEN,
    ERIC_GLOBAL_SEND_FLAG_MEHR_ALS_EINES,
    ERIC_GLOBAL_UNGUELTIGE_FLAG_KOMBINATION,
    ERIC_GLOBAL_ERSTE_SEITE_DRUCK_NICHT_UNTERSTUETZT,
    ERIC_GLOBAL_UNGUELTIGER_PARAMETER,
    ERIC_GLOBAL_DRUCK_FUER_VERFAHREN_NICHT_ERLAUBT,
    ERIC_GLOBAL_VERSAND_ART_NICHT_UNTERSTUETZT,
    ERIC_GLOBAL_UNGUELTIGE_PARAMETER_VERSION,
    ERIC_GLOBAL_TRANSFERHANDLE,
    ERIC_GLOBAL_PLUGININITIALISIERUNG,
    ERIC_GLOBAL_INKOMPATIBLE_VERSIONEN,
    ERIC_GLOBAL_VERSCHLUESSELUNGSVERFAHREN_NICHT_UNTERSTUETZT,
    ERIC_GLOBAL_MEHRFACHAUFRUFE_NICHT_UNTERSTUETZT,
    ERIC_GLOBAL_UTI_COUNTRY_NOT_SUPPORTED,
    ERIC_GLOBAL_IBAN_FORMALER_FEHLER,
    ERIC_GLOBAL_IBAN_LAENDERCODE_FEHLER,
    ERIC_GLOBAL_IBAN_LANDESFORMAT_FEHLER,
    ERIC_GLOBAL_IBAN_PRUEFZIFFER_FEHLER,
    ERIC_GLOBAL_BIC_FORMALER_FEHLER,
    ERIC_GLOBAL_BIC_LAENDERCODE_FEHLER,
    ERIC_GLOBAL_ZULASSUNGSNUMMER_ZU_LANG,
    ERIC_GLOBAL_IDNUMMER_UNGUELTIG,
    ERIC_GLOBAL_NULL_PARAMETER,
    ERIC_GLOBAL_EWAZ_UNGUELTIG,
    ERIC_GLOBAL_EWAZ_LANDESKUERZEL_UNBEKANNT,
    ERIC_GLOBAL_UPDATE_NECESSARY,
    ERIC_GLOBAL_EINSTELLUNG_NAME_UNGUELTIG,
    ERIC_GLOBAL_EINSTELLUNG_WERT_UNGUELTIG,
    ERIC_GLOBAL_ERR_DEKODIEREN,
    ERIC_GLOBAL_FUNKTION_NICHT_UNTERSTUETZT,
    ERIC_GLOBAL_NUTZDATENTICKETS_NICHT_EINDEUTIG,
    ERIC_GLOBAL_NUTZDATENHEADERVERSIONEN_UNEINHEITLICH,
    ERIC_GLOBAL_BUNDESLAENDER_UNEINHEITLICH,
    ERIC_GLOBAL_ZEITRAEUME_UNEINHEITLICH,
    ERIC_GLOBAL_NUTZDATENHEADER_EMPFAENGER_NICHT_KORREKT,
    ERIC_TRANSFER_COM_ERROR,
    ERIC_TRANSFER_VORGANG_NICHT_UNTERSTUETZT,
    ERIC_TRANSFER_ERR_XML_THEADER,
    ERIC_TRANSFER_ERR_PARAM,
    ERIC_TRANSFER_ERR_DATENTEILENDNOTFOUND,
    ERIC_TRANSFER_ERR_BEGINDATENLIEFERANT,
    ERIC_TRANSFER_ERR_ENDDATENLIEFERANT,
    ERIC_TRANSFER_ERR_BEGINTRANSPORTSCHLUESSEL,
    ERIC_TRANSFER_ERR_ENDTRANSPORTSCHLUESSEL,
    ERIC_TRANSFER_ERR_BEGINDATENGROESSE,
    ERIC_TRANSFER_ERR_ENDDATENGROESSE,
    ERIC_TRANSFER_ERR_SEND,
    ERIC_TRANSFER_ERR_NOTENCRYPTED,
    ERIC_TRANSFER_ERR_PROXYCONNECT,
    ERIC_TRANSFER_ERR_CONNECTSERVER,
    ERIC_TRANSFER_ERR_NORESPONSE,
    ERIC_TRANSFER_ERR_PROXYAUTH,
    ERIC_TRANSFER_ERR_SEND_INIT,
    ERIC_TRANSFER_ERR_TIMEOUT,
    ERIC_TRANSFER_ERR_PROXYPORT_INVALID,
    ERIC_TRANSFER_ERR_OTHER,
    ERIC_TRANSFER_ERR_XML_NHEADER,
    ERIC_TRANSFER_ERR_XML_ENCODING,
    ERIC_TRANSFER_ERR_ENDSIGUSER,
    ERIC_TRANSFER_ERR_XMLTAG_NICHT_GEFUNDEN,
    ERIC_TRANSFER_ERR_DATENTEILFEHLER,
    ERIC_TRANSFER_EID_ZERTIFIKATFEHLER,
    ERIC_TRANSFER_EID_KEINKONTO,
    ERIC_TRANSFER_EID_IDNRNICHTEINDEUTIG,
    ERIC_TRANSFER_EID_SERVERFEHLER,
    ERIC_TRANSFER_EID_KEINCLIENT,
    ERIC_TRANSFER_EID_CLIENTFEHLER,
    ERIC_TRANSFER_EID_FEHLENDEFELDER,
    ERIC_TRANSFER_EID_IDENTIFIKATIONABGEBROCHEN,
    ERIC_TRANSFER_EID_NPABLOCKIERT,
    ERIC_CRYPT_ERROR_CREATE_KEY,
    ERIC_CRYPT_E_INVALID_HANDLE,
    ERIC_CRYPT_E_MAX_SESSION,
    ERIC_CRYPT_E_BUSY,
    ERIC_CRYPT_E_OUT_OF_MEM,
    ERIC_CRYPT_E_PSE_PATH,
    ERIC_CRYPT_E_PIN_WRONG,
    ERIC_CRYPT_E_PIN_LOCKED,
    ERIC_CRYPT_E_P7_READ,
    ERIC_CRYPT_E_P7_DECODE,
    ERIC_CRYPT_E_P7_RECIPIENT,
    ERIC_CRYPT_E_P12_READ,
    ERIC_CRYPT_E_P12_DECODE,
    ERIC_CRYPT_E_P12_SIG_KEY,
    ERIC_CRYPT_E_P12_ENC_KEY,
    ERIC_CRYPT_E_P11_SIG_KEY,
    ERIC_CRYPT_E_P11_ENC_KEY,
    ERIC_CRYPT_E_XML_PARSE,
    ERIC_CRYPT_E_XML_SIG_ADD,
    ERIC_CRYPT_E_XML_SIG_TAG,
    ERIC_CRYPT_E_XML_SIG_SIGN,
    ERIC_CRYPT_E_ENCODE_UNKNOWN,
    ERIC_CRYPT_E_ENCODE_ERROR,
    ERIC_CRYPT_E_XML_INIT,
    ERIC_CRYPT_E_ENCRYPT,
    ERIC_CRYPT_E_DECRYPT,
    ERIC_CRYPT_E_P11_SLOT_EMPTY,
    ERIC_CRYPT_E_NO_SIG_ENC_KEY,
    ERIC_CRYPT_E_LOAD_DLL,
    ERIC_CRYPT_E_NO_SERVICE,
    ERIC_CRYPT_E_ESICL_EXCEPTION,
    ERIC_CRYPT_E_TOKEN_TYPE_MISMATCH,
    ERIC_CRYPT_E_P12_CREATE,
    ERIC_CRYPT_E_VERIFY_CERT_CHAIN,
    ERIC_CRYPT_E_P11_ENGINE_LOADED,
    ERIC_CRYPT_E_USER_CANCEL,
    ERIC_CRYPT_ZERTIFIKAT,
    ERIC_CRYPT_SIGNATUR,
    ERIC_CRYPT_NICHT_UNTERSTUETZTES_PSE_FORMAT,
    ERIC_CRYPT_PIN_BENOETIGT,
    ERIC_CRYPT_PIN_STAERKE_NICHT_AUSREICHEND,
    ERIC_CRYPT_E_INTERN,
    ERIC_CRYPT_ZERTIFIKATSPFAD_KEIN_VERZEICHNIS,
    ERIC_CRYPT_ZERTIFIKATSDATEI_EXISTIERT_BEREITS,
    ERIC_CRYPT_PIN_ENTHAELT_UNGUELTIGE_ZEICHEN,
    ERIC_CRYPT_E_INVALID_PARAM_ABC,
    ERIC_CRYPT_CORRUPTED,
    ERIC_CRYPT_EIDKARTE_NICHT_UNTERSTUETZT,
    ERIC_CRYPT_E_SC_SLOT_EMPTY,
    ERIC_CRYPT_E_SC_NO_APPLET,
    ERIC_CRYPT_E_SC_SESSION,
    ERIC_CRYPT_E_P11_NO_SIG_CERT,
    ERIC_CRYPT_E_P11_INIT_FAILED,
    ERIC_CRYPT_E_P11_NO_ENC_CERT,
    ERIC_CRYPT_E_P12_NO_SIG_CERT,
    ERIC_CRYPT_E_P12_NO_ENC_CERT,
    ERIC_CRYPT_E_SC_ENC_KEY,
    ERIC_CRYPT_E_SC_NO_SIG_CERT,
    ERIC_CRYPT_E_SC_NO_ENC_CERT,
    ERIC_CRYPT_E_SC_INIT_FAILED,
    ERIC_CRYPT_E_SC_SIG_KEY,
    ERIC_IO_FEHLER,
    ERIC_IO_DATEI_INKORREKT,
    ERIC_IO_PARSE_FEHLER,
    ERIC_IO_NDS_GENERIERUNG_FEHLGESCHLAGEN,
    ERIC_IO_MASTERDATENSERVICE_NICHT_VERFUEGBAR,
    ERIC_IO_STEUERZEICHEN_IM_NDS,
    ERIC_IO_VERSIONSINFORMATIONEN_NICHT_GEFUNDEN,
    ERIC_IO_FALSCHES_VERFAHREN,
    ERIC_IO_READER_MEHRFACHE_STEUERFAELLE,
    ERIC_IO_READER_UNERWARTETE_ELEMENTE,
    ERIC_IO_READER_FORMALE_FEHLER,
    ERIC_IO_READER_FALSCHES_ENCODING,
    ERIC_IO_READER_MEHRFACHE_NUTZDATEN_ELEMENTE,
    ERIC_IO_READER_MEHRFACHE_NUTZDATENBLOCK_ELEMENTE,
    ERIC_IO_UNBEKANNTE_DATENART,
    ERIC_IO_READER_UNTERSACHBEREICH_UNGUELTIG,
    ERIC_IO_READER_ZU_VIELE_NUTZDATENBLOCK_ELEMENTE,
    ERIC_IO_READER_STEUERZEICHEN_IM_TRANSFERHEADER,
    ERIC_IO_READER_STEUERZEICHEN_IM_NUTZDATENHEADER,
    ERIC_IO_READER_STEUERZEICHEN_IN_DEN_NUTZDATEN,
    ERIC_IO_READER_ZU_VIELE_ANHAENGE,
    ERIC_IO_READER_ANHANG_ZU_GROSS,
    ERIC_IO_READER_ANHAENGE_ZU_GROSS,
    ERIC_IO_READER_SCHEMA_VALIDIERUNGSFEHLER,
    ERIC_IO_READER_UNBEKANNTE_XML_ENTITY,
    ERIC_IO_DATENTEILNOTFOUND,
    ERIC_IO_DATENTEILENDNOTFOUND,
    ERIC_IO_UEBERGABEPARAMETER_FEHLERHAFT,
    ERIC_IO_UNGUELTIGE_UTF8_SEQUENZ,
    ERIC_IO_UNGUELTIGE_ZEICHEN_IN_PARAMETER,
    ERIC_PRINT_INTERNER_FEHLER,
    ERIC_PRINT_DRUCKVORLAGE_NICHT_GEFUNDEN,
    ERIC_PRINT_UNGUELTIGER_DATEI_PFAD,
    ERIC_PRINT_INITIALISIERUNG_FEHLERHAFT,
    ERIC_PRINT_AUSGABEZIEL_UNBEKANNT,
    ERIC_PRINT_ABBRUCH_DRUCKVORBEREITUNG,
    ERIC_PRINT_ABBRUCH_GENERIERUNG,
    ERIC_PRINT_STEUERFALL_NICHT_UNTERSTUETZT,
    ERIC_PRINT_FUSSTEXT_ZU_LANG,
}

/**
* Represent a base response that encapsulate any ERiC API function return value.
*/
// @Api(Description="Represent a base response that encapsulate any ERiC API function return value.")
class EricFehlerCodeResponse extends ServiceReponseBase implements IConvertible
{
    /**
    * The status code that the ERiC API function returns.
    */
    // @ApiMember(Description="The status code that the ERiC API function returns.", Name="StatusCode")
    EricFehlerCode? statusCode;

    /**
    * The status message that the ERiC API function returns.
    */
    // @ApiMember(Description="The status message that the ERiC API function returns.", Name="StatusText")
    String? statusText;

    /**
    * The unique identifier of the response.
    */
    // @ApiMember(Description="The unique identifier of the response.", Name="Id")
    String? id;

    /**
    * The position of the response element in an indexed collection.
    */
    // @ApiMember(Description="The position of the response element in an indexed collection.", Name="Index")
    int? index;

    /**
    * Metadata that contains structured error information on the service response.
    */
    // @ApiMember(Description="Metadata that contains structured error information on the service response.", Name="ResponseStatus")
    ResponseStatus? responseStatus;

    EricFehlerCodeResponse({this.statusCode,this.statusText,this.id,this.index,this.responseStatus});
    EricFehlerCodeResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        super.fromMap(json);
        statusCode = JsonConverters.fromJson(json['statusCode'],'EricFehlerCode',context!);
        statusText = json['statusText'];
        id = json['id'];
        index = json['index'];
        responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!);
        return this;
    }

    Map<String, dynamic> toJson() => super.toJson()..addAll({
        'statusCode': JsonConverters.toJson(statusCode,'EricFehlerCode',context!),
        'statusText': statusText,
        'id': id,
        'index': index,
        'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!)
    });

    getTypeName() => "EricFehlerCodeResponse";
    TypeContext? context = _ctx;
}

/**
* Represents information returned from a successful tax declaration process.
*/
// @Api(Description="Represents information returned from a successful tax declaration process.")
class Erfolg implements IConvertible
{
    /**
    * The generated tele-number for the successful tax declaration process.
    */
    // @ApiMember(Description="The generated tele-number for the successful tax declaration process.")
    List<String>? telenummer;

    /**
    * The classification key for the successful tax declaration process.
    */
    // @ApiMember(Description="The classification key for the successful tax declaration process.")
    List<String>? ordnungsbegriffe;

    Erfolg({this.telenummer,this.ordnungsbegriffe});
    Erfolg.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        telenummer = JsonConverters.fromJson(json['telenummer'],'List<String>',context!);
        ordnungsbegriffe = JsonConverters.fromJson(json['ordnungsbegriffe'],'List<String>',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'telenummer': JsonConverters.toJson(telenummer,'List<String>',context!),
        'ordnungsbegriffe': JsonConverters.toJson(ordnungsbegriffe,'List<String>',context!)
    };

    getTypeName() => "Erfolg";
    TypeContext? context = _ctx;
}

/**
* Represents information on the delivery.
*/
// @Api(Description="Represents information on the delivery.")
class Transfer implements IConvertible
{
    /**
    * The ticket of the transfer.
    */
    // @ApiMember(Description="The ticket of the transfer.")
    String? transferTicket;

    Transfer({this.transferTicket});
    Transfer.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        transferTicket = json['transferTicket'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'transferTicket': transferTicket
    };

    getTypeName() => "Transfer";
    TypeContext? context = _ctx;
}

/**
* 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.
*/
// @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.")
class Transfers implements IConvertible
{
    /**
    * Contains information on all data deliveries, including deliveries that have not been confirmed by the server.
    */
    // @ApiMember(Description="Contains information on all data deliveries, including deliveries that have not been confirmed by the server.")
    List<Transfer>? transferList;

    Transfers({this.transferList});
    Transfers.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        transferList = JsonConverters.fromJson(json['transferList'],'List<Transfer>',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'transferList': JsonConverters.toJson(transferList,'List<Transfer>',context!)
    };

    getTypeName() => "Transfers";
    TypeContext? context = _ctx;
}

/**
* Represents value of an index field, which identfies the context about an error message.
*/
// @Api(Description="Represents value of an index field, which identfies the context about an error message.")
class SemantischerIndex implements IConvertible
{
    /**
    * The name of the index field.
    */
    // @ApiMember(Description="The name of the index field.")
    String? name;

    /**
    * The value of the index field.
    */
    // @ApiMember(Description="The value of the index field.")
    String? value;

    SemantischerIndex({this.name,this.value});
    SemantischerIndex.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        name = json['name'];
        value = json['value'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'name': name,
        'value': value
    };

    getTypeName() => "SemantischerIndex";
    TypeContext? context = _ctx;
}

/**
* Represents information on an ERiC reference.
*/
// @Api(Description="Represents information on an ERiC reference.")
class FehlerRegelpruefung implements IConvertible
{
    /**
    * The user data ticket of the reference.
    */
    // @ApiMember(Description="The user data ticket of the reference.")
    String? nutzdatenticket;

    /**
    * The field identifier of the reference.
    */
    // @ApiMember(Description="The field identifier of the reference.")
    String? feldidentifikator;

    /**
    * The multi-line index of the reference.
    */
    // @ApiMember(Description="The multi-line index of the reference.")
    String? mehrfachzeilenindex;

    /**
    * The delivery number form of the reference.
    */
    // @ApiMember(Description="The delivery number form of the reference.")
    String? lfdNrVordruck;

    /**
    * Indicates the line number of the error field mentioned in the form.
    */
    // @ApiMember(Description="Indicates the line number of the error field mentioned in the form.")
    String? vordruckZeilennummer;

    /**
    * Specifies the value of one or more index fields that identify the context of error messages.
    */
    // @ApiMember(Description="Specifies the value of one or more index fields that identify the context of error messages.")
    List<SemantischerIndex>? semantischeIndexes;

    /**
    * The sub-subject-area of the reference.
    */
    // @ApiMember(Description="The sub-subject-area of the reference.")
    String? untersachbereich;

    /**
    * The private identification number of the reference.
    */
    // @ApiMember(Description="The private identification number of the reference.")
    String? privateKennnummer;

    /**
    * The name of the rule that applies to the reference.
    */
    // @ApiMember(Description="The name of the rule that applies to the reference.")
    String? regelName;

    /**
    * The technical error identifier of the reference.
    */
    // @ApiMember(Description="The technical error identifier of the reference.")
    String? fachlicheFehlerId;

    /**
    * The textual details of the reference.
    */
    // @ApiMember(Description="The textual details of the reference.")
    String? text;

    FehlerRegelpruefung({this.nutzdatenticket,this.feldidentifikator,this.mehrfachzeilenindex,this.lfdNrVordruck,this.vordruckZeilennummer,this.semantischeIndexes,this.untersachbereich,this.privateKennnummer,this.regelName,this.fachlicheFehlerId,this.text});
    FehlerRegelpruefung.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        nutzdatenticket = json['nutzdatenticket'];
        feldidentifikator = json['feldidentifikator'];
        mehrfachzeilenindex = json['mehrfachzeilenindex'];
        lfdNrVordruck = json['lfdNrVordruck'];
        vordruckZeilennummer = json['vordruckZeilennummer'];
        semantischeIndexes = JsonConverters.fromJson(json['semantischeIndexes'],'List<SemantischerIndex>',context!);
        untersachbereich = json['untersachbereich'];
        privateKennnummer = json['privateKennnummer'];
        regelName = json['regelName'];
        fachlicheFehlerId = json['fachlicheFehlerId'];
        text = json['text'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'nutzdatenticket': nutzdatenticket,
        'feldidentifikator': feldidentifikator,
        'mehrfachzeilenindex': mehrfachzeilenindex,
        'lfdNrVordruck': lfdNrVordruck,
        'vordruckZeilennummer': vordruckZeilennummer,
        'semantischeIndexes': JsonConverters.toJson(semantischeIndexes,'List<SemantischerIndex>',context!),
        'untersachbereich': untersachbereich,
        'privateKennnummer': privateKennnummer,
        'regelName': regelName,
        'fachlicheFehlerId': fachlicheFehlerId,
        'text': text
    };

    getTypeName() => "FehlerRegelpruefung";
    TypeContext? context = _ctx;
}

class Hinweis implements IConvertible
{
    /**
    * The user data ticket of the reference.
    */
    // @ApiMember(Description="The user data ticket of the reference.")
    String? nutzdatenticket;

    /**
    * The field identifier of the reference.
    */
    // @ApiMember(Description="The field identifier of the reference.")
    String? feldidentifikator;

    /**
    * The multi-line index of the reference.
    */
    // @ApiMember(Description="The multi-line index of the reference.")
    String? mehrfachzeilenindex;

    /**
    * The delivery number form of the reference.
    */
    // @ApiMember(Description="The delivery number form of the reference.")
    String? lfdNrVordruck;

    /**
    * Indicates the line number of the error field mentioned in the form.
    */
    // @ApiMember(Description="Indicates the line number of the error field mentioned in the form.")
    String? vordruckZeilennummer;

    /**
    * Specifies the value of one or more index fields that identify the context of error messages.
    */
    // @ApiMember(Description="Specifies the value of one or more index fields that identify the context of error messages.")
    List<SemantischerIndex>? semantischeIndexes;

    /**
    * The sub-subject-area of the reference.
    */
    // @ApiMember(Description="The sub-subject-area of the reference.")
    String? untersachbereich;

    /**
    * The private identification number of the reference.
    */
    // @ApiMember(Description="The private identification number of the reference.")
    String? privateKennnummer;

    /**
    * The name of the rule that applies to the reference.
    */
    // @ApiMember(Description="The name of the rule that applies to the reference.")
    String? regelName;

    /**
    * The technical note identifier of the reference.
    */
    // @ApiMember(Description="The technical note identifier of the reference.")
    String? fachlicheHinweisId;

    /**
    * The textual details of the reference.
    */
    // @ApiMember(Description="The textual details of the reference.")
    String? text;

    Hinweis({this.nutzdatenticket,this.feldidentifikator,this.mehrfachzeilenindex,this.lfdNrVordruck,this.vordruckZeilennummer,this.semantischeIndexes,this.untersachbereich,this.privateKennnummer,this.regelName,this.fachlicheHinweisId,this.text});
    Hinweis.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        nutzdatenticket = json['nutzdatenticket'];
        feldidentifikator = json['feldidentifikator'];
        mehrfachzeilenindex = json['mehrfachzeilenindex'];
        lfdNrVordruck = json['lfdNrVordruck'];
        vordruckZeilennummer = json['vordruckZeilennummer'];
        semantischeIndexes = JsonConverters.fromJson(json['semantischeIndexes'],'List<SemantischerIndex>',context!);
        untersachbereich = json['untersachbereich'];
        privateKennnummer = json['privateKennnummer'];
        regelName = json['regelName'];
        fachlicheHinweisId = json['fachlicheHinweisId'];
        text = json['text'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'nutzdatenticket': nutzdatenticket,
        'feldidentifikator': feldidentifikator,
        'mehrfachzeilenindex': mehrfachzeilenindex,
        'lfdNrVordruck': lfdNrVordruck,
        'vordruckZeilennummer': vordruckZeilennummer,
        'semantischeIndexes': JsonConverters.toJson(semantischeIndexes,'List<SemantischerIndex>',context!),
        'untersachbereich': untersachbereich,
        'privateKennnummer': privateKennnummer,
        'regelName': regelName,
        'fachlicheHinweisId': fachlicheHinweisId,
        'text': text
    };

    getTypeName() => "Hinweis";
    TypeContext? context = _ctx;
}

/**
* Represents a structure that contains the first output of the ERiC tax data submission process.
*/
// @Api(Description="Represents a structure that contains the first output of the ERiC tax data submission process.")
class EricBearbeiteVorgang implements IConvertible
{
    /**
    * Information from the successful processing a tax declaration.
    */
    // @ApiMember(Description="Information from the successful processing a tax declaration.")
    Erfolg? erfolg;

    /**
    * Gets or sets information on all data deliveries, including deliveries that have not been confirmed by the server.
    */
    // @ApiMember(Description="Gets or sets information on all data deliveries, including deliveries that have not been confirmed by the server.")
    Transfers? transfers;

    /**
    * Error rules that result from the processing of a tax declaration.
    */
    // @ApiMember(Description="Error rules that result from the processing of a tax declaration.")
    List<FehlerRegelpruefung>? fehlerRegelpruefungen;

    /**
    * Hints that result the processing of a tax declaration.
    */
    // @ApiMember(Description="Hints that result the processing of a tax declaration.")
    List<Hinweis>? hinweise;

    EricBearbeiteVorgang({this.erfolg,this.transfers,this.fehlerRegelpruefungen,this.hinweise});
    EricBearbeiteVorgang.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        erfolg = JsonConverters.fromJson(json['erfolg'],'Erfolg',context!);
        transfers = JsonConverters.fromJson(json['transfers'],'Transfers',context!);
        fehlerRegelpruefungen = JsonConverters.fromJson(json['fehlerRegelpruefungen'],'List<FehlerRegelpruefung>',context!);
        hinweise = JsonConverters.fromJson(json['hinweise'],'List<Hinweis>',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'erfolg': JsonConverters.toJson(erfolg,'Erfolg',context!),
        'transfers': JsonConverters.toJson(transfers,'Transfers',context!),
        'fehlerRegelpruefungen': JsonConverters.toJson(fehlerRegelpruefungen,'List<FehlerRegelpruefung>',context!),
        'hinweise': JsonConverters.toJson(hinweise,'List<Hinweis>',context!)
    };

    getTypeName() => "EricBearbeiteVorgang";
    TypeContext? context = _ctx;
}

/**
* Auflistung der gültigen Verfahren
*/
enum Verfahren
{
    ElsterAnmeldung,
    ElsterBereitstellung,
    ElsterBilanz,
    ElsterBRM,
    ElsterBRMOrg,
    ElsterDatenabholung,
    ElsterErklaerung,
    ElsterExtern,
    ElsterFSE,
    ElsterKapESt,
    ElsterKMV,
    ElsterKontoabfrage,
    ElsterLavendel,
    ElsterLohn,
    ElsterLohn2,
    ElsterNachricht,
    ElsterSignatur,
    ElsterVollmachtDB,
}

/**
* Auflistung aller gültigen Datenarten.
*/
enum Datenart
{
    Anlage34a,
    AnpassungVorauszahlung,
    AntragUStVerguetung4a,
    AbrufcodeAntrag,
    AenderungAdresse,
    AbrufcodeStorno,
    AbrufvollmachtAnlage,
    AbrufvollmachtUpdate,
    AenderungBankverbindung,
    AntraegeRechteLoeschen,
    AntraegeUndRechte,
    Aufzeichnung146a,
    BetPG,
    Bilanz,
    Belegnachreichung,
    BSBMitteilung,
    BZSt2,
    C19Mitteilung,
    DUeAbmelden,
    DUeAnmelden,
    DUeUmmelden,
    Einspruch,
    EinspruchNachtrag,
    EinspruchRuecknahme,
    ELeVAntragELStAM,
    ELeVErmaessigung,
    ELeVGetrenntlebend,
    ELeVSteuerklassenwechsel,
    ELeVWiederaufnahmeEhe,
    EPAntwort,
    EPBescheid,
    EPMitteilung,
    EPKurzmitteilung,
    ElsterErklaerungDaten,
    ElsterKMVDaten,
    ElsterLohn2Daten,
    ElsterLohnDaten,
    ElsterVaStDaten,
    ElsterDIVADaten,
    ElsterDIVDaten,
    ElsterEPBescheidDaten,
    ElsterEPMitteilungDaten,
    EPStBescheidAbholung,
    EPStMitteilungAbholung,
    Erbschaftsteuer,
    ESt,
    EStbeschraenkt,
    EUER,
    EUn,
    FEIN,
    ForschungZulAntrag,
    KStAntragOptionPersG,
    FLHMitteilung,
    FreistellungKapitalertraegeBV,
    Fristverlaengerung,
    FsEVerein,
    Gewerbemeldung,
    GDBMitteilung,
    Gewinnermittlung13aEStG,
    GewSt,
    GewStZ,
    GrundsteuerBW,
    GrundsteuerBY,
    GrundsteuerHE,
    GrundsteuerHH,
    GrundsteuerNI,
    Grundsteuerwert,
    InvStG56Abs5,
    InvStG51Feststellung,
    KapEStA,
    KapEStInvStG,
    KapG,
    KapGAus,
    KKVMitteilung,
    Kontoabfrage,
    Kontoinformation,
    KSt,
    KStZ,
    KTTAnmeldungHH,
    KTTAnzeigeHH,
    Lohnersatzleistung,
    LohnersatzMitteilung,
    LStA,
    LStB,
    LStHVVMAnlage,
    LStHVVMUpdate,
    OGHMitteilung,
    VermoegenswirksameLeistung,
    VMWiderruf,
    VollmachtDetails,
    VNoVMVRegistrierung,
    VNoVMVUpdate,
    VNoVMVLoeschung,
    VollfAAnlage,
    VollfAUpdate,
    VMoVMVStBAnlage,
    VMoVMVStBUpdate,
    VMoVMVFreischaltung,
    VAGMitteilung,
    DIVADatenBZSt,
    DivaEinwilligungAnlageBRM,
    DivaEinwilligungFreisch,
    DivaEinwilligungUpdateBRM,
    DivaWiderrufBRM,
    DivaErgebnisliste,
    LStHVDivaAdresseBRM,
    VMErgebnisListeVNSicht,
    PersG,
    PostfachAnfrage,
    PostfachStatus,
    ProtokollAnforderung,
    Registrierung,
    Schenkungsteuer,
    SonstigeNachrichten,
    SpezRechtAntrag,
    SpezRechtFreischaltung,
    SpezRechtListe,
    SpezRechtStorno,
    SpezRechtTeilnahme,
    StAb50a,
    Statusabfrage,
    UnentgeltlicheDepotuebertragung,
    UENSTAnmeldungBE,
    UENSTAnzeigeBE,
    USt,
    UStVA,
    UStDV,
    UStSV,
    VGNAnmeldungHB,
    VGNAnmeldungBE,
    VGNAnmeldungHH,
    VGNAnzeigeHH,
    WTBAnmeldungHB,
    ZMDO,
    ElsterVollmachtDaten,
    MitteilungAbholung,
}

/**
* Hauptinformation ob die Daten authentifiziert wurden (send-Auth) oder nicht (send-NoSig)
*/
enum Vorgang
{
    Send_Auth,
    Send_Auth_Part,
    Send_NoSig,
    Send_NoSig_Part,
}

/**
* 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.
*/
enum Testmerker
{
    TM010000001,
    TM080000001,
    TM160000001,
    TM160000002,
    TM220000000,
    TM220002000,
    TM230000001,
    TM240000000,
    TM370000001,
    TM520000000,
    TM700000001,
    TM700000004,
}

/**
* Represents the signature and associated information of the compressed, encrypted, base64-encoded content of the data part of the tax declaration/statement.
*/
// @Api(Description="Represents the signature and associated information of the compressed, encrypted, base64-encoded content of the data part of the tax declaration/statement.")
class SigUser implements IConvertible
{
    /**
    * The content of the data. Currently supported: Raw XML (text), XElement or IXmlSerializable
    */
    // @ApiMember(Description="The content of the data. Currently supported: Raw XML (text), XElement or IXmlSerializable")
    dynamic? inhalt;

    SigUser({this.inhalt});
    SigUser.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        inhalt = JsonConverters.fromJson(json['inhalt'],'dynamic',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'inhalt': JsonConverters.toJson(inhalt,'dynamic',context!)
    };

    getTypeName() => "SigUser";
    TypeContext? context = _ctx;
}

/**
* Einheitliche Abkürzungen fuer die Bundesländer bzw. alternative Empfänger
*/
enum Bundesland
{
    BW,
    BY,
    BE,
    BB,
    HB,
    HH,
    HE,
    MV,
    NI,
    NW,
    RP,
    SL,
    SN,
    ST,
    SH,
    TH,
    EC,
    BF,
    CS,
    CD,
    CM,
    CN,
    DS,
    OP,
    TK,
    ZF,
}

/**
* Represents a receiver of tax data.
*/
// @Api(Description="Represents a receiver of tax data.")
class Empfaenger implements IConvertible
{
    /**
    * The identifier of the receiver.
    */
    // @ApiMember(Description="The identifier of the receiver.")
    String? id;

    /**
    * The destination of the receiver.
    */
    // @ApiMember(Description="The destination of the receiver.")
    Bundesland? ziel;

    Empfaenger({this.id,this.ziel});
    Empfaenger.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        id = json['id'];
        ziel = JsonConverters.fromJson(json['ziel'],'Bundesland',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'id': id,
        'ziel': JsonConverters.toJson(ziel,'Bundesland',context!)
    };

    getTypeName() => "Empfaenger";
    TypeContext? context = _ctx;
}

/**
* 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
*/
enum Verschluesselungsart
{
    PKCS_7v1_5,
    PKCS_7v1_5enveloped,
    NO_BASE64,
    CMSEncryptedData,
    CMSEnvelopedData,
    EnvelopedData__RSA_OAEP__AES_128__GZip__B64,
}

/**
* Mit welcher Kompression wurden die Inhalte von den Elementen DatenLieferant und ggf. SigUser im TransferHeader und dem Element DatenTeil komprimiert.
*/
enum Kompression
{
    GZIP,
    NO_BASE64,
}

/**
* [Documentation unavailable]
*/
// @Api(Description="[Documentation unavailable]")
class EricTyp implements IConvertible
{
    /**
    * The content of the data. Currently supported: Raw XML (text), XmlElement, XElement or IXmlSerializable
    */
    // @ApiMember(Description="The content of the data. Currently supported: Raw XML (text), XmlElement, XElement or IXmlSerializable")
    dynamic? inhalt;

    EricTyp({this.inhalt});
    EricTyp.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        inhalt = JsonConverters.fromJson(json['inhalt'],'dynamic',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'inhalt': JsonConverters.toJson(inhalt,'dynamic',context!)
    };

    getTypeName() => "EricTyp";
    TypeContext? context = _ctx;
}

/**
* [Documentation unavailable]
*/
// @Api(Description="[Documentation unavailable]")
class Erstellung implements IConvertible
{
    /**
    * [Documentation unavailable]
    */
    // @ApiMember(Description="[Documentation unavailable]")
    EricTyp? eric;

    Erstellung({this.eric});
    Erstellung.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        eric = JsonConverters.fromJson(json['eric'],'EricTyp',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'eric': JsonConverters.toJson(eric,'EricTyp',context!)
    };

    getTypeName() => "Erstellung";
    TypeContext? context = _ctx;
}

/**
* Represents information on the encryption of tax data.
*/
// @Api(Description="Represents information on the encryption of tax data.")
class Datei implements IConvertible
{
    /**
    * The type of data encryption used.
    */
    // @ApiMember(Description="The type of data encryption used.")
    Verschluesselungsart? verschluesselung;

    /**
    * The type of data compression used.
    */
    // @ApiMember(Description="The type of data compression used.")
    Kompression? kompression;

    /**
    * The transport key used in the encryption.
    */
    // @ApiMember(Description="The transport key used in the encryption.")
    String? transportSchluessel;

    /**
    * [Documentation unavailable]
    */
    // @ApiMember(Description="[Documentation unavailable]")
    Erstellung? erstellung;

    Datei({this.verschluesselung,this.kompression,this.transportSchluessel,this.erstellung});
    Datei.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        verschluesselung = JsonConverters.fromJson(json['verschluesselung'],'Verschluesselungsart',context!);
        kompression = JsonConverters.fromJson(json['kompression'],'Kompression',context!);
        transportSchluessel = json['transportSchluessel'];
        erstellung = JsonConverters.fromJson(json['erstellung'],'Erstellung',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'verschluesselung': JsonConverters.toJson(verschluesselung,'Verschluesselungsart',context!),
        'kompression': JsonConverters.toJson(kompression,'Kompression',context!),
        'transportSchluessel': transportSchluessel,
        'erstellung': JsonConverters.toJson(erstellung,'Erstellung',context!)
    };

    getTypeName() => "Datei";
    TypeContext? context = _ctx;
}

/**
* Represents an external error stack.
*/
// @Api(Description="Represents an external error stack.")
class Rueckgabe implements IConvertible
{
    /**
    * The external error code. Either a zero (0) if no external errors occurred; otherwise an error number.
    */
    // @ApiMember(Description="The external error code. Either a zero (0) if no external errors occurred; otherwise an error number.")
    String? code;

    /**
    * The external error message.
    */
    // @ApiMember(Description="The external error message.")
    String? text;

    Rueckgabe({this.code,this.text});
    Rueckgabe.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        code = json['code'];
        text = json['text'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'code': code,
        'text': text
    };

    getTypeName() => "Rueckgabe";
    TypeContext? context = _ctx;
}

/**
* Represents an internal error stack.
*/
// @Api(Description="Represents an internal error stack.")
class Stack implements IConvertible
{
    /**
    * The internal error code. Either a zero (0) if no internal errors occurred; otherwise an error number.
    */
    // @ApiMember(Description="The internal error code. Either a zero (0) if no internal errors occurred; otherwise an error number.")
    String? code;

    /**
    * The external error message.
    */
    // @ApiMember(Description="The external error message.")
    String? text;

    Stack({this.code,this.text});
    Stack.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        code = json['code'];
        text = json['text'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'code': code,
        'text': text
    };

    getTypeName() => "Stack";
    TypeContext? context = _ctx;
}

/**
* Represents an ERiC return code.
*/
// @Api(Description="Represents an ERiC return code.")
class RC implements IConvertible
{
    /**
    * The return value of the return code.
    */
    // @ApiMember(Description="The return value of the return code.")
    Rueckgabe? rueckgabe;

    /**
    * The internal value of the return code.
    */
    // @ApiMember(Description="The internal value of the return code.")
    Stack? stack;

    RC({this.rueckgabe,this.stack});
    RC.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        rueckgabe = JsonConverters.fromJson(json['rueckgabe'],'Rueckgabe',context!);
        stack = JsonConverters.fromJson(json['stack'],'Stack',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'rueckgabe': JsonConverters.toJson(rueckgabe,'Rueckgabe',context!),
        'stack': JsonConverters.toJson(stack,'Stack',context!)
    };

    getTypeName() => "RC";
    TypeContext? context = _ctx;
}

/**
* Represents an ERiC extension.
*/
// @Api(Description="Represents an ERiC extension.")
class Zusatz implements IConvertible
{
    /**
    * The user-customizable items for the extension. Data providers can use these items for their own extensions/information.
    */
    // @ApiMember(Description="The user-customizable items for the extension. Data providers can use these items for their own extensions/information.")
    List<String>? infos;

    /**
    * 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).
    */
    // @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).")
    List<String>? elsterInfos;

    Zusatz({this.infos,this.elsterInfos});
    Zusatz.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        infos = JsonConverters.fromJson(json['infos'],'List<String>',context!);
        elsterInfos = JsonConverters.fromJson(json['elsterInfos'],'List<String>',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'infos': JsonConverters.toJson(infos,'List<String>',context!),
        'elsterInfos': JsonConverters.toJson(elsterInfos,'List<String>',context!)
    };

    getTypeName() => "Zusatz";
    TypeContext? context = _ctx;
}

/**
* Represents the transfer header part of an ELSTER document.
*/
// @Api(Description="Represents the transfer header part of an ELSTER document.")
class TransferHeader implements IConvertible
{
    /**
    * The version of the transfer header.
    */
    // @ApiMember(Description="The version of the transfer header.", IsRequired=true)
    String? version;

    /**
    * The tax operation used in the ELSTER process.
    */
    // @ApiMember(Description="The tax operation used in the ELSTER process.", IsRequired=true)
    Verfahren? verfahren;

    /**
    * The tax data type of the ELSTER process.
    */
    // @ApiMember(Description="The tax data type of the ELSTER process.", IsRequired=true)
    Datenart? datenArt;

    /**
    * The authentification procedure of the ELSTER process.
    */
    // @ApiMember(Description="The authentification procedure of the ELSTER process.", IsRequired=true)
    Vorgang? vorgang;

    /**
    * The ticket identifier after a successful ELSTER process.
    */
    // @ApiMember(Description="The ticket identifier after a successful ELSTER process.")
    String? transferTicket;

    /**
    * 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 flag that indicates whether the tax declaration or filing is a test case. For production purposes, this value should not be set.")
    Testmerker? testmerker;

    /**
    * 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 signature and associated information on the compressed, encrypted, base64-encoded content of the the data part of a tax declaration / statement.")
    SigUser? sigUser;

    /**
    * The receiving ELSTER server.
    */
    // @ApiMember(Description="The receiving ELSTER server.")
    Empfaenger? empfaenger;

    /**
    * The identifier of the software manufacturer, through whose software the tax declaration is filed.
    */
    // @ApiMember(Description="The identifier of the software manufacturer, through whose software the tax declaration is filed.", IsRequired=true)
    String? herstellerID;

    /**
    * The details of the provider that submits tax data.
    */
    // @ApiMember(Description="The details of the provider that submits tax data.", IsRequired=true)
    String? datenLieferant;

    /**
    * The date of receipt of the tax data.
    */
    // @ApiMember(Description="The date of receipt of the tax data.")
    DateTime? eingangsDatum;

    /**
    * The encryption data required for authenticated transmission of tax data.
    */
    // @ApiMember(Description="The encryption data required for authenticated transmission of tax data.")
    Datei? datei;

    /**
    * 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 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? rc;

    /**
    * The details of the software that submits the tax data.
    */
    // @ApiMember(Description="The details of the software that submits the tax data.")
    String? versionClient;

    /**
    * Data extensions to the transfer header.
    */
    // @ApiMember(Description="Data extensions to the transfer header.")
    Zusatz? zusatz;

    TransferHeader({this.version,this.verfahren,this.datenArt,this.vorgang,this.transferTicket,this.testmerker,this.sigUser,this.empfaenger,this.herstellerID,this.datenLieferant,this.eingangsDatum,this.datei,this.rc,this.versionClient,this.zusatz});
    TransferHeader.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        version = json['version'];
        verfahren = JsonConverters.fromJson(json['verfahren'],'Verfahren',context!);
        datenArt = JsonConverters.fromJson(json['datenArt'],'Datenart',context!);
        vorgang = JsonConverters.fromJson(json['vorgang'],'Vorgang',context!);
        transferTicket = json['transferTicket'];
        testmerker = JsonConverters.fromJson(json['testmerker'],'Testmerker',context!);
        sigUser = JsonConverters.fromJson(json['sigUser'],'SigUser',context!);
        empfaenger = JsonConverters.fromJson(json['empfaenger'],'Empfaenger',context!);
        herstellerID = json['herstellerID'];
        datenLieferant = json['datenLieferant'];
        eingangsDatum = JsonConverters.fromJson(json['eingangsDatum'],'DateTime',context!);
        datei = JsonConverters.fromJson(json['datei'],'Datei',context!);
        rc = JsonConverters.fromJson(json['rc'],'RC',context!);
        versionClient = json['versionClient'];
        zusatz = JsonConverters.fromJson(json['zusatz'],'Zusatz',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'version': version,
        'verfahren': JsonConverters.toJson(verfahren,'Verfahren',context!),
        'datenArt': JsonConverters.toJson(datenArt,'Datenart',context!),
        'vorgang': JsonConverters.toJson(vorgang,'Vorgang',context!),
        'transferTicket': transferTicket,
        'testmerker': JsonConverters.toJson(testmerker,'Testmerker',context!),
        'sigUser': JsonConverters.toJson(sigUser,'SigUser',context!),
        'empfaenger': JsonConverters.toJson(empfaenger,'Empfaenger',context!),
        'herstellerID': herstellerID,
        'datenLieferant': datenLieferant,
        'eingangsDatum': JsonConverters.toJson(eingangsDatum,'DateTime',context!),
        'datei': JsonConverters.toJson(datei,'Datei',context!),
        'rc': JsonConverters.toJson(rc,'RC',context!),
        'versionClient': versionClient,
        'zusatz': JsonConverters.toJson(zusatz,'Zusatz',context!)
    };

    getTypeName() => "TransferHeader";
    TypeContext? context = _ctx;
}

/**
* Represents a receriver ID
*/
enum EmpfaengerID
{
    L,
    F,
}

/**
* Represents a receiver of tax data.
*/
// @Api(Description="Represents a receiver of tax data.")
class NDHEmpfaenger implements IConvertible
{
    /**
    * The identifier of the receiver.
    */
    // @ApiMember(Description="The identifier of the receiver.")
    EmpfaengerID? id;

    /**
    * The value of the receiver.
    */
    // @ApiMember(Description="The value of the receiver.")
    String? value;

    NDHEmpfaenger({this.id,this.value});
    NDHEmpfaenger.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        id = JsonConverters.fromJson(json['id'],'EmpfaengerID',context!);
        value = json['value'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'id': JsonConverters.toJson(id,'EmpfaengerID',context!),
        'value': value
    };

    getTypeName() => "NDHEmpfaenger";
    TypeContext? context = _ctx;
}

/**
* Represents a manufacturer/vendor of tax software.
*/
// @Api(Description="Represents a manufacturer/vendor of tax software.")
class Hersteller implements IConvertible
{
    /**
    * The product name of the tax software produced by the manufacturer.
    */
    // @ApiMember(Description="The product name of the tax software produced by the manufacturer.")
    String? produktName;

    /**
    * The product version of the tax software produced by the manufacturer.
    */
    // @ApiMember(Description="The product version of the tax software produced by the manufacturer.")
    String? produktVersion;

    Hersteller({this.produktName,this.produktVersion});
    Hersteller.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        produktName = json['produktName'];
        produktVersion = json['produktVersion'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'produktName': produktName,
        'produktVersion': produktVersion
    };

    getTypeName() => "Hersteller";
    TypeContext? context = _ctx;
}

/**
* Represents the header of a tax data.
*/
// @Api(Description="Represents the header of a tax data.")
class NutzdatenHeader implements IConvertible
{
    /**
    * The version of the header.
    */
    // @ApiMember(Description="The version of the header.", IsRequired=true)
    String? version;

    /**
    * The ticket identifier of the header.
    */
    // @ApiMember(Description="The ticket identifier of the header.", IsRequired=true)
    String? nutzdatenTicket;

    /**
    * The receiver of the header.
    */
    // @ApiMember(Description="The receiver of the header.", IsRequired=true)
    NDHEmpfaenger? empfaenger;

    /**
    * The software manufacturer, through whose software the tax declaration or filing is submitted.
    */
    // @ApiMember(Description="The software manufacturer, through whose software the tax declaration or filing is submitted.", IsRequired=true)
    Hersteller? hersteller;

    /**
    * 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 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.")
    String? datenLieferant;

    /**
    * The return code of the header.
    */
    // @ApiMember(Description="The return code of the header.")
    RC? rc;

    /**
    * The data extensions of the header.
    */
    // @ApiMember(Description="The data extensions of the header.")
    Zusatz? zusatz;

    NutzdatenHeader({this.version,this.nutzdatenTicket,this.empfaenger,this.hersteller,this.datenLieferant,this.rc,this.zusatz});
    NutzdatenHeader.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        version = json['version'];
        nutzdatenTicket = json['nutzdatenTicket'];
        empfaenger = JsonConverters.fromJson(json['empfaenger'],'NDHEmpfaenger',context!);
        hersteller = JsonConverters.fromJson(json['hersteller'],'Hersteller',context!);
        datenLieferant = json['datenLieferant'];
        rc = JsonConverters.fromJson(json['rc'],'RC',context!);
        zusatz = JsonConverters.fromJson(json['zusatz'],'Zusatz',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'version': version,
        'nutzdatenTicket': nutzdatenTicket,
        'empfaenger': JsonConverters.toJson(empfaenger,'NDHEmpfaenger',context!),
        'hersteller': JsonConverters.toJson(hersteller,'Hersteller',context!),
        'datenLieferant': datenLieferant,
        'rc': JsonConverters.toJson(rc,'RC',context!),
        'zusatz': JsonConverters.toJson(zusatz,'Zusatz',context!)
    };

    getTypeName() => "NutzdatenHeader";
    TypeContext? context = _ctx;
}

/**
* Represents an encapsulation of tax data content.
*/
// @Api(Description="Represents an encapsulation of tax data content.")
class Nutzdaten implements IConvertible
{
    /**
    * The content of the tax data. This varies by tax declaration. Currently supported formats: Raw XML (text), XElement, and IXmlSerializable
    */
    // @ApiMember(Description="The content of the tax data. This varies by tax declaration. Currently supported formats: Raw XML (text), XElement, and IXmlSerializable", IsRequired=true)
    dynamic? inhalt;

    Nutzdaten({this.inhalt});
    Nutzdaten.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        inhalt = JsonConverters.fromJson(json['inhalt'],'dynamic',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'inhalt': JsonConverters.toJson(inhalt,'dynamic',context!)
    };

    getTypeName() => "Nutzdaten";
    TypeContext? context = _ctx;
}

/**
* Represents a block of tax data.
*/
// @Api(Description="Represents a block of tax data.")
class Nutzdatenblock implements IConvertible
{
    /**
    * The header part of the block.
    */
    // @ApiMember(Description="The header part of the block.", IsRequired=true)
    NutzdatenHeader? nutzdatenHeader;

    /**
    * The data part of the block.
    */
    // @ApiMember(Description="The data part of the block.", IsRequired=true)
    Nutzdaten? nutzdaten;

    Nutzdatenblock({this.nutzdatenHeader,this.nutzdaten});
    Nutzdatenblock.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        nutzdatenHeader = JsonConverters.fromJson(json['nutzdatenHeader'],'NutzdatenHeader',context!);
        nutzdaten = JsonConverters.fromJson(json['nutzdaten'],'Nutzdaten',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'nutzdatenHeader': JsonConverters.toJson(nutzdatenHeader,'NutzdatenHeader',context!),
        'nutzdaten': JsonConverters.toJson(nutzdaten,'Nutzdaten',context!)
    };

    getTypeName() => "Nutzdatenblock";
    TypeContext? context = _ctx;
}

/**
* Represents the data part of an ELSTER document.
*/
// @Api(Description="Represents the data part of an ELSTER document.")
class DatenTeil implements IConvertible
{
    /**
    * The blocks of tax data of the ELSTER document.
    */
    // @ApiMember(Description="The blocks of tax data of the ELSTER document.", IsRequired=true)
    List<Nutzdatenblock>? nutzdatenbloecke;

    DatenTeil({this.nutzdatenbloecke});
    DatenTeil.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        nutzdatenbloecke = JsonConverters.fromJson(json['nutzdatenbloecke'],'List<Nutzdatenblock>',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'nutzdatenbloecke': JsonConverters.toJson(nutzdatenbloecke,'List<Nutzdatenblock>',context!)
    };

    getTypeName() => "DatenTeil";
    TypeContext? context = _ctx;
}

/**
* Represents an ELSTER document.
*/
// @Api(Description="Represents an ELSTER document.")
class Elster implements IConvertible
{
    /**
    * The transfer header part of the ELSTER document.
    */
    // @ApiMember(Description="The transfer header part of the ELSTER document.", IsRequired=true)
    TransferHeader? transferHeader;

    /**
    * The data (facts) part of the ELSTER document.
    */
    // @ApiMember(Description="The data (facts) part of the ELSTER document.")
    DatenTeil? datenTeil;

    Elster({this.transferHeader,this.datenTeil});
    Elster.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        transferHeader = JsonConverters.fromJson(json['transferHeader'],'TransferHeader',context!);
        datenTeil = JsonConverters.fromJson(json['datenTeil'],'DatenTeil',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'transferHeader': JsonConverters.toJson(transferHeader,'TransferHeader',context!),
        'datenTeil': JsonConverters.toJson(datenTeil,'DatenTeil',context!)
    };

    getTypeName() => "Elster";
    TypeContext? context = _ctx;
}

/**
* Represents information about a file or directory.
*/
// @Api(Description="Represents information about a file or directory.")
class FileMetadata implements IFileMetadata, IConvertible
{
    /**
    * 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 name of the file.\nFor files, gets the name of the file.\nFor directories, gets the name of the last directory in the hierarchy if a hierarchy exists; otherwise, the name of the directory.", Name="Name")
    String? name;

    /**
    * The full path of the directory or file.
    */
    // @ApiMember(Description="The full path of the directory or file.", Name="FullName")
    String? fullName;

    /**
    * The time the current file or directory was last accessed.
    */
    // @ApiMember(Description="The time the current file or directory was last accessed.", Name="LastAccessTime")
    DateTime? lastAccessTime;

    /**
    * The name of the file.
    */
    // @ApiMember(Description="The name of the file.", Name="LastAccessTimeUtc")
    DateTime? lastAccessTimeUtc;

    /**
    * The time when the current file or directory was last written to.
    */
    // @ApiMember(Description="The time when the current file or directory was last written to.", Name="LastAccessTime")
    DateTime? lastWriteTime;

    /**
    * The time, in coordinated universal time (UTC), when the current file or directory was last written to.
    */
    // @ApiMember(Description="The time, in coordinated universal time (UTC), when the current file or directory was last written to.", Name="LastWriteTimeUtc")
    DateTime? lastWriteTimeUtc;

    /**
    * The size, in bytes, of the current file.
    */
    // @ApiMember(Description="The size, in bytes, of the current file.", Name="Length")
    int? length;

    /**
    * The size, in bytes, of the current file.
    */
    // @ApiMember(Description="The size, in bytes, of the current file.", Name="UserId")
    int? userId;

    /**
    * The file group id.
    */
    // @ApiMember(Description="The file group id.", Name="GroupId")
    int? groupId;

    /**
    * A value that indicates whether the others can read from this file.
    */
    // @ApiMember(Description="A value that indicates whether the others can read from this file.", Name="OthersCanRead")
    bool? othersCanRead;

    /**
    * A value that indicates whether the group members can execute this file.
    */
    // @ApiMember(Description="A value that indicates whether the group members can execute this file.", Name="GroupCanExecute")
    bool? groupCanExecute;

    /**
    * A value that indicates whether the group members can write into this file.
    */
    // @ApiMember(Description="A value that indicates whether the group members can write into this file.", Name="GroupCanWrite")
    bool? groupCanWrite;

    /**
    * A value that indicates whether the group members can read from this file.
    */
    // @ApiMember(Description="A value that indicates whether the group members can read from this file.", Name="GroupCanRead")
    bool? groupCanRead;

    /**
    * A value that indicates whether the owner can execute this file.
    */
    // @ApiMember(Description="A value that indicates whether the owner can execute this file.", Name="OwnerCanExecute")
    bool? ownerCanExecute;

    /**
    * A value that indicates whether the owner can write into this file.
    */
    // @ApiMember(Description="A value that indicates whether the owner can write into this file.", Name="OwnerCanWrite")
    bool? ownerCanWrite;

    /**
    * A value that indicates whether the owner can read from this file.
    */
    // @ApiMember(Description="A value that indicates whether the owner can read from this file.", Name="OthersCanRead")
    bool? ownerCanRead;

    /**
    * A value that indicates whether others can read from this file.
    */
    // @ApiMember(Description="A value that indicates whether others can read from this file.", Name="OthersCanExecute")
    bool? othersCanExecute;

    /**
    * A value that indicates whether others can write into this file.
    */
    // @ApiMember(Description="A value that indicates whether others can write into this file.", Name="OthersCanWrite")
    bool? othersCanWrite;

    /**
    * Extensions to the file attributes.
    */
    // @ApiMember(Description="Extensions to the file attributes.", Name="Extensions")
    Map<String,String?>? extensions;

    FileMetadata({this.name,this.fullName,this.lastAccessTime,this.lastAccessTimeUtc,this.lastWriteTime,this.lastWriteTimeUtc,this.length,this.userId,this.groupId,this.othersCanRead,this.groupCanExecute,this.groupCanWrite,this.groupCanRead,this.ownerCanExecute,this.ownerCanWrite,this.ownerCanRead,this.othersCanExecute,this.othersCanWrite,this.extensions});
    FileMetadata.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        name = json['name'];
        fullName = json['fullName'];
        lastAccessTime = JsonConverters.fromJson(json['lastAccessTime'],'DateTime',context!);
        lastAccessTimeUtc = JsonConverters.fromJson(json['lastAccessTimeUtc'],'DateTime',context!);
        lastWriteTime = JsonConverters.fromJson(json['lastWriteTime'],'DateTime',context!);
        lastWriteTimeUtc = JsonConverters.fromJson(json['lastWriteTimeUtc'],'DateTime',context!);
        length = json['length'];
        userId = json['userId'];
        groupId = json['groupId'];
        othersCanRead = json['othersCanRead'];
        groupCanExecute = json['groupCanExecute'];
        groupCanWrite = json['groupCanWrite'];
        groupCanRead = json['groupCanRead'];
        ownerCanExecute = json['ownerCanExecute'];
        ownerCanWrite = json['ownerCanWrite'];
        ownerCanRead = json['ownerCanRead'];
        othersCanExecute = json['othersCanExecute'];
        othersCanWrite = json['othersCanWrite'];
        extensions = JsonConverters.toStringMap(json['extensions']);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'name': name,
        'fullName': fullName,
        'lastAccessTime': JsonConverters.toJson(lastAccessTime,'DateTime',context!),
        'lastAccessTimeUtc': JsonConverters.toJson(lastAccessTimeUtc,'DateTime',context!),
        'lastWriteTime': JsonConverters.toJson(lastWriteTime,'DateTime',context!),
        'lastWriteTimeUtc': JsonConverters.toJson(lastWriteTimeUtc,'DateTime',context!),
        'length': length,
        'userId': userId,
        'groupId': groupId,
        'othersCanRead': othersCanRead,
        'groupCanExecute': groupCanExecute,
        'groupCanWrite': groupCanWrite,
        'groupCanRead': groupCanRead,
        'ownerCanExecute': ownerCanExecute,
        'ownerCanWrite': ownerCanWrite,
        'ownerCanRead': ownerCanRead,
        'othersCanExecute': othersCanExecute,
        'othersCanWrite': othersCanWrite,
        'extensions': extensions
    };

    getTypeName() => "FileMetadata";
    TypeContext? context = _ctx;
}

/**
* Represents a file that contains raw data content in bytes
*/
// @Api(Description="Represents a file that contains raw data content in bytes")
class BinaryFile extends FileBase implements IConvertible
{
    /**
    * The attributes of the file.
    */
    // @ApiMember(Description="The attributes of the file.", Name="Metadata")
    FileMetadata? metadata;

    /**
    * The name of the file without information on its directory path.
    */
    // @ApiMember(Description="The name of the file without information on its directory path.", Name="Name")
    String? name;

    /**
    * The raw data content of the file.
    */
    // @ApiMember(Description="The raw data content of the file.", Name="Content")
    Uint8List? content;

    BinaryFile({this.metadata,this.name,this.content});
    BinaryFile.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        super.fromMap(json);
        metadata = JsonConverters.fromJson(json['metadata'],'FileMetadata',context!);
        name = json['name'];
        content = JsonConverters.fromJson(json['content'],'Uint8List',context!);
        return this;
    }

    Map<String, dynamic> toJson() => super.toJson()..addAll({
        'metadata': JsonConverters.toJson(metadata,'FileMetadata',context!),
        'name': name,
        'content': JsonConverters.toJson(content,'Uint8List',context!)
    });

    getTypeName() => "BinaryFile";
    TypeContext? context = _ctx;
}

/**
* A type that encapsulates the return values from the ERiC API function that processes tax data.
*/
// @Api(Description="A type that encapsulates the return values from the ERiC API function that processes tax data.")
class BearbeiteVorgangResponse extends EricFehlerCodeResponse implements IConvertible
{
    /**
    * The return value of the process.
    */
    // @ApiMember(Description="The return value of the process.")
    EricBearbeiteVorgang? rueckgabe;

    /**
    * The server response of the process.
    */
    // @ApiMember(Description="The server response of the process.")
    Elster? serverantwort;

    /**
    * If available, the PDF-based files to represent generated transfer prototocols.
    */
    // @ApiMember(Description="If available, the PDF-based files to represent generated transfer prototocols.")
    List<BinaryFile>? transferProtocols;

    /**
    * The status code that the ERiC API function returns.
    */
    // @ApiMember(Description="The status code that the ERiC API function returns.", Name="StatusCode")
    EricFehlerCode? statusCode;

    /**
    * The status message that the ERiC API function returns.
    */
    // @ApiMember(Description="The status message that the ERiC API function returns.", Name="StatusText")
    String? statusText;

    /**
    * The unique identifier of the response.
    */
    // @ApiMember(Description="The unique identifier of the response.", Name="Id")
    String? id;

    /**
    * The position of the response element in an indexed collection.
    */
    // @ApiMember(Description="The position of the response element in an indexed collection.", Name="Index")
    int? index;

    /**
    * Metadata that contains structured error information on the service response.
    */
    // @ApiMember(Description="Metadata that contains structured error information on the service response.", Name="ResponseStatus")
    ResponseStatus? responseStatus;

    BearbeiteVorgangResponse({this.rueckgabe,this.serverantwort,this.transferProtocols,this.statusCode,this.statusText,this.id,this.index,this.responseStatus});
    BearbeiteVorgangResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        super.fromMap(json);
        rueckgabe = JsonConverters.fromJson(json['rueckgabe'],'EricBearbeiteVorgang',context!);
        serverantwort = JsonConverters.fromJson(json['serverantwort'],'Elster',context!);
        transferProtocols = JsonConverters.fromJson(json['transferProtocols'],'List<BinaryFile>',context!);
        statusCode = JsonConverters.fromJson(json['statusCode'],'EricFehlerCode',context!);
        statusText = json['statusText'];
        id = json['id'];
        index = json['index'];
        responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!);
        return this;
    }

    Map<String, dynamic> toJson() => super.toJson()..addAll({
        'rueckgabe': JsonConverters.toJson(rueckgabe,'EricBearbeiteVorgang',context!),
        'serverantwort': JsonConverters.toJson(serverantwort,'Elster',context!),
        'transferProtocols': JsonConverters.toJson(transferProtocols,'List<BinaryFile>',context!),
        'statusCode': JsonConverters.toJson(statusCode,'EricFehlerCode',context!),
        'statusText': statusText,
        'id': id,
        'index': index,
        'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!)
    });

    getTypeName() => "BearbeiteVorgangResponse";
    TypeContext? context = _ctx;
}

/**
* A synchronous service to create XML content that represents the filing of the special advance payment for VAT (Umsatzsteuer-sondervorauszahlung) as a tax consultant for 2022.
*/
// @Api(Description="A synchronous service to create XML content that represents the filing of the special advance payment for VAT (Umsatzsteuer-sondervorauszahlung) as a tax consultant for 2022.")
class SubmitUStSv2022AsTaxConsultant extends SubmitUstSv2022AsTaxConsultantBase implements IConvertible
{
    /**
    * The filing of the special advance payment for VAT
    */
    // @ApiMember(Description="The filing of the special advance payment for VAT", IsRequired=true, Name="Umsatzsteuersondervorauszahlung")
    Umsatzsteuersondervorauszahlung2022? umsatzsteuersondervorauszahlung;

    /**
    * Natürliche Person, welche die Software bedient, bzw. in deren Namen die Software bedient wird, um die Daten zu übersenden (Natural person who operates the software or under whose name the software is operated in order to transmit the data).
    */
    // @ApiMember(Description="Natürliche Person, welche die Software bedient, bzw. in deren Namen die Software bedient wird, um die Daten zu übersenden (Natural person who operates the software or under whose name the software is operated in order to transmit the data).", IsRequired=true, Name="DatenLieferant")
    DatenLieferant? datenLieferant;

    /**
    * Das Datum der Erstellung (Date of creation).
    */
    // @ApiMember(Description="Das Datum der Erstellung (Date of creation).", IsRequired=true, Name="Erstellungsdatum")
    DateTime? erstellungsdatum;

    /**
    * Der Steuerberater, der den Steuerfall bearbeitet und abgibt (The tax adviser who processes and submits the tax case).
    */
    // @ApiMember(Description="Der Steuerberater, der den Steuerfall bearbeitet und abgibt (The tax adviser who processes and submits the tax case).", Name="Berater")
    Berater? berater;

    /**
    * Der Mandant, für den der Steuerfall bearbeitet wird (The client for which the tax case is being processed).
    */
    // @ApiMember(Description="Der Mandant, für den der Steuerfall bearbeitet wird (The client for which the tax case is being processed).", Name="Mandant")
    Mandant? mandant;

    /**
    * Die vierstellige Bundesfinanzamtsnummer des empfangenden Finanzamtes (The four-digit federal tax office number of the receiving tax office).
    */
    // @ApiMember(Description="Die vierstellige Bundesfinanzamtsnummer des empfangenden Finanzamtes (The four-digit federal tax office number of the receiving tax office).", IsRequired=true, Name="Bundesfinanzamtsnummer")
    String? bundesfinanzamtsnummer;

    /**
    * Die Anbindung zum ELSTER Online Portal (EOP).
    */
    // @ApiMember(Description="Die Anbindung zum ELSTER Online Portal (EOP).", Name="EOP")
    EOP? eop;

    /**
    * 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="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")
    bool? duplexDruck;

    /**
    * Name prefix of the generated transfer protocol file.
    */
    // @ApiMember(Description="Name prefix of the generated transfer protocol file.", IsRequired=true, Name="ProtocolPrefix")
    String? protocolPrefix;

    /**
    * Footer text to be used on the printout (optional).
    */
    // @ApiMember(Description="Footer text to be used on the printout (optional).", Name="FussText")
    String? fussText;

    /**
    * The authentification certificate.
    */
    // @ApiMember(Description="The authentification certificate.", IsRequired=true, Name="Zertifikat")
    PortalCertificate? zertifikat;

    /**
    * Gets or sets the retrieval code. This value MUST be given for the tax operation ElsterDatenabholung and tax data type ElsterVaStDaten, for which a SoftPSE certificate is used to sign.In other cases a null value should be given. It consists of 2 x 5 characters, which are joined by  '-'. Example: 'K6FG5 - RS32P'.
    */
    // @ApiMember(Description="Gets or sets the retrieval code. This value MUST be given for the tax operation ElsterDatenabholung and tax data type ElsterVaStDaten, for which a SoftPSE certificate is used to sign.In other cases a null value should be given. It consists of 2 x 5 characters, which are joined by  '-'. Example: 'K6FG5 - RS32P'.", Name="AbrufCode")
    String? abrufCode;

    SubmitUStSv2022AsTaxConsultant({this.umsatzsteuersondervorauszahlung,this.datenLieferant,this.erstellungsdatum,this.berater,this.mandant,this.bundesfinanzamtsnummer,this.eop,this.duplexDruck,this.protocolPrefix,this.fussText,this.zertifikat,this.abrufCode});
    SubmitUStSv2022AsTaxConsultant.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        super.fromMap(json);
        umsatzsteuersondervorauszahlung = JsonConverters.fromJson(json['umsatzsteuersondervorauszahlung'],'Umsatzsteuersondervorauszahlung2022',context!);
        datenLieferant = JsonConverters.fromJson(json['datenLieferant'],'DatenLieferant',context!);
        erstellungsdatum = JsonConverters.fromJson(json['erstellungsdatum'],'DateTime',context!);
        berater = JsonConverters.fromJson(json['berater'],'Berater',context!);
        mandant = JsonConverters.fromJson(json['mandant'],'Mandant',context!);
        bundesfinanzamtsnummer = json['bundesfinanzamtsnummer'];
        eop = JsonConverters.fromJson(json['eop'],'EOP',context!);
        duplexDruck = json['duplexDruck'];
        protocolPrefix = json['protocolPrefix'];
        fussText = json['fussText'];
        zertifikat = JsonConverters.fromJson(json['zertifikat'],'PortalCertificate',context!);
        abrufCode = json['abrufCode'];
        return this;
    }

    Map<String, dynamic> toJson() => super.toJson()..addAll({
        'umsatzsteuersondervorauszahlung': JsonConverters.toJson(umsatzsteuersondervorauszahlung,'Umsatzsteuersondervorauszahlung2022',context!),
        'datenLieferant': JsonConverters.toJson(datenLieferant,'DatenLieferant',context!),
        'erstellungsdatum': JsonConverters.toJson(erstellungsdatum,'DateTime',context!),
        'berater': JsonConverters.toJson(berater,'Berater',context!),
        'mandant': JsonConverters.toJson(mandant,'Mandant',context!),
        'bundesfinanzamtsnummer': bundesfinanzamtsnummer,
        'eop': JsonConverters.toJson(eop,'EOP',context!),
        'duplexDruck': duplexDruck,
        'protocolPrefix': protocolPrefix,
        'fussText': fussText,
        'zertifikat': JsonConverters.toJson(zertifikat,'PortalCertificate',context!),
        'abrufCode': abrufCode
    });

    getTypeName() => "SubmitUStSv2022AsTaxConsultant";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'taxfiling.staging.pwc.de', types: <String, TypeInfo> {
    'DatenLieferant': TypeInfo(TypeOf.Class, create:() => DatenLieferant()),
    'Berater': TypeInfo(TypeOf.Class, create:() => Berater()),
    'Mandant': TypeInfo(TypeOf.Class, create:() => Mandant()),
    'EOP': TypeInfo(TypeOf.Class, create:() => EOP()),
    'FileBase': TypeInfo(TypeOf.AbstractClass),
    'Uint8List': TypeInfo(TypeOf.Class, create:() => Uint8List(0)),
    'PortalCertificate': TypeInfo(TypeOf.Class, create:() => PortalCertificate()),
    'SubmitUmsatzsteueranmeldung2022AsTaxConsultantBase': TypeInfo(TypeOf.AbstractClass),
    'Kz09': TypeInfo(TypeOf.Class, create:() => Kz09()),
    'Ganzzahl': TypeInfo(TypeOf.AbstractClass),
    'Ganzzahl1EN': TypeInfo(TypeOf.Class, create:() => Ganzzahl1EN()),
    'GrossGeldBetragOhneCent': TypeInfo(TypeOf.AbstractClass),
    'PositiverGeldBetragOhneCent13EN': TypeInfo(TypeOf.Class, create:() => PositiverGeldBetragOhneCent13EN()),
    'Umsatzsteuersondervorauszahlung2022': TypeInfo(TypeOf.Class, create:() => Umsatzsteuersondervorauszahlung2022()),
    'SubmitUstSv2022AsTaxConsultantBase': TypeInfo(TypeOf.AbstractClass),
    'ServiceReponseBase': TypeInfo(TypeOf.AbstractClass),
    'EricFehlerCode': TypeInfo(TypeOf.Enum, enumValues:EricFehlerCode.values),
    'EricFehlerCodeResponse': TypeInfo(TypeOf.Class, create:() => EricFehlerCodeResponse()),
    'Erfolg': TypeInfo(TypeOf.Class, create:() => Erfolg()),
    'Transfer': TypeInfo(TypeOf.Class, create:() => Transfer()),
    'Transfers': TypeInfo(TypeOf.Class, create:() => Transfers()),
    'List<Transfer>': TypeInfo(TypeOf.Class, create:() => <Transfer>[]),
    'SemantischerIndex': TypeInfo(TypeOf.Class, create:() => SemantischerIndex()),
    'FehlerRegelpruefung': TypeInfo(TypeOf.Class, create:() => FehlerRegelpruefung()),
    'List<SemantischerIndex>': TypeInfo(TypeOf.Class, create:() => <SemantischerIndex>[]),
    'Hinweis': TypeInfo(TypeOf.Class, create:() => Hinweis()),
    'EricBearbeiteVorgang': TypeInfo(TypeOf.Class, create:() => EricBearbeiteVorgang()),
    'List<FehlerRegelpruefung>': TypeInfo(TypeOf.Class, create:() => <FehlerRegelpruefung>[]),
    'List<Hinweis>': TypeInfo(TypeOf.Class, create:() => <Hinweis>[]),
    'Verfahren': TypeInfo(TypeOf.Enum, enumValues:Verfahren.values),
    'Datenart': TypeInfo(TypeOf.Enum, enumValues:Datenart.values),
    'Vorgang': TypeInfo(TypeOf.Enum, enumValues:Vorgang.values),
    'Testmerker': TypeInfo(TypeOf.Enum, enumValues:Testmerker.values),
    'SigUser': TypeInfo(TypeOf.Class, create:() => SigUser()),
    'Bundesland': TypeInfo(TypeOf.Enum, enumValues:Bundesland.values),
    'Empfaenger': TypeInfo(TypeOf.Class, create:() => Empfaenger()),
    'Verschluesselungsart': TypeInfo(TypeOf.Enum, enumValues:Verschluesselungsart.values),
    'Kompression': TypeInfo(TypeOf.Enum, enumValues:Kompression.values),
    'EricTyp': TypeInfo(TypeOf.Class, create:() => EricTyp()),
    'Erstellung': TypeInfo(TypeOf.Class, create:() => Erstellung()),
    'Datei': TypeInfo(TypeOf.Class, create:() => Datei()),
    'Rueckgabe': TypeInfo(TypeOf.Class, create:() => Rueckgabe()),
    'Stack': TypeInfo(TypeOf.Class, create:() => Stack()),
    'RC': TypeInfo(TypeOf.Class, create:() => RC()),
    'Zusatz': TypeInfo(TypeOf.Class, create:() => Zusatz()),
    'TransferHeader': TypeInfo(TypeOf.Class, create:() => TransferHeader()),
    'EmpfaengerID': TypeInfo(TypeOf.Enum, enumValues:EmpfaengerID.values),
    'NDHEmpfaenger': TypeInfo(TypeOf.Class, create:() => NDHEmpfaenger()),
    'Hersteller': TypeInfo(TypeOf.Class, create:() => Hersteller()),
    'NutzdatenHeader': TypeInfo(TypeOf.Class, create:() => NutzdatenHeader()),
    'Nutzdaten': TypeInfo(TypeOf.Class, create:() => Nutzdaten()),
    'Nutzdatenblock': TypeInfo(TypeOf.Class, create:() => Nutzdatenblock()),
    'DatenTeil': TypeInfo(TypeOf.Class, create:() => DatenTeil()),
    'List<Nutzdatenblock>': TypeInfo(TypeOf.Class, create:() => <Nutzdatenblock>[]),
    'Elster': TypeInfo(TypeOf.Class, create:() => Elster()),
    'FileMetadata': TypeInfo(TypeOf.Class, create:() => FileMetadata()),
    'BinaryFile': TypeInfo(TypeOf.Class, create:() => BinaryFile()),
    'BearbeiteVorgangResponse': TypeInfo(TypeOf.Class, create:() => BearbeiteVorgangResponse()),
    'List<BinaryFile>': TypeInfo(TypeOf.Class, create:() => <BinaryFile>[]),
    'SubmitUStSv2022AsTaxConsultant': TypeInfo(TypeOf.Class, create:() => SubmitUStSv2022AsTaxConsultant()),
});

Dart SubmitUStSv2022AsTaxConsultant DTOs

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

HTTP + X-MSGPACK

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

POST /SubmitUStSv2022AsTaxConsultant HTTP/1.1 
Host: taxfiling.staging.pwc.de 
Accept: application/x-msgpack
Content-Type: application/x-msgpack
Content-Length: length

{"umsatzsteuersondervorauszahlung":{"jahr":0,"steuernummer":"String","kz09":{"herstellerId":0,"beraterName":"String","berufsbezeichnung":"String","beraterTelNrVorwahl":"String","beraterTelNrAnschluss":"String","mandantName":"String"},"kz10":{"wert":0},"kz23":{"wert":0},"kz23_Begruendung":"String","kz26":{"wert":0},"kz29":{"wert":0},"kz38":{"wert":0}},"datenLieferant":{"name":"String","strasse":"String","plz":"String","ort":"String","telefon":"String","email":"String"},"erstellungsdatum":"\/Date(-62135596800000-0000)\/","berater":{"bezeichnung":"String","name":"String","vorname":"String","namensvorsatz":"String","namenszusatz":"String","str":"String","hausnummer":"String","hNrZusatz":"String","anschriftenZusatz":"String","ort":"String","plz":"String","auslandsPLZ":"String","land":"String","postfachOrt":"String","postfach":"String","postfachPLZ":"String","gkplz":"String","telefon":"String","email":"String"},"mandant":{"name":"String","vorname":"String","mandantenNr":"String","bearbeiterkennzeichen":"String"},"bundesfinanzamtsnummer":"String","eop":{"transferausgabe":"String"},"duplexDruck":false,"protocolPrefix":"String","fussText":"String","zertifikat":{"id":"00000000000000000000000000000000","index":0,"pin":"String","description":"String","tags":["String"],"name":"String","content":"AA=="},"abrufCode":"String"}
HTTP/1.1 200 OK
Content-Type: application/x-msgpack
Content-Length: length

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