In legal proceedings, fees are usually invoiced in three instalments: at the beginning of the case, in the middle of the case and at the closing.
If you are having financial difficulties, don't hesitate to talk to your lawyer, who can offer you a payment facility.