You can also do this through a binding financial agreement with a lawyer. (familycourt.gov.au)
There are a number of financial agreements which we enter into, that will allow us to pay a reduced price if we pay the bill in full up front. (knsfinancial.com)
On applying for finance, the bank required a binding financial agreement between us. (law.stackexchange.com)