added frontend model for invoice