---
title: "Carrier invoice matched to the rate con before it becomes a QuickBooks bill | FlowRunner flow"
description: "Carriers email invoices to your AP inbox. This flow finds the rate con for the load in sent mail, compares the two, and books a match as a QuickBooks bill. Variances go to your AP lead."
url: https://flowrunner.ai/flows/quickbooks-online-carrier-invoice-to-bill
date_published: 2026-11-18
date_modified: 2026-11-18T16:18:59-08:00
---

# Carrier invoice matched to the rate con before it becomes a QuickBooks bill

Carriers email invoices to your AP inbox. This flow finds the rate con for the load in sent mail, compares the two, and books a match as a QuickBooks bill. Variances go to your AP lead.

## The prompt

When a carrier emails an invoice to our AP inbox in Gmail, read the PDF and pull out the carrier, invoice number, load number, PRO, dates, total and each charge. Find the carrier as a vendor in QuickBooks Online and skip the invoice if a bill with that number already exists. Search our sent mail for the rate con with the same load number and compare the two: same load, same carrier, same total, and every accessorial on the invoice also on the rate con. If they match, create the bill with the carrier's invoice number and attach the invoice PDF. If they don't, ask the AP lead in Slack with Book it and Hold it buttons and wait for the answer. Tell AP in Slack when the carrier isn't in QuickBooks or no rate con turns up.

FlowRunner Prompt to Flow built this flow from that request. Here it is as it opens in the editor.

## The flow

[Import this flow](https://flowrunner.ai/downloads/prompt-to-flow/quickbooks-online-carrier-invoice-to-bill.json)

-   [QuickBooks Online](https://flowrunner.ai/integrations/quickbooks-online)
-   [Gmail](https://flowrunner.ai/integrations/gmail-service)
-   [Slack](https://flowrunner.ai/integrations/slack)

Download the file, then in FlowRunner click + beside Flows, pick it under Import a Flow Version and click Create. [How importing works](https://docs.flowrunner.ai/manage/flows#importing-a-flow)

## What each step does

1.  New carrier invoice email Checks the AP inbox in Gmail every 5 minutes for an email with an attachment and invoice in the subject.
2.  Read the carrier invoice An AI agent reads the PDF and pulls out the carrier, invoice number, load number, PRO, dates, total and every charge on it.
3.  Check for a duplicate bill Finds the carrier as a vendor in QuickBooks Online and looks for a bill with the same invoice number. A repeat is skipped and AP is told in Slack, as it is when QuickBooks doesn't know the carrier.
4.  Find the rate con in sent mail Searches the mailbox's sent mail for the rate con with the same load number. When none turns up, the invoice goes to AP in Slack and nothing is entered.
5.  Compare with the rate con A second AI agent reads the invoice and the rate con side by side: same load, same carrier, same total to the cent, and every accessorial on the invoice also on the rate con.
6.  Create the bill A match becomes a QuickBooks bill with the carrier's invoice number as the bill number, one line per charge, and the invoice PDF attached.
7.  Ask the AP lead A variance goes to the AP lead in Slack with both totals, what differs, links to both PDFs, and two buttons, Book it and Hold it.
8.  Wait for the AP lead's answer The run waits for the click. Book it enters the bill as the carrier billed it, with the invoice attached. Hold it keeps the invoice out of QuickBooks and says so in the Slack thread.

## Need a custom carrier invoice audit automation? Our team can build it for you.

Tell us the process. Our implementation team at Midnight Flow builds it around how you work, tests it on your real data, and keeps it running, in your own FlowRunner workspace.

[Have us build it](https://midnightflow.ai/packages/custom?utm_source=flowrunner.ai&utm_medium=referral&utm_campaign=general&utm_content=flows.aside&utm_term=quickbooks-online-carrier-invoice-to-bill)

## Before you turn it on

-   Connect your Gmail, QuickBooks Online and Slack accounts.
-   Add your Anthropic key in the flow setting Anthropic key, and set Carrier pay account to the QuickBooks account your carrier bills are booked to.
-   Copy the URL of the block Wait for the AP lead's answer into the flow setting Answer link. The Slack buttons open it.
-   Pick your Slack channel in the five Slack steps, and narrow the Gmail search to your AP inbox if it shares a mailbox. The rate con search reads the sent mail of the same mailbox.

[Everything FlowRunner does with QuickBooks Online](https://flowrunner.ai/integrations/quickbooks-online)

---
Markdown version of https://flowrunner.ai/flows/quickbooks-online-carrier-invoice-to-bill. Site index: https://flowrunner.ai/llms.txt
