You can specify fixed document number length. If you set this option to 10 (default for some country regulations), the system will allow exactly 10 digits number as a document number in invoices you create and will alert you otherwise. The check will be performed every time you insert document number of invoices, credit and debit notes. Zero or nothing indicates that system will not track documents numbers length