Skip to content

Commit

Permalink
bug fix for ubl reading
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanstapel committed Aug 14, 2024
1 parent 4d5cb7b commit a644086
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ZUGFeRD/InvoiceDescriptor22UblReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public override InvoiceDescriptor Load(Stream stream)

InvoiceDescriptor retval = new InvoiceDescriptor
{
IsTest = _nodeAsBool(doc.DocumentElement, "//cbc:TestIndicator", nsmgr, false),
IsTest = XmlUtils.NodeAsBool(doc.DocumentElement, "//cbc:TestIndicator", nsmgr, false),
BusinessProcess = XmlUtils.NodeAsString(doc.DocumentElement, "//cbc:ProfileID", nsmgr),
Profile = Profile.XRechnung, //default(Profile).FromString(XmlUtils.NodeAsString(doc.DocumentElement, "//ram:GuidelineSpecifiedDocumentContextParameter/ram:ID", nsmgr)),
Type = default(InvoiceType).FromString(XmlUtils.NodeAsString(doc.DocumentElement, "//cbc:InvoiceTypeCode", nsmgr)),
Expand Down

0 comments on commit a644086

Please sign in to comment.