Skip to content

Commit c46d5aa

Browse files
committed
a bit of cleanup
1 parent 8331733 commit c46d5aa

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

ZUGFeRD/IInvoiceDescriptorReader.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ protected bool _IsReadableByThisReaderVersion(Stream stream, IList<string> valid
8484
stream.Position = 0;
8585
using (StreamReader reader = new StreamReader(stream, Encoding.UTF8, true, 1024, true))
8686
{
87-
string data = reader.ReadToEnd().Replace(" ", "");
87+
string data = reader.ReadToEnd().Replace(" ", String.Empty);
8888
foreach (string validURI in validURIs)
8989
{
9090
if (data.IndexOf(String.Format(">{0}<", validURI), StringComparison.OrdinalIgnoreCase) >= 0)

ZUGFeRD/InvoiceDescriptor.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1686,7 +1686,7 @@ public TradeLineItem AddTradeLineCommentItem(string lineID, string comment, stri
16861686
/// <param name="billingPeriodStart">Start of billing period</param>
16871687
/// <param name="billingPeriodEnd">End of billing period</param>
16881688
/// <returns>Returns the instance of the trade line item. You might use this object to add details such as trade allowance charges</returns>
1689-
[Obsolete("BillingPeriod parameters will be removed in version 19.0. Use SetBillingPeriod() instead.")]
1689+
[Obsolete("BillingPeriod and DeliveryNote parameters will be removed in version 19.0. Use SetBillingPeriod() instead.")]
16901690
public TradeLineItem AddTradeLineItem(string name,
16911691
decimal netUnitPrice,
16921692
string description = null,

ZUGFeRD/InvoiceDescriptor23CIIWriter.cs

+1
Original file line numberDiff line numberDiff line change
@@ -623,6 +623,7 @@ public override void Save(InvoiceDescriptor descriptor, Stream stream, ZUGFeRDFo
623623

624624
#region SellerTaxRepresentativeTradeParty
625625
// BT-63: the tax taxRegistration of the SellerTaxRepresentativeTradeParty
626+
// BG-11 (SellerTaxRepresentativeTradeParty)
626627
_writeOptionalParty(Writer, PartyTypes.SellerTaxRepresentativeTradeParty, this.Descriptor.SellerTaxRepresentative, ALL_PROFILES, null, null, this.Descriptor.SellerTaxRepresentativeTaxRegistration);
627628
#endregion
628629

0 commit comments

Comments
 (0)