' Options: 'Date: 2024-04-29 10:14:40 '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: BatchProtokollRequest17.* '''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.Domain.Concretes.Datenabholungen.Models Imports PwC.xEric.Core.Services.Contracts.Datenabholungen.Requests.Protokolle Imports PwC.xEric.Core.Domain.Contracts.Models Imports PwC.xEric.Core.Services.Contracts.Responses Imports PwC.DigitalHub.Utilities.IO.Core.Contracts.Models Imports PwC.xEric.Core.Services.Contracts.Datenabholungen.Responses Namespace Global 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 End Namespace Namespace PwC.xEric.Core.Domain.Concretes.Datenabholungen.Models ''' '''Represents the request to retrieve tax assessments by means of a specfied ID. ''' Public Partial Class Abholung ''' '''The identifier of the data record. ''' Public Overridable Property Id As String ''' '''The ID number of the receipt owner. This attribute is only required for the tax type 'ElsterVaStDaten'. ''' Public Overridable Property Idnr As String ''' '''The assessment year (YYYY) of the receipt. This attribute is only required for the tax type 'ElsterVaStDaten'. ''' Public Overridable Property Veranlagungsjahr As Nullable(Of Integer) ''' '''The transmission path used. ''' Public Overridable Property Uebertragungsweg As Nullable(Of Uebertragungsweg) ''' '''The character encoding of the data record (e.g. ISO-8859-15). The exception is the data type ElsterVaStDaten, here we submit KEIN ENCODING. ''' Public Overridable Property Encoding As String ''' '''The client number; only applicable to the tax type 'ElsterDIVADaten'. ''' Public Overridable Property Mandantennummer As String ''' '''The tax number; only applicable to the tax type 'ElsterDIVADaten'. ''' Public Overridable Property Steuernummer As String ''' '''The asessment date; only applicable to the tax type 'ElsterDIVADaten'. ''' Public Overridable Property Bescheiddatum As Nullable(Of Date) ''' '''Das Datenpaket angeforderter Datensaetze. Nur bei der Direktsendung ueber das ERiClet. ''' Public Overridable Property Datenpaket As Datenpaket ''' '''Download requested data records. Ensure the second payload data block is empty for bulk retrieval operations. ''' Public Overridable Property Download As Download End Class ''' '''Represents a request to retrieve data records by means of one or more IDs. ''' Public Partial Class Abholung17 Inherits Abholung ''' '''The tax type (e.g. ESB) of the data record. ''' Public Overridable Property Steuerart As Nullable(Of Steuerart) ''' '''The meta information of the identifier. ''' Public Overridable Property MetaInformationen As MetaInformationen17 ''' '''Die Transfertickets der Datensaetze. Es duerfen max. 100 Bereitstellungstickets in einem Request angegeben werden. ''' Public Overridable Property Bereitstellungsticket As String ''' '''The attachments of the data records. ''' Public Overridable Property Anhaenge As Anhaenge17 ''' '''The identifier of the data record. ''' Public Overridable Property Id As String ''' '''The ID number of the receipt owner. This attribute is only required for the tax type 'ElsterVaStDaten'. ''' Public Overridable Property Idnr As String ''' '''The assessment year (YYYY) of the receipt. This attribute is only required for the tax type 'ElsterVaStDaten'. ''' Public Overridable Property Veranlagungsjahr As Nullable(Of Integer) ''' '''The transmission path used. ''' Public Overridable Property Uebertragungsweg As Nullable(Of Uebertragungsweg) ''' '''The character encoding of the data record (e.g. ISO-8859-15). The exception is the data type ElsterVaStDaten, here we submit KEIN ENCODING. ''' Public Overridable Property Encoding As String ''' '''The client number; only applicable to the tax type 'ElsterDIVADaten'. ''' Public Overridable Property Mandantennummer As String ''' '''The tax number; only applicable to the tax type 'ElsterDIVADaten'. ''' Public Overridable Property Steuernummer As String ''' '''The asessment date; only applicable to the tax type 'ElsterDIVADaten'. ''' Public Overridable Property Bescheiddatum As Nullable(Of Date) ''' '''Das Datenpaket angeforderter Datensaetze. Nur bei der Direktsendung ueber das ERiClet. ''' Public Overridable Property Datenpaket As Datenpaket ''' '''Download requested data records. Ensure the second payload data block is empty for bulk retrieval operations. ''' Public Overridable Property Download As Download End Class ''' '''Represents a list of attachments. ''' Public Partial Class Anhaenge17 End Class ''' '''Specifies the encoding of the metadata. ''' Public Enum Coding text base64 End Enum ''' '''The data packet from the retrieval operation. ''' Public Partial Class Datenpaket ''' '''Encoded (compressed and encrypted) requested data record ''' Public Overridable Property Value As String End Class ''' '''Stellt den Datenteil eines Protokolls dar. ''' Public Partial Class DatenTeil06 Public Sub New() Nutzdatenbloecke = New List(Of Nutzdatenblock06) End Sub ''' '''Das Transferticket der Datenlieferung. ''' Public Overridable Property TransferTicket As String ''' '''Der Statuscode zur gesamten Datenlieferung. 0 (Datenlieferung ok - Alle Datensätze konnten verarbeitet werden). 1 (Es sind Fehler aufgetreten - die Nutzdatenblöcke konnten nur teilweise verarbeitet werden). 2 (Datenlieferung konnte gar nicht verarbeitet werden - alle Nutzdatenblöcke fehlerhaft). 3 (Datenlieferung wurde noch nicht verarbeitet - bitte fordern Sie das Protokoll noch mal zu einen späteren Zeitpunkt an; für Onlinebetrieb relevant). ''' Public Overridable Property Code As Nullable(Of Integer) ''' '''Der Datenteil des Protokolls.Datenlieferung ok - Alle Datensätze konnten verarbeitet werden. Es sind Fehler aufgetreten - die Nutzdatenblöcke konnten nur teilweise verarbeitet werden. Datenlieferung konnte gar nicht verarbeitet werden - alle Nutzdatenblöcke fehlerhaft. 3Datenlieferung wurde noch nicht verarbeitet - bitte fordern Sie das Protokoll noch mal zu einen späteren Zeitpunkt an; für Onlinebetrieb relevant. ''' Public Overridable Property Text As String ''' '''Der Datenteil des Protokolls. ''' Public Overridable Property Nutzdatenbloecke As List(Of Nutzdatenblock06) End Class ''' '''Represents the download of requested records. The downloaded content from the web server takes place: a) with https b) on port 443 c) on datenabholung1.elster.de or datenabholung2.elster.de. The HTTP Basic Authentication mechanism according to RFC 2617 is used for authentication. ''' Public Partial Class Download ''' '''The link to the data on the web server. ''' Public Overridable Property Url As String ''' '''The user name for the web server. ''' Public Overridable Property Benutzer As String ''' '''Password for the web server. ''' Public Overridable Property Passwort As String End Class ''' '''Represents the metadata of a data record. ''' Public Partial Class Meta17 ''' '''The type of metadata, e.g. datei [file] ''' Public Overridable Property Name As String ''' '''The encoding of the metadata (text or base64) ''' Public Overridable Property Coding As Nullable(Of Coding) ''' '''The content of the metadata ''' Public Overridable Property Value As String End Class ''' '''Represents a list of meta information maps. ''' Public Partial Class MetaInfoMaps17 End Class ''' '''Represents meta information. ''' Public Partial Class MetaInformationen17 Public Sub New() Meta = New List(Of Meta17) End Sub ''' '''List of metadata. ''' Public Overridable Property Meta As List(Of Meta17) ''' '''List of meta infomation maps. ''' Public Overridable Property MetaInfoMaps As MetaInfoMaps17 End Class ''' '''Stellt einen Nutzdatensatz-Fehler dar. Dabei besteht der Fehler aus: - einer laufenden Nummer(Attribut zum NdSFehler)- der KmId (Attribut zum NdSFehler) und/oder dem ordnungsMerkmal (Attribut zum NdSFehler)- einem Fehlernummer (Attribut zum NdSFehler)- einem Fehlertext (Inhalt des Tag NdSFehler) ''' Public Partial Class NdSFehler06 ''' '''Die laufende Nummer des fehlerhaften Datensatzes in einem Nutzdatenblock. ''' Public Overridable Property LfdNr As String ''' '''Bei der kmId handelt es sich um die durch den Verfasser vorgegebene KmId des Nutzdatensatzes. ''' Public Overridable Property KmId As String ''' '''Die durch den Verfasser vorgegebene bundesweit eindeutige Identifikation des Nutzdatensatzes (z.B. bei LStB, Lohnersatzleistungen). ''' Public Overridable Property OrdnungsMerkmal As String ''' '''Es wird die vom Elstersystem für diesen Fehler vergebene Fehlernummer i.d.R. eine 9-stellige Nummer zurückgemeldet. ''' Public Overridable Property FehlerNummer As Nullable(Of UInt32) ''' '''Es wird der vom Elstersystem für diesen Fehler vergebene Fehlertext zurückgemeldet. ''' Public Overridable Property FehlerText As String End Class ''' '''Stellt ein Element eines Nutztdatenblockes dar. ''' Public Partial Class Nutzdatenblock06 Public Sub New() NdSFehler = New List(Of NdSFehler06) End Sub ''' '''Über das Nutzdatenticket im Verarbeitungsprotokoll wird der Nutzdatenblock aus der Datenlieferung referenziert. ''' Public Overridable Property NutzdatenTicket As String ''' '''Der Statuscode zum Nutzdatenblock. ''' Public Overridable Property Code As Nullable(Of Integer) ''' '''Der Statustext zum Nutzdatenblock. ''' Public Overridable Property Text As String ''' '''Anzahl der Verarbeiteten Nutzdatensätze. ''' Public Overridable Property VerarbeiteteNds As Nullable(Of UInt32) ''' '''Anzahl der nichtverarbeiteten Nutzdatensätze. ''' Public Overridable Property NichtverarbeiteteNds As Nullable(Of UInt32) ''' '''Der Datenteil des Protokolls. ''' Public Overridable Property NdSFehler As List(Of NdSFehler06) End Class ''' '''Das Verarbeitungsprotokoll einer Datenabholungsprozesses. ''' Public Partial Class Protokoll06 ''' '''Version des Protokolls. ''' Public Overridable Property Version As Nullable(Of Integer) ''' '''Der Zeitstempel der Protokoll-Aufbereitung. Es wird der Zeitstempel der serverseitigen Verarbeitung der Protokollanfrage zurück übermittelt. Das String-Format des ZeitStempels lautet: JJJJMMTThhmmss. ''' Public Overridable Property ZeitStempel As Nullable(Of Date) ''' '''Der Datenteil des Protokolls. ''' Public Overridable Property DatenTeil As DatenTeil06 End Class ''' '''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 End Enum ''' '''Represents the transmission path. ''' Public Enum Uebertragungsweg direkt link sammellink End Enum End Namespace Namespace PwC.xEric.Core.Domain.Concretes.Models ''' '''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 End Namespace Namespace PwC.xEric.Core.Domain.Contracts.Models Public Interface IHasIndex Property Index As Integer End Interface Public Interface ISecuredCertificate Property Pin As String End Interface End Namespace Namespace PwC.xEric.Core.Services.Contracts.Datenabholungen.Requests.Protokolle ''' '''Represents the service request to retrieve logs about tax statements. ''' Public Partial Class BatchProtokollRequest17 Inherits BatchProtokollRequestBase17 Implements IReturn(Of List(Of ProtokollResponse)) Public Sub New() Bescheide = New List(Of Abholung17) End Sub ''' '''The tax assessements, whose processing records shall be obtained. ''' Public Overridable Property Bescheide As List(Of Abholung17) ''' '''The authentification certificate. ''' Public Overridable Property Zertifikat As PortalCertificate End Class ''' '''Represents a base service request to retrieve processing records from specified tax statements. ''' Public Partial Class BatchProtokollRequestBase Implements IPost ''' '''The authentification certificate. ''' Public Overridable Property Zertifikat As PortalCertificate End Class ''' '''Represents a base service request to retrieve processing records from specified tax statements. Applicable to version 17.. ''' Public Partial Class BatchProtokollRequestBase17 Inherits BatchProtokollRequestBase Public Sub New() Bescheide = New List(Of Abholung17) End Sub ''' '''The tax assessements, whose processing records shall be obtained. ''' Public Overridable Property Bescheide As List(Of Abholung17) ''' '''The authentification certificate. ''' Public Overridable Property Zertifikat As PortalCertificate End Class End Namespace Namespace PwC.xEric.Core.Services.Contracts.Datenabholungen.Responses ''' '''Represents a type that encapulates the processing records of a tax statement. ''' Public Partial Class ProtokollResponse Inherits ServiceReponseBase ''' '''The processing record of a tax statement. ''' Public Overridable Property Protokoll As Protokoll06 ''' '''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 Namespace PwC.xEric.Core.Services.Contracts.Responses ''' '''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