Tax Filing Service

<back to all web services

ElsterLohnDatenAbholungRequest17

SyncDatenabholungAbholungenElsterLohnDaten

Represents the service request to retrieve data records for one or more IDs that represent payroll tax statements.

Requires Authentication
The following routes are available for this service:
POST/datenabholungen/abholungen/17/ElsterLohnDaten
import java.math.*
import java.util.*
import net.servicestack.client.*


/**
* Represents the service request to retrieve data records for one or more IDs that represent payroll tax statements.
*/
@Api(Description="Represents the service request to retrieve data records for one or more IDs that represent payroll tax statements.")
open class ElsterLohnDatenAbholungRequest17 : ElsterLohnDatenAbholungRequestBase17()
{
    /**
    * The search criteria of the service request.
    */
    @ApiMember(Description="The search criteria of the service request.")
    var suchkriterien:ArrayList<AbholungSuchkriterien> = ArrayList<AbholungSuchkriterien>()

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

    /**
    * 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'.
    */
    @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")
    var abrufCode:String? = null

    /**
    * The details of the provider that submits the tax data.
    */
    @ApiMember(Description="The details of the provider that submits the tax data.", IsRequired=true, Name="DatenLieferant")
    var datenLieferant:String? = null
}

/**
* Specifies the base service request to retrieve data records for one or more IDs that represent payroll tax statements.
*/
@Api(Description="Specifies the base service request to retrieve data records for one or more IDs that represent payroll tax statements.")
open class ElsterLohnDatenAbholungRequestBase17 : AbholungRequestBase17()
{
    /**
    * The search criteria of the service request.
    */
    @ApiMember(Description="The search criteria of the service request.")
    var suchkriterien:ArrayList<AbholungSuchkriterien> = ArrayList<AbholungSuchkriterien>()

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

    /**
    * 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'.
    */
    @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")
    var abrufCode:String? = null

    /**
    * The details of the provider that submits the tax data.
    */
    @ApiMember(Description="The details of the provider that submits the tax data.", IsRequired=true, Name="DatenLieferant")
    var datenLieferant:String? = null
}

/**
* Specifies the retrieval of data records by using provided data list IDs. Applicable for data retrieval operations v17.
*/
@Api(Description="Specifies the retrieval of data records by using provided data list IDs. Applicable for data retrieval operations v17.")
open class AbholungRequestBase17 : AbholungRequestBase()
{
    /**
    * The authentification certificate.
    */
    @ApiMember(Description="The authentification certificate.", IsRequired=true, Name="Zertifikat")
    var zertifikat:PortalCertificate? = null

    /**
    * 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'.
    */
    @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")
    var abrufCode:String? = null

    /**
    * The details of the provider that submits the tax data.
    */
    @ApiMember(Description="The details of the provider that submits the tax data.", IsRequired=true, Name="DatenLieferant")
    var datenLieferant:String? = null
}

/**
* Specifies the retrieval of data records by using provided data list IDs.
*/
@Api(Description="Specifies the retrieval of data records by using provided data list IDs.")
open class AbholungRequestBase : PhaseRequestBase(), IPost
{
    /**
    * The authentification certificate.
    */
    @ApiMember(Description="The authentification certificate.", IsRequired=true, Name="Zertifikat")
    var zertifikat:PortalCertificate? = null

    /**
    * 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'.
    */
    @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")
    var abrufCode:String? = null

    /**
    * The details of the provider that submits the tax data.
    */
    @ApiMember(Description="The details of the provider that submits the tax data.", IsRequired=true, Name="DatenLieferant")
    var datenLieferant:String? = null
}

/**
* Specifies the base service request to submit data a retrieval request.
*/
@Api(Description="Specifies the base service request to submit data a retrieval request.")
open class PhaseRequestBase : ISendeRequest, IVeschlueselungsRequest
{
    /**
    * The authentification certificate.
    */
    @ApiMember(Description="The authentification certificate.", IsRequired=true, Name="Zertifikat")
    var zertifikat:PortalCertificate? = null

    /**
    * 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'.
    */
    @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")
    var abrufCode:String? = null

    /**
    * The details of the provider that submits the tax data.
    */
    @ApiMember(Description="The details of the provider that submits the tax data.", IsRequired=true, Name="DatenLieferant")
    var datenLieferant:String? = null
}

/**
* Represents a portal certificate that is protected by a password.
*/
@Api(Description="Represents a portal certificate that is protected by a password.")
open class PortalCertificate : FileBase(), ISecuredCertificate, IHasIndex
{
    /**
    * The unique identifier of the certificate.
    */
    @ApiMember(Description="The unique identifier of the certificate.")
    var id:UUID? = null

    /**
    * 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.")
    var index:Int? = null

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

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

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

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

    /**
    * The raw data content of the file.
    */
    @ApiMember(Description="The raw data content of the file.", Name="Content")
    var content:ByteArray? = null
}

/**
* Represents a base class for a file with raw data.
*/
@Api(Description="Represents a base class for a file with raw data.")
open class FileBase
{
    /**
    * The raw data content of the file.
    */
    @ApiMember(Description="The raw data content of the file.", Name="Content")
    var content:ByteArray? = null
}

