When choosing one of the business partners on the Record payment slip form, you get the error message "%IBAN% this IBAN is not defined for this Business Partner" despite the IBAN number being defined.
Reproducing the issue
- Two business partners with the same IBAN have to be defined, where one of them is inactive.
1. Scan the Payment Slip.
2. Select one of the business partners → click on Add.
The error message "%IBAN% this IBAN is not defined for this Business Partner" appears.
Draft AP invoice should be created without the error.
As a workaround, remove the IBAN from the inactive business partner.