Closed dev-sahar closed 2 years ago
Hi @dev-sahar,
I'm gonna look at it tomorrow, if you can fix the issue, please create a pull request 🙌.
@dev-sahar
I how did you asume that the result is invalid? Just checked the output with the ZATCA SDK for the values you provided and it was decoded correctly.
If we're missing somthing here, please, elaborate more.
Issue description
When I increase the vatRegistrationNumber to 15 characters/numbers (which is the length of the vat registration number for my KSA company) the decoded string gets missed up.
Steps to reproduce the issue
use this as a sample
What's the expected result?
a readable string similar to this
What's the actual result?