ZFInterface

This commit is contained in:
Developer01
2025-12-05 14:04:32 +01:00
parent 7b91aac5e9
commit bbe372377a

View File

@@ -288,7 +288,8 @@ Public Class ZUGFeRDInterface
' Extract XML attachments only!
Dim oFiles = oEmbedExtractor.Extract(pPath, New List(Of String) From {"xml"})
If Validate Then
Return _Validator.ValidateZUGFeRDDocument(HandleEmbeddedFiles(oFiles))
Dim oZugferdResult = HandleEmbeddedFiles(oFiles)
Return _Validator.ValidateZUGFeRDDocument(oZugferdResult)
Else
' Attachments are in this case the files that are embedded into a pdf file,
' like for example the zugferd-invoice.xml file