How to customize invoice fields?

How to add Advance payment option in Sales invoice?

That is not an appropriate use of a sales invoice. To request advance payment, use a sales quote. See these Guides: