Closed tipa closed 5 months ago
When using SetPaymentMeans(), the resulting XML contains an empty ram:Information tag
SetPaymentMeans()
ram:Information
<ram:SpecifiedTradeSettlementPaymentMeans> <ram:TypeCode>30</ram:TypeCode> <ram:Information /> <ram:PayeePartyCreditorFinancialAccount> <ram:IBANID>...</ram:IBANID> </ram:PayeePartyCreditorFinancialAccount> </ram:SpecifiedTradeSettlementPaymentMeans>
What is this tag about? I didn't see it mentioned in the ZUGFeRD specification. In the code, the property has the same comment as TypeCode:
TypeCode
https://github.com/stephanstapel/ZUGFeRD-csharp/blob/920d263043aa3a2c4f1acb6176009404b09a6c62/ZUGFeRD/PaymentMeans.cs#L28-L36
You can find it e.g. here:
but indeed, no empty entry should be written. I will take care of that.
When using
SetPaymentMeans()
, the resulting XML contains an emptyram:Information
tagWhat is this tag about? I didn't see it mentioned in the ZUGFeRD specification. In the code, the property has the same comment as
TypeCode
:https://github.com/stephanstapel/ZUGFeRD-csharp/blob/920d263043aa3a2c4f1acb6176009404b09a6c62/ZUGFeRD/PaymentMeans.cs#L28-L36