/**
* Specifies the base request criteria to search for tax statements using data record IDs obtained from a request for meta information.
*/
@Api(Description="Specifies the base request criteria to search for tax statements using data record IDs obtained from a request for meta information.")
open class AbholungSuchkriterien
{
    /**
    * Any of the data record IDs returned from a request for meta information.
    */
    @ApiMember(Description="Any of the data record IDs returned from a request for meta information.", Name="Id")
    var id:String? = null
}

/**
* Represents a server response that encapsulates data records (tax statements) retrieved during the third phase of the data retrieval process.
*/
@Api(Description="Represents a server response that encapsulates data records (tax statements) retrieved during the third phase of the data retrieval process.")
open class AbholungResponse17 : PhaseResponseBase()
{
    /**
    * The list of retrieved data records (tax statements).
    */
    @ApiMember(Description="The list of retrieved data records (tax statements).", Name="Abholungen")
    var abholungen:ArrayList<Abholung17> = ArrayList<Abholung17>()

    /**
    * The return value of the ELSTER data retrieval process.
    */
    @ApiMember(Description="The return value of the ELSTER data retrieval process.", Name="Rueckgabe")
    var rueckgabe:EricBearbeiteVorgang? = null

    /**
    * The server response of the ELSTER data retrieval process.
    */
    @ApiMember(Description="The server response of the ELSTER data retrieval process.", Name="Serverantwort")
    var serverantwort:Elster? = null

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

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

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

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

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

/**
* Represents a server response type that encapsulates information from the response phase of a data retrieval process.
*/
@Api(Description="Represents a server response type that encapsulates information from the response phase of a data retrieval process.")
open class PhaseResponseBase : EricFehlerCodeResponse()
{
    /**
    * The return value of the ELSTER data retrieval process.
    */
    @ApiMember(Description="The return value of the ELSTER data retrieval process.", Name="Rueckgabe")
    var rueckgabe:EricBearbeiteVorgang? = null

