order-x extract support

This commit is contained in:
Jochen Stärk
2020-09-13 14:15:31 +02:00
parent 6a169b19b2
commit e49330adbe
2 changed files with 2 additions and 1 deletions

View File

@@ -32,6 +32,7 @@ switch
- new tradeparty class, Contact getOwnContact superseded by TradeParty getSender - new tradeparty class, Contact getOwnContact superseded by TradeParty getSender
- switch recipient, shipping address from contact to tradeparty - switch recipient, shipping address from contact to tradeparty
- new invoicecorrection class - new invoicecorrection class
- order-x read support
### 2.0 still todo ### 2.0 still todo
- verapdf as prevalidation? - verapdf as prevalidation?

View File

@@ -137,7 +137,7 @@ public class ZUGFeRDImporter {
/** /**
* filenames for invoice data (ZUGFeRD v1 and v2, Factur-X) * filenames for invoice data (ZUGFeRD v1 and v2, Factur-X)
*/ */
if ((filename.equals("ZUGFeRD-invoice.xml") || (filename.equals("zugferd-invoice.xml")) || filename.equals("factur-x.xml")) || filename.equals("xrechnung.xml")) { if ((filename.equals("ZUGFeRD-invoice.xml") || (filename.equals("zugferd-invoice.xml")) || filename.equals("factur-x.xml")) || filename.equals("xrechnung.xml") || filename.equals("order-x.xml")) {
containsMeta = true; containsMeta = true;
PDEmbeddedFile embeddedFile = fileSpec.getEmbeddedFile(); PDEmbeddedFile embeddedFile = fileSpec.getEmbeddedFile();