---
title: "Carrier invoice checked against McLeod carrier pay, then booked in QuickBooks | FlowRunner flow"
description: "Carriers email invoices to AP. This flow checks each line against the agreed carrier pay and extra pay in McLeod, books a match as a QuickBooks bill, and sends variances to your AP lead."
url: https://flowrunner.ai/flows/mcleod-loadmaster-carrier-invoice-to-quickbooks-bill
date_published: 2026-11-19
date_modified: 2026-11-25T18:03:54-08:00
---

# Carrier invoice checked against McLeod carrier pay, then booked in QuickBooks

Carriers email invoices to AP. This flow checks each line against the agreed carrier pay and extra pay in McLeod, books a match as a QuickBooks bill, and sends variances 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, order number, PRO, dates, total and each charge. Find the load in McLeod and compare the invoice with the agreed carrier pay and the extra pay entered on the movement. Every accessorial like detention or lumper has to match an extra pay line, and the total has to match to the cent. If it matches, create the bill in QuickBooks Online with the carrier's invoice number, attach the PDF and file a copy on the movement in McLeod. If it doesn't, ask the AP lead in Slack with both sets of numbers and the stop times, with Book it and Hold it buttons, and wait for the answer. Skip a bill that's already in QuickBooks, and tell AP in Slack when the load or the carrier can't be found.

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/mcleod-loadmaster-carrier-invoice-to-quickbooks-bill.json)

-   [McLeod LoadMaster](https://flowrunner.ai/integrations/mcleod-loadmaster)
-   [Gmail](https://flowrunner.ai/integrations/gmail-service)
-   [QuickBooks Online](https://flowrunner.ai/integrations/quickbooks-online)
-   [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, order number, PRO, dates, total and every charge, sorted into linehaul, fuel, detention, lumper, layover, TONU and other.
3.  Find the load in McLeod Looks the load up by order number, PRO or bill of lading. When nothing matches, the invoice goes to AP in Slack and nothing is booked.
4.  Compare with the agreed carrier pay Checks the invoice against the movement's agreed carrier pay and each extra pay line in McLeod: the same carrier, linehaul and total to the cent, and every accessorial matched to extra pay. A bill already in QuickBooks, or a carrier QuickBooks doesn't have, goes to AP in Slack instead.
5.  Create the bill A match becomes a QuickBooks Online bill with the carrier's invoice number, one line per charge and the PDF attached.
6.  File the invoice on the movement A copy of the carrier's invoice is filed on the movement in McLeod Imaging, so the load's paperwork stays in one place.
7.  Ask the AP lead A variance goes to the AP lead in Slack with the billed and agreed amounts, how each line matched, the stop times McLeod recorded for checking detention, 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 PDF attached. Hold it keeps the invoice out of QuickBooks and says so in the Slack thread.

## We can build this for you.

It's custom work, built around how you do things by our implementation team at Midnight Flow, in your own FlowRunner workspace.

-   Every carrier invoice matched to its rate confirmation and POD, extra charges sent to you, and billing released
    
    Built and tested by our team. Runs on your FlowRunner plan.
    
    [Have us build this](https://midnightflow.ai/packages/carrier-invoice-matching?utm_source=flowrunner.ai&utm_medium=referral&utm_campaign=freight-brokers&utm_content=flows.aside&utm_term=mcleod-loadmaster-carrier-invoice-to-quickbooks-bill)

## Before you turn it on

-   Connect your Gmail, QuickBooks Online and Slack accounts, and enter your McLeod server address and API token, or a user name and password, in the McLeod LoadMaster settings.
-   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.
-   Set Carrier invoice document type to the McLeod Imaging document type your team files carrier invoices under. The carrier is found in QuickBooks by its name in McLeod, so keep the vendor names the same.
-   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 four Slack steps, and narrow the Gmail search to your AP inbox if it shares a mailbox.

[Everything FlowRunner does with McLeod LoadMaster](https://flowrunner.ai/integrations/mcleod-loadmaster)

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