ZUGFeRD / mustangproject

Open Source Java e-Invoicing library, validator and tool (Factur-X/ZUGFeRD, UNCEFACT/CII XRechnung)
http://www.mustangproject.org
Apache License 2.0
237 stars 132 forks source link

Add bank name to BankDetails / XML output #559

Open dankito opened 1 week ago

dankito commented 1 week ago

I'm using current version 2.14.2.

In IZUGFeRDTradeSettlementPayment writing the bank name to XML is commented out:

xml += "<ram:PayeeSpecifiedCreditorFinancialInstitution>"
    + "<ram:BICID>" + XMLTools.encodeXML(getOwnBIC()) + "</ram:BICID>"
    // + " <ram:Name>"+trans.getOwnBankName()+"</ram:Name>"
    //
    + "</ram:PayeeSpecifiedCreditorFinancialInstitution>";

This could be easily implemented by adding a property bankName to BankDetails and then implement getOwnBankName() there.

Could you add this feature?