Tax Filing Service

<back to all web services

SubmitUstSvFromDefinition

SyncUmsatzsteuerSondervorauszahlungReturnBuilderDefinition

A synchronous service to submit XML content that represents a filing of the special advance payment for VAT (Umsatzsteuersondervorauszahlung) as an Entrepreneur.

Requires Authentication
The following routes are available for this service:
POST/SubmitUstSvFromDefinition
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';

/**
* Create a VAT return from a dictionary (hash map) of key/value definitions with a dictionary (hash map) of properties.
*/
// @Api(Description="Create a VAT return from a dictionary (hash map) of key/value definitions with a dictionary (hash map) of properties.")
abstract class CreateXmlFromDefinitionBase
{
    /**
    * The 4-digit year of the tax assessment.
    */
    // @ApiMember(Description="The 4-digit year of the tax assessment.")
    int? jahr;

    /**
    * Dictionary of key-value pairs that represent the intrinsic properties of the VAT return. Each key represents a name of the VAT property.Each value of the pair represents the VAT property value.
    */
    // @ApiMember(Description="Dictionary of key-value pairs that represent the intrinsic properties of the VAT return. Each key represents a name of the VAT property.Each value of the pair represents the VAT property value.")
    Map<String,String?>? properties;

    CreateXmlFromDefinitionBase({this.jahr,this.properties});
    CreateXmlFromDefinitionBase.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        jahr = json['jahr'];
        properties = JsonConverters.toStringMap(json['properties']);
        return this;
    }

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

    getTypeName() => "CreateXmlFromDefinitionBase";
    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;
}

/**
* Submit content that  represents a special advance payment for VAT (Umsatzsteuersondervorauszahlung) as an Entrepreneur return from the specified dictionary (hash map) of key/value definitions.
*/
// @Api(Description="Submit content that  represents a special advance payment for VAT (Umsatzsteuersondervorauszahlung) as an Entrepreneur return from the specified dictionary (hash map) of key/value definitions.")
abstract class SubmitUstSvFromDefinitionBase extends CreateXmlFromDefinitionBase implements IDruckRequest, IVeschlueselungsRequest
{
    /**
    * 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.")
    bool? duplexDruck;

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

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

    /**
    * The portal certificate to authenticate and encrypt the submission.
    */
    // @ApiMember(Description="The portal certificate to authenticate and encrypt the submission.")
    PortalCertificate? zertifikat;

    /**
    * The 4-digit year of the tax assessment.
    */
    // @ApiMember(Description="The 4-digit year of the tax assessment.")
    int? jahr;

    /**
    * Dictionary of key-value pairs that represent the intrinsic properties of the VAT return. Each key represents a name of the VAT property.Each value of the pair represents the VAT property value.
    */
    // @ApiMember(Description="Dictionary of key-value pairs that represent the intrinsic properties of the VAT return. Each key represents a name of the VAT property.Each value of the pair represents the VAT property value.")
    Map<String,String?>? properties;

    SubmitUstSvFromDefinitionBase({this.duplexDruck,this.protocolPrefix,this.fussText,this.zertifikat,this.jahr,this.properties});
    SubmitUstSvFromDefinitionBase.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        super.fromMap(json);
        duplexDruck = json['duplexDruck'];
        protocolPrefix = json['protocolPrefix'];
        fussText = json['fussText'];
        zertifikat = JsonConverters.fromJson(json['zertifikat'],'PortalCertificate',context!);
        jahr = json['jahr'];
        properties = JsonConverters.toStringMap(json['properties']);
        return this;
    }

    Map<String, dynamic> toJson() => super.toJson()..addAll({
        'duplexDruck': duplexDruck,
        'protocolPrefix': protocolPrefix,
        'fussText': fussText,
        'zertifikat': JsonConverters.toJson(zertifikat,'PortalCertificate',context!),
        'jahr': jahr,
        'properties': properties
    });

    getTypeName() => "SubmitUstSvFromDefinitionBase";
    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 submit XML content that represents a filing of the special advance payment for VAT (Umsatzsteuersondervorauszahlung) as an Entrepreneur.
*/
// @Api(Description="A synchronous service to submit XML content that represents a filing of the special advance payment for VAT (Umsatzsteuersondervorauszahlung) as an Entrepreneur.")
class SubmitUstSvFromDefinition extends SubmitUstSvFromDefinitionBase implements IConvertible
{
    /**
    * 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.")
    bool? duplexDruck;

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

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

    /**
    * The portal certificate to authenticate and encrypt the submission.
    */
    // @ApiMember(Description="The portal certificate to authenticate and encrypt the submission.")
    PortalCertificate? zertifikat;

    /**
    * The 4-digit year of the tax assessment.
    */
    // @ApiMember(Description="The 4-digit year of the tax assessment.")
    int? jahr;

    /**
    * Dictionary of key-value pairs that represent the intrinsic properties of the VAT return. Each key represents a name of the VAT property.Each value of the pair represents the VAT property value.
    */
    // @ApiMember(Description="Dictionary of key-value pairs that represent the intrinsic properties of the VAT return. Each key represents a name of the VAT property.Each value of the pair represents the VAT property value.")
    Map<String,String?>? properties;

    SubmitUstSvFromDefinition({this.duplexDruck,this.protocolPrefix,this.fussText,this.zertifikat,this.jahr,this.properties});
    SubmitUstSvFromDefinition.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        super.fromMap(json);
        duplexDruck = json['duplexDruck'];
        protocolPrefix = json['protocolPrefix'];
        fussText = json['fussText'];
        zertifikat = JsonConverters.fromJson(json['zertifikat'],'PortalCertificate',context!);
        jahr = json['jahr'];
        properties = JsonConverters.toStringMap(json['properties']);
        return this;
    }

    Map<String, dynamic> toJson() => super.toJson()..addAll({
        'duplexDruck': duplexDruck,
        'protocolPrefix': protocolPrefix,
        'fussText': fussText,
        'zertifikat': JsonConverters.toJson(zertifikat,'PortalCertificate',context!),
        'jahr': jahr,
        'properties': properties
    });

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

TypeContext _ctx = TypeContext(library: 'taxfiling.pwc.de', types: <String, TypeInfo> {
    'CreateXmlFromDefinitionBase': TypeInfo(TypeOf.AbstractClass),
    'FileBase': TypeInfo(TypeOf.AbstractClass),
    'Uint8List': TypeInfo(TypeOf.Class, create:() => Uint8List(0)),
    'PortalCertificate': TypeInfo(TypeOf.Class, create:() => PortalCertificate()),
    'SubmitUstSvFromDefinitionBase': 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>[]),
    'SubmitUstSvFromDefinition': TypeInfo(TypeOf.Class, create:() => SubmitUstSvFromDefinition()),
});

Dart SubmitUstSvFromDefinition DTOs

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

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

HTTP + JSON

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

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

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

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