    /**
    * The server response of the ELSTER data retrieval process.
    */
    @ApiMember(Description="The server response of the ELSTER data retrieval process.", Name="Serverantwort")
    var serverantwort:Elster? = null

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

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

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

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

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

/**
* 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.")
open class EricFehlerCodeResponse : ServiceReponseBase()
{
    /**
    * The status code that the ERiC API function returns.
    */
    @ApiMember(Description="The status code that the ERiC API function returns.", Name="StatusCode")
    var statusCode:EricFehlerCode? = null

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

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

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

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

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

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

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

/**
* Enumeration of ERiC API error codes.
*/
enum class EricFehlerCode(val value:Int)
{
    EricOk(0),
    EricGlobalUnknown(610001001),
    EricGlobalPruefFehler(610001002),
    EricGlobalHinweise(610001003),
    EricGlobalFehlermeldungNichtVorhanden(610001007),
    EricGlobalKeineDatenVorhanden(610001008),
    EricGlobalNichtGenuegendArbeitsspeicher(610001013),
    EricGlobalDateiNichtGefunden(610001014),
    EricGlobalHerstellerIdNichtErlaubt(610001016),
    EricGlobalIllegalState(610001017),
    EricGlobalFunktionNichtErlaubt(610001018),
    EricGlobalEchtfallNichtErlaubt(610001019),
    EricGlobalNoVersandInBetaVersion(610001020),
    EricGlobalTestmerkerUngueltig(610001025),
    EricGlobalDatensatzZuGross(610001026),
    EricGlobalVerschluesselungsParameterNichtErlaubt(610001027),
    EricGlobalNurPortalzertifikatErlaubt(610001028),
    EricGlobalAbrufcodeNichtErlaubt(610001029),
    EricGlobalErrorXmlCreate(610001030),
    EricGlobalTextpuffergroesseFix(610001031),
    EricGlobalInternerFehler(610001032),
    EricGlobalArithmetikfehler(610001033),
    EricGlobalSteuernummerUngueltig(610001034),
    EricGlobalSteuernummerFalscheLaenge(610001035),
    EricGlobalSteuernummerNichtNumerisch(610001036),
    EricGlobalLandesnummerUnbekannt(610001037),
    EricGlobalBufanrUnbekannt(610001038),
    EricGlobalLandesnummerBufanr(610001039),
    EricGlobalPufferZugriffskonflikt(610001040),
    EricGlobalPufferUeberlauf(610001041),
    EricGlobalDatenartversionUnbekannt(610001042),
    EricGlobalDatenartversionXmlInkonsistent(610001044),
    EricGlobalCommondataNichtVerfuegbar(610001045),
    EricGlobalLogException(610001046),
    EricGlobalTransportschluesselNichtErlaubt(610001047),
    EricGlobalOeffentlicherSchluesselUngueltig(610001048),
    EricGlobalTransportschluesselTypFalsch(610001049),
    EricGlobalPufferUngleicherInstanz(610001050),
    EricGlobalVorsatzUngueltig(610001051),
    EricGlobalDateizugriffVerweigert(610001053),
    EricGlobalUngueltigeInstanz(610001080),
    EricGlobalNichtInitialisiert(610001081),
    EricGlobalMehrfacheInitialisierung(610001082),
    EricGlobalFehlerInitialisierung(610001083),
    EricGlobalUnknownParameterError(610001102),
    EricGlobalCheckCorruptedNds(610001108),
    EricGlobalVerschluesselungsParameterNichtAngegeben(610001206),
    EricGlobalSendFlagMehrAlsEines(610001209),
    EricGlobalUngueltigeFlagKombination(610001218),
    EricGlobalErsteSeiteDruckNichtUnterstuetzt(610001220),
    EricGlobalUngueltigerParameter(610001222),
    EricGlobalDruckFuerVerfahrenNichtErlaubt(610001224),
    EricGlobalVersandArtNichtUnterstuetzt(610001225),
    EricGlobalUngueltigeParameterVersion(610001226),
    EricGlobalTransferhandle(610001227),
    EricGlobalPlugininitialisierung(610001228),
    EricGlobalInkompatibleVersionen(610001229),
    EricGlobalVerschluesselungsverfahrenNichtUnterstuetzt(610001230),
    EricGlobalMehrfachaufrufeNichtUnterstuetzt(610001231),
    EricGlobalUtiCountryNotSupported(610001404),
    EricGlobalIbanFormalerFehler(610001501),
    EricGlobalIbanLaendercodeFehler(610001502),
    EricGlobalIbanLandesformatFehler(610001503),
    EricGlobalIbanPruefzifferFehler(610001504),
    EricGlobalBicFormalerFehler(610001510),
    EricGlobalBicLaendercodeFehler(610001511),
    EricGlobalZulassungsnummerZuLang(610001519),
    EricGlobalIdnummerUngueltig(610001525),
    EricGlobalNullParameter(610001526),
    EricGlobalEwazUngueltig(610001527),
    EricGlobalEwazLandeskuerzelUnbekannt(610001528),
    EricGlobalUpdateNecessary(610001851),
    EricGlobalEinstellungNameUngueltig(610001860),
    EricGlobalEinstellungWertUngueltig(610001861),
    EricGlobalErrDekodieren(610001862),
    EricGlobalFunktionNichtUnterstuetzt(610001863),
    EricGlobalNutzdatenticketsNichtEindeutig(610001865),
    EricGlobalNutzdatenheaderversionenUneinheitlich(610001866),
    EricGlobalBundeslaenderUneinheitlich(610001867),
    EricGlobalZeitraeumeUneinheitlich(610001868),
    EricGlobalNutzdatenheaderEmpfaengerNichtKorrekt(610001869),
    EricTransferComError(610101200),
    EricTransferVorgangNichtUnterstuetzt(610101201),
    EricTransferErrXmlTheader(610101210),
    EricTransferErrParam(610101251),
    EricTransferErrDatenteilendnotfound(610101253),
    EricTransferErrBegindatenlieferant(610101255),
    EricTransferErrEnddatenlieferant(610101256),
    EricTransferErrBegintransportschluessel(610101257),
    EricTransferErrEndtransportschluessel(610101258),
    EricTransferErrBegindatengroesse(610101259),
    EricTransferErrEnddatengroesse(610101260),
    EricTransferErrSend(610101271),
    EricTransferErrNotencrypted(610101274),
    EricTransferErrProxyconnect(610101276),
    EricTransferErrConnectserver(610101278),
    EricTransferErrNoresponse(610101279),
    EricTransferErrProxyauth(610101280),
    EricTransferErrSendInit(610101282),
    EricTransferErrTimeout(610101283),
    EricTransferErrProxyportInvalid(610101284),
    EricTransferErrOther(610101291),
    EricTransferErrXmlNheader(610101292),
    EricTransferErrXmlEncoding(610101293),
    EricTransferErrEndsiguser(610101294),
    EricTransferErrXmltagNichtGefunden(610101295),
    EricTransferErrDatenteilfehler(610101297),
    EricTransferEidZertifikatfehler(610101500),
    EricTransferEidKeinkonto(610101510),
    EricTransferEidIdnrnichteindeutig(610101511),
    EricTransferEidServerfehler(610101512),
    EricTransferEidKeinclient(610101520),
    EricTransferEidClientfehler(610101521),
    EricTransferEidFehlendefelder(610101522),
    EricTransferEidIdentifikationabgebrochen(610101523),
    EricTransferEidNpablockiert(610101524),
    EricCryptErrorCreateKey(610201016),
    EricCryptEInvalidHandle(610201101),
    EricCryptEMaxSession(610201102),
    EricCryptEBusy(610201103),
    EricCryptEOutOfMem(610201104),
    EricCryptEPsePath(610201105),
    EricCryptEPinWrong(610201106),
    EricCryptEPinLocked(610201107),
    EricCryptEP7Read(610201108),
    EricCryptEP7Decode(610201109),
    EricCryptEP7Recipient(610201110),
    EricCryptEP12Read(610201111),
    EricCryptEP12Decode(610201112),
    EricCryptEP12SigKey(610201113),
    EricCryptEP12EncKey(610201114),
    EricCryptEP11SigKey(610201115),
    EricCryptEP11EncKey(610201116),
    EricCryptEXmlParse(610201117),
    EricCryptEXmlSigAdd(610201118),
    EricCryptEXmlSigTag(610201119),
    EricCryptEXmlSigSign(610201120),
    EricCryptEEncodeUnknown(610201121),
    EricCryptEEncodeError(610201122),
    EricCryptEXmlInit(610201123),
    EricCryptEEncrypt(610201124),
    EricCryptEDecrypt(610201125),
    EricCryptEP11SlotEmpty(610201126),
    EricCryptENoSigEncKey(610201127),
    EricCryptELoadDll(610201128),
    EricCryptENoService(610201129),
    EricCryptEEsiclException(610201130),
    EricCryptETokenTypeMismatch(610201144),
    EricCryptEP12Create(610201146),
    EricCryptEVerifyCertChain(610201147),
    EricCryptEP11EngineLoaded(610201148),
    EricCryptEUserCancel(610201149),
    EricCryptZertifikat(610201200),
    EricCryptSignatur(610201201),
    EricCryptNichtUnterstuetztesPseFormat(610201203),
    EricCryptPinBenoetigt(610201205),
    EricCryptPinStaerkeNichtAusreichend(610201206),
    EricCryptEIntern(610201208),
    EricCryptZertifikatspfadKeinVerzeichnis(610201209),
    EricCryptZertifikatsdateiExistiertBereits(610201210),
    EricCryptPinEnthaeltUngueltigeZeichen(610201211),
    EricCryptEInvalidParamAbc(610201212),
    EricCryptCorrupted(610201213),
    EricCryptEidkarteNichtUnterstuetzt(610201214),
    EricCryptEScSlotEmpty(610201215),
    EricCryptEScNoApplet(610201216),
    EricCryptEScSession(610201217),
    EricCryptEP11NoSigCert(610201218),
    EricCryptEP11InitFailed(610201219),
    EricCryptEP11NoEncCert(610201220),
    EricCryptEP12NoSigCert(610201221),
    EricCryptEP12NoEncCert(610201222),
    EricCryptEScEncKey(610201223),
    EricCryptEScNoSigCert(610201224),
    EricCryptEScNoEncCert(610201225),
    EricCryptEScInitFailed(610201226),
    EricCryptEScSigKey(610201227),
    EricIoFehler(610301001),
    EricIoDateiInkorrekt(610301005),
    EricIoParseFehler(610301006),
    EricIoNdsGenerierungFehlgeschlagen(610301007),
    EricIoMasterdatenserviceNichtVerfuegbar(610301010),
    EricIoSteuerzeichenImNds(610301014),
    EricIoVersionsinformationenNichtGefunden(610301031),
    EricIoFalschesVerfahren(610301104),
    EricIoReaderMehrfacheSteuerfaelle(610301105),
    EricIoReaderUnerwarteteElemente(610301106),
    EricIoReaderFormaleFehler(610301107),
    EricIoReaderFalschesEncoding(610301108),
    EricIoReaderMehrfacheNutzdatenElemente(610301109),
    EricIoReaderMehrfacheNutzdatenblockElemente(610301110),
    EricIoUnbekannteDatenart(610301111),
    EricIoReaderUntersachbereichUngueltig(610301114),
    EricIoReaderZuVieleNutzdatenblockElemente(610301115),
    EricIoReaderSteuerzeichenImTransferheader(610301150),
    EricIoReaderSteuerzeichenImNutzdatenheader(610301151),
    EricIoReaderSteuerzeichenInDenNutzdaten(610301152),
    EricIoReaderZuVieleAnhaenge(610301190),
    EricIoReaderAnhangZuGross(610301191),
    EricIoReaderAnhaengeZuGross(610301192),
    EricIoReaderSchemaValidierungsfehler(610301200),
    EricIoReaderUnbekannteXmlEntity(610301201),
    EricIoDatenteilnotfound(610301252),
    EricIoDatenteilendnotfound(610301253),
    EricIoUebergabeparameterFehlerhaft(610301300),
    EricIoUngueltigeUtF8Sequenz(610301400),
    EricIoUngueltigeZeichenInParameter(610301401),
    EricPrintInternerFehler(610501001),
    EricPrintDruckvorlageNichtGefunden(610501002),
    EricPrintUngueltigerDateiPfad(610501004),
    EricPrintInitialisierungFehlerhaft(610501007),
    EricPrintAusgabezielUnbekannt(610501008),
    EricPrintAbbruchDruckvorbereitung(610501009),
    EricPrintAbbruchGenerierung(610501010),
    EricPrintSteuerfallNichtUnterstuetzt(610501011),
    EricPrintFusstextZuLang(610501012),
}

/**
* 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.")
open class EricBearbeiteVorgang
{
    /**
    * Information from the successful processing a tax declaration.
    */
    @ApiMember(Description="Information from the successful processing a tax declaration.")
    var erfolg:Erfolg? = null

