If the BIC is empty (optional for national transfers in countries like Germany), the validation fails with error:
print(sepa.export(validate=True))
File "/usr/local/lib/python3.7/dist-packages/sepaxml/shared.py", line 92, in export
"The output SEPA file contains validation errors. This is likely due to an illegal value in one of "
sepaxml.validation.ValidationError: The output SEPA file contains validation errors. This is likely due to an illegal value in one of your input fields.
If the BIC is empty (optional for national transfers in countries like Germany), the validation fails with error: