# Ask your AI assistant which invoices are overdue

Source: https://zigaflow.com/help/ask-ai-which-invoices-are-overdue

**The short answer:** Ask your AI assistant, connected through the Zigaflow MCP server: "Which invoices are past their due date and not paid? Leave out drafts. How many days late is each?" Say what overdue means instead of trusting a guess. The assistant lists each invoice with its customer and days late, and you check it in Invoices.

In Zigaflow · Add-on: API Calls · Last checked 4 December 2026

## Before you start

- [Set up the Zigaflow MCP server](https://zigaflow.com/help/set-up-the-zigaflow-mcp-server)

## Steps

### 1. Connect your AI assistant

Your assistant needs the Zigaflow MCP server, working as the MCP user chosen in Settings. If it isn't connected yet, follow [Set up the Zigaflow MCP server](https://zigaflow.com/help/set-up-the-zigaflow-mcp-server).

### 2. Ask the question

Type this into your assistant:

```text
Which invoices are past their due date and not paid? Leave out drafts. How many days late is each?
```

Spell out what "overdue" means: past the due date, not paid, and not a draft. A paid invoice can be past its due date, and a draft was never sent, so neither is owed.

### 3. Read the answer

In our demo account the assistant read the invoices and answered: **one overdue invoice, IV1001 for Harrowgate Recruitment, at Sent, due on 1 October, 63 days late.**

IV1000 was also past its due date but already paid, and five drafts had not been sent. Both would have been counted if the question had not ruled them out.

### 4. Check it in Zigaflow

Open Invoices and find the invoice in the Sent column. Open it and check the due date and the amount match.

![The invoices pipeline in Zigaflow, with IV1001 for Harrowgate Recruitment in the Sent column](https://cdn.sanity.io/images/sgnztw5h/production/61c66d77528d0427cce54da0e37cd5330955a3c1-1384x320.png?w=2400&fit=max&auto=format)

## What this lesson teaches

**Ask your data**, level 2 of [AI skills with Zigaflow](https://zigaflow.com/help/ai-skills): Define your terms: say what "overdue" means instead of trusting the assistant's guess.

> **Tip:** The Zigaflow MCP server comes with the API calls add-on. It isn't on the Quotes plan.

## Do it by hand

The same work without an assistant: [Automatic Late/Overdue Invoice Notifications and Actions](https://zigaflow.com/help/automatic-late-overdue-invoice-notifications-and-actions).

## Frequently asked questions

### Why does the assistant count paid invoices?

Past its due date is not the same as overdue. Say "not paid" and "leave out drafts" in the question.

### Does asking change anything in Zigaflow?

No. This question only reads your invoices.

### Can I use ChatGPT, Claude or Copilot for this?

Claude, yes, and any AI tool that connects to the Zigaflow MCP server with an API key: Microsoft Copilot Studio, n8n, Zapier, Claude Code, Cline, Cursor, Gemini CLI, GitHub Copilot, Goose, Junie, OpenAI Codex, Visual Studio Code and Zed, each with a setup guide. ChatGPT, the Gemini app and Microsoft 365 Copilot sign in to MCP servers with OAuth only, so they cannot connect yet.
