Text error and bug in invoice validation