The max limit on the invoice number is 18 characters. However you must not use spaces and special characters:  # % ^ & etc. 


The following is an example of a bill with the maximum of 18 characters working successfully: