Closed AndreK5 closed 2 years ago
uh - something got lost - here with the missing tags:
Our financial department told me that the tag Document xmlns="urn:iso:std:iso:20022:tech:xsd:scthr:pain.008.001.02" should be Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.008.001.02"
Hi,
Please explain how to produce something with the wrong data ?
Unit test checks that without issue and the code does not contains something like this.
Hi. for a quick test:
string FILENAME = Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location) + "/sepa_debit_test_result.xml";
SepaIbanData creditor = new SepaIbanData
{
Bic = "NOTPROVIDED",
Iban = "FR7030002005500000157845Z02",
Name = "DRK Irgendwo"
};
SepaDebitTransfer transfert = new SepaDebitTransfer
{
CreationDate = DateTime.Today,
RequestedExecutionDate = DateTime.Today,
MessageIdentification = "transferID", //eindeutige ID der Dateierstellung
PaymentInfoId = "paymentInfo", //Referenz zur eindeutigen Identifizierung eines Sammlers im Kontoauszug
InitiatingPartyName = creditor.Name,
Creditor = creditor,
InitiatingPartyId = "ID vom DRK Irgendwo" //Gläubiger-Identifikations-Nr.?
};
SepaDebitTransferTransaction debTransaction;
debTransaction = new SepaDebitTransferTransaction
{
Id = "1",
Debtor = new SepaIbanData
{
Bic = "NOTPROVIDED", //IBAN only-Verfahren
Iban = "DE89370400440532013000",
Name = "Theo Tischgast"
},
MandateIdentification = "1111", //SEPA-Mandatsreferenz
DateOfSignature = new DateTime(2012, 12, 7),
Amount = 12,
RemittanceInformation = "Rechnungsnr. 111",
EndToEndId = "1"
};
transfert.AddDebitTransfer(debTransaction);
debTransaction = new SepaDebitTransferTransaction
{
Id = "2",
Debtor = new SepaIbanData
{
Bic = "NOTPROVIDED", //IBAN only-Verfahren
Iban = "FR1420041010050500013M02606",
Name = "Maria Tischgast"
},
MandateIdentification = "2222", //SEPA-Mandatsreferenz
DateOfSignature = new DateTime(2018, 12, 7),
Amount = 22,
RemittanceInformation = "Rechnungsnr. 112",
EndToEndId = "2"
};
transfert.AddDebitTransfer(debTransaction);
string result = transfert.AsXmlString();
transfert.Save(FILENAME);
This creates this XML (with the additional "scthr":
Thanks, but your code does not produce the issue. The library with current code version does not create the provided XML. Please debug your code but it is not related with the library.
Thanks for your reply.
My result looks totally different ("xsi=..." is missing; additional scthr):
Where does the document definition come from?
Hi.
FYI: if I use a local generated Perrich.SepaWriter.dll then the result is ok. If I use the NUGet-Package I get this additional "scthr".
Hi,
Thanks, I will update the Nuget Package (maybe an issue in a previous release).
Hi.
Do you know when you will be able to update the package?
Hi,
Thanks, I will update the Nuget Package (maybe an issue in a previous release).
Hi,
it would be great to get an updated package...
Hi.
Our financial department told me that the tag