PayeePartyCreditorFinancialAccount/AccoutName (BT-85) should be OwnerName instead of Bank name
Hi,
I just noticed that BT-85 contains the name of the bank ($account->label) instead of the account holder.
<ram:SpecifiedTradeSettlementPaymentMeans>
<ram:TypeCode>30</ram:TypeCode>
<ram:Information>Bank&uuml;berweisung</ram:Information>
<ram:PayeePartyCreditorFinancialAccount>
<ram:IBANID>myiban</ram:IBANID>
<ram:AccountName>Sparkasse Westmünsterland</ram:AccountName>
<ram:ProprietaryID>kto</ram:ProprietaryID>
</ram:PayeePartyCreditorFinancialAccount>
<ram:PayeeSpecifiedCreditorFinancialInstitution>
<ram:BICID>WELADE3WXXX</ram:BICID>
</ram:PayeeSpecifiedCreditorFinancialInstitution>
</ram:SpecifiedTradeSettlementPaymentMeans>
On first glimpse in ./class/facturx.class.php:482 and :662 $account->label could be changed to something like bankAccount->owner_name?bankAccount->owner_name:$mysoc->name, so that a specific account holder is used if set or the company name if unset. I haven't had the time to implement and test it yet.
Cheers, Michael