> For the complete documentation index, see [llms.txt](https://docs.charted.com/ap-automation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.charted.com/ap-automation/charted-faqs/invoice-ai/why-did-charted-not-identify-an-invoice-as-a-duplicate.md). Agents can also search and read this documentation through its [MCP server](https://docs.charted.com/ap-automation/~gitbook/mcp).

# Why did Charted not identify an invoice as a duplicate?

Because Invoice AI compares the file itself, not the invoice details printed on it. It flags two documents as duplicates only when the files are identical, including metadata you cannot see, such as when the file was saved, the application that created it, and its author.

So two invoices can carry the same vendor, invoice number, date and amount and still not be flagged. These are the common reasons the files differ:

* **Your vendor regenerated or resent the invoice.** A new file from their system differs even when every visible field matches.
* **Someone exported the document to PDF a second time.** Exporting the same source twice produces two distinct files, and even re-saving a document changes its metadata.
* **You scanned the invoice from paper.** Each scan produces a new image, so a rescan will effectively never match.
* **You resubmitted a document that failed on first upload.** Unless it is the same file, Invoice AI treats it as new.

If even identical files are not being flagged, ask your administrator whether **Disable Invoice Duplicate Detection** is turned on, on the **General Settings** tab of Invoice AI settings. While it is on, Invoice AI does not check for duplicates.

## The second check

NetSuite runs its own check, and that one does look at content. When you save a vendor bill, NetSuite compares the reference (invoice) number against your existing bills for that vendor and warns you if it finds a match. You can investigate or continue, which matters when the repeat is deliberate — a corrected re-issue of a bill you voided, for example.

Whether you see that warning depends on your NetSuite preferences:

| Level            | Where                                                                                    | What it controls                                          |
| ---------------- | ---------------------------------------------------------------------------------------- | --------------------------------------------------------- |
| Account          | **Setup > Accounting > Preferences > Accounting Preferences**, Items/Transactions subtab | No warning, a warning, or blocking the save, for everyone |
| User             | **Home > Set Preferences**, Transactions subtab, the **Duplicate Number Warnings** box   | Turns the warning on for one user                         |
| Override control | **Setup > Company > General Preferences**                                                | Whether users can override the company setting            |

{% hint style="warning" %}
If your team does not see these warnings, ask your administrator to review the Duplicate Number Warnings preference. Invoice AI's file comparison alone will not catch a vendor who resends.
{% endhint %}

See [Managing your inbox](https://docs.charted.com/ap-automation/charted-features/invoice-ai/managing-your-inbox.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.charted.com/ap-automation/charted-faqs/invoice-ai/why-did-charted-not-identify-an-invoice-as-a-duplicate.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
