Invoice generation script