Skip to content
New issue

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

Fix bug in nl-be vat generation #455

Merged
merged 6 commits into from
Feb 22, 2022
Merged

Conversation

robvankeilegom
Copy link

There is a possibility that the calculated checksum is < 10. If it's then appended to the VAT it wouldn't have the required length of 10.

This PR makes sure the checksum is always 2 characters long by prepending a 0 if needed.

@bram-pkg bram-pkg merged commit 42d0ba6 into FakerPHP:main Feb 22, 2022
@pimjansen
Copy link

@bram-pkg we should also port this to the new extension. Will raise an issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants