As per the E-invoice rule the invoice document should be of minimum length of 1 and a maximum length of 16 character. It is not possible to generate E-invoice if the document number is more than 16 characters.
Please make the necessary changes in the invoice document number to create an E-invoice.