zf2 importer correction

This commit is contained in:
Jochen Stärk
2019-04-21 09:30:19 +02:00
parent f53ff35462
commit 9a3a32a91c

View File

@@ -127,7 +127,7 @@ public class ZUGFeRDImporter {
* currently (in the release candidate of version 1) only one attached file with
* the name ZUGFeRD-invoice.xml is allowed
*/
if ((filename.equals("ZUGFeRD-invoice.xml") || filename.equals("factur-x.xml"))) { //$NON-NLS-1$
if ((filename.equals("ZUGFeRD-invoice.xml") || (filename.equals("zugferd-invoice.xml")) || filename.equals("factur-x.xml"))) { //$NON-NLS-1$
containsMeta = true;
PDComplexFileSpecification fileSpec = names.get(filename);