' Options: 'Date: 2024-11-26 01:50:02 'Version: 6.110 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://reportfiling.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: ValidateReport.* '''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.Xml.Schema Imports System.Net Imports PwC.Elmaas.Core.Domain.Contracts.Models Imports PwC.Elmaas.Core.Services.Contracts.Requests Imports PwC.Elmaas.Core.Services.Contracts.Responses Namespace Global Namespace PwC.Elmaas.Core.Domain.Contracts.Models ''' '''Represents an ELMA report. ''' Public Partial Class Report ''' '''The conventional ELMA file name of the report. The format of the ELMA formula is as follows: m5_<pb>_<BZSt-Nr>_<AccountID>_<DateiId>.xml where: m5 is a constant for all reporting types. pb is a constant that represents the ELMA product designation e.g. CC, DC, FC etc. BZSt-Nr is the 11-character BZSt (Bundeszentralamt für Steuern) - tax number of the ELMA user e.g. bz123456789 AccountID is the 10-digit account identifier of the BZSt-Online Portal (BOP) user e.g. 1234567890 DateiId is the 1 - 12 character internal short name for the data file. ''' Public Overridable Property Id As String ''' '''The XML-content of the report. ''' Public Overridable Property Data As String End Class ''' '''Represents a failure encountered during the validation of an ELMA report against its XML schema. ''' Public Partial Class ValidationError ''' '''The unique identifier of the validation faílure. This is equivalent to the file name of the validated report. ''' Public Overridable Property Id As String ''' '''The message of the validation failure. ''' Public Overridable Property Message As String ''' '''The severity of the validation faílure. ''' Public Overridable Property Severity As XmlSeverityType ''' '''The line number indicating where the error occurred. ''' Public Overridable Property LineNumber As Integer ''' '''The line position indicating where the error occurred. ''' Public Overridable Property LinePosition As Integer End Class End Namespace Namespace PwC.Elmaas.Core.Services.Contracts.Requests ''' '''Represents a request to validate a report. ''' Public Partial Class ValidateReport Inherits ValidateReportBase Implements IReturn(Of ValidationResponse) End Class ''' '''Specifies a request to validate a report. ''' Public Partial Class ValidateReportBase Implements IPost ''' '''The report to validate. ''' Public Overridable Property Report As Report End Class End Namespace Namespace PwC.Elmaas.Core.Services.Contracts.Responses ''' '''Encapsulates the results of validating a report ''' Public Partial Class ValidationResponse Public Sub New() ValidationErrors = New List(Of ValidationError) End Sub ''' '''The unique identifier of the report that was processed.The identifier is usually the filename. ''' Public Overridable Property Id As String ''' '''The errors encountered during the report validation operation. ''' Public Overridable Property ValidationErrors As List(Of ValidationError) ''' '''The status of the validation operation. ''' Public Overridable Property ResponseStatus As ResponseStatus End Class End Namespace End Namespace