We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug When running extractIBAN, the extracted account number for German IBANs is only 9 digits when it should be 10.
Example IBANs:
Official docs from the Deutsche Bundesbank:
To Reproduce Run this test:
import { extractIBAN } from 'ibantools'; describe('ibantools', () => { it('just works, () => { expect(extractIBAN('DE22 1001 0050 0123 4567 89').accountNumber).toBe( '0123456789' ); }); });
Expected behavior The test should pass.
Environment: ibantools v4.5.1
The text was updated successfully, but these errors were encountered:
Fix for extraction of German account number
17b1250
Fixes #550
Simplify
Successfully merging a pull request may close this issue.
Describe the bug
When running extractIBAN, the extracted account number for German IBANs is only 9 digits when it should be 10.
Example IBANs:
Official docs from the Deutsche Bundesbank:
To Reproduce
Run this test:
Expected behavior
The test should pass.
Environment:
ibantools v4.5.1
The text was updated successfully, but these errors were encountered: