stephanstapel / ZUGFeRD-csharp

C# assembly for creating and reading ZUGFeRD invoices
Apache License 2.0
214 stars 114 forks source link

What is the ram:Information tag about? #280

Closed tipa closed 5 months ago

tipa commented 5 months ago

When using SetPaymentMeans(), the resulting XML contains an empty ram:Information tag

      <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:

https://github.com/stephanstapel/ZUGFeRD-csharp/blob/920d263043aa3a2c4f1acb6176009404b09a6c62/ZUGFeRD/PaymentMeans.cs#L28-L36

stephanstapel commented 5 months ago

You can find it e.g. here:

grafik

but indeed, no empty entry should be written. I will take care of that.