diff --git a/views_api.py b/views_api.py index a5f54ca..25d49db 100644 --- a/views_api.py +++ b/views_api.py @@ -381,7 +381,8 @@ async def api_get_pending_entries( pending_entries = [] for e in all_entries: - if e.get("t") == "Transaction" and e.get("flag") == "!": + # Only include pending transactions that are NOT voided + if e.get("t") == "Transaction" and e.get("flag") == "!" and "voided" not in e.get("tags", []): # Extract entry ID from links field entry_id = None links = e.get("links", [])