add test for ZUGFeRDImporter.getBankName ... and make it work

This commit is contained in:
Stefan Schmiedl
2019-08-07 11:18:32 +02:00
parent ca229986b2
commit 3492ed770a
2 changed files with 2 additions and 1 deletions

View File

@@ -283,7 +283,7 @@ public class ZUGFeRDImporter {
* @return the sender's bankname
*/
public String getBankName() {
return extractString("/CrossIndustryInvoice/SupplyChainTradeTransaction/ApplicableHeaderTradeSettlement/SpecifiedTradeSettlementPaymentMeans/PayeeSpecifiedCreditorFinancialInstitution/Name");
return extractString("//PayeeSpecifiedCreditorFinancialInstitution/Name");
}
public String getIBAN() {