Skip to content

Commit

Permalink
Merge pull request #381 from quotschmacher/SellerOrderReferencedDocument
Browse files Browse the repository at this point in the history
Added SellerOrderReferencedDocument
  • Loading branch information
stephanstapel authored Oct 8, 2024
2 parents 20d363b + b5151c7 commit 68da27f
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 68da27f

Please sign in to comment.