    /**
    * 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.")
    var transfers:Transfers? = null

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

    /**
    * Hints that result the processing of a tax declaration.
    */
    @ApiMember(Description="Hints that result the processing of a tax declaration.")
    var hinweise:ArrayList<Hinweis> = ArrayList<Hinweis>()
}

/**
* Represents information returned from a successful tax declaration process.
*/
@Api(Description="Represents information returned from a successful tax declaration process.")
open class Erfolg
{
    /**
    * The generated tele-number for the successful tax declaration process.
    */
    @ApiMember(Description="The generated tele-number for the successful tax declaration process.")
    var telenummer:ArrayList<String> = ArrayList<String>()

    /**
    * The classification key for the successful tax declaration process.
    */
    @ApiMember(Description="The classification key for the successful tax declaration process.")
    var ordnungsbegriffe:ArrayList<String> = ArrayList<String>()
}

/**
* 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.")
open class Transfers
{
    /**
    * 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.")
    var transferList:ArrayList<Transfer> = ArrayList<Transfer>()
}

/**
* Represents information on the delivery.
*/
@Api(Description="Represents information on the delivery.")
open class Transfer
{
    /**
    * The ticket of the transfer.
    */
    @ApiMember(Description="The ticket of the transfer.")
    var transferTicket:String? = null
}

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

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

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

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

