' Options:
'Date: 2024-11-21 13:55:18
'Version: 8.12
'Tip: To override a DTO option, remove "''" prefix before updating
'BaseUrl: https://taxfiling.pwc.de
'
'''GlobalNamespace:
'''MakePartial: True
'''MakeVirtual: True
'''MakeDataContractsExtensible: False
'''AddReturnMarker: True
'''AddDescriptionAsComments: True
'''AddDataContractAttributes: False
'''AddIndexesToDataMembers: False
'''AddGeneratedCodeAttributes: False
'''AddResponseStatus: False
'''AddImplicitVersion:
'''InitializeCollections: True
'''ExportValueTypes: False
'IncludeTypes: ValidiereAuthentifiziereSendeUndDrucke.*
'''ExcludeTypes:
'''AddNamespaces:
'''AddDefaultXmlNamespace: http://schemas.servicestack.net/types
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports System.Net
Imports PwC.xEric.Core.Domain.Concretes.Models
Imports PwC.xEric.Core.Services.Contracts.Requests
Imports PwC.xEric.Core.Domain.Contracts.Models
Imports PwC.xEric.Core.Services.Contracts.Responses
Imports PwC.DigitalHub.Utilities.IO.Concretes.Models
Imports PwC.DigitalHub.Utilities.IO.Core.Contracts.Models
Imports PwC.DigitalHub.Utilities.IO.Core.Concretes.Models
Namespace Global
Namespace PwC.DigitalHub.Utilities.IO.Concretes.Models
'''
'''Represents a file that contains raw data content in bytes
'''
Public Partial Class BinaryFile
Inherits FileBase
Public Sub New()
Content = New Byte(){}
End Sub
'''
'''The attributes of the file.
'''
Public Overridable Property Metadata As FileMetadata
'''
'''The name of the file without information on its directory path.
'''
Public Overridable Property Name As String
'''
'''The raw data content of the file.
'''
Public Overridable Property Content As Byte()
End Class
End Namespace
Namespace PwC.DigitalHub.Utilities.IO.Core.Concretes.Models
'''
'''Represents information about a file or directory.
'''
Public Partial Class FileMetadata
Implements IFileMetadata
Public Sub New()
Extensions = New Dictionary(Of String, String)
End Sub
'''
'''The name of the file.For files, gets the name of the file.For directories, gets the name of the last directory in the hierarchy if a hierarchy exists; otherwise, the name of the directory.
'''
Public Overridable Property Name As String
'''
'''The full path of the directory or file.
'''
Public Overridable Property FullName As String
'''
'''The time the current file or directory was last accessed.
'''
Public Overridable Property LastAccessTime As Date
'''
'''The name of the file.
'''
Public Overridable Property LastAccessTimeUtc As Date
'''
'''The time when the current file or directory was last written to.
'''
Public Overridable Property LastWriteTime As Date
'''
'''The time, in coordinated universal time (UTC), when the current file or directory was last written to.
'''
Public Overridable Property LastWriteTimeUtc As Date
'''
'''The size, in bytes, of the current file.
'''
Public Overridable Property Length As Long
'''
'''The size, in bytes, of the current file.
'''
Public Overridable Property UserId As Integer
'''
'''The file group id.
'''
Public Overridable Property GroupId As Integer
'''
'''A value that indicates whether the others can read from this file.
'''
Public Overridable Property OthersCanRead As Boolean
'''
'''A value that indicates whether the group members can execute this file.
'''
Public Overridable Property GroupCanExecute As Boolean
'''
'''A value that indicates whether the group members can write into this file.
'''
Public Overridable Property GroupCanWrite As Boolean
'''
'''A value that indicates whether the group members can read from this file.
'''
Public Overridable Property GroupCanRead As Boolean
'''
'''A value that indicates whether the owner can execute this file.
'''
Public Overridable Property OwnerCanExecute As Boolean
'''
'''A value that indicates whether the owner can write into this file.
'''
Public Overridable Property OwnerCanWrite As Boolean
'''
'''A value that indicates whether the owner can read from this file.
'''
Public Overridable Property OwnerCanRead As Boolean
'''
'''A value that indicates whether others can read from this file.
'''
Public Overridable Property OthersCanExecute As Boolean
'''
'''A value that indicates whether others can write into this file.
'''
Public Overridable Property OthersCanWrite As Boolean
'''
'''Extensions to the file attributes.
'''
Public Overridable Property Extensions As Dictionary(Of String, String)
End Class
End Namespace
Namespace PwC.DigitalHub.Utilities.IO.Core.Contracts.Models
'''
'''Represents a base class for a file with raw data.
'''
Public Partial Class FileBase
Public Sub New()
Content = New Byte(){}
End Sub
'''
'''The raw data content of the file.
'''
Public Overridable Property Content As Byte()
End Class
Public Interface IFileMetadata
Property Name As String
Property FullName As String
Property LastAccessTime As Date
Property LastAccessTimeUtc As Date
Property LastWriteTime As Date
Property LastWriteTimeUtc As Date
Property Length As Long
Property UserId As Integer
Property GroupId As Integer
Property GroupCanExecute As Boolean
Property GroupCanWrite As Boolean
Property GroupCanRead As Boolean
Property OwnerCanRead As Boolean
Property OwnerCanExecute As Boolean
Property OwnerCanWrite As Boolean
Property OthersCanRead As Boolean
Property OthersCanExecute As Boolean
Property OthersCanWrite As Boolean
Property Extensions As Dictionary(Of String, String)
End Interface
End Namespace
Namespace PwC.xEric.Core.Domain.Concretes.Models
'''
'''Represents information on the encryption of tax data.
'''
Public Partial Class Datei
'''
'''The type of data encryption used.
'''
Public Overridable Property Verschluesselung As Verschluesselungsart
'''
'''The type of data compression used.
'''
Public Overridable Property Kompression As Kompression
'''
'''The transport key used in the encryption.
'''
Public Overridable Property TransportSchluessel As String
'''
'''[Documentation unavailable]
'''
Public Overridable Property Erstellung As Erstellung
End Class
'''
'''Represents the data part of an ELSTER document.
'''
Public Partial Class DatenTeil
Public Sub New()
Nutzdatenbloecke = New List(Of Nutzdatenblock)
End Sub
'''
'''The blocks of tax data of the ELSTER document.
'''
Public Overridable Property Nutzdatenbloecke As List(Of Nutzdatenblock)
End Class
'''
'''Represents an ELSTER document.
'''
Public Partial Class Elster
'''
'''The transfer header part of the ELSTER document.
'''
Public Overridable Property TransferHeader As TransferHeader
'''
'''The data (facts) part of the ELSTER document.
'''
Public Overridable Property DatenTeil As DatenTeil
End Class
'''
'''Represents a receiver of tax data.
'''
Public Partial Class Empfaenger
'''
'''The identifier of the receiver.
'''
Public Overridable Property Id As String
'''
'''The destination of the receiver.
'''
Public Overridable Property Ziel As Nullable(Of Bundesland)
End Class
'''
'''Represents a receriver ID
'''
Public Enum EmpfaengerID
L
F
End Enum
'''
'''Represents information returned from a successful tax declaration process.
'''
Public Partial Class Erfolg
Public Sub New()
Telenummer = New List(Of String)
Ordnungsbegriffe = New List(Of String)
End Sub
'''
'''The generated tele-number for the successful tax declaration process.
'''
Public Overridable Property Telenummer As List(Of String)
'''
'''The classification key for the successful tax declaration process.
'''
Public Overridable Property Ordnungsbegriffe As List(Of String)
End Class
'''
'''Represents a structure that contains the first output of the ERiC tax data submission process.
'''
Public Partial Class EricBearbeiteVorgang
Public Sub New()
FehlerRegelpruefungen = New List(Of FehlerRegelpruefung)
Hinweise = New List(Of Hinweis)
End Sub
'''
'''Information from the successful processing a tax declaration.
'''
Public Overridable Property Erfolg As Erfolg
'''
'''Gets or sets information on all data deliveries, including deliveries that have not been confirmed by the server.
'''
Public Overridable Property Transfers As Transfers
'''
'''Error rules that result from the processing of a tax declaration.
'''
Public Overridable Property FehlerRegelpruefungen As List(Of FehlerRegelpruefung)
'''
'''Hints that result the processing of a tax declaration.
'''
Public Overridable Property Hinweise As List(Of Hinweis)
End Class
'''
'''[Documentation unavailable]
'''
Public Partial Class EricTyp
'''
'''The content of the data. Currently supported: Raw XML (text), XmlElement, XElement or IXmlSerializable
'''
Public Overridable Property Inhalt As Object
End Class
'''
'''[Documentation unavailable]
'''
Public Partial Class Erstellung
'''
'''[Documentation unavailable]
'''
Public Overridable Property Eric As EricTyp
End Class
'''
'''Represents information on an ERiC reference.
'''
Public Partial Class FehlerRegelpruefung
Public Sub New()
SemantischeIndexes = New List(Of SemantischerIndex)
End Sub
'''
'''The user data ticket of the reference.
'''
Public Overridable Property Nutzdatenticket As String
'''
'''The field identifier of the reference.
'''
Public Overridable Property Feldidentifikator As String
'''
'''The multi-line index of the reference.
'''
Public Overridable Property Mehrfachzeilenindex As String
'''
'''The delivery number form of the reference.
'''
Public Overridable Property LfdNrVordruck As String
'''
'''Indicates the line number of the error field mentioned in the form.
'''
Public Overridable Property VordruckZeilennummer As String
'''
'''Specifies the value of one or more index fields that identify the context of error messages.
'''
Public Overridable Property SemantischeIndexes As List(Of SemantischerIndex)
'''
'''The sub-subject-area of the reference.
'''
Public Overridable Property Untersachbereich As String
'''
'''The private identification number of the reference.
'''
Public Overridable Property PrivateKennnummer As String
'''
'''The name of the rule that applies to the reference.
'''
Public Overridable Property RegelName As String
'''
'''The technical error identifier of the reference.
'''
Public Overridable Property FachlicheFehlerId As String
'''
'''The textual details of the reference.
'''
Public Overridable Property Text As String
End Class
'''
'''Represents a manufacturer/vendor of tax software.
'''
Public Partial Class Hersteller
'''
'''The product name of the tax software produced by the manufacturer.
'''
Public Overridable Property ProduktName As String
'''
'''The product version of the tax software produced by the manufacturer.
'''
Public Overridable Property ProduktVersion As String
End Class
Public Partial Class Hinweis
Public Sub New()
SemantischeIndexes = New List(Of SemantischerIndex)
End Sub
'''
'''The user data ticket of the reference.
'''
Public Overridable Property Nutzdatenticket As String
'''
'''The field identifier of the reference.
'''
Public Overridable Property Feldidentifikator As String
'''
'''The multi-line index of the reference.
'''
Public Overridable Property Mehrfachzeilenindex As String
'''
'''The delivery number form of the reference.
'''
Public Overridable Property LfdNrVordruck As String
'''
'''Indicates the line number of the error field mentioned in the form.
'''
Public Overridable Property VordruckZeilennummer As String
'''
'''Specifies the value of one or more index fields that identify the context of error messages.
'''
Public Overridable Property SemantischeIndexes As List(Of SemantischerIndex)
'''
'''The sub-subject-area of the reference.
'''
Public Overridable Property Untersachbereich As String
'''
'''The private identification number of the reference.
'''
Public Overridable Property PrivateKennnummer As String
'''
'''The name of the rule that applies to the reference.
'''
Public Overridable Property RegelName As String
'''
'''The technical note identifier of the reference.
'''
Public Overridable Property FachlicheHinweisId As String
'''
'''The textual details of the reference.
'''
Public Overridable Property Text As String
End Class
'''
'''Represents a receiver of tax data.
'''
Public Partial Class NDHEmpfaenger
'''
'''The identifier of the receiver.
'''
Public Overridable Property Id As EmpfaengerID
'''
'''The value of the receiver.
'''
Public Overridable Property Value As String
End Class
'''
'''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
'''
Public Overridable Property Inhalt As Object
End Class
'''
'''Represents a block of tax data.
'''
Public Partial Class Nutzdatenblock
'''
'''The header part of the block.
'''
Public Overridable Property NutzdatenHeader As NutzdatenHeader
'''
'''The data part of the block.
'''
Public Overridable Property Nutzdaten As Nutzdaten
End Class
'''
'''Represents the header of a tax data.
'''
Public Partial Class NutzdatenHeader
'''
'''The version of the header.
'''
Public Overridable Property Version As String
'''
'''The ticket identifier of the header.
'''
Public Overridable Property NutzdatenTicket As String
'''
'''The receiver of the header.
'''
Public Overridable Property Empfaenger As NDHEmpfaenger
'''
'''The software manufacturer, through whose software the tax declaration or filing is submitted.
'''
Public Overridable Property Hersteller As Hersteller
'''
'''The details of the data provider (e.g. taxpayer, tax consulant or firm), who produced the tax data and it must not necessarily be the same person declared in the TransferHeader section.
'''
Public Overridable Property DatenLieferant As String
'''
'''The return code of the header.
'''
Public Overridable Property RC As RC
'''
'''The data extensions of the header.
'''
Public Overridable Property Zusatz As Zusatz
End Class
'''
'''Represents a portal certificate that is protected by a password.
'''
Public Partial Class PortalCertificate
Inherits FileBase
Implements ISecuredCertificate
Implements IHasIndex
Public Sub New()
Tags = New List(Of String)
Content = New Byte(){}
End Sub
'''
'''The unique identifier of the certificate.
'''
Public Overridable Property Id As Guid
'''
'''The position of the certificate element in an indexed collection of certificates.
'''
Public Overridable Property Index As Integer
'''
'''The password to protect the certificate from unauthorized access.
'''
Public Overridable Property Pin As String
'''
'''The description of the certificate.
'''
Public Overridable Property Description As String
'''
'''Tags that can be used to label or identify the certificate.
'''
Public Overridable Property Tags As List(Of String)
'''
'''Gets or sets the file name of the certificate.
'''
Public Overridable Property Name As String
'''
'''The raw data content of the file.
'''
Public Overridable Property Content As Byte()
End Class
'''
'''Represents an ERiC return code.
'''
Public Partial Class RC
'''
'''The return value of the return code.
'''
Public Overridable Property Rueckgabe As Rueckgabe
'''
'''The internal value of the return code.
'''
Public Overridable Property Stack As Stack
End Class
'''
'''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.
'''
Public Overridable Property Code As String
'''
'''The external error message.
'''
Public Overridable Property Text As String
End Class
'''
'''Represents value of an index field, which identfies the context about an error message.
'''
Public Partial Class SemantischerIndex
'''
'''The name of the index field.
'''
Public Overridable Property Name As String
'''
'''The value of the index field.
'''
Public Overridable Property Value As String
End Class
'''
'''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
'''
Public Overridable Property Inhalt As Object
End Class
'''
'''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.
'''
Public Overridable Property Code As String
'''
'''The external error message.
'''
Public Overridable Property Text As String
End Class
'''
'''Represents a structure that encapsulates a tax declaration.
'''
Public Partial Class TaxData
'''
'''The unique identifier of the tax data.
'''
Public Overridable Property Id As String
'''
'''The XML-based tax declaration.
'''
Public Overridable Property Content As String
End Class
'''
'''Represents information on the delivery.
'''
Public Partial Class Transfer
'''
'''The ticket of the transfer.
'''
Public Overridable Property TransferTicket As String
End Class
'''
'''Represents the transfer header part of an ELSTER document.
'''
Public Partial Class TransferHeader
'''
'''The version of the transfer header.
'''
Public Overridable Property Version As String
'''
'''The tax operation used in the ELSTER process.
'''
Public Overridable Property Verfahren As Verfahren
'''
'''The tax data type of the ELSTER process.
'''
Public Overridable Property DatenArt As Datenart
'''
'''The authentification procedure of the ELSTER process.
'''
Public Overridable Property Vorgang As Vorgang
'''
'''The ticket identifier after a successful ELSTER process.
'''
Public Overridable Property TransferTicket As String
'''
'''The flag that indicates whether the tax declaration or filing is a test case. For production purposes, this value should not be set.
'''
Public Overridable Property Testmerker As Nullable(Of Testmerker)
'''
'''The signature and associated information on the compressed, encrypted, base64-encoded content of the the data part of a tax declaration / statement.
'''
Public Overridable Property SigUser As SigUser
'''
'''The receiving ELSTER server.
'''
Public Overridable Property Empfaenger As Empfaenger
'''
'''The identifier of the software manufacturer, through whose software the tax declaration is filed.
'''
Public Overridable Property HerstellerID As String
'''
'''The details of the provider that submits tax data.
'''
Public Overridable Property DatenLieferant As String
'''
'''The date of receipt of the tax data.
'''
Public Overridable Property EingangsDatum As Nullable(Of Date)
'''
'''The encryption data required for authenticated transmission of tax data.
'''
Public Overridable Property Datei As Datei
'''
'''The return code of the transfer header and is included in the response XML of the ELSTER server. The value should never be set by the data provider.
'''
Public Overridable Property RC As RC
'''
'''The details of the software that submits the tax data.
'''
Public Overridable Property VersionClient As String
'''
'''Data extensions to the transfer header.
'''
Public Overridable Property Zusatz As Zusatz
End Class
'''
'''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 Sub New()
TransferList = New List(Of Transfer)
End Sub
'''
'''Contains information on all data deliveries, including deliveries that have not been confirmed by the server.
'''
Public Overridable Property TransferList As List(Of Transfer)
End Class
'''
'''Represents an ERiC extension.
'''
Public Partial Class Zusatz
Public Sub New()
Infos = New List(Of String)
ElsterInfos = New List(Of String)
End Sub
'''
'''The user-customizable items for the extension. Data providers can use these items for their own extensions/information.
'''
Public Overridable Property Infos As List(Of String)
'''
'''The ELSTER items for the extension. They can be included in the response XML from the ELSTER server, if special information must be returned to the user after data submission. For example, for authenticated submission, information about impending certificate expiration etc. It must not be supplied by the data provider (even when empty).
'''
Public Overridable Property ElsterInfos As List(Of String)
End Class
End Namespace
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
End Enum
'''
'''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
End Enum
'''
'''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
End Enum
Public Interface IHasIndex
Property Index As Integer
End Interface
Public Interface ISecuredCertificate
Property Pin As String
End Interface
'''
'''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
End Enum
'''
'''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
End Enum
'''
'''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
End Enum
'''
'''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
End Enum
'''
'''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
End Enum
End Namespace
Namespace PwC.xEric.Core.Services.Contracts.Requests
'''
'''A base service to process tax data.
'''
Public Partial Class BearbeiteVorgangBase
Implements IPost
'''
'''The tax data to process.
'''
Public Overridable Property Data As TaxData
End Class
Public Interface IDruckRequest
Property DuplexDruck As Nullable(Of Boolean)
Property ProtocolPrefix As String
Property FussText As String
End Interface
Public Interface ISendeRequest
Property DatenLieferant As String
End Interface
Public Interface IVeschlueselungsRequest
Property Zertifikat As PortalCertificate
End Interface
'''
'''A synchronous service to validate, authenticate, send tax data and print its transfer protocol.
'''
Public Partial Class ValidiereAuthentifiziereSendeUndDrucke
Inherits ValidiereAuthentifiziereSendeUndDruckeBase
Implements IReturn(Of BearbeiteVorgangResponse)
'''
'''Should the PDF file be prepared for a double-sided printout with a margin for punching?. True: The straight sides are indented to the left for a stitching margin for punching. False: There is no indentation of the straight sides. The created PDF is only intended for printing pages page by page.
'''
Public Overridable Property DuplexDruck As Nullable(Of Boolean)
'''
'''Name prefix of the generated transfer protocol file.
'''
Public Overridable Property ProtocolPrefix As String
'''
'''Footer text to be used on the printout (optional).
'''
Public Overridable Property FussText As String
'''
'''The authentification certificate.
'''
Public Overridable Property Zertifikat As PortalCertificate
'''
'''Gets or sets the retrieval code. This value MUST be given for the tax operation ElsterDatenabholung and tax data 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'.
'''
Public Overridable Property AbrufCode As String
'''
'''The details of the provider that submits tax data.
'''
Public Overridable Property DatenLieferant As String
'''
'''The tax data to process.
'''
Public Overridable Property Data As TaxData
End Class
'''
'''A base service to validate, authenticate, send tax data and print its transfer protocol.
'''
Public Partial Class ValidiereAuthentifiziereSendeUndDruckeBase
Inherits BearbeiteVorgangBase
Implements IDruckRequest
Implements IVeschlueselungsRequest
Implements ISendeRequest
'''
'''Should the PDF file be prepared for a double-sided printout with a margin for punching?. True: The straight sides are indented to the left for a stitching margin for punching. False: There is no indentation of the straight sides. The created PDF is only intended for printing pages page by page.
'''
Public Overridable Property DuplexDruck As Nullable(Of Boolean)
'''
'''Name prefix of the generated transfer protocol file.
'''
Public Overridable Property ProtocolPrefix As String
'''
'''Footer text to be used on the printout (optional).
'''
Public Overridable Property FussText As String
'''
'''The authentification certificate.
'''
Public Overridable Property Zertifikat As PortalCertificate
'''
'''Gets or sets the retrieval code. This value MUST be given for the tax operation ElsterDatenabholung and tax data 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'.
'''
Public Overridable Property AbrufCode As String
'''
'''The details of the provider that submits tax data.
'''
Public Overridable Property DatenLieferant As String
'''
'''The tax data to process.
'''
Public Overridable Property Data As TaxData
End Class
End Namespace
Namespace PwC.xEric.Core.Services.Contracts.Responses
'''
'''A type that encapsulates the return values from the ERiC API function that processes tax data.
'''
Public Partial Class BearbeiteVorgangResponse
Inherits EricFehlerCodeResponse
Public Sub New()
TransferProtocols = New List(Of BinaryFile)
End Sub
'''
'''The return value of the process.
'''
Public Overridable Property Rueckgabe As EricBearbeiteVorgang
'''
'''The server response of the process.
'''
Public Overridable Property Serverantwort As Elster
'''
'''If available, the PDF-based files to represent generated transfer prototocols.
'''
Public Overridable Property TransferProtocols As List(Of BinaryFile)
'''
'''The status code that the ERiC API function returns.
'''
Public Overridable Property StatusCode As EricFehlerCode
'''
'''The status message that the ERiC API function returns.
'''
Public Overridable Property StatusText As String
'''
'''The unique identifier of the response.
'''
Public Overridable Property Id As String
'''
'''The position of the response element in an indexed collection.
'''
Public Overridable Property Index As Integer
'''
'''Metadata that contains structured error information on the service response.
'''
Public Overridable Property ResponseStatus As ResponseStatus
End Class
'''
'''Represent a base response that encapsulate any ERiC API function return value.
'''
Public Partial Class EricFehlerCodeResponse
Inherits ServiceReponseBase
'''
'''The status code that the ERiC API function returns.
'''
Public Overridable Property StatusCode As EricFehlerCode
'''
'''The status message that the ERiC API function returns.
'''
Public Overridable Property StatusText As String
'''
'''The unique identifier of the response.
'''
Public Overridable Property Id As String
'''
'''The position of the response element in an indexed collection.
'''
Public Overridable Property Index As Integer
'''
'''Metadata that contains structured error information on the service response.
'''
Public Overridable Property ResponseStatus As ResponseStatus
End Class
'''
'''Specifies a service response from an ERiC service operation.
'''
Public Partial Class ServiceReponseBase
Implements IHasIndex
'''
'''The unique identifier of the response.
'''
Public Overridable Property Id As String
'''
'''The position of the response element in an indexed collection.
'''
Public Overridable Property Index As Integer
'''
'''Metadata that contains structured error information on the service response.
'''
Public Overridable Property ResponseStatus As ResponseStatus
End Class
End Namespace
End Namespace