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