    /**
    * 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.")
    var vordruckZeilennummer:String? = null

    /**
    * 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.")
    var semantischeIndexes:ArrayList<SemantischerIndex> = ArrayList<SemantischerIndex>()

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

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

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

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

    /**
    * The textual details of the reference.
    */
    @ApiMember(Description="The textual details of the reference.")
    var text:String? = null
}

/**
* 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.")
open class SemantischerIndex
{
    /**
    * The name of the index field.
    */
    @ApiMember(Description="The name of the index field.")
    var name:String? = null

    /**
    * The value of the index field.
    */
    @ApiMember(Description="The value of the index field.")
    var value:String? = null
}

open class Hinweis
{
    /**
    * The user data ticket of the reference.
    */
    @ApiMember(Description="The user data ticket of the reference.")
    var nutzdatenticket:String? = null

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

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

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

    /**
    * 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.")
    var vordruckZeilennummer:String? = null

    /**
    * 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.")
    var semantischeIndexes:ArrayList<SemantischerIndex> = ArrayList<SemantischerIndex>()

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

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

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

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

    /**
    * The textual details of the reference.
    */
    @ApiMember(Description="The textual details of the reference.")
    var text:String? = null
}

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

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

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

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

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

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

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

    /**
    * 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.")
    var testmerker:Testmerker? = null

    /**
    * 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.")
    var sigUser:SigUser? = null

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

    /**
    * 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)
    var herstellerID:String? = null

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

    /**
    * The date of receipt of the tax data.
    */
    @ApiMember(Description="The date of receipt of the tax data.")
    var eingangsDatum:Date? = null

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

    /**
    * 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.")
    var rc:RC? = null

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

    /**
    * Data extensions to the transfer header.
    */
    @ApiMember(Description="Data extensions to the transfer header.")
    var zusatz:Zusatz? = null
}

/**
* Auflistung der gültigen Verfahren
*/
enum class 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 class 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 class Vorgang
{
    SendAuth,
    SendAuthPart,
    SendNoSig,
    SendNoSigPart,
}

/**
* 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 class Testmerker(val value:Int)
{
    TM010000001(10000001),
    TM080000001(80000001),
    TM160000001(160000001),
    TM160000002(160000002),
    TM220000000(220000000),
    TM220002000(220002000),
    TM230000001(230000001),
    TM240000000(240000000),
    TM370000001(370000001),
    TM520000000(520000000),
    TM700000001(700000001),
    TM700000004(700000004),
}

/**
* 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.")
open class SigUser
{
    /**
    * 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")
    var inhalt:Object? = null
}

/**
* Represents a receiver of tax data.
*/
@Api(Description="Represents a receiver of tax data.")
open class Empfaenger
{
    /**
    * The identifier of the receiver.
    */
    @ApiMember(Description="The identifier of the receiver.")
    var id:String? = null

    /**
    * The destination of the receiver.
    */
    @ApiMember(Description="The destination of the receiver.")
    var ziel:Bundesland? = null
}

/**
* Einheitliche Abkürzungen fuer die Bundesländer bzw. alternative Empfänger
*/
enum class 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 information on the encryption of tax data.
*/
@Api(Description="Represents information on the encryption of tax data.")
open class Datei
{
    /**
    * The type of data encryption used.
    */
    @ApiMember(Description="The type of data encryption used.")
    var verschluesselung:Verschluesselungsart? = null

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

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

    /**
    * [Documentation unavailable]
    */
    @ApiMember(Description="[Documentation unavailable]")
    var erstellung:Erstellung? = null
}

