• MATCHED
  • DISCREPANCY
  • MISSING
  • HUMAN

How to reconcile freight invoices with your AI

Connect Flexport to your AI client to automate invoice auditing. It handles the heavy lifting of pulling documents and comparing line items.

Ask AI about this page

Short answer

How can I use AI to reconcile my Flexport invoices?

Your AI pulls specific shipment and commercial invoices directly from Flexport to compare costs against expected rates. You get a clear list of discrepancies and billing errors.

Audit outcomes.

Where the data lands.

The AI organizes the results based on what it finds in your Flexport account.

MATCHED

Clean audits

The AI confirms the shipment invoice matches the commercial invoice. These records are marked as accurate.

DISCREPANCY

Billing errors found

The AI flags mismatches between shipment costs and commercial documentation. You get a specific list of where the numbers don't add up.

MISSING

Missing documentation

The AI identifies shipments that are missing necessary commercial invoices. This helps you catch incomplete paperwork before it causes delays.

HUMAN

Manual review needed

Complex disputes or edge cases are sent to you. The AI highlights these specific issues so you don't have to hunt for them.

The workflow

What your AI does when the request arrives.

The AI uses your Flexport credentials to fetch the exact documents needed for the audit.

  1. Fetch shipment records

    The AI identifies all relevant shipment invoices for the period or shipment ID you specify.

    list_shipment_invoices
  2. Retrieve specific invoices

    It pulls the individual shipment invoice files to read the line item costs.

    get_invoice
  3. Gather commercial data

    The AI pulls the corresponding commercial invoices to compare against the freight charges.

    list_commercial_invoices
  4. Compare and flag

    The AI cross-references the data from all pulled documents to find mismatches.

    get_invoice

Try it

Copy these to start.

Use these prompts to kick off the reconciliation process.

Starting points

Swap out the bracketed text with your actual shipment IDs or date ranges.

Flexport Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_f2LQY2qm6SfEuHLTo4K9KyiSmoDb3VOKl5P1pm0Z/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Flexport capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "flexport-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_f2LQY2qm6SfEuHLTo4K9KyiSmoDb3VOKl5P1pm0Z/mcp"
    }
  }
}
Copy into chat04
  • List all shipment invoices from last month and check them against the commercial invoices.

  • Compare the invoice for shipment ID [ID_NUMBER] with its commercial invoice.

  • Find any discrepancies between my recent shipment invoices and commercial invoices in Flexport.

  • Pull the commercial invoices for all shipments in [Month] and tell me if any are missing.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Flexport once, then ask.

You only need to link your Flexport account once. Your credentials stay encrypted and secure, and you can immediately start asking your AI to audit your shipments.

Connect Flexport to your AI

FAQ

How this task behaves.

  • 01

    Can the AI change my invoices in Flexport?

    No. The AI can only read and pull invoice data. It cannot edit, delete, or create invoices in your Flexport account.

  • 02

    Does the AI automatically pay my invoices?

    No. The AI identifies errors and discrepancies, but you must handle all payments and financial transactions yourself.

  • 03

    Can I audit a single shipment?

    Yes. You can provide a specific shipment ID to have the AI pull the relevant documents for that one job.

  • 04

    What happens if a commercial invoice is missing?

    The AI will notify you that it cannot find a matching commercial invoice for the shipment it is auditing.

  • 05

    Do I need to upload my own PDFs?

    No. The AI pulls the documents directly from Flexport using the provided tools.

  • More questions about Flexport? See everything the Flexport Connector can do

Connect Flexport to Claude, Cursor, ChatGPT & more