Customized sales invoice

you may use the variable {{ total.number | spell_out | capitalize }}

But as i have mentioned in another topic there is problem with it. Please check below.
@lubos your guidance is needed too.