/**
* 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 class Verschluesselungsart
{
    Pkcs7v15,
    Pkcs7v15enveloped,
    NoBasE64,
    CmsEncryptedData,
    CmsEnvelopedData,
    EnvelopedDataRsaOaepAes128GZipB64,
}

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

/**
* [Documentation unavailable]
*/
@Api(Description="[Documentation unavailable]")
open class Erstellung
{
    /**
    * [Documentation unavailable]
    */
    @ApiMember(Description="[Documentation unavailable]")
    var eric:EricTyp? = null
}

/**
* [Documentation unavailable]
*/
@Api(Description="[Documentation unavailable]")
open class EricTyp
{
    /**
    * 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")
    var inhalt:Object? = null
}

/**
* Represents an ERiC return code.
*/
@Api(Description="Represents an ERiC return code.")
open class RC
{
    /**
    * The return value of the return code.
    */
    @ApiMember(Description="The return value of the return code.")
    var rueckgabe:Rueckgabe? = null

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

/**
* Represents an external error stack.
*/
@Api(Description="Represents an external error stack.")
open class Rueckgabe
{
    /**
    * 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.")
    var code:String? = null

    /**
    * The external error message.
    */
    @ApiMember(Description="The external error message.")
    var text:String? = null
}

/**
* Represents an internal error stack.
*/
@Api(Description="Represents an internal error stack.")
open class Stack
{
    /**
    * 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.")
    var code:String? = null

    /**
    * The external error message.
    */
    @ApiMember(Description="The external error message.")
    var text:String? = null
}

/**
* Represents an ERiC extension.
*/
@Api(Description="Represents an ERiC extension.")
open class Zusatz
{
    /**
    * 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.")
    var infos:ArrayList<String> = ArrayList<String>()

    /**
    * 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).")
    var elsterInfos:ArrayList<String> = ArrayList<String>()
}

/**
* Represents the data part of an ELSTER document.
*/
@Api(Description="Represents the data part of an ELSTER document.")
open class DatenTeil
{
    /**
    * The blocks of tax data of the ELSTER document.
    */
    @ApiMember(Description="The blocks of tax data of the ELSTER document.", IsRequired=true)
    var nutzdatenbloecke:ArrayList<Nutzdatenblock> = ArrayList<Nutzdatenblock>()
}

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

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

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

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

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

    /**
    * 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)
    var hersteller:Hersteller? = null

    /**
    * 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.")
    var datenLieferant:String? = null

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

    /**
    * The data extensions of the header.
    */
    @ApiMember(Description="The data extensions of the header.")
    var zusatz:Zusatz? = null
}

/**
* Represents a receiver of tax data.
*/
@Api(Description="Represents a receiver of tax data.")
open class NDHEmpfaenger
{
    /**
    * The identifier of the receiver.
    */
    @ApiMember(Description="The identifier of the receiver.")
    var id:EmpfaengerID? = null

    /**
    * The value of the receiver.
    */
    @ApiMember(Description="The value of the receiver.")
    var value:String? = null
}

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

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

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

/**
* Represents an encapsulation of tax data content.
*/
@Api(Description="Represents an encapsulation of tax data content.")
open class Nutzdaten
{
    /**
    * 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)
    var inhalt:Object? = null
}

/**
* Represents a request to retrieve data records by means of one or more IDs.
*/
@Api(Description="Represents a request to retrieve data records by means of one or more IDs.")
open class Abholung17 : Abholung()
{
    /**
    * The tax type (e.g. ESB) of the data record.
    */
    @ApiMember(Description="The tax type (e.g. ESB) of the data record.")
    var steuerart:Steuerart? = null

    /**
    * The meta information of the identifier.
    */
    @ApiMember(Description="The meta information of the identifier.")
    var metaInformationen:MetaInformationen17? = null

    /**
    * Die Transfertickets der Datensaetze. Es duerfen max. 100 Bereitstellungstickets in einem Request angegeben werden.
    */
    @ApiMember(Description="Die Transfertickets der Datensaetze. Es duerfen max. 100 Bereitstellungstickets in einem Request angegeben werden.")
    var bereitstellungsticket:String? = null

    /**
    * The attachments of the data records.
    */
    @ApiMember(Description="The attachments of the data records.")
    var anhaenge:Anhaenge17? = null

    /**
    * The identifier of the data record.
    */
    @ApiMember(Description="The identifier of the data record.")
    var id:String? = null

    /**
    * The ID number of the receipt owner. This attribute is only required for the tax type 'ElsterVaStDaten'.
    */
    @ApiMember(Description="The ID number of the receipt owner. This attribute is only required for the tax type 'ElsterVaStDaten'.")
    var idnr:String? = null

    /**
    * The assessment year (YYYY) of the receipt. This attribute is only required for the tax type 'ElsterVaStDaten'.
    */
    @ApiMember(Description="The assessment year (YYYY) of the receipt. This attribute is only required for the tax type 'ElsterVaStDaten'.")
    var veranlagungsjahr:Int? = null

