Tax Filing Service

<back to all web services

PostfachAnfrageRequest17

SyncDatenabholungAnfragenPostfachAnfrage

Represents the service request to retrive all meta information per data group and per tax type for an account or fingerprint.

Requires Authentication
The following routes are available for this service:
POST/datenabholungen/anfragen/17/PostfachAnfrage
namespace PwC.DigitalHub.Utilities.IO.Core.Contracts.Models

open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    ///<summary>
    ///Specifies a service response from an ERiC service operation.
    ///</summary>
    [<Api(Description="Specifies a service response from an ERiC service operation.")>]
    [<AllowNullLiteral>]
    type ServiceReponseBase() = 
        ///<summary>
        ///The unique identifier of the response.
        ///</summary>
        [<ApiMember(Description="The unique identifier of the response.", Name="Id")>]
        member val Id:String = null with get,set

        ///<summary>
        ///The position of the response element in an indexed collection.
        ///</summary>
        [<ApiMember(Description="The position of the response element in an indexed collection.", Name="Index")>]
        member val Index:Int32 = new Int32() with get,set

        ///<summary>
        ///Metadata that contains structured error information on the service response.
        ///</summary>
        [<ApiMember(Description="Metadata that contains structured error information on the service response.", Name="ResponseStatus")>]
        member val ResponseStatus:ResponseStatus = null with get,set

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

    ///<summary>
    ///Represent a base response that encapsulate any ERiC API function return value.
    ///</summary>
    [<Api(Description="Represent a base response that encapsulate any ERiC API function return value.")>]
    [<AllowNullLiteral>]
    type EricFehlerCodeResponse() = 
        inherit ServiceReponseBase()
        ///<summary>
        ///The status code that the ERiC API function returns.
        ///</summary>
        [<ApiMember(Description="The status code that the ERiC API function returns.", Name="StatusCode")>]
        member val StatusCode:EricFehlerCode = new EricFehlerCode() with get,set

        ///<summary>
        ///The status message that the ERiC API function returns.
        ///</summary>
        [<ApiMember(Description="The status message that the ERiC API function returns.", Name="StatusText")>]
        member val StatusText:String = null with get,set

        ///<summary>
        ///The unique identifier of the response.
        ///</summary>
        [<ApiMember(Description="The unique identifier of the response.", Name="Id")>]
        member val Id:String = null with get,set

        ///<summary>
        ///The position of the response element in an indexed collection.
        ///</summary>
        [<ApiMember(Description="The position of the response element in an indexed collection.", Name="Index")>]
        member val Index:Int32 = new Int32() with get,set

        ///<summary>
        ///Metadata that contains structured error information on the service response.
        ///</summary>
        [<ApiMember(Description="Metadata that contains structured error information on the service response.", Name="ResponseStatus")>]
        member val ResponseStatus:ResponseStatus = null with get,set

    ///<summary>
    ///Represents the type of constraint.
    ///</summary>
    type Einschraenkung =
        | neue = 0
        | alle = 1

    ///<summary>
    ///Represents a list of requested retrieval information about data records.
    ///</summary>
    [<AllowNullLiteral>]
    type AnfrageBereitstellungen17() = 
        class end

    ///<summary>
    ///Represents a request tax type.
    ///</summary>
    [<Api(Description="Represents a request tax type.")>]
    [<AllowNullLiteral>]
    type AnfrageSteuerart17() = 
        ///<summary>
        ///The name of the tax type.
        ///</summary>
        [<ApiMember(Description="The name of the tax type.")>]
        member val Name:String = null with get,set

        ///<summary>
        ///The number of hits per tax type for an account or fingerprint.
        ///</summary>
        [<ApiMember(Description="The number of hits per tax type for an account or fingerprint.")>]
        member val AnzahlTreffer:Nullable<Int32> = new Nullable<Int32>() with get,set

        member val Bereitstellungen:AnfrageBereitstellungen17 = null with get,set

    ///<summary>
    ///Represents a requested data group (data retrieval type) , which is possibly mapped to a tax type.
    ///</summary>
    [<Api(Description="Represents a requested data group (data retrieval type) , which is possibly mapped to a tax type.")>]
    [<AllowNullLiteral>]
    type AnfrageDatengruppe17() = 
        ///<summary>
        ///The name of the data group.
        ///</summary>
        [<ApiMember(Description="The name of the data group.")>]
        member val Name:String = null with get,set

        ///<summary>
        ///The tax type that is mapped to a data group.
        ///</summary>
        [<ApiMember(Description="The tax type that is mapped to a data group.")>]
        member val Steuerart:AnfrageSteuerart17 = null with get,set

    ///<summary>
    ///Stellt die Anwort zu einer 'PostfachAnfrage' dar.
    ///</summary>
    [<Api(Description="Stellt die Anwort zu einer 'PostfachAnfrage' dar.")>]
    [<AllowNullLiteral>]
    type PostfachAnfrageAntwort17() = 
        ///<summary>
        ///Constraint: new /all.
        ///</summary>
        [<ApiMember(Description="Constraint: new /all.")>]
        member val Einschraenkung:Nullable<Einschraenkung> = new Nullable<Einschraenkung>() with get,set

        ///<summary>
        ///Start: Date (YYYYMMDD)
        ///</summary>
        [<ApiMember(Description="Start: Date (YYYYMMDD)")>]
        member val Von:Nullable<DateTime> = new Nullable<DateTime>() with get,set

        ///<summary>
        ///End: Date (YYYYMMDD)
        ///</summary>
        [<ApiMember(Description="End: Date (YYYYMMDD)")>]
        member val Bis:Nullable<DateTime> = new Nullable<DateTime>() with get,set

        ///<summary>
        ///Maximum the number of returned hits.
        ///</summary>
        [<ApiMember(Description="Maximum the number of returned hits.")>]
        member val Max:Nullable<Int32> = new Nullable<Int32>() with get,set

        ///<summary>
        ///The data group.
        ///</summary>
        [<ApiMember(Description="The data group.")>]
        member val Datengruppe:AnfrageDatengruppe17 = null with get,set

    ///<summary>
    ///Represents information returned from a successful tax declaration process.
    ///</summary>
    [<Api(Description="Represents information returned from a successful tax declaration process.")>]
    [<AllowNullLiteral>]
    type Erfolg() = 
        ///<summary>
        ///The generated tele-number for the successful tax declaration process.
        ///</summary>
        [<ApiMember(Description="The generated tele-number for the successful tax declaration process.")>]
        member val Telenummer:ResizeArray<String> = new ResizeArray<String>() with get,set

        ///<summary>
        ///The classification key for the successful tax declaration process.
        ///</summary>
        [<ApiMember(Description="The classification key for the successful tax declaration process.")>]
        member val Ordnungsbegriffe:ResizeArray<String> = new ResizeArray<String>() with get,set

    ///<summary>
    ///Represents information on the delivery.
    ///</summary>
    [<Api(Description="Represents information on the delivery.")>]
    [<AllowNullLiteral>]
    type Transfer() = 
        ///<summary>
        ///The ticket of the transfer.
        ///</summary>
        [<ApiMember(Description="The ticket of the transfer.")>]
        member val TransferTicket:String = null with get,set

    ///<summary>
    ///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.
    ///</summary>
    [<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.")>]
    [<AllowNullLiteral>]
    type Transfers() = 
        ///<summary>
        ///Contains information on all data deliveries, including deliveries that have not been confirmed by the server.
        ///</summary>
        [<ApiMember(Description="Contains information on all data deliveries, including deliveries that have not been confirmed by the server.")>]
        member val TransferList:ResizeArray<Transfer> = new ResizeArray<Transfer>() with get,set

    ///<summary>
    ///Represents value of an index field, which identfies the context about an error message.
    ///</summary>
    [<Api(Description="Represents value of an index field, which identfies the context about an error message.")>]
    [<AllowNullLiteral>]
    type SemantischerIndex() = 
        ///<summary>
        ///The name of the index field.
        ///</summary>
        [<ApiMember(Description="The name of the index field.")>]
        member val Name:String = null with get,set

        ///<summary>
        ///The value of the index field.
        ///</summary>
        [<ApiMember(Description="The value of the index field.")>]
        member val Value:String = null with get,set

    ///<summary>
    ///Represents information on an ERiC reference.
    ///</summary>
    [<Api(Description="Represents information on an ERiC reference.")>]
    [<AllowNullLiteral>]
    type FehlerRegelpruefung() = 
        ///<summary>
        ///The user data ticket of the reference.
        ///</summary>
        [<ApiMember(Description="The user data ticket of the reference.")>]
        member val Nutzdatenticket:String = null with get,set

        ///<summary>
        ///The field identifier of the reference.
        ///</summary>
        [<ApiMember(Description="The field identifier of the reference.")>]
        member val Feldidentifikator:String = null with get,set

        ///<summary>
        ///The multi-line index of the reference.
        ///</summary>
        [<ApiMember(Description="The multi-line index of the reference.")>]
        member val Mehrfachzeilenindex:String = null with get,set

        ///<summary>
        ///The delivery number form of the reference.
        ///</summary>
        [<ApiMember(Description="The delivery number form of the reference.")>]
        member val LfdNrVordruck:String = null with get,set

        ///<summary>
        ///Indicates the line number of the error field mentioned in the form.
        ///</summary>
        [<ApiMember(Description="Indicates the line number of the error field mentioned in the form.")>]
        member val VordruckZeilennummer:String = null with get,set

        ///<summary>
        ///Specifies the value of one or more index fields that identify the context of error messages.
        ///</summary>
        [<ApiMember(Description="Specifies the value of one or more index fields that identify the context of error messages.")>]
        member val SemantischeIndexes:ResizeArray<SemantischerIndex> = new ResizeArray<SemantischerIndex>() with get,set

        ///<summary>
        ///The sub-subject-area of the reference.
        ///</summary>
        [<ApiMember(Description="The sub-subject-area of the reference.")>]
        member val Untersachbereich:String = null with get,set

        ///<summary>
        ///The private identification number of the reference.
        ///</summary>
        [<ApiMember(Description="The private identification number of the reference.")>]
        member val PrivateKennnummer:String = null with get,set

        ///<summary>
        ///The name of the rule that applies to the reference.
        ///</summary>
        [<ApiMember(Description="The name of the rule that applies to the reference.")>]
        member val RegelName:String = null with get,set

        ///<summary>
        ///The technical error identifier of the reference.
        ///</summary>
        [<ApiMember(Description="The technical error identifier of the reference.")>]
        member val FachlicheFehlerId:String = null with get,set

        ///<summary>
        ///The textual details of the reference.
        ///</summary>
        [<ApiMember(Description="The textual details of the reference.")>]
        member val Text:String = null with get,set

    [<AllowNullLiteral>]
    type Hinweis() = 
        ///<summary>
        ///The user data ticket of the reference.
        ///</summary>
        [<ApiMember(Description="The user data ticket of the reference.")>]
        member val Nutzdatenticket:String = null with get,set

        ///<summary>
        ///The field identifier of the reference.
        ///</summary>
        [<ApiMember(Description="The field identifier of the reference.")>]
        member val Feldidentifikator:String = null with get,set

        ///<summary>
        ///The multi-line index of the reference.
        ///</summary>
        [<ApiMember(Description="The multi-line index of the reference.")>]
        member val Mehrfachzeilenindex:String = null with get,set

        ///<summary>
        ///The delivery number form of the reference.
        ///</summary>
        [<ApiMember(Description="The delivery number form of the reference.")>]
        member val LfdNrVordruck:String = null with get,set

        ///<summary>
        ///Indicates the line number of the error field mentioned in the form.
        ///</summary>
        [<ApiMember(Description="Indicates the line number of the error field mentioned in the form.")>]
        member val VordruckZeilennummer:String = null with get,set

        ///<summary>
        ///Specifies the value of one or more index fields that identify the context of error messages.
        ///</summary>
        [<ApiMember(Description="Specifies the value of one or more index fields that identify the context of error messages.")>]
        member val SemantischeIndexes:ResizeArray<SemantischerIndex> = new ResizeArray<SemantischerIndex>() with get,set

        ///<summary>
        ///The sub-subject-area of the reference.
        ///</summary>
        [<ApiMember(Description="The sub-subject-area of the reference.")>]
        member val Untersachbereich:String = null with get,set

        ///<summary>
        ///The private identification number of the reference.
        ///</summary>
        [<ApiMember(Description="The private identification number of the reference.")>]
        member val PrivateKennnummer:String = null with get,set

        ///<summary>
        ///The name of the rule that applies to the reference.
        ///</summary>
        [<ApiMember(Description="The name of the rule that applies to the reference.")>]
        member val RegelName:String = null with get,set

        ///<summary>
        ///The technical note identifier of the reference.
        ///</summary>
        [<ApiMember(Description="The technical note identifier of the reference.")>]
        member val FachlicheHinweisId:String = null with get,set

        ///<summary>
        ///The textual details of the reference.
        ///</summary>
        [<ApiMember(Description="The textual details of the reference.")>]
        member val Text:String = null with get,set

    ///<summary>
    ///Represents a structure that contains the first output of the ERiC tax data submission process.
    ///</summary>
    [<Api(Description="Represents a structure that contains the first output of the ERiC tax data submission process.")>]
    [<AllowNullLiteral>]
    type EricBearbeiteVorgang() = 
        ///<summary>
        ///Information from the successful processing a tax declaration.
        ///</summary>
        [<ApiMember(Description="Information from the successful processing a tax declaration.")>]
        member val Erfolg:Erfolg = null with get,set

        ///<summary>
        ///Gets or sets information on all data deliveries, including deliveries that have not been confirmed by the server.
        ///</summary>
        [<ApiMember(Description="Gets or sets information on all data deliveries, including deliveries that have not been confirmed by the server.")>]
        member val Transfers:Transfers = null with get,set

        ///<summary>
        ///Error rules that result from the processing of a tax declaration.
        ///</summary>
        [<ApiMember(Description="Error rules that result from the processing of a tax declaration.")>]
        member val FehlerRegelpruefungen:ResizeArray<FehlerRegelpruefung> = new ResizeArray<FehlerRegelpruefung>() with get,set

        ///<summary>
        ///Hints that result the processing of a tax declaration.
        ///</summary>
        [<ApiMember(Description="Hints that result the processing of a tax declaration.")>]
        member val Hinweise:ResizeArray<Hinweis> = new ResizeArray<Hinweis>() with get,set

    ///<summary>
    ///Auflistung der gültigen Verfahren
    ///</summary>
    type Verfahren =
        | ElsterAnmeldung = 0
        | ElsterBereitstellung = 1
        | ElsterBilanz = 2
        | ElsterBRM = 3
        | ElsterBRMOrg = 4
        | ElsterDatenabholung = 5
        | ElsterErklaerung = 6
        | ElsterExtern = 7
        | ElsterFSE = 8
        | ElsterKapESt = 9
        | ElsterKMV = 10
        | ElsterKontoabfrage = 11
        | ElsterLavendel = 12
        | ElsterLohn = 13
        | ElsterLohn2 = 14
        | ElsterNachricht = 15
        | ElsterSignatur = 16
        | ElsterVollmachtDB = 17

    ///<summary>
    ///Auflistung aller gültigen Datenarten.
    ///</summary>
    type Datenart =
        | Anlage34a = 0
        | AnpassungVorauszahlung = 1
        | AntragUStVerguetung4a = 2
        | AbrufcodeAntrag = 3
        | AenderungAdresse = 4
        | AbrufcodeStorno = 5
        | AbrufvollmachtAnlage = 6
        | AbrufvollmachtUpdate = 7
        | AenderungBankverbindung = 8
        | AntraegeRechteLoeschen = 9
        | AntraegeUndRechte = 10
        | Aufzeichnung146a = 11
        | BetPG = 12
        | Bilanz = 13
        | Belegnachreichung = 14
        | BSBMitteilung = 15
        | BZSt2 = 16
        | C19Mitteilung = 17
        | DUeAbmelden = 18
        | DUeAnmelden = 19
        | DUeUmmelden = 20
        | Einspruch = 21
        | EinspruchNachtrag = 22
        | EinspruchRuecknahme = 23
        | ELeVAntragELStAM = 24
        | ELeVErmaessigung = 25
        | ELeVGetrenntlebend = 26
        | ELeVSteuerklassenwechsel = 27
        | ELeVWiederaufnahmeEhe = 28
        | EPAntwort = 29
        | EPBescheid = 30
        | EPMitteilung = 31
        | EPKurzmitteilung = 32
        | ElsterErklaerungDaten = 33
        | ElsterKMVDaten = 34
        | ElsterLohn2Daten = 35
        | ElsterLohnDaten = 36
        | ElsterVaStDaten = 37
        | ElsterDIVADaten = 38
        | ElsterDIVDaten = 39
        | ElsterEPBescheidDaten = 40
        | ElsterEPMitteilungDaten = 41
        | EPStBescheidAbholung = 42
        | EPStMitteilungAbholung = 43
        | Erbschaftsteuer = 44
        | ESt = 45
        | EStbeschraenkt = 46
        | EUER = 47
        | EUn = 48
        | FEIN = 49
        | ForschungZulAntrag = 50
        | KStAntragOptionPersG = 51
        | FLHMitteilung = 52
        | FreistellungKapitalertraegeBV = 53
        | Fristverlaengerung = 54
        | FsEVerein = 55
        | Gewerbemeldung = 56
        | GDBMitteilung = 57
        | Gewinnermittlung13aEStG = 58
        | GewSt = 59
        | GewStZ = 60
        | GrundsteuerBW = 61
        | GrundsteuerBY = 62
        | GrundsteuerHE = 63
        | GrundsteuerHH = 64
        | GrundsteuerNI = 65
        | Grundsteuerwert = 66
        | InvStG56Abs5 = 67
        | InvStG51Feststellung = 68
        | KapEStA = 69
        | KapEStInvStG = 70
        | KapG = 71
        | KapGAus = 72
        | KKVMitteilung = 73
        | Kontoabfrage = 74
        | Kontoinformation = 75
        | KSt = 76
        | KStZ = 77
        | KTTAnmeldungHH = 78
        | KTTAnzeigeHH = 79
        | Lohnersatzleistung = 80
        | LohnersatzMitteilung = 81
        | LStA = 82
        | LStB = 83
        | LStHVVMAnlage = 84
        | LStHVVMUpdate = 85
        | OGHMitteilung = 86
        | VermoegenswirksameLeistung = 87
        | VMWiderruf = 88
        | VollmachtDetails = 89
        | VNoVMVRegistrierung = 90
        | VNoVMVUpdate = 91
        | VNoVMVLoeschung = 92
        | VollfAAnlage = 93
        | VollfAUpdate = 94
        | VMoVMVStBAnlage = 95
        | VMoVMVStBUpdate = 96
        | VMoVMVFreischaltung = 97
        | VAGMitteilung = 98
        | DIVADatenBZSt = 99
        | DivaEinwilligungAnlageBRM = 100
        | DivaEinwilligungFreisch = 101
        | DivaEinwilligungUpdateBRM = 102
        | DivaWiderrufBRM = 103
        | DivaErgebnisliste = 104
        | LStHVDivaAdresseBRM = 105
        | VMErgebnisListeVNSicht = 106
        | PersG = 107
        | PostfachAnfrage = 108
        | PostfachStatus = 109
        | ProtokollAnforderung = 110
        | Registrierung = 111
        | Schenkungsteuer = 112
        | SonstigeNachrichten = 113
        | SpezRechtAntrag = 114
        | SpezRechtFreischaltung = 115
        | SpezRechtListe = 116
        | SpezRechtStorno = 117
        | SpezRechtTeilnahme = 118
        | StAb50a = 119
        | Statusabfrage = 120
        | UnentgeltlicheDepotuebertragung = 121
        | UENSTAnmeldungBE = 122
        | UENSTAnzeigeBE = 123
        | USt = 124
        | UStVA = 125
        | UStDV = 126
        | UStSV = 127
        | VGNAnmeldungHB = 128
        | VGNAnmeldungBE = 129
        | VGNAnmeldungHH = 130
        | VGNAnzeigeHH = 131
        | WTBAnmeldungHB = 132
        | ZMDO = 133
        | ElsterVollmachtDaten = 134
        | MitteilungAbholung = 135

    ///<summary>
    ///Hauptinformation ob die Daten authentifiziert wurden (send-Auth) oder nicht (send-NoSig)
    ///</summary>
    type Vorgang =
        | Send_Auth = 0
        | Send_Auth_Part = 1
        | Send_NoSig = 2
        | Send_NoSig_Part = 3

    ///<summary>
    ///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.
    ///</summary>
    type Testmerker =
        | TM010000001 = 10000001
        | TM080000001 = 80000001
        | TM160000001 = 160000001
        | TM160000002 = 160000002
        | TM220000000 = 220000000
        | TM220002000 = 220002000
        | TM230000001 = 230000001
        | TM240000000 = 240000000
        | TM370000001 = 370000001
        | TM520000000 = 520000000
        | TM700000001 = 700000001
        | TM700000004 = 700000004

    ///<summary>
    ///Represents the signature and associated information of the compressed, encrypted, base64-encoded content of the data part of the tax declaration/statement.
    ///</summary>
    [<Api(Description="Represents the signature and associated information of the compressed, encrypted, base64-encoded content of the data part of the tax declaration/statement.")>]
    [<AllowNullLiteral>]
    type SigUser() = 
        ///<summary>
        ///The content of the data. Currently supported: Raw XML (text), XElement or IXmlSerializable
        ///</summary>
        [<ApiMember(Description="The content of the data. Currently supported: Raw XML (text), XElement or IXmlSerializable")>]
        member val Inhalt:Object = null with get,set

    ///<summary>
    ///Einheitliche Abkürzungen fuer die Bundesländer bzw. alternative Empfänger
    ///</summary>
    type Bundesland =
        | BW = 0
        | BY = 1
        | BE = 2
        | BB = 3
        | HB = 4
        | HH = 5
        | HE = 6
        | MV = 7
        | NI = 8
        | NW = 9
        | RP = 10
        | SL = 11
        | SN = 12
        | ST = 13
        | SH = 14
        | TH = 15
        | EC = 16
        | BF = 17
        | CS = 18
        | CD = 19
        | CM = 20
        | CN = 21
        | DS = 22
        | OP = 23
        | TK = 24
        | ZF = 25

    ///<summary>
    ///Represents a receiver of tax data.
    ///</summary>
    [<Api(Description="Represents a receiver of tax data.")>]
    [<AllowNullLiteral>]
    type Empfaenger() = 
        ///<summary>
        ///The identifier of the receiver.
        ///</summary>
        [<ApiMember(Description="The identifier of the receiver.")>]
        member val Id:String = null with get,set

        ///<summary>
        ///The destination of the receiver.
        ///</summary>
        [<ApiMember(Description="The destination of the receiver.")>]
        member val Ziel:Nullable<Bundesland> = new Nullable<Bundesland>() with get,set

    ///<summary>
    ///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
    ///</summary>
    type Verschluesselungsart =
        | PKCS_7v1_5 = 0
        | PKCS_7v1_5enveloped = 1
        | NO_BASE64 = 2
        | CMSEncryptedData = 3
        | CMSEnvelopedData = 4
        | EnvelopedData__RSA_OAEP__AES_128__GZip__B64 = 5

    ///<summary>
    ///Mit welcher Kompression wurden die Inhalte von den Elementen DatenLieferant und ggf. SigUser im TransferHeader und dem Element DatenTeil komprimiert.
    ///</summary>
    type Kompression =
        | GZIP = 0
        | NO_BASE64 = 1

    ///<summary>
    ///[Documentation unavailable]
    ///</summary>
    [<Api(Description="[Documentation unavailable]")>]
    [<AllowNullLiteral>]
    type EricTyp() = 
        ///<summary>
        ///The content of the data. Currently supported: Raw XML (text), XmlElement, XElement or IXmlSerializable
        ///</summary>
        [<ApiMember(Description="The content of the data. Currently supported: Raw XML (text), XmlElement, XElement or IXmlSerializable")>]
        member val Inhalt:Object = null with get,set

    ///<summary>
    ///[Documentation unavailable]
    ///</summary>
    [<Api(Description="[Documentation unavailable]")>]
    [<AllowNullLiteral>]
    type Erstellung() = 
        ///<summary>
        ///[Documentation unavailable]
        ///</summary>
        [<ApiMember(Description="[Documentation unavailable]")>]
        member val Eric:EricTyp = null with get,set

    ///<summary>
    ///Represents information on the encryption of tax data.
    ///</summary>
    [<Api(Description="Represents information on the encryption of tax data.")>]
    [<AllowNullLiteral>]
    type Datei() = 
        ///<summary>
        ///The type of data encryption used.
        ///</summary>
        [<ApiMember(Description="The type of data encryption used.")>]
        member val Verschluesselung:Verschluesselungsart = new Verschluesselungsart() with get,set

        ///<summary>
        ///The type of data compression used.
        ///</summary>
        [<ApiMember(Description="The type of data compression used.")>]
        member val Kompression:Kompression = new Kompression() with get,set

        ///<summary>
        ///The transport key used in the encryption.
        ///</summary>
        [<ApiMember(Description="The transport key used in the encryption.")>]
        member val TransportSchluessel:String = null with get,set

        ///<summary>
        ///[Documentation unavailable]
        ///</summary>
        [<ApiMember(Description="[Documentation unavailable]")>]
        member val Erstellung:Erstellung = null with get,set

    ///<summary>
    ///Represents an external error stack.
    ///</summary>
    [<Api(Description="Represents an external error stack.")>]
    [<AllowNullLiteral>]
    type Rueckgabe() = 
        ///<summary>
        ///The external error code. Either a zero (0) if no external errors occurred; otherwise an error number.
        ///</summary>
        [<ApiMember(Description="The external error code. Either a zero (0) if no external errors occurred; otherwise an error number.")>]
        member val Code:String = null with get,set

        ///<summary>
        ///The external error message.
        ///</summary>
        [<ApiMember(Description="The external error message.")>]
        member val Text:String = null with get,set

    ///<summary>
    ///Represents an internal error stack.
    ///</summary>
    [<Api(Description="Represents an internal error stack.")>]
    [<AllowNullLiteral>]
    type Stack() = 
        ///<summary>
        ///The internal error code. Either a zero (0) if no internal errors occurred; otherwise an error number.
        ///</summary>
        [<ApiMember(Description="The internal error code. Either a zero (0) if no internal errors occurred; otherwise an error number.")>]
        member val Code:String = null with get,set

        ///<summary>
        ///The external error message.
        ///</summary>
        [<ApiMember(Description="The external error message.")>]
        member val Text:String = null with get,set

    ///<summary>
    ///Represents an ERiC return code.
    ///</summary>
    [<Api(Description="Represents an ERiC return code.")>]
    [<AllowNullLiteral>]
    type RC() = 
        ///<summary>
        ///The return value of the return code.
        ///</summary>
        [<ApiMember(Description="The return value of the return code.")>]
        member val Rueckgabe:Rueckgabe = null with get,set

        ///<summary>
        ///The internal value of the return code.
        ///</summary>
        [<ApiMember(Description="The internal value of the return code.")>]
        member val Stack:Stack = null with get,set

    ///<summary>
    ///Represents an ERiC extension.
    ///</summary>
    [<Api(Description="Represents an ERiC extension.")>]
    [<AllowNullLiteral>]
    type Zusatz() = 
        ///<summary>
        ///The user-customizable items for the extension. Data providers can use these items for their own extensions/information.
        ///</summary>
        [<ApiMember(Description="The user-customizable items for the extension. Data providers can use these items for their own extensions/information.")>]
        member val Infos:ResizeArray<String> = new ResizeArray<String>() with get,set

        ///<summary>
        ///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).
        ///</summary>
        [<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).")>]
        member val ElsterInfos:ResizeArray<String> = new ResizeArray<String>() with get,set

    ///<summary>
    ///Represents the transfer header part of an ELSTER document.
    ///</summary>
    [<Api(Description="Represents the transfer header part of an ELSTER document.")>]
    [<AllowNullLiteral>]
    type TransferHeader() = 
        ///<summary>
        ///The version of the transfer header.
        ///</summary>
        [<ApiMember(Description="The version of the transfer header.", IsRequired=true)>]
        member val Version:String = null with get,set

        ///<summary>
        ///The tax operation used in the ELSTER process.
        ///</summary>
        [<ApiMember(Description="The tax operation used in the ELSTER process.", IsRequired=true)>]
        member val Verfahren:Verfahren = new Verfahren() with get,set

        ///<summary>
        ///The tax data type of the ELSTER process.
        ///</summary>
        [<ApiMember(Description="The tax data type of the ELSTER process.", IsRequired=true)>]
        member val DatenArt:Datenart = new Datenart() with get,set

        ///<summary>
        ///The authentification procedure of the ELSTER process.
        ///</summary>
        [<ApiMember(Description="The authentification procedure of the ELSTER process.", IsRequired=true)>]
        member val Vorgang:Vorgang = new Vorgang() with get,set

        ///<summary>
        ///The ticket identifier after a successful ELSTER process.
        ///</summary>
        [<ApiMember(Description="The ticket identifier after a successful ELSTER process.")>]
        member val TransferTicket:String = null with get,set

        ///<summary>
        ///The flag that indicates whether the tax declaration or filing is a test case. For production purposes, this value should not be set.
        ///</summary>
        [<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.")>]
        member val Testmerker:Nullable<Testmerker> = new Nullable<Testmerker>() with get,set

        ///<summary>
        ///The signature and associated information on the compressed, encrypted, base64-encoded content of the the data part of a tax declaration / statement.
        ///</summary>
        [<ApiMember(Description="The signature and associated information on the compressed, encrypted, base64-encoded content of the the data part of a tax declaration / statement.")>]
        member val SigUser:SigUser = null with get,set

        ///<summary>
        ///The receiving ELSTER server.
        ///</summary>
        [<ApiMember(Description="The receiving ELSTER server.")>]
        member val Empfaenger:Empfaenger = null with get,set

        ///<summary>
        ///The identifier of the software manufacturer, through whose software the tax declaration is filed.
        ///</summary>
        [<ApiMember(Description="The identifier of the software manufacturer, through whose software the tax declaration is filed.", IsRequired=true)>]
        member val HerstellerID:String = null with get,set

        ///<summary>
        ///The details of the provider that submits tax data.
        ///</summary>
        [<ApiMember(Description="The details of the provider that submits tax data.", IsRequired=true)>]
        member val DatenLieferant:String = null with get,set

        ///<summary>
        ///The date of receipt of the tax data.
        ///</summary>
        [<ApiMember(Description="The date of receipt of the tax data.")>]
        member val EingangsDatum:Nullable<DateTime> = new Nullable<DateTime>() with get,set

        ///<summary>
        ///The encryption data required for authenticated transmission of tax data.
        ///</summary>
        [<ApiMember(Description="The encryption data required for authenticated transmission of tax data.")>]
        member val Datei:Datei = null with get,set

        ///<summary>
        ///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.
        ///</summary>
        [<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.")>]
        member val RC:RC = null with get,set

        ///<summary>
        ///The details of the software that submits the tax data.
        ///</summary>
        [<ApiMember(Description="The details of the software that submits the tax data.")>]
        member val VersionClient:String = null with get,set

        ///<summary>
        ///Data extensions to the transfer header.
        ///</summary>
        [<ApiMember(Description="Data extensions to the transfer header.")>]
        member val Zusatz:Zusatz = null with get,set

    ///<summary>
    ///Represents a receriver ID
    ///</summary>
    type EmpfaengerID =
        | L = 0
        | F = 1

    ///<summary>
    ///Represents a receiver of tax data.
    ///</summary>
    [<Api(Description="Represents a receiver of tax data.")>]
    [<AllowNullLiteral>]
    type NDHEmpfaenger() = 
        ///<summary>
        ///The identifier of the receiver.
        ///</summary>
        [<ApiMember(Description="The identifier of the receiver.")>]
        member val Id:EmpfaengerID = new EmpfaengerID() with get,set

        ///<summary>
        ///The value of the receiver.
        ///</summary>
        [<ApiMember(Description="The value of the receiver.")>]
        member val Value:String = null with get,set

    ///<summary>
    ///Represents a manufacturer/vendor of tax software.
    ///</summary>
    [<Api(Description="Represents a manufacturer/vendor of tax software.")>]
    [<AllowNullLiteral>]
    type Hersteller() = 
        ///<summary>
        ///The product name of the tax software produced by the manufacturer.
        ///</summary>
        [<ApiMember(Description="The product name of the tax software produced by the manufacturer.")>]
        member val ProduktName:String = null with get,set

        ///<summary>
        ///The product version of the tax software produced by the manufacturer.
        ///</summary>
        [<ApiMember(Description="The product version of the tax software produced by the manufacturer.")>]
        member val ProduktVersion:String = null with get,set

    ///<summary>
    ///Represents the header of a tax data.
    ///</summary>
    [<Api(Description="Represents the header of a tax data.")>]
    [<AllowNullLiteral>]
    type NutzdatenHeader() = 
        ///<summary>
        ///The version of the header.
        ///</summary>
        [<ApiMember(Description="The version of the header.", IsRequired=true)>]
        member val Version:String = null with get,set

        ///<summary>
        ///The ticket identifier of the header.
        ///</summary>
        [<ApiMember(Description="The ticket identifier of the header.", IsRequired=true)>]
        member val NutzdatenTicket:String = null with get,set

        ///<summary>
        ///The receiver of the header.
        ///</summary>
        [<ApiMember(Description="The receiver of the header.", IsRequired=true)>]
        member val Empfaenger:NDHEmpfaenger = null with get,set

        ///<summary>
        ///The software manufacturer, through whose software the tax declaration or filing is submitted.
        ///</summary>
        [<ApiMember(Description="The software manufacturer, through whose software the tax declaration or filing is submitted.", IsRequired=true)>]
        member val Hersteller:Hersteller = null with get,set

        ///<summary>
        ///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.
        ///</summary>
        [<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.")>]
        member val DatenLieferant:String = null with get,set

        ///<summary>
        ///The return code of the header.
        ///</summary>
        [<ApiMember(Description="The return code of the header.")>]
        member val RC:RC = null with get,set

        ///<summary>
        ///The data extensions of the header.
        ///</summary>
        [<ApiMember(Description="The data extensions of the header.")>]
        member val Zusatz:Zusatz = null with get,set

    ///<summary>
    ///Represents an encapsulation of tax data content.
    ///</summary>
    [<Api(Description="Represents an encapsulation of tax data content.")>]
    [<AllowNullLiteral>]
    type Nutzdaten() = 
        ///<summary>
        ///The content of the tax data. This varies by tax declaration. Currently supported formats: Raw XML (text), XElement, and IXmlSerializable
        ///</summary>
        [<ApiMember(Description="The content of the tax data. This varies by tax declaration. Currently supported formats: Raw XML (text), XElement, and IXmlSerializable", IsRequired=true)>]
        member val Inhalt:Object = null with get,set

    ///<summary>
    ///Represents a block of tax data.
    ///</summary>
    [<Api(Description="Represents a block of tax data.")>]
    [<AllowNullLiteral>]
    type Nutzdatenblock() = 
        ///<summary>
        ///The header part of the block.
        ///</summary>
        [<ApiMember(Description="The header part of the block.", IsRequired=true)>]
        member val NutzdatenHeader:NutzdatenHeader = null with get,set

        ///<summary>
        ///The data part of the block.
        ///</summary>
        [<ApiMember(Description="The data part of the block.", IsRequired=true)>]
        member val Nutzdaten:Nutzdaten = null with get,set

    ///<summary>
    ///Represents the data part of an ELSTER document.
    ///</summary>
    [<Api(Description="Represents the data part of an ELSTER document.")>]
    [<AllowNullLiteral>]
    type DatenTeil() = 
        ///<summary>
        ///The blocks of tax data of the ELSTER document.
        ///</summary>
        [<ApiMember(Description="The blocks of tax data of the ELSTER document.", IsRequired=true)>]
        member val Nutzdatenbloecke:ResizeArray<Nutzdatenblock> = new ResizeArray<Nutzdatenblock>() with get,set

    ///<summary>
    ///Represents an ELSTER document.
    ///</summary>
    [<Api(Description="Represents an ELSTER document.")>]
    [<AllowNullLiteral>]
    type Elster() = 
        ///<summary>
        ///The transfer header part of the ELSTER document.
        ///</summary>
        [<ApiMember(Description="The transfer header part of the ELSTER document.", IsRequired=true)>]
        member val TransferHeader:TransferHeader = null with get,set

        ///<summary>
        ///The data (facts) part of the ELSTER document.
        ///</summary>
        [<ApiMember(Description="The data (facts) part of the ELSTER document.")>]
        member val DatenTeil:DatenTeil = null with get,set

    ///<summary>
    ///Represents a service response type that encapsulates all meta information per data group and per tax type for an account or fingerprint.
    ///</summary>
    [<Api(Description="Represents a service response type that encapsulates all meta information per data group and per tax type for an account or fingerprint.")>]
    [<AllowNullLiteral>]
    type PostfachAnfrageResponse17() = 
        inherit EricFehlerCodeResponse()
        ///<summary>
        ///PostfachAnfrage Response
        ///</summary>
        [<ApiMember(Description="PostfachAnfrage Response")>]
        member val PostfachAnfrageAntwort:PostfachAnfrageAntwort17 = null with get,set

        ///<summary>
        ///The return value of the ELSTER data retrieval process.
        ///</summary>
        [<ApiMember(Description="The return value of the ELSTER data retrieval process.")>]
        member val Rueckgabe:EricBearbeiteVorgang = null with get,set

        ///<summary>
        ///The server response of the ELSTER data retrieval process.
        ///</summary>
        [<ApiMember(Description="The server response of the ELSTER data retrieval process.")>]
        member val Serverantwort:Elster = null with get,set

        ///<summary>
        ///The status code that the ERiC API function returns.
        ///</summary>
        [<ApiMember(Description="The status code that the ERiC API function returns.", Name="StatusCode")>]
        member val StatusCode:EricFehlerCode = new EricFehlerCode() with get,set

        ///<summary>
        ///The status message that the ERiC API function returns.
        ///</summary>
        [<ApiMember(Description="The status message that the ERiC API function returns.", Name="StatusText")>]
        member val StatusText:String = null with get,set

        ///<summary>
        ///The unique identifier of the response.
        ///</summary>
        [<ApiMember(Description="The unique identifier of the response.", Name="Id")>]
        member val Id:String = null with get,set

        ///<summary>
        ///The position of the response element in an indexed collection.
        ///</summary>
        [<ApiMember(Description="The position of the response element in an indexed collection.", Name="Index")>]
        member val Index:Int32 = new Int32() with get,set

        ///<summary>
        ///Metadata that contains structured error information on the service response.
        ///</summary>
        [<ApiMember(Description="Metadata that contains structured error information on the service response.", Name="ResponseStatus")>]
        member val ResponseStatus:ResponseStatus = null with get,set

    ///<summary>
    ///Represents a base class for a file with raw data.
    ///</summary>
    [<Api(Description="Represents a base class for a file with raw data.")>]
    [<AllowNullLiteral>]
    type FileBase() = 
        ///<summary>
        ///The raw data content of the file.
        ///</summary>
        [<ApiMember(Description="The raw data content of the file.", Name="Content")>]
        member val Content:Byte[] = [||] with get,set

    ///<summary>
    ///Represents a portal certificate that is protected by a password.
    ///</summary>
    [<Api(Description="Represents a portal certificate that is protected by a password.")>]
    [<AllowNullLiteral>]
    type PortalCertificate() = 
        inherit FileBase()
        ///<summary>
        ///The unique identifier of the certificate.
        ///</summary>
        [<ApiMember(Description="The unique identifier of the certificate.")>]
        member val Id:Guid = new Guid() with get,set

        ///<summary>
        ///The position of the certificate element in an indexed collection of certificates.
        ///</summary>
        [<ApiMember(Description="The position of the certificate element in an indexed collection of certificates.")>]
        member val Index:Int32 = new Int32() with get,set

        ///<summary>
        ///The password to protect the certificate from unauthorized access.
        ///</summary>
        [<StringLength(255)>]
        [<ApiMember(Description="The password to protect the certificate from unauthorized access.")>]
        member val Pin:String = null with get,set

        ///<summary>
        ///The description of the certificate.
        ///</summary>
        [<StringLength(Int32.MaxValue)>]
        [<ApiMember(Description="The description of the certificate.")>]
        member val Description:String = null with get,set

        ///<summary>
        ///Tags that can be used to label or identify the certificate.
        ///</summary>
        [<ApiMember(Description="Tags that can be used to label or identify the certificate.")>]
        member val Tags:ResizeArray<String> = new ResizeArray<String>() with get,set

        ///<summary>
        ///Gets or sets the file name of the certificate.
        ///</summary>
        [<ApiMember(Description="Gets or sets the file name of the certificate.")>]
        member val Name:String = null with get,set

        ///<summary>
        ///The raw data content of the file.
        ///</summary>
        [<ApiMember(Description="The raw data content of the file.", Name="Content")>]
        member val Content:Byte[] = [||] with get,set

    ///<summary>
    ///Specifies the base service request to submit data a retrieval request.
    ///</summary>
    [<Api(Description="Specifies the base service request to submit data a retrieval request.")>]
    [<AllowNullLiteral>]
    type PhaseRequestBase() = 
        ///<summary>
        ///The authentification certificate.
        ///</summary>
        [<ApiMember(Description="The authentification certificate.", IsRequired=true, Name="Zertifikat")>]
        member val Zertifikat:PortalCertificate = null with get,set

        ///<summary>
        ///The retrieval code. This value MUST be given for the tax operation ElsterDatenabholung and tax tax 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'.
        ///</summary>
        [<ApiMember(Description="The retrieval code. This value MUST be given for the tax operation ElsterDatenabholung and tax tax 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")>]
        member val AbrufCode:String = null with get,set

        ///<summary>
        ///The details of the provider that submits the tax data.
        ///</summary>
        [<ApiMember(Description="The details of the provider that submits the tax data.", IsRequired=true, Name="DatenLieferant")>]
        member val DatenLieferant:String = null with get,set

    ///<summary>
    ///Specifies the base service request to retrive a list of available records.
    ///</summary>
    [<Api(Description="Specifies the base service request to retrive a list of available records.")>]
    [<AllowNullLiteral>]
    type AnfrageRequestBase() = 
        inherit PhaseRequestBase()
        interface IPost
        ///<summary>
        ///The authentification certificate.
        ///</summary>
        [<ApiMember(Description="The authentification certificate.", IsRequired=true, Name="Zertifikat")>]
        member val Zertifikat:PortalCertificate = null with get,set

        ///<summary>
        ///The retrieval code. This value MUST be given for the tax operation ElsterDatenabholung and tax tax 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'.
        ///</summary>
        [<ApiMember(Description="The retrieval code. This value MUST be given for the tax operation ElsterDatenabholung and tax tax 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")>]
        member val AbrufCode:String = null with get,set

        ///<summary>
        ///The details of the provider that submits the tax data.
        ///</summary>
        [<ApiMember(Description="The details of the provider that submits the tax data.", IsRequired=true, Name="DatenLieferant")>]
        member val DatenLieferant:String = null with get,set

    ///<summary>
    ///Specifies the base service request to retrive all meta information per data group and per tax type for an account or fingerprint.
    ///</summary>
    [<Api(Description="Specifies the base service request to retrive all meta information per data group and per tax type for an account or fingerprint.")>]
    [<AllowNullLiteral>]
    type PostfachAnfrageRequestBase17() = 
        inherit AnfrageRequestBase()
        ///<summary>
        ///Constraint: new / all.
        ///</summary>
        [<ApiMember(Description="Constraint: new / all.")>]
        member val Einschraenkung:Nullable<Einschraenkung> = new Nullable<Einschraenkung>() with get,set

        ///<summary>
        ///Start: Date (YYYYMMDD)
        ///</summary>
        [<ApiMember(Description="Start: Date (YYYYMMDD)")>]
        member val Von:Nullable<DateTime> = new Nullable<DateTime>() with get,set

        ///<summary>
        ///End: Date (YYYYMMDD)
        ///</summary>
        [<ApiMember(Description="End: Date (YYYYMMDD)")>]
        member val Bis:Nullable<DateTime> = new Nullable<DateTime>() with get,set

        ///<summary>
        ///Maximum number of returned hits.
        ///</summary>
        [<ApiMember(Description="Maximum number of returned hits.")>]
        member val Max:Nullable<Int32> = new Nullable<Int32>() with get,set

        ///<summary>
        ///The authentification certificate.
        ///</summary>
        [<ApiMember(Description="The authentification certificate.", IsRequired=true, Name="Zertifikat")>]
        member val Zertifikat:PortalCertificate = null with get,set

        ///<summary>
        ///The retrieval code. This value MUST be given for the tax operation ElsterDatenabholung and tax tax 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'.
        ///</summary>
        [<ApiMember(Description="The retrieval code. This value MUST be given for the tax operation ElsterDatenabholung and tax tax 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")>]
        member val AbrufCode:String = null with get,set

        ///<summary>
        ///The details of the provider that submits the tax data.
        ///</summary>
        [<ApiMember(Description="The details of the provider that submits the tax data.", IsRequired=true, Name="DatenLieferant")>]
        member val DatenLieferant:String = null with get,set

    ///<summary>
    ///Represents the service request to retrive all meta information per data group and per tax type for an account or fingerprint.
    ///</summary>
    [<Api(Description="Represents the service request to retrive all meta information per data group and per tax type for an account or fingerprint.")>]
    [<AllowNullLiteral>]
    type PostfachAnfrageRequest17() = 
        inherit PostfachAnfrageRequestBase17()
        ///<summary>
        ///Constraint: new / all.
        ///</summary>
        [<ApiMember(Description="Constraint: new / all.")>]
        member val Einschraenkung:Nullable<Einschraenkung> = new Nullable<Einschraenkung>() with get,set

        ///<summary>
        ///Start: Date (YYYYMMDD)
        ///</summary>
        [<ApiMember(Description="Start: Date (YYYYMMDD)")>]
        member val Von:Nullable<DateTime> = new Nullable<DateTime>() with get,set

        ///<summary>
        ///End: Date (YYYYMMDD)
        ///</summary>
        [<ApiMember(Description="End: Date (YYYYMMDD)")>]
        member val Bis:Nullable<DateTime> = new Nullable<DateTime>() with get,set

        ///<summary>
        ///Maximum number of returned hits.
        ///</summary>
        [<ApiMember(Description="Maximum number of returned hits.")>]
        member val Max:Nullable<Int32> = new Nullable<Int32>() with get,set

        ///<summary>
        ///The authentification certificate.
        ///</summary>
        [<ApiMember(Description="The authentification certificate.", IsRequired=true, Name="Zertifikat")>]
        member val Zertifikat:PortalCertificate = null with get,set

        ///<summary>
        ///The retrieval code. This value MUST be given for the tax operation ElsterDatenabholung and tax tax 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'.
        ///</summary>
        [<ApiMember(Description="The retrieval code. This value MUST be given for the tax operation ElsterDatenabholung and tax tax 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")>]
        member val AbrufCode:String = null with get,set

        ///<summary>
        ///The details of the provider that submits the tax data.
        ///</summary>
        [<ApiMember(Description="The details of the provider that submits the tax data.", IsRequired=true, Name="DatenLieferant")>]
        member val DatenLieferant:String = null with get,set

F# PostfachAnfrageRequest17 DTOs

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

HTTP + OTHER

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

POST /datenabholungen/anfragen/17/PostfachAnfrage HTTP/1.1 
Host: taxfiling.pwc.de 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"einschraenkung":"neue","von":"\/Date(-62135596800000-0000)\/","bis":"\/Date(-62135596800000-0000)\/","max":0,"zertifikat":{"id":"00000000000000000000000000000000","index":0,"pin":"String","description":"String","tags":["String"],"name":"String","content":"AA=="},"abrufCode":"String","datenLieferant":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"postfachAnfrageAntwort":{"einschraenkung":"neue","von":"\/Date(-62135596800000-0000)\/","bis":"\/Date(-62135596800000-0000)\/","max":0,"datengruppe":{"name":"String","steuerart":{"name":"String","anzahlTreffer":0,"bereitstellungen":[{"id":"String","groesse":0,"bereitstellungsTicket":"String","metaInformationen":{"meta":[{"name":"String","coding":"text","value":"String"}],"metaInfoMaps":[{"typ":"String","meta":[{"name":"String","coding":"text","value":"String"}]}]}}]}}},"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":{}}}]}},"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"}}}