(* Options:
Date: 2024-11-26 01:58:03
Version: 6.110
Tip: To override a DTO option, remove "//" prefix before updating
BaseUrl: https://reportfiling.pwc.de
//GlobalNamespace:
//MakeDataContractsExtensible: False
//AddReturnMarker: True
//AddDescriptionAsComments: True
//AddDataContractAttributes: False
//AddIndexesToDataMembers: False
//AddGeneratedCodeAttributes: False
//AddResponseStatus: False
//AddImplicitVersion:
//ExportValueTypes: False
IncludeTypes: FormatReportAsync.*
//ExcludeTypes:
//InitializeCollections: True
//AddNamespaces:
*)
namespace PwC.Elmaas.Core.Domain.Concretes.Models
open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
open System.Xml.Schema
open System.Net
///
///Represents a PEM-encoded certificate.
///
[]
[]
type PemCertificate() =
///
///The unique identifier (e.g. the file name) of the certificate.
///
[]
member val Id:String = null with get,set
///
///The PEM-encoded content of the certificate.
///
[]
member val Content:String = null with get,set
///
///The description of the certificate.
///
[]
member val Description:String = null with get,set
///
///Tags to label or identify the certificate.
///
[]
member val Tags:ResizeArray = new ResizeArray() with get,set
///
///Represents the credentials of a user to authenticate the access of an ELMA server.
///
[]
[]
type ElmaCredential() =
///
///The unique identifier of this instance. This identifer is only relevant in the context of data storage and retrieval.
///
[]
member val Id:String = null with get,set
///
///The security certificate to authenticate the user and grant access to the ELMA server. This certificate is generated from the BZSt-issued *.pfx BOP certificate. More details on BOP (BZSt-Online Portal - https://www.elster.de/bportal/start)
///
[]
[]
[]
member val Certificate:PemCertificate = null with get,set
///
///The BZSt (Bundeszentralamt für Steuern) - tax number of the user. 11-character text field that may only consist of two capital letters and 9 digits (0-9). The fiscal authority BZSt provides this number during registration at the BOP (BZSt-Online Portal - https://www.elster.de/bportal/start). The number is available in the private area of the BOP user account under "My BOP" under the "Registration Information"
///
[]
[]
[]
member val AuthSteuernummer:String = null with get,set
///
///The account identifier of a BZSt-Online Portal (BOP) user. 10-character text field that may only contain numbers (0-9).
///
[]
[]
[]
member val AccountId:String = null with get,set
///
///The password to protect the certificate from unauthorized access.
///
[]
member val Password:String = null with get,set
[]
type IAuthenticateRequest =
abstract Credential:ElmaCredential with get,set
///
///Represents an ELMA report.
///
[]
[]
type 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.
///
[]
member val Id:String = null with get,set
///
///The XML-content of the report.
///
[]
member val Data:String = null with get,set
///
///Specifies a request to format a report header.
///
[]
[]
type FormatReportBase() =
interface IPost
///
///The report to format.
///
[]
member val Report:Report = null with get,set
///
///The credential to gain access to an ELMA server.
///
[]
member val Credential:ElmaCredential = null with get,set
[]
type ISingleFormatRequest =
abstract Report:Report with get,set
[]
type IElmaCredential =
abstract Certificate:PemCertificate with get,set
abstract AuthSteuernummer:String with get,set
abstract AccountId:String with get,set
abstract Password:String with get,set
///
///Encapsulates the results of formatting a report
///
[]
[]
type FormatResponse() =
///
///The unique identifier of the report that was processed.
///
[]
member val Id:String = null with get,set
///
///The formatted XML-based report content.
///
[]
member val Xml:String = null with get,set
///
///The status of the formatting operation.
///
[]
member val ResponseStatus:ResponseStatus = null with get,set
///
///Represents a request to format the header of a single report in an asynchronous operation.
///
[]
[]
[]
type FormatReportAsync() =
inherit FormatReportBase()
interface IReturn