    /**
    * The transmission path used.
    */
    @ApiMember(Description="The transmission path used.")
    var uebertragungsweg:Uebertragungsweg? = null

    /**
    * The character encoding of the data record (e.g. ISO-8859-15). The exception is the data type ElsterVaStDaten, here we submit KEIN ENCODING.
    */
    @ApiMember(Description="The character encoding of the data record (e.g. ISO-8859-15). The exception is the data type ElsterVaStDaten, here we submit KEIN ENCODING.")
    var encoding:String? = null

    /**
    * The client number; only applicable to the tax type 'ElsterDIVADaten'.
    */
    @ApiMember(Description="The client number; only applicable to the tax type 'ElsterDIVADaten'.")
    var mandantennummer:String? = null

    /**
    * The tax number; only applicable to the tax type 'ElsterDIVADaten'.
    */
    @ApiMember(Description="The tax number; only applicable to the tax type 'ElsterDIVADaten'.")
    var steuernummer:String? = null

    /**
    * The asessment date; only applicable to the tax type 'ElsterDIVADaten'.
    */
    @ApiMember(Description="The asessment date; only applicable to the tax type 'ElsterDIVADaten'.")
    var bescheiddatum:Date? = null

    /**
    * Das Datenpaket angeforderter Datensaetze. Nur bei der Direktsendung ueber das ERiClet.
    */
    @ApiMember(Description="Das Datenpaket angeforderter Datensaetze. Nur bei der Direktsendung ueber das ERiClet.")
    var datenpaket:Datenpaket? = null

    /**
    * Download requested data records.  Ensure the second payload data block  is empty for bulk retrieval operations.
    */
    @ApiMember(Description="Download requested data records.  Ensure the second payload data block  is empty for bulk retrieval operations.")
    var download:Download? = null
}

/**
* Represents the request to retrieve tax assessments by means of a specfied ID.
*/
@Api(Description="Represents the request to retrieve tax assessments by means of a specfied ID.")
open class Abholung
{
    /**
    * The identifier of the data record.
    */
    @ApiMember(Description="The identifier of the data record.")
    var id:String? = null

    /**
    * The ID number of the receipt owner. This attribute is only required for the tax type 'ElsterVaStDaten'.
    */
    @ApiMember(Description="The ID number of the receipt owner. This attribute is only required for the tax type 'ElsterVaStDaten'.")
    var idnr:String? = null

    /**
    * The assessment year (YYYY) of the receipt. This attribute is only required for the tax type 'ElsterVaStDaten'.
    */
    @ApiMember(Description="The assessment year (YYYY) of the receipt. This attribute is only required for the tax type 'ElsterVaStDaten'.")
    var veranlagungsjahr:Int? = null

    /**
    * The transmission path used.
    */
    @ApiMember(Description="The transmission path used.")
    var uebertragungsweg:Uebertragungsweg? = null

    /**
    * The character encoding of the data record (e.g. ISO-8859-15). The exception is the data type ElsterVaStDaten, here we submit KEIN ENCODING.
    */
    @ApiMember(Description="The character encoding of the data record (e.g. ISO-8859-15). The exception is the data type ElsterVaStDaten, here we submit KEIN ENCODING.")
    var encoding:String? = null

    /**
    * The client number; only applicable to the tax type 'ElsterDIVADaten'.
    */
    @ApiMember(Description="The client number; only applicable to the tax type 'ElsterDIVADaten'.")
    var mandantennummer:String? = null

    /**
    * The tax number; only applicable to the tax type 'ElsterDIVADaten'.
    */
    @ApiMember(Description="The tax number; only applicable to the tax type 'ElsterDIVADaten'.")
    var steuernummer:String? = null

    /**
    * The asessment date; only applicable to the tax type 'ElsterDIVADaten'.
    */
    @ApiMember(Description="The asessment date; only applicable to the tax type 'ElsterDIVADaten'.")
    var bescheiddatum:Date? = null

    /**
    * Das Datenpaket angeforderter Datensaetze. Nur bei der Direktsendung ueber das ERiClet.
    */
    @ApiMember(Description="Das Datenpaket angeforderter Datensaetze. Nur bei der Direktsendung ueber das ERiClet.")
    var datenpaket:Datenpaket? = null

    /**
    * Download requested data records.  Ensure the second payload data block  is empty for bulk retrieval operations.
    */
    @ApiMember(Description="Download requested data records.  Ensure the second payload data block  is empty for bulk retrieval operations.")
    var download:Download? = null
}

/**
* Represents the transmission path.
*/
enum class Uebertragungsweg
{
    Direkt,
    Link,
    Sammellink,
}

/**
* The data packet from the retrieval operation.
*/
@Api(Description="The data packet from the retrieval operation.")
open class Datenpaket
{
    /**
    * Encoded (compressed and encrypted) requested data record
    */
    @ApiMember(Description="Encoded (compressed and encrypted) requested data record")
    var value:String? = null
}

/**
* Represents the download of requested records. The downloaded content from the web server takes place: a) with https b) on port 443 c) on datenabholung1.elster.de or datenabholung2.elster.de. The HTTP Basic Authentication mechanism according to RFC 2617 is used for authentication.
*/
@Api(Description="Represents the download of requested records. The downloaded content from the web server takes place: a) with https b) on port 443 c) on datenabholung1.elster.de or datenabholung2.elster.de. The HTTP Basic Authentication mechanism according to RFC 2617 is used for authentication.")
open class Download
{
    /**
    * The link to the data on the web server.
    */
    @ApiMember(Description="The link to the data on the web server.")
    var url:String? = null

