stephanstapel/ZUGFeRD-csharp

X-Rechnung 3.1 UBL for Deutsche Bahn - charge percentage

Closed this issue · 2 comments

broken down from #254, submitted by @goedo

InvoiceDescriptor22Writer.cs, 285

                            #region ChargePercentage
                            /*
                            //roger not allowed
                            if (tradeAllowanceCharge.ChargePercentage.HasValue)
                            {
                                Writer.WriteStartElement("ram:CalculationPercent", profile: Profile.Extended | Profile.XRechnung); 
                                Writer.WriteValue(_formatDecimal(tradeAllowanceCharge.ChargePercentage.Value, 2));
                                Writer.WriteEndElement();
                            }
                            */
                            #endregion

@goedo: why is this not allowed?

Close the issue please.

Reason was because of the Kosit message:

image
However it's only a warning, I'll keep it in mind