POST | /datenabholungen/anfragen/17/PostfachAnfrage |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
/**
* Represents the service request to retrive all meta information per data group and per tax type for an account or fingerprint.
*/
@Api(Description="Represents the service request to retrive all meta information per data group and per tax type for an account or fingerprint.")
public static class PostfachAnfrageRequest17 extends PostfachAnfrageRequestBase17
{
/**
* Constraint: new / all.
*/
@ApiMember(Description="Constraint: new / all.")
public Einschraenkung einschraenkung = null;
/**
* Start: Date (YYYYMMDD)
*/
@ApiMember(Description="Start: Date (YYYYMMDD)")
public Date von = null;
/**
* End: Date (YYYYMMDD)
*/
@ApiMember(Description="End: Date (YYYYMMDD)")
public Date bis = null;
/**
* Maximum number of returned hits.
*/
@ApiMember(Description="Maximum number of returned hits.")
public Integer max = null;
/**
* The authentification certificate.
*/
@ApiMember(Description="The authentification certificate.", IsRequired=true, Name="Zertifikat")
public PortalCertificate zertifikat = 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")
public String abrufCode = 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")
public String datenLieferant = null;
public Einschraenkung getEinschraenkung() { return einschraenkung; }
public PostfachAnfrageRequest17 setEinschraenkung(Einschraenkung value) { this.einschraenkung = value; return this; }
public Date getVon() { return von; }
public PostfachAnfrageRequest17 setVon(Date value) { this.von = value; return this; }
public Date getBis() { return bis; }
public PostfachAnfrageRequest17 setBis(Date value) { this.bis = value; return this; }
public Integer getMax() { return max; }
public PostfachAnfrageRequest17 setMax(Integer value) { this.max = value; return this; }
public PortalCertificate getZertifikat() { return zertifikat; }
public PostfachAnfrageRequest17 setZertifikat(PortalCertificate value) { this.zertifikat = value; return this; }
public String getAbrufCode() { return abrufCode; }
public PostfachAnfrageRequest17 setAbrufCode(String value) { this.abrufCode = value; return this; }
public String getDatenLieferant() { return datenLieferant; }
public PostfachAnfrageRequest17 setDatenLieferant(String value) { this.datenLieferant = value; return this; }
}
/**
* Specifies the base service request to retrive all meta information per data group and per tax type for an account or fingerprint.
*/
@Api(Description="Specifies the base service request to retrive all meta information per data group and per tax type for an account or fingerprint.")
public static class PostfachAnfrageRequestBase17 extends AnfrageRequestBase
{
/**
* Constraint: new / all.
*/
@ApiMember(Description="Constraint: new / all.")
public Einschraenkung einschraenkung = null;
/**
* Start: Date (YYYYMMDD)
*/
@ApiMember(Description="Start: Date (YYYYMMDD)")
public Date von = null;
/**
* End: Date (YYYYMMDD)
*/
@ApiMember(Description="End: Date (YYYYMMDD)")
public Date bis = null;
/**
* Maximum number of returned hits.
*/
@ApiMember(Description="Maximum number of returned hits.")
public Integer max = null;
/**
* The authentification certificate.
*/
@ApiMember(Description="The authentification certificate.", IsRequired=true, Name="Zertifikat")
public PortalCertificate zertifikat = 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")
public String abrufCode = 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")
public String datenLieferant = null;
public Einschraenkung getEinschraenkung() { return einschraenkung; }
public PostfachAnfrageRequestBase17 setEinschraenkung(Einschraenkung value) { this.einschraenkung = value; return this; }
public Date getVon() { return von; }
public PostfachAnfrageRequestBase17 setVon(Date value) { this.von = value; return this; }
public Date getBis() { return bis; }
public PostfachAnfrageRequestBase17 setBis(Date value) { this.bis = value; return this; }
public Integer getMax() { return max; }
public PostfachAnfrageRequestBase17 setMax(Integer value) { this.max = value; return this; }
public PortalCertificate getZertifikat() { return zertifikat; }
public PostfachAnfrageRequestBase17 setZertifikat(PortalCertificate value) { this.zertifikat = value; return this; }
public String getAbrufCode() { return abrufCode; }
public PostfachAnfrageRequestBase17 setAbrufCode(String value) { this.abrufCode = value; return this; }
public String getDatenLieferant() { return datenLieferant; }
public PostfachAnfrageRequestBase17 setDatenLieferant(String value) { this.datenLieferant = value; return this; }
}
/**
* Specifies the base service request to retrive a list of available records.
*/
@Api(Description="Specifies the base service request to retrive a list of available records.")
public static class AnfrageRequestBase extends PhaseRequestBase implements IPost
{
/**
* The authentification certificate.
*/
@ApiMember(Description="The authentification certificate.", IsRequired=true, Name="Zertifikat")
public PortalCertificate zertifikat = 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")
public String abrufCode = 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")
public String datenLieferant = null;
public PortalCertificate getZertifikat() { return zertifikat; }
public AnfrageRequestBase setZertifikat(PortalCertificate value) { this.zertifikat = value; return this; }
public String getAbrufCode() { return abrufCode; }
public AnfrageRequestBase setAbrufCode(String value) { this.abrufCode = value; return this; }
public String getDatenLieferant() { return datenLieferant; }
public AnfrageRequestBase setDatenLieferant(String value) { this.datenLieferant = value; return this; }
}
/**
* Specifies the base service request to submit data a retrieval request.
*/
@Api(Description="Specifies the base service request to submit data a retrieval request.")
public static class PhaseRequestBase implements ISendeRequest, IVeschlueselungsRequest
{
/**
* The authentification certificate.
*/
@ApiMember(Description="The authentification certificate.", IsRequired=true, Name="Zertifikat")
public PortalCertificate zertifikat = 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")
public String abrufCode = 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")
public String datenLieferant = null;
public PortalCertificate getZertifikat() { return zertifikat; }
public PhaseRequestBase setZertifikat(PortalCertificate value) { this.zertifikat = value; return this; }
public String getAbrufCode() { return abrufCode; }
public PhaseRequestBase setAbrufCode(String value) { this.abrufCode = value; return this; }
public String getDatenLieferant() { return datenLieferant; }
public PhaseRequestBase setDatenLieferant(String value) { this.datenLieferant = value; return this; }
}
/**
* Represents a portal certificate that is protected by a password.
*/
@Api(Description="Represents a portal certificate that is protected by a password.")
public static class PortalCertificate extends FileBase implements ISecuredCertificate, IHasIndex
{
/**
* The unique identifier of the certificate.
*/
@ApiMember(Description="The unique identifier of the certificate.")
public UUID id = 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.")
public Integer index = null;
/**
* The password to protect the certificate from unauthorized access.
*/
@StringLength(255)
@ApiMember(Description="The password to protect the certificate from unauthorized access.")
public String pin = null;
/**
* The description of the certificate.
*/
@StringLength(2147483647)
@ApiMember(Description="The description of the certificate.")
public String description = 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.")
public ArrayList<String> tags = null;
/**
* Gets or sets the file name of the certificate.
*/
@ApiMember(Description="Gets or sets the file name of the certificate.")
public String name = null;
/**
* The raw data content of the file.
*/
@ApiMember(Description="The raw data content of the file.", Name="Content")
public byte[] content = null;
public UUID getId() { return id; }
public PortalCertificate setId(UUID value) { this.id = value; return this; }
public Integer getIndex() { return index; }
public PortalCertificate setIndex(Integer value) { this.index = value; return this; }
public String getPin() { return pin; }
public PortalCertificate setPin(String value) { this.pin = value; return this; }
public String getDescription() { return description; }
public PortalCertificate setDescription(String value) { this.description = value; return this; }
public ArrayList<String> getTags() { return tags; }
public PortalCertificate setTags(ArrayList<String> value) { this.tags = value; return this; }
public String getName() { return name; }
public PortalCertificate setName(String value) { this.name = value; return this; }
public byte[] getContent() { return content; }
public PortalCertificate setContent(byte[] value) { this.content = value; return this; }
}
/**
* Represents a base class for a file with raw data.
*/
@Api(Description="Represents a base class for a file with raw data.")
public static class FileBase
{
/**
* The raw data content of the file.
*/
@ApiMember(Description="The raw data content of the file.", Name="Content")
public byte[] content = null;
public byte[] getContent() { return content; }
public FileBase setContent(byte[] value) { this.content = value; return this; }
}
/**
* Represents the type of constraint.
*/
public static enum Einschraenkung
{
Neue,
Alle;
}
/**
* Represents a service response type that encapsulates all meta information per data group and per tax type for an account or fingerprint.
*/
@Api(Description="Represents a service response type that encapsulates all meta information per data group and per tax type for an account or fingerprint.")
public static class PostfachAnfrageResponse17 extends EricFehlerCodeResponse
{
/**
* PostfachAnfrage Response
*/
@ApiMember(Description="PostfachAnfrage Response")
public PostfachAnfrageAntwort17 postfachAnfrageAntwort = null;
/**
* The return value of the ELSTER data retrieval process.
*/
@ApiMember(Description="The return value of the ELSTER data retrieval process.")
public EricBearbeiteVorgang rueckgabe = null;
/**
* The server response of the ELSTER data retrieval process.
*/
@ApiMember(Description="The server response of the ELSTER data retrieval process.")
public Elster serverantwort = null;
/**
* The status code that the ERiC API function returns.
*/
@ApiMember(Description="The status code that the ERiC API function returns.", Name="StatusCode")
public EricFehlerCode statusCode = null;
/**
* The status message that the ERiC API function returns.
*/
@ApiMember(Description="The status message that the ERiC API function returns.", Name="StatusText")
public String statusText = null;
/**
* The unique identifier of the response.
*/
@ApiMember(Description="The unique identifier of the response.", Name="Id")
public String id = 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")
public Integer index = 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")
public ResponseStatus responseStatus = null;
public PostfachAnfrageAntwort17 getPostfachAnfrageAntwort() { return postfachAnfrageAntwort; }
public PostfachAnfrageResponse17 setPostfachAnfrageAntwort(PostfachAnfrageAntwort17 value) { this.postfachAnfrageAntwort = value; return this; }
public EricBearbeiteVorgang getRueckgabe() { return rueckgabe; }
public PostfachAnfrageResponse17 setRueckgabe(EricBearbeiteVorgang value) { this.rueckgabe = value; return this; }
public Elster getServerantwort() { return serverantwort; }
public PostfachAnfrageResponse17 setServerantwort(Elster value) { this.serverantwort = value; return this; }
public EricFehlerCode getStatusCode() { return statusCode; }
public PostfachAnfrageResponse17 setStatusCode(EricFehlerCode value) { this.statusCode = value; return this; }
public String getStatusText() { return statusText; }
public PostfachAnfrageResponse17 setStatusText(String value) { this.statusText = value; return this; }
public String getId() { return id; }
public PostfachAnfrageResponse17 setId(String value) { this.id = value; return this; }
public Integer getIndex() { return index; }
public PostfachAnfrageResponse17 setIndex(Integer value) { this.index = value; return this; }
public ResponseStatus getResponseStatus() { return responseStatus; }
public PostfachAnfrageResponse17 setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; }
}
/**
* 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.")
public static class EricFehlerCodeResponse extends ServiceReponseBase
{
/**
* The status code that the ERiC API function returns.
*/
@ApiMember(Description="The status code that the ERiC API function returns.", Name="StatusCode")
public EricFehlerCode statusCode = null;
/**
* The status message that the ERiC API function returns.
*/
@ApiMember(Description="The status message that the ERiC API function returns.", Name="StatusText")
public String statusText = null;
/**
* The unique identifier of the response.
*/
@ApiMember(Description="The unique identifier of the response.", Name="Id")
public String id = 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")
public Integer index = 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")
public ResponseStatus responseStatus = null;
public EricFehlerCode getStatusCode() { return statusCode; }
public EricFehlerCodeResponse setStatusCode(EricFehlerCode value) { this.statusCode = value; return this; }
public String getStatusText() { return statusText; }
public EricFehlerCodeResponse setStatusText(String value) { this.statusText = value; return this; }
public String getId() { return id; }
public EricFehlerCodeResponse setId(String value) { this.id = value; return this; }
public Integer getIndex() { return index; }
public EricFehlerCodeResponse setIndex(Integer value) { this.index = value; return this; }
public ResponseStatus getResponseStatus() { return responseStatus; }
public EricFehlerCodeResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; }
}
/**
* Specifies a service response from an ERiC service operation.
*/
@Api(Description="Specifies a service response from an ERiC service operation.")
public static class ServiceReponseBase implements IHasIndex
{
/**
* The unique identifier of the response.
*/
@ApiMember(Description="The unique identifier of the response.", Name="Id")
public String id = 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")
public Integer index = 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")
public ResponseStatus responseStatus = null;
public String getId() { return id; }
public ServiceReponseBase setId(String value) { this.id = value; return this; }
public Integer getIndex() { return index; }
public ServiceReponseBase setIndex(Integer value) { this.index = value; return this; }
public ResponseStatus getResponseStatus() { return responseStatus; }
public ServiceReponseBase setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; }
}
/**
* Enumeration of ERiC API error codes.
*/
public static enum EricFehlerCode
{
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);
private final int value;
EricFehlerCode(final int intValue) { value = intValue; }
public int getValue() { return value; }
}
/**
* Stellt die Anwort zu einer 'PostfachAnfrage' dar.
*/
@Api(Description="Stellt die Anwort zu einer 'PostfachAnfrage' dar.")
public static class PostfachAnfrageAntwort17
{
/**
* Constraint: new /all.
*/
@ApiMember(Description="Constraint: new /all.")
public Einschraenkung einschraenkung = null;
/**
* Start: Date (YYYYMMDD)
*/
@ApiMember(Description="Start: Date (YYYYMMDD)")
public Date von = null;
/**
* End: Date (YYYYMMDD)
*/
@ApiMember(Description="End: Date (YYYYMMDD)")
public Date bis = null;
/**
* Maximum the number of returned hits.
*/
@ApiMember(Description="Maximum the number of returned hits.")
public Integer max = null;
/**
* The data group.
*/
@ApiMember(Description="The data group.")
public AnfrageDatengruppe17 datengruppe = null;
public Einschraenkung getEinschraenkung() { return einschraenkung; }
public PostfachAnfrageAntwort17 setEinschraenkung(Einschraenkung value) { this.einschraenkung = value; return this; }
public Date getVon() { return von; }
public PostfachAnfrageAntwort17 setVon(Date value) { this.von = value; return this; }
public Date getBis() { return bis; }
public PostfachAnfrageAntwort17 setBis(Date value) { this.bis = value; return this; }
public Integer getMax() { return max; }
public PostfachAnfrageAntwort17 setMax(Integer value) { this.max = value; return this; }
public AnfrageDatengruppe17 getDatengruppe() { return datengruppe; }
public PostfachAnfrageAntwort17 setDatengruppe(AnfrageDatengruppe17 value) { this.datengruppe = value; return this; }
}
/**
* Represents a requested data group (data retrieval type) , which is possibly mapped to a tax type.
*/
@Api(Description="Represents a requested data group (data retrieval type) , which is possibly mapped to a tax type.")
public static class AnfrageDatengruppe17
{
/**
* The name of the data group.
*/
@ApiMember(Description="The name of the data group.")
public String name = null;
/**
* The tax type that is mapped to a data group.
*/
@ApiMember(Description="The tax type that is mapped to a data group.")
public AnfrageSteuerart17 steuerart = null;
public String getName() { return name; }
public AnfrageDatengruppe17 setName(String value) { this.name = value; return this; }
public AnfrageSteuerart17 getSteuerart() { return steuerart; }
public AnfrageDatengruppe17 setSteuerart(AnfrageSteuerart17 value) { this.steuerart = value; return this; }
}
/**
* Represents a request tax type.
*/
@Api(Description="Represents a request tax type.")
public static class AnfrageSteuerart17
{
/**
* The name of the tax type.
*/
@ApiMember(Description="The name of the tax type.")
public String name = null;
/**
* The number of hits per tax type for an account or fingerprint.
*/
@ApiMember(Description="The number of hits per tax type for an account or fingerprint.")
public Integer anzahlTreffer = null;
public AnfrageBereitstellungen17 bereitstellungen = null;
public String getName() { return name; }
public AnfrageSteuerart17 setName(String value) { this.name = value; return this; }
public Integer getAnzahlTreffer() { return anzahlTreffer; }
public AnfrageSteuerart17 setAnzahlTreffer(Integer value) { this.anzahlTreffer = value; return this; }
public AnfrageBereitstellungen17 getBereitstellungen() { return bereitstellungen; }
public AnfrageSteuerart17 setBereitstellungen(AnfrageBereitstellungen17 value) { this.bereitstellungen = value; return this; }
}
/**
* Represents a list of requested retrieval information about data records.
*/
public static class AnfrageBereitstellungen17
{
}
/**
* 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.")
public static class EricBearbeiteVorgang
{
/**
* Information from the successful processing a tax declaration.
*/
@ApiMember(Description="Information from the successful processing a tax declaration.")
public 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.")
public 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.")
public ArrayList<FehlerRegelpruefung> fehlerRegelpruefungen = null;
/**
* Hints that result the processing of a tax declaration.
*/
@ApiMember(Description="Hints that result the processing of a tax declaration.")
public ArrayList<Hinweis> hinweise = null;
public Erfolg getErfolg() { return erfolg; }
public EricBearbeiteVorgang setErfolg(Erfolg value) { this.erfolg = value; return this; }
public Transfers getTransfers() { return transfers; }
public EricBearbeiteVorgang setTransfers(Transfers value) { this.transfers = value; return this; }
public ArrayList<FehlerRegelpruefung> getFehlerRegelpruefungen() { return fehlerRegelpruefungen; }
public EricBearbeiteVorgang setFehlerRegelpruefungen(ArrayList<FehlerRegelpruefung> value) { this.fehlerRegelpruefungen = value; return this; }
public ArrayList<Hinweis> getHinweise() { return hinweise; }
public EricBearbeiteVorgang setHinweise(ArrayList<Hinweis> value) { this.hinweise = value; return this; }
}
/**
* Represents information returned from a successful tax declaration process.
*/
@Api(Description="Represents information returned from a successful tax declaration process.")
public static class Erfolg
{
/**
* The generated tele-number for the successful tax declaration process.
*/
@ApiMember(Description="The generated tele-number for the successful tax declaration process.")
public ArrayList<String> telenummer = null;
/**
* The classification key for the successful tax declaration process.
*/
@ApiMember(Description="The classification key for the successful tax declaration process.")
public ArrayList<String> ordnungsbegriffe = null;
public ArrayList<String> getTelenummer() { return telenummer; }
public Erfolg setTelenummer(ArrayList<String> value) { this.telenummer = value; return this; }
public ArrayList<String> getOrdnungsbegriffe() { return ordnungsbegriffe; }
public Erfolg setOrdnungsbegriffe(ArrayList<String> value) { this.ordnungsbegriffe = value; return this; }
}
/**
* 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.")
public static 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.")
public ArrayList<Transfer> transferList = null;
public ArrayList<Transfer> getTransferList() { return transferList; }
public Transfers setTransferList(ArrayList<Transfer> value) { this.transferList = value; return this; }
}
/**
* Represents information on the delivery.
*/
@Api(Description="Represents information on the delivery.")
public static class Transfer
{
/**
* The ticket of the transfer.
*/
@ApiMember(Description="The ticket of the transfer.")
public String transferTicket = null;
public String getTransferTicket() { return transferTicket; }
public Transfer setTransferTicket(String value) { this.transferTicket = value; return this; }
}
/**
* Represents information on an ERiC reference.
*/
@Api(Description="Represents information on an ERiC reference.")
public static class FehlerRegelpruefung
{
/**
* The user data ticket of the reference.
*/
@ApiMember(Description="The user data ticket of the reference.")
public String nutzdatenticket = null;
/**
* The field identifier of the reference.
*/
@ApiMember(Description="The field identifier of the reference.")
public String feldidentifikator = null;
/**
* The multi-line index of the reference.
*/
@ApiMember(Description="The multi-line index of the reference.")
public String mehrfachzeilenindex = null;
/**
* The delivery number form of the reference.
*/
@ApiMember(Description="The delivery number form of the reference.")
public String lfdNrVordruck = 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.")
public String vordruckZeilennummer = 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.")
public ArrayList<SemantischerIndex> semantischeIndexes = null;
/**
* The sub-subject-area of the reference.
*/
@ApiMember(Description="The sub-subject-area of the reference.")
public String untersachbereich = null;
/**
* The private identification number of the reference.
*/
@ApiMember(Description="The private identification number of the reference.")
public String privateKennnummer = null;
/**
* The name of the rule that applies to the reference.
*/
@ApiMember(Description="The name of the rule that applies to the reference.")
public String regelName = null;
/**
* The technical error identifier of the reference.
*/
@ApiMember(Description="The technical error identifier of the reference.")
public String fachlicheFehlerId = null;
/**
* The textual details of the reference.
*/
@ApiMember(Description="The textual details of the reference.")
public String text = null;
public String getNutzdatenticket() { return nutzdatenticket; }
public FehlerRegelpruefung setNutzdatenticket(String value) { this.nutzdatenticket = value; return this; }
public String getFeldidentifikator() { return feldidentifikator; }
public FehlerRegelpruefung setFeldidentifikator(String value) { this.feldidentifikator = value; return this; }
public String getMehrfachzeilenindex() { return mehrfachzeilenindex; }
public FehlerRegelpruefung setMehrfachzeilenindex(String value) { this.mehrfachzeilenindex = value; return this; }
public String getLfdNrVordruck() { return lfdNrVordruck; }
public FehlerRegelpruefung setLfdNrVordruck(String value) { this.lfdNrVordruck = value; return this; }
public String getVordruckZeilennummer() { return vordruckZeilennummer; }
public FehlerRegelpruefung setVordruckZeilennummer(String value) { this.vordruckZeilennummer = value; return this; }
public ArrayList<SemantischerIndex> getSemantischeIndexes() { return semantischeIndexes; }
public FehlerRegelpruefung setSemantischeIndexes(ArrayList<SemantischerIndex> value) { this.semantischeIndexes = value; return this; }
public String getUntersachbereich() { return untersachbereich; }
public FehlerRegelpruefung setUntersachbereich(String value) { this.untersachbereich = value; return this; }
public String getPrivateKennnummer() { return privateKennnummer; }
public FehlerRegelpruefung setPrivateKennnummer(String value) { this.privateKennnummer = value; return this; }
public String getRegelName() { return regelName; }
public FehlerRegelpruefung setRegelName(String value) { this.regelName = value; return this; }
public String getFachlicheFehlerId() { return fachlicheFehlerId; }
public FehlerRegelpruefung setFachlicheFehlerId(String value) { this.fachlicheFehlerId = value; return this; }
public String getText() { return text; }
public FehlerRegelpruefung setText(String value) { this.text = value; return this; }
}
/**
* 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.")
public static class SemantischerIndex
{
/**
* The name of the index field.
*/
@ApiMember(Description="The name of the index field.")
public String name = null;
/**
* The value of the index field.
*/
@ApiMember(Description="The value of the index field.")
public String value = null;
public String getName() { return name; }
public SemantischerIndex setName(String value) { this.name = value; return this; }
public String getValue() { return value; }
public SemantischerIndex setValue(String value) { this.value = value; return this; }
}
public static class Hinweis
{
/**
* The user data ticket of the reference.
*/
@ApiMember(Description="The user data ticket of the reference.")
public String nutzdatenticket = null;
/**
* The field identifier of the reference.
*/
@ApiMember(Description="The field identifier of the reference.")
public String feldidentifikator = null;
/**
* The multi-line index of the reference.
*/
@ApiMember(Description="The multi-line index of the reference.")
public String mehrfachzeilenindex = null;
/**
* The delivery number form of the reference.
*/
@ApiMember(Description="The delivery number form of the reference.")
public String lfdNrVordruck = 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.")
public String vordruckZeilennummer = 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.")
public ArrayList<SemantischerIndex> semantischeIndexes = null;
/**
* The sub-subject-area of the reference.
*/
@ApiMember(Description="The sub-subject-area of the reference.")
public String untersachbereich = null;
/**
* The private identification number of the reference.
*/
@ApiMember(Description="The private identification number of the reference.")
public String privateKennnummer = null;
/**
* The name of the rule that applies to the reference.
*/
@ApiMember(Description="The name of the rule that applies to the reference.")
public String regelName = null;
/**
* The technical note identifier of the reference.
*/
@ApiMember(Description="The technical note identifier of the reference.")
public String fachlicheHinweisId = null;
/**
* The textual details of the reference.
*/
@ApiMember(Description="The textual details of the reference.")
public String text = null;
public String getNutzdatenticket() { return nutzdatenticket; }
public Hinweis setNutzdatenticket(String value) { this.nutzdatenticket = value; return this; }
public String getFeldidentifikator() { return feldidentifikator; }
public Hinweis setFeldidentifikator(String value) { this.feldidentifikator = value; return this; }
public String getMehrfachzeilenindex() { return mehrfachzeilenindex; }
public Hinweis setMehrfachzeilenindex(String value) { this.mehrfachzeilenindex = value; return this; }
public String getLfdNrVordruck() { return lfdNrVordruck; }
public Hinweis setLfdNrVordruck(String value) { this.lfdNrVordruck = value; return this; }
public String getVordruckZeilennummer() { return vordruckZeilennummer; }
public Hinweis setVordruckZeilennummer(String value) { this.vordruckZeilennummer = value; return this; }
public ArrayList<SemantischerIndex> getSemantischeIndexes() { return semantischeIndexes; }
public Hinweis setSemantischeIndexes(ArrayList<SemantischerIndex> value) { this.semantischeIndexes = value; return this; }
public String getUntersachbereich() { return untersachbereich; }
public Hinweis setUntersachbereich(String value) { this.untersachbereich = value; return this; }
public String getPrivateKennnummer() { return privateKennnummer; }
public Hinweis setPrivateKennnummer(String value) { this.privateKennnummer = value; return this; }
public String getRegelName() { return regelName; }
public Hinweis setRegelName(String value) { this.regelName = value; return this; }
public String getFachlicheHinweisId() { return fachlicheHinweisId; }
public Hinweis setFachlicheHinweisId(String value) { this.fachlicheHinweisId = value; return this; }
public String getText() { return text; }
public Hinweis setText(String value) { this.text = value; return this; }
}
/**
* Represents an ELSTER document.
*/
@Api(Description="Represents an ELSTER document.")
public static class Elster
{
/**
* The transfer header part of the ELSTER document.
*/
@ApiMember(Description="The transfer header part of the ELSTER document.", IsRequired=true)
public TransferHeader transferHeader = null;
/**
* The data (facts) part of the ELSTER document.
*/
@ApiMember(Description="The data (facts) part of the ELSTER document.")
public DatenTeil datenTeil = null;
public TransferHeader getTransferHeader() { return transferHeader; }
public Elster setTransferHeader(TransferHeader value) { this.transferHeader = value; return this; }
public DatenTeil getDatenTeil() { return datenTeil; }
public Elster setDatenTeil(DatenTeil value) { this.datenTeil = value; return this; }
}
/**
* Represents the transfer header part of an ELSTER document.
*/
@Api(Description="Represents the transfer header part of an ELSTER document.")
public static class TransferHeader
{
/**
* The version of the transfer header.
*/
@ApiMember(Description="The version of the transfer header.", IsRequired=true)
public String version = null;
/**
* The tax operation used in the ELSTER process.
*/
@ApiMember(Description="The tax operation used in the ELSTER process.", IsRequired=true)
public Verfahren verfahren = null;
/**
* The tax data type of the ELSTER process.
*/
@ApiMember(Description="The tax data type of the ELSTER process.", IsRequired=true)
public Datenart datenArt = null;
/**
* The authentification procedure of the ELSTER process.
*/
@ApiMember(Description="The authentification procedure of the ELSTER process.", IsRequired=true)
public Vorgang vorgang = null;
/**
* The ticket identifier after a successful ELSTER process.
*/
@ApiMember(Description="The ticket identifier after a successful ELSTER process.")
public String transferTicket = 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.")
public 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.")
public SigUser sigUser = null;
/**
* The receiving ELSTER server.
*/
@ApiMember(Description="The receiving ELSTER server.")
public 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)
public String herstellerID = null;
/**
* The details of the provider that submits tax data.
*/
@ApiMember(Description="The details of the provider that submits tax data.", IsRequired=true)
public String datenLieferant = null;
/**
* The date of receipt of the tax data.
*/
@ApiMember(Description="The date of receipt of the tax data.")
public Date eingangsDatum = null;
/**
* The encryption data required for authenticated transmission of tax data.
*/
@ApiMember(Description="The encryption data required for authenticated transmission of tax data.")
public 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.")
public 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.")
public String versionClient = null;
/**
* Data extensions to the transfer header.
*/
@ApiMember(Description="Data extensions to the transfer header.")
public Zusatz zusatz = null;
public String getVersion() { return version; }
public TransferHeader setVersion(String value) { this.version = value; return this; }
public Verfahren getVerfahren() { return verfahren; }
public TransferHeader setVerfahren(Verfahren value) { this.verfahren = value; return this; }
public Datenart getDatenArt() { return datenArt; }
public TransferHeader setDatenArt(Datenart value) { this.datenArt = value; return this; }
public Vorgang getVorgang() { return vorgang; }
public TransferHeader setVorgang(Vorgang value) { this.vorgang = value; return this; }
public String getTransferTicket() { return transferTicket; }
public TransferHeader setTransferTicket(String value) { this.transferTicket = value; return this; }
public Testmerker getTestmerker() { return testmerker; }
public TransferHeader setTestmerker(Testmerker value) { this.testmerker = value; return this; }
public SigUser getSigUser() { return sigUser; }
public TransferHeader setSigUser(SigUser value) { this.sigUser = value; return this; }
public Empfaenger getEmpfaenger() { return empfaenger; }
public TransferHeader setEmpfaenger(Empfaenger value) { this.empfaenger = value; return this; }
public String getHerstellerID() { return herstellerID; }
public TransferHeader setHerstellerID(String value) { this.herstellerID = value; return this; }
public String getDatenLieferant() { return datenLieferant; }
public TransferHeader setDatenLieferant(String value) { this.datenLieferant = value; return this; }
public Date getEingangsDatum() { return eingangsDatum; }
public TransferHeader setEingangsDatum(Date value) { this.eingangsDatum = value; return this; }
public Datei getDatei() { return datei; }
public TransferHeader setDatei(Datei value) { this.datei = value; return this; }
public RC getRc() { return rc; }
public TransferHeader setRc(RC value) { this.rc = value; return this; }
public String getVersionClient() { return versionClient; }
public TransferHeader setVersionClient(String value) { this.versionClient = value; return this; }
public Zusatz getZusatz() { return zusatz; }
public TransferHeader setZusatz(Zusatz value) { this.zusatz = value; return this; }
}
/**
* Auflistung der gültigen Verfahren
*/
public static enum Verfahren
{
ElsterAnmeldung,
ElsterBereitstellung,
ElsterBilanz,
ElsterBRM,
ElsterBRMOrg,
ElsterDatenabholung,
ElsterErklaerung,
ElsterExtern,
ElsterFSE,
ElsterKapESt,
ElsterKMV,
ElsterKontoabfrage,
ElsterLavendel,
ElsterLohn,
ElsterLohn2,
ElsterNachricht,
ElsterSignatur,
ElsterVollmachtDB;
}
/**
* Auflistung aller gültigen Datenarten.
*/
public static enum Datenart
{
Anlage34a,
AnpassungVorauszahlung,
AntragUStVerguetung4a,
AbrufcodeAntrag,
AenderungAdresse,
AbrufcodeStorno,
AbrufvollmachtAnlage,
AbrufvollmachtUpdate,
AenderungBankverbindung,
AntraegeRechteLoeschen,
AntraegeUndRechte,
Aufzeichnung146a,
BetPG,
Bilanz,
Belegnachreichung,
BsbMitteilung,
BzSt2,
C19Mitteilung,
DUeAbmelden,
DUeAnmelden,
DUeUmmelden,
Einspruch,
EinspruchNachtrag,
EinspruchRuecknahme,
ELeVAntragELStAM,
ELeVErmaessigung,
ELeVGetrenntlebend,
ELeVSteuerklassenwechsel,
ELeVWiederaufnahmeEhe,
EpAntwort,
EpBescheid,
EpMitteilung,
EpKurzmitteilung,
ElsterErklaerungDaten,
ElsterKMVDaten,
ElsterLohn2Daten,
ElsterLohnDaten,
ElsterVaStDaten,
ElsterDIVADaten,
ElsterDIVDaten,
ElsterEPBescheidDaten,
ElsterEPMitteilungDaten,
EpStBescheidAbholung,
EpStMitteilungAbholung,
Erbschaftsteuer,
ESt,
EStbeschraenkt,
Euer,
EUn,
Fein,
ForschungZulAntrag,
KStAntragOptionPersG,
FlhMitteilung,
FreistellungKapitalertraegeBV,
Fristverlaengerung,
FsEVerein,
Gewerbemeldung,
GdbMitteilung,
Gewinnermittlung13aEStG,
GewSt,
GewStZ,
GrundsteuerBW,
GrundsteuerBY,
GrundsteuerHE,
GrundsteuerHH,
GrundsteuerNI,
Grundsteuerwert,
InvStG56Abs5,
InvStG51Feststellung,
KapEStA,
KapEStInvStG,
KapG,
KapGAus,
KkvMitteilung,
Kontoabfrage,
Kontoinformation,
KSt,
KStZ,
KttAnmeldungHH,
KttAnzeigeHH,
Lohnersatzleistung,
LohnersatzMitteilung,
LStA,
LStB,
LStHVVMAnlage,
LStHVVMUpdate,
OghMitteilung,
VermoegenswirksameLeistung,
VmWiderruf,
VollmachtDetails,
VNoVMVRegistrierung,
VNoVMVUpdate,
VNoVMVLoeschung,
VollfAAnlage,
VollfAUpdate,
VMoVMVStBAnlage,
VMoVMVStBUpdate,
VMoVMVFreischaltung,
VagMitteilung,
DivaDatenBZSt,
DivaEinwilligungAnlageBRM,
DivaEinwilligungFreisch,
DivaEinwilligungUpdateBRM,
DivaWiderrufBRM,
DivaErgebnisliste,
LStHVDivaAdresseBRM,
VmErgebnisListeVNSicht,
PersG,
PostfachAnfrage,
PostfachStatus,
ProtokollAnforderung,
Registrierung,
Schenkungsteuer,
SonstigeNachrichten,
SpezRechtAntrag,
SpezRechtFreischaltung,
SpezRechtListe,
SpezRechtStorno,
SpezRechtTeilnahme,
StAb50a,
Statusabfrage,
UnentgeltlicheDepotuebertragung,
UenstAnmeldungBE,
UenstAnzeigeBE,
USt,
UStVA,
UStDV,
UStSV,
VgnAnmeldungHB,
VgnAnmeldungBE,
VgnAnmeldungHH,
VgnAnzeigeHH,
WtbAnmeldungHB,
Zmdo,
ElsterVollmachtDaten,
MitteilungAbholung;
}
/**
* Hauptinformation ob die Daten authentifiziert wurden (send-Auth) oder nicht (send-NoSig)
*/
public static enum 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.
*/
public static enum 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);
private final int value;
Testmerker(final int intValue) { value = intValue; }
public int getValue() { return value; }
}
/**
* 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.")
public static 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")
public Object inhalt = null;
public Object getInhalt() { return inhalt; }
public SigUser setInhalt(Object value) { this.inhalt = value; return this; }
}
/**
* Represents a receiver of tax data.
*/
@Api(Description="Represents a receiver of tax data.")
public static class Empfaenger
{
/**
* The identifier of the receiver.
*/
@ApiMember(Description="The identifier of the receiver.")
public String id = null;
/**
* The destination of the receiver.
*/
@ApiMember(Description="The destination of the receiver.")
public Bundesland ziel = null;
public String getId() { return id; }
public Empfaenger setId(String value) { this.id = value; return this; }
public Bundesland getZiel() { return ziel; }
public Empfaenger setZiel(Bundesland value) { this.ziel = value; return this; }
}
/**
* Einheitliche Abkürzungen fuer die Bundesländer bzw. alternative Empfänger
*/
public static enum Bundesland
{
Bw,
By,
Be,
Bb,
Hb,
Hh,
He,
Mv,
Ni,
Nw,
Rp,
Sl,
Sn,
St,
Sh,
Th,
Ec,
Bf,
Cs,
Cd,
Cm,
Cn,
Ds,
Op,
Tk,
Zf;
}
/**
* Represents information on the encryption of tax data.
*/
@Api(Description="Represents information on the encryption of tax data.")
public static class Datei
{
/**
* The type of data encryption used.
*/
@ApiMember(Description="The type of data encryption used.")
public Verschluesselungsart verschluesselung = null;
/**
* The type of data compression used.
*/
@ApiMember(Description="The type of data compression used.")
public Kompression kompression = null;
/**
* The transport key used in the encryption.
*/
@ApiMember(Description="The transport key used in the encryption.")
public String transportSchluessel = null;
/**
* [Documentation unavailable]
*/
@ApiMember(Description="[Documentation unavailable]")
public Erstellung erstellung = null;
public Verschluesselungsart getVerschluesselung() { return verschluesselung; }
public Datei setVerschluesselung(Verschluesselungsart value) { this.verschluesselung = value; return this; }
public Kompression getKompression() { return kompression; }
public Datei setKompression(Kompression value) { this.kompression = value; return this; }
public String getTransportSchluessel() { return transportSchluessel; }
public Datei setTransportSchluessel(String value) { this.transportSchluessel = value; return this; }
public Erstellung getErstellung() { return erstellung; }
public Datei setErstellung(Erstellung value) { this.erstellung = value; return this; }
}
/**
* 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
*/
public static enum 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.
*/
public static enum Kompression
{
Gzip,
NoBasE64;
}
/**
* [Documentation unavailable]
*/
@Api(Description="[Documentation unavailable]")
public static class Erstellung
{
/**
* [Documentation unavailable]
*/
@ApiMember(Description="[Documentation unavailable]")
public EricTyp eric = null;
public EricTyp getEric() { return eric; }
public Erstellung setEric(EricTyp value) { this.eric = value; return this; }
}
/**
* [Documentation unavailable]
*/
@Api(Description="[Documentation unavailable]")
public static 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")
public Object inhalt = null;
public Object getInhalt() { return inhalt; }
public EricTyp setInhalt(Object value) { this.inhalt = value; return this; }
}
/**
* Represents an ERiC return code.
*/
@Api(Description="Represents an ERiC return code.")
public static class RC
{
/**
* The return value of the return code.
*/
@ApiMember(Description="The return value of the return code.")
public Rueckgabe rueckgabe = null;
/**
* The internal value of the return code.
*/
@ApiMember(Description="The internal value of the return code.")
public Stack stack = null;
public Rueckgabe getRueckgabe() { return rueckgabe; }
public RC setRueckgabe(Rueckgabe value) { this.rueckgabe = value; return this; }
public Stack getStack() { return stack; }
public RC setStack(Stack value) { this.stack = value; return this; }
}
/**
* Represents an external error stack.
*/
@Api(Description="Represents an external error stack.")
public static 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.")
public String code = null;
/**
* The external error message.
*/
@ApiMember(Description="The external error message.")
public String text = null;
public String getCode() { return code; }
public Rueckgabe setCode(String value) { this.code = value; return this; }
public String getText() { return text; }
public Rueckgabe setText(String value) { this.text = value; return this; }
}
/**
* Represents an internal error stack.
*/
@Api(Description="Represents an internal error stack.")
public static 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.")
public String code = null;
/**
* The external error message.
*/
@ApiMember(Description="The external error message.")
public String text = null;
public String getCode() { return code; }
public Stack setCode(String value) { this.code = value; return this; }
public String getText() { return text; }
public Stack setText(String value) { this.text = value; return this; }
}
/**
* Represents an ERiC extension.
*/
@Api(Description="Represents an ERiC extension.")
public static 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.")
public ArrayList<String> infos = null;
/**
* 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).")
public ArrayList<String> elsterInfos = null;
public ArrayList<String> getInfos() { return infos; }
public Zusatz setInfos(ArrayList<String> value) { this.infos = value; return this; }
public ArrayList<String> getElsterInfos() { return elsterInfos; }
public Zusatz setElsterInfos(ArrayList<String> value) { this.elsterInfos = value; return this; }
}
/**
* Represents the data part of an ELSTER document.
*/
@Api(Description="Represents the data part of an ELSTER document.")
public static class DatenTeil
{
/**
* The blocks of tax data of the ELSTER document.
*/
@ApiMember(Description="The blocks of tax data of the ELSTER document.", IsRequired=true)
public ArrayList<Nutzdatenblock> nutzdatenbloecke = null;
public ArrayList<Nutzdatenblock> getNutzdatenbloecke() { return nutzdatenbloecke; }
public DatenTeil setNutzdatenbloecke(ArrayList<Nutzdatenblock> value) { this.nutzdatenbloecke = value; return this; }
}
/**
* Represents a block of tax data.
*/
@Api(Description="Represents a block of tax data.")
public static class Nutzdatenblock
{
/**
* The header part of the block.
*/
@ApiMember(Description="The header part of the block.", IsRequired=true)
public NutzdatenHeader nutzdatenHeader = null;
/**
* The data part of the block.
*/
@ApiMember(Description="The data part of the block.", IsRequired=true)
public Nutzdaten nutzdaten = null;
public NutzdatenHeader getNutzdatenHeader() { return nutzdatenHeader; }
public Nutzdatenblock setNutzdatenHeader(NutzdatenHeader value) { this.nutzdatenHeader = value; return this; }
public Nutzdaten getNutzdaten() { return nutzdaten; }
public Nutzdatenblock setNutzdaten(Nutzdaten value) { this.nutzdaten = value; return this; }
}
/**
* Represents the header of a tax data.
*/
@Api(Description="Represents the header of a tax data.")
public static class NutzdatenHeader
{
/**
* The version of the header.
*/
@ApiMember(Description="The version of the header.", IsRequired=true)
public String version = null;
/**
* The ticket identifier of the header.
*/
@ApiMember(Description="The ticket identifier of the header.", IsRequired=true)
public String nutzdatenTicket = null;
/**
* The receiver of the header.
*/
@ApiMember(Description="The receiver of the header.", IsRequired=true)
public NDHEmpfaenger empfaenger = 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)
public 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.")
public String datenLieferant = null;
/**
* The return code of the header.
*/
@ApiMember(Description="The return code of the header.")
public RC rc = null;
/**
* The data extensions of the header.
*/
@ApiMember(Description="The data extensions of the header.")
public Zusatz zusatz = null;
public String getVersion() { return version; }
public NutzdatenHeader setVersion(String value) { this.version = value; return this; }
public String getNutzdatenTicket() { return nutzdatenTicket; }
public NutzdatenHeader setNutzdatenTicket(String value) { this.nutzdatenTicket = value; return this; }
public NDHEmpfaenger getEmpfaenger() { return empfaenger; }
public NutzdatenHeader setEmpfaenger(NDHEmpfaenger value) { this.empfaenger = value; return this; }
public Hersteller getHersteller() { return hersteller; }
public NutzdatenHeader setHersteller(Hersteller value) { this.hersteller = value; return this; }
public String getDatenLieferant() { return datenLieferant; }
public NutzdatenHeader setDatenLieferant(String value) { this.datenLieferant = value; return this; }
public RC getRc() { return rc; }
public NutzdatenHeader setRc(RC value) { this.rc = value; return this; }
public Zusatz getZusatz() { return zusatz; }
public NutzdatenHeader setZusatz(Zusatz value) { this.zusatz = value; return this; }
}
/**
* Represents a receiver of tax data.
*/
@Api(Description="Represents a receiver of tax data.")
public static class NDHEmpfaenger
{
/**
* The identifier of the receiver.
*/
@ApiMember(Description="The identifier of the receiver.")
public EmpfaengerID id = null;
/**
* The value of the receiver.
*/
@ApiMember(Description="The value of the receiver.")
public String value = null;
public EmpfaengerID getId() { return id; }
public NDHEmpfaenger setId(EmpfaengerID value) { this.id = value; return this; }
public String getValue() { return value; }
public NDHEmpfaenger setValue(String value) { this.value = value; return this; }
}
/**
* Represents a receriver ID
*/
public static enum EmpfaengerID
{
L,
F;
}
/**
* Represents a manufacturer/vendor of tax software.
*/
@Api(Description="Represents a manufacturer/vendor of tax software.")
public static 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.")
public String produktName = 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.")
public String produktVersion = null;
public String getProduktName() { return produktName; }
public Hersteller setProduktName(String value) { this.produktName = value; return this; }
public String getProduktVersion() { return produktVersion; }
public Hersteller setProduktVersion(String value) { this.produktVersion = value; return this; }
}
/**
* Represents an encapsulation of tax data content.
*/
@Api(Description="Represents an encapsulation of tax data content.")
public static 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)
public Object inhalt = null;
public Object getInhalt() { return inhalt; }
public Nutzdaten setInhalt(Object value) { this.inhalt = value; return this; }
}
}
Java PostfachAnfrageRequest17 DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=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"}}}