    /**
    * The user name for the web server.
    */
    @ApiMember(Description="The user name for the web server.")
    var benutzer:String? = null

    /**
    * Password for the web server.
    */
    @ApiMember(Description="Password for the web server.")
    var passwort:String? = null
}

/**
* Represents the various tax types for the retrieval of data.
*/
enum class Steuerart
{
    Esb,
    Gsb,
    Usb,
    EpBescheid,
    EpMitteilung,
    Gewerbesteuerbescheid,
    Gewerbesteuermitteilung,
    Gewmb,
    DivaAnzeigeEinerLotterie,
    DivaBescheid,
    DivaBescheidESt,
    DivaBuchmachersteuer,
    DivaLotteriesteuerEinmal,
    DivaLotteriesteuerMehr,
    DivaSportwettensteuer,
    DivaTotalisator,
    OzgBescheid,
    VerbindlicheAuskunft,
    VerbindlicheZusage,
    DivaSonstigerVA,
    DivaBescheidErbSt,
    DivaBescheidFEIN,
    DivaBescheidGewSt,
    DivaBescheidKSt,
    DivaBescheidUSt,
    DivaBescheidSchenkSt,
    DivaTroncabgabe,
    DivaVirtuelleAutomatenStB,
    DivaOnlinePokerStB,
    LStHVVMRM,
    EinlagenrueckgewaehrVA,
    FttMeldungVA,
    StatusInvStGVA,
    UStVEUVA,
    Versva,
    AltZertVA,
    KapEStEntlastungVA,
    PostUDLVA,
    StAb50aVA,
    StAbEntlastungVA,
    KassenangelegenheitenVA,
    KStOptVA,
    SteueroasenabwehrVA,
    KdbVollmachtRM,
    Stbke,
    VdbkdbRueckmeldungLief,
    AnhangRueckmeldung,
    DivaEinwilligungRM,
    GlueckspielF,
    OzgMitteilung,
    VerbindlicheAuskunftInfoF,
    EloProtokoll,
}

/**
* Represents meta information.
*/
@Api(Description="Represents meta information.")
open class MetaInformationen17
{
    /**
    * List of metadata.
    */
    @ApiMember(Description="List of metadata.")
    var meta:ArrayList<Meta17> = ArrayList<Meta17>()

    /**
    * List of meta infomation maps.
    */
    @ApiMember(Description="List of meta infomation maps.")
    var metaInfoMaps:MetaInfoMaps17? = null
}

/**
* Represents the metadata of a data record.
*/
@Api(Description="Represents the metadata of a data record.")
open class Meta17
{
    /**
    * The type of metadata, e.g. datei [file]
    */
    @ApiMember(Description="The type of metadata, e.g. datei [file]")
    var name:String? = null

    /**
    * The encoding of the metadata (text or base64)
    */
    @ApiMember(Description="The encoding of the metadata (text or base64)")
    var coding:Coding? = null

    /**
    * The content of the metadata
    */
    @ApiMember(Description="The content of the metadata")
    var value:String? = null
}

/**
* Specifies the encoding of the metadata.
*/
enum class Coding
{
    Text,
    Base64,
}

/**
* Represents a list of meta information maps.
*/
open class MetaInfoMaps17
{
}

/**
* Represents a list of attachments.
*/
open class Anhaenge17
{
}

Kotlin ElsterLohnDatenAbholungRequest17 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 /datenabholungen/abholungen/17/ElsterLohnDaten HTTP/1.1 
Host: taxfiling.pwc.de 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"suchkriterien":[{"id":"String"}],"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: application/json
Content-Length: length

{"abholungen":[{"steuerart":"ESB","metaInformationen":{"meta":[{"name":"String","coding":"text","value":"String"}],"metaInfoMaps":[{"typ":"String","meta":[{"name":"String","coding":"text","value":"String"}]}]},"bereitstellungsticket":"String","anhaenge":[{"metadatenAnhang":[{"schluesselAnhang":{"dateibezeichnungID":"String","dateibezeichnungKurz":"String","value":"String"},"wertAnhang":{"dateibezeichnungID":"String","dateibezeichnungKurz":"String","value":"String"}}],"dateibezeichnung":"String","dateityp":"String","dateiinhalt":"String"}],"id":"String","idnr":"String","veranlagungsjahr":0,"uebertragungsweg":"direkt","encoding":"String","mandantennummer":"String","steuernummer":"String","bescheiddatum":"\/Date(-62135596800000-0000)\/","datenpaket":{"value":"String"},"download":{"url":"String","benutzer":"String","passwort":"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"}}}