Loop with custom Post type & custom taxonomy term

<?php $paged = ( get_query_var('paged') ) ? get_query_var('paged') : 1; query_posts( array( 'post_type' => 'YourPostType', 'YourTax' => 'YourTaxTerm', 'showposts' => 8, 'orderby' => 'date', 'order' => 'DESC', 'post_status'=> 'publish', 'ignore_sticky_posts' => 1, 'paged' => $paged ) ); ?>
<?php if (have_posts()) : ?>
<ul>
<?php while (have_posts()) : the_post(); ?>
<li class="grid-item" id="post-<?php the_ID(); ?>">
<a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
</li>
<?php endwhile; ?>
</ul>
<?php endif; ?>
<?php wp_reset_query(); ?>