Open jstaerk opened 3 months ago
Most important methods
tradeparty should be able to have or deliver a postaladdress? Anyway we need to test that more thoroughly (maybe even in master, so that we can compare?), e.g. with https://github.com/ZUGFeRD/corpus/blob/master/XML-Rechnung/CII/not_validating_full_invoice_based_onTest_EeISI_300_CENfullmodel.cii.xml
the XPath for the getter methods like getAmount or getDueDate in ZUGFeRDimporter are written for ZF1 and ZF2 and don't yet support UBL, but in ZUGFeRDinvoiceImporter it works.
To prevent redundancy maybe one should reverse the inheritance and instead of ZUGFeRDInvoiceimporter inheriting from ZUGFeRDImporter it could be the other way around, in which case instead of writing XPath one could just return the according attributes of the parsed Invoice object.