You always provide a quote before you start any work. Make sure you get everything agreed in a spec document and contract