Error when creating bills or invoices: Invalid type Choose another