Verify character by character. The invoice code must be a string.
As for example
As-5b-3c-hd (asi deveria ser)
5g-op7-#;jdj. ( este el incorrecto)
1.control the "-" between each 2 characters The characters in the middle of the "-" are not if they are number or letters