```python
def invoice_total(rows, shipping_yen):
    subtotal = 0
    for row in rows:
        if row['status'] == 'active':
            subtotal += row['unit_yen'] * row['quantity'] * (100 - row['discount_percent']) // 100
    tax = (subtotal + shipping_yen) * 10 // 100
    return subtotal + shipping_yen + tax
```