To create an invoice with a 50% upfront deposit and a 3-month balance due date, turn on Deposits in Account and Settings to add a deposit field, and set the due date 3 months from the creation date to pay the balance.
Go to Account and Settings > Sales tab. In the Sales form content section, look for Deposit and toggle it ON, then select Save and Done.