(* Options: Date: 2024-11-26 02:04:58 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://reportfiling.staging.pwc.de //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: BatchSignReportsAsync.* //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 /// ///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 sign a batch of reports using the security certificate from the provided credential. /// [] [] type BatchSignReportsBase() = interface IPost /// ///The reports to sign. /// [] member val Reports:ResizeArray = new ResizeArray() with get,set /// ///The credential to gain access on the ELMA server. /// [] member val Credential:ElmaCredential = null with get,set /// ///Represents a signature of an ELMA report.The RSASSA-PSS1 algorithm is used to create the signature. /// [] [] type Signature() = /// ///The conventional ELMA file name of the signature. The format of the ELMA formula is as follows: m5_<pb>_<BZSt-Nr>_<AccountID>_<DateiId>.xml.sig 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 underlying raw data content of the signature. /// [] member val Data:Byte[] = [||] 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 signing a report. /// [] [] type SigningResponse() = /// ///The report that was signed. /// [] member val Report:Report = null with get,set /// ///The signature obtained from signing the report. /// [] member val Signature:Signature = null with get,set /// ///The status of the signing operation. /// [] member val ResponseStatus:ResponseStatus = null with get,set /// ///Represents a request to sign a batch of reports in an asynchronous operation. /// [] [] [] type BatchSignReportsAsync() = inherit BatchSignReportsBase() interface IReturn>