Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanstapel committed Oct 8, 2024
2 parents e31655a + 68da27f commit be9653b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ZUGFeRD/InvoiceDescriptor22UBLWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ public override void Save(InvoiceDescriptor descriptor, Stream stream, ZUGFeRDFo
// OrderReference
Writer.WriteStartElement("cac:OrderReference");
Writer.WriteElementString("cbc:ID", this.Descriptor.OrderNo);
Writer.WriteOptionalElementString("cbc:SalesOrderID", this.Descriptor.SellerOrderReferencedDocument?.ID);
Writer.WriteEndElement(); // !OrderReference

// BillingReference
Expand Down

0 comments on commit be9653b

Please sign in to comment.