/* Options:
Date: 2024-11-26 04:17:15
Version: 8.12
Tip: To override a DTO option, remove "//" prefix before updating
BaseUrl: https://taxfiling.staging.pwc.de
//GlobalNamespace:
//MakePartial: True
//MakeVirtual: True
//MakeInternal: False
//MakeDataContractsExtensible: False
//AddNullableAnnotations: False
//AddReturnMarker: True
//AddDescriptionAsComments: True
//AddDataContractAttributes: False
//AddIndexesToDataMembers: False
//AddGeneratedCodeAttributes: False
//AddResponseStatus: False
//AddImplicitVersion:
//InitializeCollections: True
//ExportValueTypes: False
IncludeTypes: ElsterLohnDatenAnfrageRequest17.*
//ExcludeTypes:
//AddNamespaces:
//AddDefaultXmlNamespace: http://schemas.servicestack.net/types
*/
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using System.Net;
using PwC.xEric.Core.Domain.Concretes.Models;
using PwC.xEric.Core.Services.Contracts.Requests;
using PwC.xEric.Core.Domain.Concretes.Datenabholungen.Models;
using PwC.xEric.Core.Domain.Contracts.Models;
using PwC.xEric.Core.Services.Contracts.Datenabholungen.Requests.Anfragen;
using PwC.xEric.Core.Services.Contracts.Responses;
using PwC.xEric.Core.Services.Contracts.Datenabholungen.Responses;
using PwC.DigitalHub.Utilities.IO.Core.Contracts.Models;
using PwC.xEric.Core.Services.Contracts.Datenabholungen.Requests;
namespace PwC.DigitalHub.Utilities.IO.Core.Contracts.Models
{
///
///Represents a base class for a file with raw data.
///
[Api(Description="Represents a base class for a file with raw data.")]
public partial class FileBase
{
public FileBase()
{
Content = new byte[]{};
}
///
///The raw data content of the file.
///
[ApiMember(Description="The raw data content of the file.", Name="Content")]
public virtual byte[] Content { get; set; }
}
}
namespace PwC.xEric.Core.Domain.Concretes.Datenabholungen.Models
{
///
///Represents a request to retrieve tax assessment data.
///
[Api(Description="Represents a request to retrieve tax assessment data.")]
public partial class Anfrage
{
///
///Constraint: new / all.
///
[ApiMember(Description="Constraint: new / all.")]
public virtual Einschraenkung? Einschraenkung { get; set; }
///
///Start: Date (YYYYMMDD)
///
[ApiMember(Description="Start: Date (YYYYMMDD)")]
public virtual DateTime? Von { get; set; }
///
///End: Date (YYYYMMDD)
///
[ApiMember(Description="End: Date (YYYYMMDD)")]
public virtual DateTime? Bis { get; set; }
///
///The assessment year (YYYY) of the receipt.
///
[ApiMember(Description="The assessment year (YYYY) of the receipt.")]
public virtual int? Veranlagungsjahr { get; set; }
///
///The tax type (e.g. ESB) of the data record. .
///
[ApiMember(Description="The tax type (e.g. ESB) of the data record. .")]
public virtual Steuerart? Steuerart { get; set; }
///
///4-digit tax office number.
///
[ApiMember(Description="4-digit tax office number.")]
public virtual string Finanzamt { get; set; }
///
///2-digit (German) federal state number.
///
[ApiMember(Description="2-digit (German) federal state number.")]
public virtual Bundesland? Bundesland { get; set; }
///
///Limitation of the number of returned IDs. Default = 100, maximum possible = 10000
///
[ApiMember(Description="Limitation of the number of returned IDs. Default = 100, maximum possible = 10000")]
public virtual int? Max { get; set; }
///
///Ticket number, which was originally used request the data records.
///
[ApiMember(Description="Ticket number, which was originally used request the data records.")]
public virtual string Anforderungsticket { get; set; }
///
///Tax number of the employer for whom the change list is available.
///
[ApiMember(Description="Tax number of the employer for whom the change list is available.")]
public virtual string Agstnr { get; set; }
///
///Schema version in which the data set is available.
///
[ApiMember(Description="Schema version in which the data set is available.")]
public virtual int? Schemaversion { get; set; }
///
///The transfer ticket of the delivery.
///
[ApiMember(Description="The transfer ticket of the delivery.")]
public virtual string Lieferticket { get; set; }
///
///The ID number of the receipt owner.
///
[ApiMember(Description="The ID number of the receipt owner.")]
public virtual string Idnr { get; set; }
///
///The type of receipt e.g. 'VaSt_LStB'.
///
[ApiMember(Description="The type of receipt e.g. 'VaSt_LStB'.")]
public virtual string Belegart { get; set; }
///
///Business reference of the delivery
///
[ApiMember(Description="Business reference of the delivery")]
public virtual string Geschaeftszeichen { get; set; }
}
///
///Represents a request to retrieve data.
///
[Api(Description="Represents a request to retrieve data.")]
public partial class Anfrage17
: Anfrage
{
public Anfrage17()
{
Ids = new List{};
}
///
///Liste von Id Elementen.
///
[ApiMember(Description="Liste von Id Elementen.")]
public virtual List Ids { get; set; }
///
///Constraint: new / all.
///
[ApiMember(Description="Constraint: new / all.")]
public virtual Einschraenkung? Einschraenkung { get; set; }
///
///Start: Date (YYYYMMDD)
///
[ApiMember(Description="Start: Date (YYYYMMDD)")]
public virtual DateTime? Von { get; set; }
///
///End: Date (YYYYMMDD)
///
[ApiMember(Description="End: Date (YYYYMMDD)")]
public virtual DateTime? Bis { get; set; }
///
///The assessment year (YYYY) of the receipt.
///
[ApiMember(Description="The assessment year (YYYY) of the receipt.")]
public virtual int? Veranlagungsjahr { get; set; }
///
///The tax type (e.g. ESB) of the data record. .
///
[ApiMember(Description="The tax type (e.g. ESB) of the data record. .")]
public virtual Steuerart? Steuerart { get; set; }
///
///4-digit tax office number.
///
[ApiMember(Description="4-digit tax office number.")]
public virtual string Finanzamt { get; set; }
///
///2-digit (German) federal state number.
///
[ApiMember(Description="2-digit (German) federal state number.")]
public virtual Bundesland? Bundesland { get; set; }
///
///Limitation of the number of returned IDs. Default = 100, maximum possible = 10000
///
[ApiMember(Description="Limitation of the number of returned IDs. Default = 100, maximum possible = 10000")]
public virtual int? Max { get; set; }
///
///Ticket number, which was originally used request the data records.
///
[ApiMember(Description="Ticket number, which was originally used request the data records.")]
public virtual string Anforderungsticket { get; set; }
///
///Tax number of the employer for whom the change list is available.
///
[ApiMember(Description="Tax number of the employer for whom the change list is available.")]
public virtual string Agstnr { get; set; }
///
///Schema version in which the data set is available.
///
[ApiMember(Description="Schema version in which the data set is available.")]
public virtual int? Schemaversion { get; set; }
///
///The transfer ticket of the delivery.
///
[ApiMember(Description="The transfer ticket of the delivery.")]
public virtual string Lieferticket { get; set; }
///
///The ID number of the receipt owner.
///
[ApiMember(Description="The ID number of the receipt owner.")]
public virtual string Idnr { get; set; }
///
///The type of receipt e.g. 'VaSt_LStB'.
///
[ApiMember(Description="The type of receipt e.g. 'VaSt_LStB'.")]
public virtual string Belegart { get; set; }
///
///Business reference of the delivery
///
[ApiMember(Description="Business reference of the delivery")]
public virtual string Geschaeftszeichen { get; set; }
}
///
///Specifies the encoding of the metadata.
///
public enum Coding
{
text,
base64,
}
///
///Represents the type of constraint.
///
public enum Einschraenkung
{
neue,
alle,
}
///
///Represents an identifer.
///
[Api(Description="Represents an identifer.")]
public partial class Id17
{
///
///Identifcation number
///
[ApiMember(Description="Identifcation number")]
public virtual string Id { get; set; }
///
///Size of payload data in bytes rounded up to 100 bytes.
///
[ApiMember(Description="Size of payload data in bytes rounded up to 100 bytes.")]
public virtual int? Groesse { get; set; }
public virtual string BereitstellungsTicket { get; set; }
///
///The tax type (e.g. ESB) of the data record. Applicable only to 'ElsterFTDaten' and 'ElsterErklaerungenDaten'.
///
[ApiMember(Description="The tax type (e.g. ESB) of the data record. Applicable only to 'ElsterFTDaten' and 'ElsterErklaerungenDaten'.")]
public virtual Steuerart? Steuerart { get; set; }
///
///The type of receipt e.g. VaSt_LStB. Applicable only to 'ElsterVaStDaten'
///
[ApiMember(Description="The type of receipt e.g. VaSt_LStB. Applicable only to 'ElsterVaStDaten'")]
public virtual string Belegart { get; set; }
///
///Only applicable to the tax types 'ElsterVaStDaten' and 'ElsterKMVDaten'. For ElsterVaStDaten, the schema version of the receipt; for 'ElsterKMVDaten', the schema version of the protocol.
///
[ApiMember(Description="Only applicable to the tax types 'ElsterVaStDaten' and 'ElsterKMVDaten'. For ElsterVaStDaten, the schema version of the receipt; for 'ElsterKMVDaten', the schema version of the protocol.")]
public virtual string Schemaversion { get; set; }
///
///The hash value of the stored record (applicable only to 'ElsterVaStDaten').
///
[ApiMember(Description="The hash value of the stored record (applicable only to 'ElsterVaStDaten').")]
public virtual string Hashwert { get; set; }
///
///Meta information of the ID.
///
[ApiMember(Description="Meta information of the ID.")]
public virtual MetaInformationen17 MetaInformationen { get; set; }
}
///
///Represents the metadata of a data record.
///
[Api(Description="Represents the metadata of a data record.")]
public partial class Meta17
{
///
///The type of metadata, e.g. datei [file]
///
[ApiMember(Description="The type of metadata, e.g. datei [file]")]
public virtual string Name { get; set; }
///
///The encoding of the metadata (text or base64)
///
[ApiMember(Description="The encoding of the metadata (text or base64)")]
public virtual Coding? Coding { get; set; }
///
///The content of the metadata
///
[ApiMember(Description="The content of the metadata")]
public virtual string Value { get; set; }
}
///
///Represents a list of meta information maps.
///
public partial class MetaInfoMaps17
{
}
///
///Represents meta information.
///
[Api(Description="Represents meta information.")]
public partial class MetaInformationen17
{
public MetaInformationen17()
{
Meta = new List{};
}
///
///List of metadata.
///
[ApiMember(Description="List of metadata.")]
public virtual List Meta { get; set; }
///
///List of meta infomation maps.
///
[ApiMember(Description="List of meta infomation maps.")]
public virtual MetaInfoMaps17 MetaInfoMaps { get; set; }
}
///
///Represents the various tax types for the retrieval of data.
///
public enum 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,
}
}
namespace PwC.xEric.Core.Domain.Concretes.Models
{
///
///Represents information on the encryption of tax data.
///
[Api(Description="Represents information on the encryption of tax data.")]
public partial class Datei
{
///
///The type of data encryption used.
///
[ApiMember(Description="The type of data encryption used.")]
public virtual Verschluesselungsart Verschluesselung { get; set; }
///
///The type of data compression used.
///
[ApiMember(Description="The type of data compression used.")]
public virtual Kompression Kompression { get; set; }
///
///The transport key used in the encryption.
///
[ApiMember(Description="The transport key used in the encryption.")]
public virtual string TransportSchluessel { get; set; }
///
///[Documentation unavailable]
///
[ApiMember(Description="[Documentation unavailable]")]
public virtual Erstellung Erstellung { get; set; }
}
///
///Represents the data part of an ELSTER document.
///
[Api(Description="Represents the data part of an ELSTER document.")]
public partial class DatenTeil
{
public DatenTeil()
{
Nutzdatenbloecke = new List{};
}
///
///The blocks of tax data of the ELSTER document.
///
[ApiMember(Description="The blocks of tax data of the ELSTER document.", IsRequired=true)]
public virtual List Nutzdatenbloecke { get; set; }
}
///
///Represents an ELSTER document.
///
[Api(Description="Represents an ELSTER document.")]
public partial class Elster
{
///
///The transfer header part of the ELSTER document.
///
[ApiMember(Description="The transfer header part of the ELSTER document.", IsRequired=true)]
public virtual TransferHeader TransferHeader { get; set; }
///
///The data (facts) part of the ELSTER document.
///
[ApiMember(Description="The data (facts) part of the ELSTER document.")]
public virtual DatenTeil DatenTeil { get; set; }
}
///
///Represents a receiver of tax data.
///
[Api(Description="Represents a receiver of tax data.")]
public partial class Empfaenger
{
///
///The identifier of the receiver.
///
[ApiMember(Description="The identifier of the receiver.")]
public virtual string Id { get; set; }
///
///The destination of the receiver.
///
[ApiMember(Description="The destination of the receiver.")]
public virtual Bundesland? Ziel { get; set; }
}
///
///Represents a receriver ID
///
public enum EmpfaengerID
{
L,
F,
}
///
///Represents information returned from a successful tax declaration process.
///
[Api(Description="Represents information returned from a successful tax declaration process.")]
public partial class Erfolg
{
public Erfolg()
{
Telenummer = new List{};
Ordnungsbegriffe = new List{};
}
///
///The generated tele-number for the successful tax declaration process.
///
[ApiMember(Description="The generated tele-number for the successful tax declaration process.")]
public virtual List Telenummer { get; set; }
///
///The classification key for the successful tax declaration process.
///
[ApiMember(Description="The classification key for the successful tax declaration process.")]
public virtual List Ordnungsbegriffe { get; set; }
}
///
///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 partial class EricBearbeiteVorgang
{
public EricBearbeiteVorgang()
{
FehlerRegelpruefungen = new List{};
Hinweise = new List{};
}
///
///Information from the successful processing a tax declaration.
///
[ApiMember(Description="Information from the successful processing a tax declaration.")]
public virtual Erfolg Erfolg { get; set; }
///
///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 virtual Transfers Transfers { get; set; }
///
///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 virtual List FehlerRegelpruefungen { get; set; }
///
///Hints that result the processing of a tax declaration.
///
[ApiMember(Description="Hints that result the processing of a tax declaration.")]
public virtual List Hinweise { get; set; }
}
///
///[Documentation unavailable]
///
[Api(Description="[Documentation unavailable]")]
public partial 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 virtual Object Inhalt { get; set; }
}
///
///[Documentation unavailable]
///
[Api(Description="[Documentation unavailable]")]
public partial class Erstellung
{
///
///[Documentation unavailable]
///
[ApiMember(Description="[Documentation unavailable]")]
public virtual EricTyp Eric { get; set; }
}
///
///Represents information on an ERiC reference.
///
[Api(Description="Represents information on an ERiC reference.")]
public partial class FehlerRegelpruefung
{
public FehlerRegelpruefung()
{
SemantischeIndexes = new List{};
}
///
///The user data ticket of the reference.
///
[ApiMember(Description="The user data ticket of the reference.")]
public virtual string Nutzdatenticket { get; set; }
///
///The field identifier of the reference.
///
[ApiMember(Description="The field identifier of the reference.")]
public virtual string Feldidentifikator { get; set; }
///
///The multi-line index of the reference.
///
[ApiMember(Description="The multi-line index of the reference.")]
public virtual string Mehrfachzeilenindex { get; set; }
///
///The delivery number form of the reference.
///
[ApiMember(Description="The delivery number form of the reference.")]
public virtual string LfdNrVordruck { get; set; }
///
///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 virtual string VordruckZeilennummer { get; set; }
///
///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 virtual List SemantischeIndexes { get; set; }
///
///The sub-subject-area of the reference.
///
[ApiMember(Description="The sub-subject-area of the reference.")]
public virtual string Untersachbereich { get; set; }
///
///The private identification number of the reference.
///
[ApiMember(Description="The private identification number of the reference.")]
public virtual string PrivateKennnummer { get; set; }
///
///The name of the rule that applies to the reference.
///
[ApiMember(Description="The name of the rule that applies to the reference.")]
public virtual string RegelName { get; set; }
///
///The technical error identifier of the reference.
///
[ApiMember(Description="The technical error identifier of the reference.")]
public virtual string FachlicheFehlerId { get; set; }
///
///The textual details of the reference.
///
[ApiMember(Description="The textual details of the reference.")]
public virtual string Text { get; set; }
}
///
///Represents a manufacturer/vendor of tax software.
///
[Api(Description="Represents a manufacturer/vendor of tax software.")]
public partial 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 virtual string ProduktName { get; set; }
///
///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 virtual string ProduktVersion { get; set; }
}
public partial class Hinweis
{
public Hinweis()
{
SemantischeIndexes = new List{};
}
///
///The user data ticket of the reference.
///
[ApiMember(Description="The user data ticket of the reference.")]
public virtual string Nutzdatenticket { get; set; }
///
///The field identifier of the reference.
///
[ApiMember(Description="The field identifier of the reference.")]
public virtual string Feldidentifikator { get; set; }
///
///The multi-line index of the reference.
///
[ApiMember(Description="The multi-line index of the reference.")]
public virtual string Mehrfachzeilenindex { get; set; }
///
///The delivery number form of the reference.
///
[ApiMember(Description="The delivery number form of the reference.")]
public virtual string LfdNrVordruck { get; set; }
///
///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 virtual string VordruckZeilennummer { get; set; }
///
///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 virtual List SemantischeIndexes { get; set; }
///
///The sub-subject-area of the reference.
///
[ApiMember(Description="The sub-subject-area of the reference.")]
public virtual string Untersachbereich { get; set; }
///
///The private identification number of the reference.
///
[ApiMember(Description="The private identification number of the reference.")]
public virtual string PrivateKennnummer { get; set; }
///
///The name of the rule that applies to the reference.
///
[ApiMember(Description="The name of the rule that applies to the reference.")]
public virtual string RegelName { get; set; }
///
///The technical note identifier of the reference.
///
[ApiMember(Description="The technical note identifier of the reference.")]
public virtual string FachlicheHinweisId { get; set; }
///
///The textual details of the reference.
///
[ApiMember(Description="The textual details of the reference.")]
public virtual string Text { get; set; }
}
///
///Represents a receiver of tax data.
///
[Api(Description="Represents a receiver of tax data.")]
public partial class NDHEmpfaenger
{
///
///The identifier of the receiver.
///
[ApiMember(Description="The identifier of the receiver.")]
public virtual EmpfaengerID Id { get; set; }
///
///The value of the receiver.
///
[ApiMember(Description="The value of the receiver.")]
public virtual string Value { get; set; }
}
///
///Represents an encapsulation of tax data content.
///
[Api(Description="Represents an encapsulation of tax data content.")]
public partial 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 virtual Object Inhalt { get; set; }
}
///
///Represents a block of tax data.
///
[Api(Description="Represents a block of tax data.")]
public partial class Nutzdatenblock
{
///
///The header part of the block.
///
[ApiMember(Description="The header part of the block.", IsRequired=true)]
public virtual NutzdatenHeader NutzdatenHeader { get; set; }
///
///The data part of the block.
///
[ApiMember(Description="The data part of the block.", IsRequired=true)]
public virtual Nutzdaten Nutzdaten { get; set; }
}
///
///Represents the header of a tax data.
///
[Api(Description="Represents the header of a tax data.")]
public partial class NutzdatenHeader
{
///
///The version of the header.
///
[ApiMember(Description="The version of the header.", IsRequired=true)]
public virtual string Version { get; set; }
///
///The ticket identifier of the header.
///
[ApiMember(Description="The ticket identifier of the header.", IsRequired=true)]
public virtual string NutzdatenTicket { get; set; }
///
///The receiver of the header.
///
[ApiMember(Description="The receiver of the header.", IsRequired=true)]
public virtual NDHEmpfaenger Empfaenger { get; set; }
///
///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 virtual Hersteller Hersteller { get; set; }
///
///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 virtual string DatenLieferant { get; set; }
///
///The return code of the header.
///
[ApiMember(Description="The return code of the header.")]
public virtual RC RC { get; set; }
///
///The data extensions of the header.
///
[ApiMember(Description="The data extensions of the header.")]
public virtual Zusatz Zusatz { get; set; }
}
///
///Represents a portal certificate that is protected by a password.
///
[Api(Description="Represents a portal certificate that is protected by a password.")]
public partial class PortalCertificate
: FileBase, ISecuredCertificate, IHasIndex
{
public PortalCertificate()
{
Tags = new List{};
Content = new byte[]{};
}
///
///The unique identifier of the certificate.
///
[ApiMember(Description="The unique identifier of the certificate.")]
public virtual Guid Id { get; set; }
///
///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 virtual int Index { get; set; }
///
///The password to protect the certificate from unauthorized access.
///
[StringLength(255)]
[ApiMember(Description="The password to protect the certificate from unauthorized access.")]
public virtual string Pin { get; set; }
///
///The description of the certificate.
///
[StringLength(int.MaxValue)]
[ApiMember(Description="The description of the certificate.")]
public virtual string Description { get; set; }
///
///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 virtual List Tags { get; set; }
///
///Gets or sets the file name of the certificate.
///
[ApiMember(Description="Gets or sets the file name of the certificate.")]
public virtual string Name { get; set; }
///
///The raw data content of the file.
///
[ApiMember(Description="The raw data content of the file.", Name="Content")]
public virtual byte[] Content { get; set; }
}
///
///Represents an ERiC return code.
///
[Api(Description="Represents an ERiC return code.")]
public partial class RC
{
///
///The return value of the return code.
///
[ApiMember(Description="The return value of the return code.")]
public virtual Rueckgabe Rueckgabe { get; set; }
///
///The internal value of the return code.
///
[ApiMember(Description="The internal value of the return code.")]
public virtual Stack Stack { get; set; }
}
///
///Represents an external error stack.
///
[Api(Description="Represents an external error stack.")]
public partial 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 virtual string Code { get; set; }
///
///The external error message.
///
[ApiMember(Description="The external error message.")]
public virtual string Text { get; set; }
}
///
///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 partial class SemantischerIndex
{
///
///The name of the index field.
///
[ApiMember(Description="The name of the index field.")]
public virtual string Name { get; set; }
///
///The value of the index field.
///
[ApiMember(Description="The value of the index field.")]
public virtual string Value { get; set; }
}
///
///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 partial 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 virtual Object Inhalt { get; set; }
}
///
///Represents an internal error stack.
///
[Api(Description="Represents an internal error stack.")]
public partial 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 virtual string Code { get; set; }
///
///The external error message.
///
[ApiMember(Description="The external error message.")]
public virtual string Text { get; set; }
}
///
///Represents information on the delivery.
///
[Api(Description="Represents information on the delivery.")]
public partial class Transfer
{
///
///The ticket of the transfer.
///
[ApiMember(Description="The ticket of the transfer.")]
public virtual string TransferTicket { get; set; }
}
///
///Represents the transfer header part of an ELSTER document.
///
[Api(Description="Represents the transfer header part of an ELSTER document.")]
public partial class TransferHeader
{
///
///The version of the transfer header.
///
[ApiMember(Description="The version of the transfer header.", IsRequired=true)]
public virtual string Version { get; set; }
///
///The tax operation used in the ELSTER process.
///
[ApiMember(Description="The tax operation used in the ELSTER process.", IsRequired=true)]
public virtual Verfahren Verfahren { get; set; }
///
///The tax data type of the ELSTER process.
///
[ApiMember(Description="The tax data type of the ELSTER process.", IsRequired=true)]
public virtual Datenart DatenArt { get; set; }
///
///The authentification procedure of the ELSTER process.
///
[ApiMember(Description="The authentification procedure of the ELSTER process.", IsRequired=true)]
public virtual Vorgang Vorgang { get; set; }
///
///The ticket identifier after a successful ELSTER process.
///
[ApiMember(Description="The ticket identifier after a successful ELSTER process.")]
public virtual string TransferTicket { get; set; }
///
///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 virtual Testmerker? Testmerker { get; set; }
///
///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 virtual SigUser SigUser { get; set; }
///
///The receiving ELSTER server.
///
[ApiMember(Description="The receiving ELSTER server.")]
public virtual Empfaenger Empfaenger { get; set; }
///
///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 virtual string HerstellerID { get; set; }
///
///The details of the provider that submits tax data.
///
[ApiMember(Description="The details of the provider that submits tax data.", IsRequired=true)]
public virtual string DatenLieferant { get; set; }
///
///The date of receipt of the tax data.
///
[ApiMember(Description="The date of receipt of the tax data.")]
public virtual DateTime? EingangsDatum { get; set; }
///
///The encryption data required for authenticated transmission of tax data.
///
[ApiMember(Description="The encryption data required for authenticated transmission of tax data.")]
public virtual Datei Datei { get; set; }
///
///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 virtual RC RC { get; set; }
///
///The details of the software that submits the tax data.
///
[ApiMember(Description="The details of the software that submits the tax data.")]
public virtual string VersionClient { get; set; }
///
///Data extensions to the transfer header.
///
[ApiMember(Description="Data extensions to the transfer header.")]
public virtual Zusatz Zusatz { get; set; }
}
///
///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 partial class Transfers
{
public Transfers()
{
TransferList = new List{};
}
///
///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 virtual List TransferList { get; set; }
}
///
///Represents an ERiC extension.
///
[Api(Description="Represents an ERiC extension.")]
public partial class Zusatz
{
public Zusatz()
{
Infos = new List{};
ElsterInfos = new List{};
}
///
///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 virtual List Infos { get; set; }
///
///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 virtual List ElsterInfos { get; set; }
}
}
namespace PwC.xEric.Core.Domain.Contracts.Models
{
///
///Einheitliche Abkürzungen fuer die Bundesländer bzw. alternative Empfänger
///
public 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,
}
///
///Auflistung aller gültigen Datenarten.
///
public 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,
}
///
///Enumeration of ERiC API error codes.
///
public enum EricFehlerCode
{
ERIC_OK = 0,
ERIC_GLOBAL_UNKNOWN = 610001001,
ERIC_GLOBAL_PRUEF_FEHLER = 610001002,
ERIC_GLOBAL_HINWEISE = 610001003,
ERIC_GLOBAL_FEHLERMELDUNG_NICHT_VORHANDEN = 610001007,
ERIC_GLOBAL_KEINE_DATEN_VORHANDEN = 610001008,
ERIC_GLOBAL_NICHT_GENUEGEND_ARBEITSSPEICHER = 610001013,
ERIC_GLOBAL_DATEI_NICHT_GEFUNDEN = 610001014,
ERIC_GLOBAL_HERSTELLER_ID_NICHT_ERLAUBT = 610001016,
ERIC_GLOBAL_ILLEGAL_STATE = 610001017,
ERIC_GLOBAL_FUNKTION_NICHT_ERLAUBT = 610001018,
ERIC_GLOBAL_ECHTFALL_NICHT_ERLAUBT = 610001019,
ERIC_GLOBAL_NO_VERSAND_IN_BETA_VERSION = 610001020,
ERIC_GLOBAL_TESTMERKER_UNGUELTIG = 610001025,
ERIC_GLOBAL_DATENSATZ_ZU_GROSS = 610001026,
ERIC_GLOBAL_VERSCHLUESSELUNGS_PARAMETER_NICHT_ERLAUBT = 610001027,
ERIC_GLOBAL_NUR_PORTALZERTIFIKAT_ERLAUBT = 610001028,
ERIC_GLOBAL_ABRUFCODE_NICHT_ERLAUBT = 610001029,
ERIC_GLOBAL_ERROR_XML_CREATE = 610001030,
ERIC_GLOBAL_TEXTPUFFERGROESSE_FIX = 610001031,
ERIC_GLOBAL_INTERNER_FEHLER = 610001032,
ERIC_GLOBAL_ARITHMETIKFEHLER = 610001033,
ERIC_GLOBAL_STEUERNUMMER_UNGUELTIG = 610001034,
ERIC_GLOBAL_STEUERNUMMER_FALSCHE_LAENGE = 610001035,
ERIC_GLOBAL_STEUERNUMMER_NICHT_NUMERISCH = 610001036,
ERIC_GLOBAL_LANDESNUMMER_UNBEKANNT = 610001037,
ERIC_GLOBAL_BUFANR_UNBEKANNT = 610001038,
ERIC_GLOBAL_LANDESNUMMER_BUFANR = 610001039,
ERIC_GLOBAL_PUFFER_ZUGRIFFSKONFLIKT = 610001040,
ERIC_GLOBAL_PUFFER_UEBERLAUF = 610001041,
ERIC_GLOBAL_DATENARTVERSION_UNBEKANNT = 610001042,
ERIC_GLOBAL_DATENARTVERSION_XML_INKONSISTENT = 610001044,
ERIC_GLOBAL_COMMONDATA_NICHT_VERFUEGBAR = 610001045,
ERIC_GLOBAL_LOG_EXCEPTION = 610001046,
ERIC_GLOBAL_TRANSPORTSCHLUESSEL_NICHT_ERLAUBT = 610001047,
ERIC_GLOBAL_OEFFENTLICHER_SCHLUESSEL_UNGUELTIG = 610001048,
ERIC_GLOBAL_TRANSPORTSCHLUESSEL_TYP_FALSCH = 610001049,
ERIC_GLOBAL_PUFFER_UNGLEICHER_INSTANZ = 610001050,
ERIC_GLOBAL_VORSATZ_UNGUELTIG = 610001051,
ERIC_GLOBAL_DATEIZUGRIFF_VERWEIGERT = 610001053,
ERIC_GLOBAL_UNGUELTIGE_INSTANZ = 610001080,
ERIC_GLOBAL_NICHT_INITIALISIERT = 610001081,
ERIC_GLOBAL_MEHRFACHE_INITIALISIERUNG = 610001082,
ERIC_GLOBAL_FEHLER_INITIALISIERUNG = 610001083,
ERIC_GLOBAL_UNKNOWN_PARAMETER_ERROR = 610001102,
ERIC_GLOBAL_CHECK_CORRUPTED_NDS = 610001108,
ERIC_GLOBAL_VERSCHLUESSELUNGS_PARAMETER_NICHT_ANGEGEBEN = 610001206,
ERIC_GLOBAL_SEND_FLAG_MEHR_ALS_EINES = 610001209,
ERIC_GLOBAL_UNGUELTIGE_FLAG_KOMBINATION = 610001218,
ERIC_GLOBAL_ERSTE_SEITE_DRUCK_NICHT_UNTERSTUETZT = 610001220,
ERIC_GLOBAL_UNGUELTIGER_PARAMETER = 610001222,
ERIC_GLOBAL_DRUCK_FUER_VERFAHREN_NICHT_ERLAUBT = 610001224,
ERIC_GLOBAL_VERSAND_ART_NICHT_UNTERSTUETZT = 610001225,
ERIC_GLOBAL_UNGUELTIGE_PARAMETER_VERSION = 610001226,
ERIC_GLOBAL_TRANSFERHANDLE = 610001227,
ERIC_GLOBAL_PLUGININITIALISIERUNG = 610001228,
ERIC_GLOBAL_INKOMPATIBLE_VERSIONEN = 610001229,
ERIC_GLOBAL_VERSCHLUESSELUNGSVERFAHREN_NICHT_UNTERSTUETZT = 610001230,
ERIC_GLOBAL_MEHRFACHAUFRUFE_NICHT_UNTERSTUETZT = 610001231,
ERIC_GLOBAL_UTI_COUNTRY_NOT_SUPPORTED = 610001404,
ERIC_GLOBAL_IBAN_FORMALER_FEHLER = 610001501,
ERIC_GLOBAL_IBAN_LAENDERCODE_FEHLER = 610001502,
ERIC_GLOBAL_IBAN_LANDESFORMAT_FEHLER = 610001503,
ERIC_GLOBAL_IBAN_PRUEFZIFFER_FEHLER = 610001504,
ERIC_GLOBAL_BIC_FORMALER_FEHLER = 610001510,
ERIC_GLOBAL_BIC_LAENDERCODE_FEHLER = 610001511,
ERIC_GLOBAL_ZULASSUNGSNUMMER_ZU_LANG = 610001519,
ERIC_GLOBAL_IDNUMMER_UNGUELTIG = 610001525,
ERIC_GLOBAL_NULL_PARAMETER = 610001526,
ERIC_GLOBAL_EWAZ_UNGUELTIG = 610001527,
ERIC_GLOBAL_EWAZ_LANDESKUERZEL_UNBEKANNT = 610001528,
ERIC_GLOBAL_UPDATE_NECESSARY = 610001851,
ERIC_GLOBAL_EINSTELLUNG_NAME_UNGUELTIG = 610001860,
ERIC_GLOBAL_EINSTELLUNG_WERT_UNGUELTIG = 610001861,
ERIC_GLOBAL_ERR_DEKODIEREN = 610001862,
ERIC_GLOBAL_FUNKTION_NICHT_UNTERSTUETZT = 610001863,
ERIC_GLOBAL_NUTZDATENTICKETS_NICHT_EINDEUTIG = 610001865,
ERIC_GLOBAL_NUTZDATENHEADERVERSIONEN_UNEINHEITLICH = 610001866,
ERIC_GLOBAL_BUNDESLAENDER_UNEINHEITLICH = 610001867,
ERIC_GLOBAL_ZEITRAEUME_UNEINHEITLICH = 610001868,
ERIC_GLOBAL_NUTZDATENHEADER_EMPFAENGER_NICHT_KORREKT = 610001869,
ERIC_TRANSFER_COM_ERROR = 610101200,
ERIC_TRANSFER_VORGANG_NICHT_UNTERSTUETZT = 610101201,
ERIC_TRANSFER_ERR_XML_THEADER = 610101210,
ERIC_TRANSFER_ERR_PARAM = 610101251,
ERIC_TRANSFER_ERR_DATENTEILENDNOTFOUND = 610101253,
ERIC_TRANSFER_ERR_BEGINDATENLIEFERANT = 610101255,
ERIC_TRANSFER_ERR_ENDDATENLIEFERANT = 610101256,
ERIC_TRANSFER_ERR_BEGINTRANSPORTSCHLUESSEL = 610101257,
ERIC_TRANSFER_ERR_ENDTRANSPORTSCHLUESSEL = 610101258,
ERIC_TRANSFER_ERR_BEGINDATENGROESSE = 610101259,
ERIC_TRANSFER_ERR_ENDDATENGROESSE = 610101260,
ERIC_TRANSFER_ERR_SEND = 610101271,
ERIC_TRANSFER_ERR_NOTENCRYPTED = 610101274,
ERIC_TRANSFER_ERR_PROXYCONNECT = 610101276,
ERIC_TRANSFER_ERR_CONNECTSERVER = 610101278,
ERIC_TRANSFER_ERR_NORESPONSE = 610101279,
ERIC_TRANSFER_ERR_PROXYAUTH = 610101280,
ERIC_TRANSFER_ERR_SEND_INIT = 610101282,
ERIC_TRANSFER_ERR_TIMEOUT = 610101283,
ERIC_TRANSFER_ERR_PROXYPORT_INVALID = 610101284,
ERIC_TRANSFER_ERR_OTHER = 610101291,
ERIC_TRANSFER_ERR_XML_NHEADER = 610101292,
ERIC_TRANSFER_ERR_XML_ENCODING = 610101293,
ERIC_TRANSFER_ERR_ENDSIGUSER = 610101294,
ERIC_TRANSFER_ERR_XMLTAG_NICHT_GEFUNDEN = 610101295,
ERIC_TRANSFER_ERR_DATENTEILFEHLER = 610101297,
ERIC_TRANSFER_EID_ZERTIFIKATFEHLER = 610101500,
ERIC_TRANSFER_EID_KEINKONTO = 610101510,
ERIC_TRANSFER_EID_IDNRNICHTEINDEUTIG = 610101511,
ERIC_TRANSFER_EID_SERVERFEHLER = 610101512,
ERIC_TRANSFER_EID_KEINCLIENT = 610101520,
ERIC_TRANSFER_EID_CLIENTFEHLER = 610101521,
ERIC_TRANSFER_EID_FEHLENDEFELDER = 610101522,
ERIC_TRANSFER_EID_IDENTIFIKATIONABGEBROCHEN = 610101523,
ERIC_TRANSFER_EID_NPABLOCKIERT = 610101524,
ERIC_CRYPT_ERROR_CREATE_KEY = 610201016,
ERIC_CRYPT_E_INVALID_HANDLE = 610201101,
ERIC_CRYPT_E_MAX_SESSION = 610201102,
ERIC_CRYPT_E_BUSY = 610201103,
ERIC_CRYPT_E_OUT_OF_MEM = 610201104,
ERIC_CRYPT_E_PSE_PATH = 610201105,
ERIC_CRYPT_E_PIN_WRONG = 610201106,
ERIC_CRYPT_E_PIN_LOCKED = 610201107,
ERIC_CRYPT_E_P7_READ = 610201108,
ERIC_CRYPT_E_P7_DECODE = 610201109,
ERIC_CRYPT_E_P7_RECIPIENT = 610201110,
ERIC_CRYPT_E_P12_READ = 610201111,
ERIC_CRYPT_E_P12_DECODE = 610201112,
ERIC_CRYPT_E_P12_SIG_KEY = 610201113,
ERIC_CRYPT_E_P12_ENC_KEY = 610201114,
ERIC_CRYPT_E_P11_SIG_KEY = 610201115,
ERIC_CRYPT_E_P11_ENC_KEY = 610201116,
ERIC_CRYPT_E_XML_PARSE = 610201117,
ERIC_CRYPT_E_XML_SIG_ADD = 610201118,
ERIC_CRYPT_E_XML_SIG_TAG = 610201119,
ERIC_CRYPT_E_XML_SIG_SIGN = 610201120,
ERIC_CRYPT_E_ENCODE_UNKNOWN = 610201121,
ERIC_CRYPT_E_ENCODE_ERROR = 610201122,
ERIC_CRYPT_E_XML_INIT = 610201123,
ERIC_CRYPT_E_ENCRYPT = 610201124,
ERIC_CRYPT_E_DECRYPT = 610201125,
ERIC_CRYPT_E_P11_SLOT_EMPTY = 610201126,
ERIC_CRYPT_E_NO_SIG_ENC_KEY = 610201127,
ERIC_CRYPT_E_LOAD_DLL = 610201128,
ERIC_CRYPT_E_NO_SERVICE = 610201129,
ERIC_CRYPT_E_ESICL_EXCEPTION = 610201130,
ERIC_CRYPT_E_TOKEN_TYPE_MISMATCH = 610201144,
ERIC_CRYPT_E_P12_CREATE = 610201146,
ERIC_CRYPT_E_VERIFY_CERT_CHAIN = 610201147,
ERIC_CRYPT_E_P11_ENGINE_LOADED = 610201148,
ERIC_CRYPT_E_USER_CANCEL = 610201149,
ERIC_CRYPT_ZERTIFIKAT = 610201200,
ERIC_CRYPT_SIGNATUR = 610201201,
ERIC_CRYPT_NICHT_UNTERSTUETZTES_PSE_FORMAT = 610201203,
ERIC_CRYPT_PIN_BENOETIGT = 610201205,
ERIC_CRYPT_PIN_STAERKE_NICHT_AUSREICHEND = 610201206,
ERIC_CRYPT_E_INTERN = 610201208,
ERIC_CRYPT_ZERTIFIKATSPFAD_KEIN_VERZEICHNIS = 610201209,
ERIC_CRYPT_ZERTIFIKATSDATEI_EXISTIERT_BEREITS = 610201210,
ERIC_CRYPT_PIN_ENTHAELT_UNGUELTIGE_ZEICHEN = 610201211,
ERIC_CRYPT_E_INVALID_PARAM_ABC = 610201212,
ERIC_CRYPT_CORRUPTED = 610201213,
ERIC_CRYPT_EIDKARTE_NICHT_UNTERSTUETZT = 610201214,
ERIC_CRYPT_E_SC_SLOT_EMPTY = 610201215,
ERIC_CRYPT_E_SC_NO_APPLET = 610201216,
ERIC_CRYPT_E_SC_SESSION = 610201217,
ERIC_CRYPT_E_P11_NO_SIG_CERT = 610201218,
ERIC_CRYPT_E_P11_INIT_FAILED = 610201219,
ERIC_CRYPT_E_P11_NO_ENC_CERT = 610201220,
ERIC_CRYPT_E_P12_NO_SIG_CERT = 610201221,
ERIC_CRYPT_E_P12_NO_ENC_CERT = 610201222,
ERIC_CRYPT_E_SC_ENC_KEY = 610201223,
ERIC_CRYPT_E_SC_NO_SIG_CERT = 610201224,
ERIC_CRYPT_E_SC_NO_ENC_CERT = 610201225,
ERIC_CRYPT_E_SC_INIT_FAILED = 610201226,
ERIC_CRYPT_E_SC_SIG_KEY = 610201227,
ERIC_IO_FEHLER = 610301001,
ERIC_IO_DATEI_INKORREKT = 610301005,
ERIC_IO_PARSE_FEHLER = 610301006,
ERIC_IO_NDS_GENERIERUNG_FEHLGESCHLAGEN = 610301007,
ERIC_IO_MASTERDATENSERVICE_NICHT_VERFUEGBAR = 610301010,
ERIC_IO_STEUERZEICHEN_IM_NDS = 610301014,
ERIC_IO_VERSIONSINFORMATIONEN_NICHT_GEFUNDEN = 610301031,
ERIC_IO_FALSCHES_VERFAHREN = 610301104,
ERIC_IO_READER_MEHRFACHE_STEUERFAELLE = 610301105,
ERIC_IO_READER_UNERWARTETE_ELEMENTE = 610301106,
ERIC_IO_READER_FORMALE_FEHLER = 610301107,
ERIC_IO_READER_FALSCHES_ENCODING = 610301108,
ERIC_IO_READER_MEHRFACHE_NUTZDATEN_ELEMENTE = 610301109,
ERIC_IO_READER_MEHRFACHE_NUTZDATENBLOCK_ELEMENTE = 610301110,
ERIC_IO_UNBEKANNTE_DATENART = 610301111,
ERIC_IO_READER_UNTERSACHBEREICH_UNGUELTIG = 610301114,
ERIC_IO_READER_ZU_VIELE_NUTZDATENBLOCK_ELEMENTE = 610301115,
ERIC_IO_READER_STEUERZEICHEN_IM_TRANSFERHEADER = 610301150,
ERIC_IO_READER_STEUERZEICHEN_IM_NUTZDATENHEADER = 610301151,
ERIC_IO_READER_STEUERZEICHEN_IN_DEN_NUTZDATEN = 610301152,
ERIC_IO_READER_ZU_VIELE_ANHAENGE = 610301190,
ERIC_IO_READER_ANHANG_ZU_GROSS = 610301191,
ERIC_IO_READER_ANHAENGE_ZU_GROSS = 610301192,
ERIC_IO_READER_SCHEMA_VALIDIERUNGSFEHLER = 610301200,
ERIC_IO_READER_UNBEKANNTE_XML_ENTITY = 610301201,
ERIC_IO_DATENTEILNOTFOUND = 610301252,
ERIC_IO_DATENTEILENDNOTFOUND = 610301253,
ERIC_IO_UEBERGABEPARAMETER_FEHLERHAFT = 610301300,
ERIC_IO_UNGUELTIGE_UTF8_SEQUENZ = 610301400,
ERIC_IO_UNGUELTIGE_ZEICHEN_IN_PARAMETER = 610301401,
ERIC_PRINT_INTERNER_FEHLER = 610501001,
ERIC_PRINT_DRUCKVORLAGE_NICHT_GEFUNDEN = 610501002,
ERIC_PRINT_UNGUELTIGER_DATEI_PFAD = 610501004,
ERIC_PRINT_INITIALISIERUNG_FEHLERHAFT = 610501007,
ERIC_PRINT_AUSGABEZIEL_UNBEKANNT = 610501008,
ERIC_PRINT_ABBRUCH_DRUCKVORBEREITUNG = 610501009,
ERIC_PRINT_ABBRUCH_GENERIERUNG = 610501010,
ERIC_PRINT_STEUERFALL_NICHT_UNTERSTUETZT = 610501011,
ERIC_PRINT_FUSSTEXT_ZU_LANG = 610501012,
}
public partial interface IHasIndex
{
int Index { get; set; }
}
public partial interface ISecuredCertificate
{
string Pin { get; set; }
}
///
///Mit welcher Kompression wurden die Inhalte von den Elementen DatenLieferant und ggf. SigUser im TransferHeader und dem Element DatenTeil komprimiert.
///
public enum Kompression
{
GZIP,
NO_BASE64,
}
///
///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 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,
}
///
///Auflistung der gültigen Verfahren
///
public enum Verfahren
{
ElsterAnmeldung,
ElsterBereitstellung,
ElsterBilanz,
ElsterBRM,
ElsterBRMOrg,
ElsterDatenabholung,
ElsterErklaerung,
ElsterExtern,
ElsterFSE,
ElsterKapESt,
ElsterKMV,
ElsterKontoabfrage,
ElsterLavendel,
ElsterLohn,
ElsterLohn2,
ElsterNachricht,
ElsterSignatur,
ElsterVollmachtDB,
}
///
///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 enum Verschluesselungsart
{
PKCS_7v1_5,
PKCS_7v1_5enveloped,
NO_BASE64,
CMSEncryptedData,
CMSEnvelopedData,
EnvelopedData__RSA_OAEP__AES_128__GZip__B64,
}
///
///Hauptinformation ob die Daten authentifiziert wurden (send-Auth) oder nicht (send-NoSig)
///
public enum Vorgang
{
Send_Auth,
Send_Auth_Part,
Send_NoSig,
Send_NoSig_Part,
}
}
namespace PwC.xEric.Core.Services.Contracts.Datenabholungen.Requests
{
///
///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 partial class PhaseRequestBase
: ISendeRequest, IVeschlueselungsRequest
{
///
///The authentification certificate.
///
[ApiMember(Description="The authentification certificate.", IsRequired=true, Name="Zertifikat")]
public virtual PortalCertificate Zertifikat { get; set; }
///
///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 virtual string AbrufCode { get; set; }
///
///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 virtual string DatenLieferant { get; set; }
}
}
namespace PwC.xEric.Core.Services.Contracts.Datenabholungen.Requests.Anfragen
{
///
///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 partial class AnfrageRequestBase
: PhaseRequestBase, IPost
{
///
///The authentification certificate.
///
[ApiMember(Description="The authentification certificate.", IsRequired=true, Name="Zertifikat")]
public virtual PortalCertificate Zertifikat { get; set; }
///
///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 virtual string AbrufCode { get; set; }
///
///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 virtual string DatenLieferant { get; set; }
}
///
///Specifies the base service request to retrive a list of available records. Applicable for data retrieval operations v17.
///
[Api(Description="Specifies the base service request to retrive a list of available records. Applicable for data retrieval operations v17.")]
public partial class AnfrageRequestBase17
: AnfrageRequestBase
{
///
///The authentification certificate.
///
[ApiMember(Description="The authentification certificate.", IsRequired=true, Name="Zertifikat")]
public virtual PortalCertificate Zertifikat { get; set; }
///
///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 virtual string AbrufCode { get; set; }
///
///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 virtual string DatenLieferant { get; set; }
}
///
///Specifies the base search criteria for the retrieval of data records via a list of available data IDs.
///
[Api(Description="Specifies the base search criteria for the retrieval of data records via a list of available data IDs.")]
public partial class AnfrageSuchkriterienBase
{
///
///The maximum number of data IDs to return.
///
[ApiMember(Description="The maximum number of data IDs to return.")]
public virtual int? Max { get; set; }
}
///
///A synchronous service to retrieve a list of available data and return a list of available IDs (internal database IDs) that represent tax statements for payroll tax statements.
///
[Route("/datenabholungen/anfragen/17/ElsterLohnDaten", "POST")]
[Api(Description="A synchronous service to retrieve a list of available data and return a list of available IDs (internal database IDs) that represent tax statements for payroll tax statements.")]
public partial class ElsterLohnDatenAnfrageRequest17
: ElsterLohnDatenAnfrageRequestBase17, IReturn
{
public ElsterLohnDatenAnfrageRequest17()
{
Suchkriterien = new List{};
}
///
///The search criteria of the service request.
///
[ApiMember(Description="The search criteria of the service request.")]
public virtual List Suchkriterien { get; set; }
///
///The authentification certificate.
///
[ApiMember(Description="The authentification certificate.", IsRequired=true, Name="Zertifikat")]
public virtual PortalCertificate Zertifikat { get; set; }
///
///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 virtual string AbrufCode { get; set; }
///
///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 virtual string DatenLieferant { get; set; }
}
///
///Specifies the base service request to retrieve a list of available data and return a list of available IDs (internal database IDs) that represent tax statements for payroll tax statements.
///
[Api(Description="Specifies the base service request to retrieve a list of available data and return a list of available IDs (internal database IDs) that represent tax statements for payroll tax statements.")]
public partial class ElsterLohnDatenAnfrageRequestBase17
: AnfrageRequestBase17
{
public ElsterLohnDatenAnfrageRequestBase17()
{
Suchkriterien = new List{};
}
///
///The search criteria of the service request.
///
[ApiMember(Description="The search criteria of the service request.")]
public virtual List Suchkriterien { get; set; }
///
///The authentification certificate.
///
[ApiMember(Description="The authentification certificate.", IsRequired=true, Name="Zertifikat")]
public virtual PortalCertificate Zertifikat { get; set; }
///
///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 virtual string AbrufCode { get; set; }
///
///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 virtual string DatenLieferant { get; set; }
}
///
///Represents search criteria for ID list requests of the 'ElsterLohnDaten' tax type.
///
[Api(Description="Represents search criteria for ID list requests of the 'ElsterLohnDaten' tax type.")]
public partial class ElsterLohnDatenAnfrageSuchkriterien
: AnfrageSuchkriterienBase
{
///
///The type of data records should be retrieved.'neue': Only data records, for which there was no acknowledgement of receipt. 'alle': All data records
///
[ApiMember(Description="The type of data records should be retrieved.'neue': Only data records, for which there was no acknowledgement of receipt. 'alle': All data records")]
public virtual Einschraenkung Einschraenkung { get; set; }
///
///Schema version in which the data record is present.
///
[ApiMember(Description="Schema version in which the data record is present.")]
public virtual int? Schemaversion { get; set; }
///
///The transfer ticket from the submission of a tax return
///
[ApiMember(Description="The transfer ticket from the submission of a tax return")]
public virtual string Lieferticket { get; set; }
///
///The maximum number of data IDs to return.
///
[ApiMember(Description="The maximum number of data IDs to return.")]
public virtual int? Max { get; set; }
}
}
namespace PwC.xEric.Core.Services.Contracts.Datenabholungen.Responses
{
///
///Represents a server response that encapsulates available data IDs retrieved during a request for meta information.
///
[Api(Description="Represents a server response that encapsulates available data IDs retrieved during a request for meta information.")]
public partial class AnfrageResponse17
: PhaseResponseBase
{
public AnfrageResponse17()
{
Anfragen = new List{};
}
///
///The list of requested available IDs (internal database IDs).
///
[ApiMember(Description="The list of requested available IDs (internal database IDs).")]
public virtual List Anfragen { get; set; }
///
///The return value of the ELSTER data retrieval process.
///
[ApiMember(Description="The return value of the ELSTER data retrieval process.", Name="Rueckgabe")]
public virtual EricBearbeiteVorgang Rueckgabe { get; set; }
///
///The server response of the ELSTER data retrieval process.
///
[ApiMember(Description="The server response of the ELSTER data retrieval process.", Name="Serverantwort")]
public virtual Elster Serverantwort { get; set; }
///
///The status code that the ERiC API function returns.
///
[ApiMember(Description="The status code that the ERiC API function returns.", Name="StatusCode")]
public virtual EricFehlerCode StatusCode { get; set; }
///
///The status message that the ERiC API function returns.
///
[ApiMember(Description="The status message that the ERiC API function returns.", Name="StatusText")]
public virtual string StatusText { get; set; }
///
///The unique identifier of the response.
///
[ApiMember(Description="The unique identifier of the response.", Name="Id")]
public virtual string Id { get; set; }
///
///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 virtual int Index { get; set; }
///
///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 virtual ResponseStatus ResponseStatus { get; set; }
}
///
///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.")]
public partial 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")]
public virtual EricBearbeiteVorgang Rueckgabe { get; set; }
///
///The server response of the ELSTER data retrieval process.
///
[ApiMember(Description="The server response of the ELSTER data retrieval process.", Name="Serverantwort")]
public virtual Elster Serverantwort { get; set; }
///
///The status code that the ERiC API function returns.
///
[ApiMember(Description="The status code that the ERiC API function returns.", Name="StatusCode")]
public virtual EricFehlerCode StatusCode { get; set; }
///
///The status message that the ERiC API function returns.
///
[ApiMember(Description="The status message that the ERiC API function returns.", Name="StatusText")]
public virtual string StatusText { get; set; }
///
///The unique identifier of the response.
///
[ApiMember(Description="The unique identifier of the response.", Name="Id")]
public virtual string Id { get; set; }
///
///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 virtual int Index { get; set; }
///
///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 virtual ResponseStatus ResponseStatus { get; set; }
}
}
namespace PwC.xEric.Core.Services.Contracts.Requests
{
public partial interface ISendeRequest
{
string DatenLieferant { get; set; }
}
public partial interface IVeschlueselungsRequest
{
PortalCertificate Zertifikat { get; set; }
}
}
namespace PwC.xEric.Core.Services.Contracts.Responses
{
///
///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 partial 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")]
public virtual EricFehlerCode StatusCode { get; set; }
///
///The status message that the ERiC API function returns.
///
[ApiMember(Description="The status message that the ERiC API function returns.", Name="StatusText")]
public virtual string StatusText { get; set; }
///
///The unique identifier of the response.
///
[ApiMember(Description="The unique identifier of the response.", Name="Id")]
public virtual string Id { get; set; }
///
///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 virtual int Index { get; set; }
///
///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 virtual ResponseStatus ResponseStatus { get; set; }
}
///
///Specifies a service response from an ERiC service operation.
///
[Api(Description="Specifies a service response from an ERiC service operation.")]
public partial class ServiceReponseBase
: IHasIndex
{
///
///The unique identifier of the response.
///
[ApiMember(Description="The unique identifier of the response.", Name="Id")]
public virtual string Id { get; set; }
///
///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 virtual int Index { get; set; }
///
///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 virtual ResponseStatus ResponseStatus { get; set; }
}
}