Freight Factoring Fraud: Fund, Verify or Decline an Invoice by Expected Dollars
In 200 simulated quarters of 50,000 factored freight invoices, pricing each invoice in expected dollars cut fraud losses by 64%, and the fraud risk that justifies a $25 verification call ran from 2.86% on a $1,000 invoice down to 0.11% on a $25,000 one.

The decision behind every factored invoice
Freight factoring fraud is a pricing problem before it is a detection problem. A carrier sends a factor a rate confirmation, a bill of lading and an invoice, and expects to be paid quickly. The factor has three choices: fund it, hold it for a verification call to the broker who owes the money, or decline it. A fraud model can say how likely the invoice is to be fake, double billed or headed to a hijacked bank account. It cannot say which of the three choices is right, because that depends on how many dollars are on the invoice.
The usual setup ignores that. The model produces a score, someone picks a cutoff, and everything above it goes to the verification desk. A 2% fraud score on a $900 load and a 2% score on a $14,000 load get the same treatment, even though the second one puts more than fifteen times as much money at risk.
This piece works the decision out in dollars. It writes down the expected value of each action, finds the fraud probability at which a verification call pays for itself, and then runs 200 simulated quarters of 50,000 invoices to compare four policies. The math follows the economics module in F4, the open-source Freight Finance Fraud Framework behind the F4 freight invoice demo. Every number in the results comes from the code below, on synthetic data.
Where freight factoring fraud comes from
Factors earn a thin margin on a lot of volume. FreightWaves puts the typical trucking factoring fee at 1% to 5% of the invoice, with most carriers paying 1.5% to 4%, and the typical advance at 70% to 95% of the invoice paid up front. At a 3% fee, one fully lost $10,000 invoice wipes out the fee income on about 32 good ones of the same size.
The fraud around freight has been growing. Truckstop reported more than $455 million in losses from theft, double brokering and impersonation scams in 2024. Verisk CargoNet counted 2,646 confirmed cargo thefts in 2025, up 18% from 2024, with estimated losses of nearly $725 million and an average theft of $273,990. Highway, a freight fraud prevention vendor, says communication-based attacks (compromised email, spoofed phone calls, impersonation) made up 50% of classified freight fraud vectors in the second quarter of 2026, up from 42.7% in the first, and that it blocked 784,201 fraudulent inbound emails in the quarter. Treat those as a vendor's counts of what its own systems saw.
Several schemes land on the factor directly. A carrier can sell the same freight bill to two factors, and only one gets paid when the broker pays. An impersonator can submit invoices under a real carrier's authority. And a request to change where payments go can be, in Transflo's phrase, a social-engineering attempt wearing a real carrier's face. Each one shows up as an invoice that looks normal and a fraud probability somewhere between zero and one.
Kansas City has a stake in getting this right: RTS Financial, which provides factoring and other working capital to trucking companies, is headquartered in Overland Park.
Three expected values
Take one invoice with face amount A, a factoring fee rate f and a fraud probability p from a calibrated model. The factor's fee is m = f × A. If the invoice is fraudulent and the factor funds it, it loses the advance, which F4 sets to L = (1 − f) × A, assuming nothing is recovered. A verification call costs c and catches a share k of fraud. Turning away a good invoice costs D, the lost relationship and the time spent.
The expected dollars for each action are:
Funding earns the fee on good invoices and eats the full loss on bad ones. Verifying earns the same fee, pays for the call and loses only the fraud the call misses. Declining earns nothing and pays D on every good invoice turned away.
Here is one invoice worked through. A = $10,000, f = 3%, p = 0.5%, k = 90%, c = $25 and D = $50, so m = $300 and L = $9,700.
- Fund: 0.995 × 300 − 0.005 × 9,700 = $298.50 − $48.50 = $250.00
- Verify: $298.50 − 0.005 × 0.1 × 9,700 − 25 = $298.50 − $4.85 − $25 = $268.65
- Decline: −0.995 × 50 = −$49.75
At a fraud probability of half a percent, the call is worth $18.65 on this invoice. The same 0.5% on a $1,000 invoice gives fund $25.00 and verify $4.37, so there the call costs more than it saves.
The break-even fraud risk for a call
Setting the fund and verify values equal and solving for p gives the fraud probability above which a call pays:
The fee drops out, because the factor earns it either way. What is left is the cost of the call over the fraud dollars it can catch. The threshold is inversely proportional to the invoice amount: double the invoice and the risk needed to justify a call halves.
Declining beats verifying when the money a call still misses, plus the call itself, exceeds what a good invoice is worth:
With the inputs above, the two thresholds by invoice size are:
| Invoice | Call above | Decline above |
|---|---|---|
| $1,000 | 2.86% | 31.1% |
| $2,500 | 1.15% | 27.2% |
| $5,000 | 0.57% | 25.5% |
| $10,000 | 0.29% | 24.6% |
| $25,000 | 0.11% | 24.0% |
Two things follow. First, no single score cutoff can be right across a book where invoices range from a few hundred dollars to tens of thousands. A flat 1% cutoff calls too many small invoices (the $1,000 one does not earn a call until 2.86%) and too few large ones (the $25,000 one earns a call at 0.11%, a ninth of that cutoff). Second, declining is rare. With a 90% catch rate, a call is the better choice until the model thinks the invoice is roughly one in four likely to be fraud. The decision that matters on almost every invoice is call or fund.
F4's code gives the same answers. Its verification_threshold returns 0.286% for the $10,000 invoice, and its best_action switches from fund to verify and from verify to decline exactly at the thresholds in the table.
200 simulated quarters
A formula for one invoice does not show what a policy is worth across a book, or how much of the gain survives a fraud model that is good but not perfect. So I simulated one. Each quarter has 50,000 invoices with a median of about $2,500 and a long right tail. Fraud runs at about 0.4% and leans toward larger invoices, since a fraudster sizing a fake load to the payout is a reasonable assumption. A logistic fraud model is trained on the previous quarter and scores the current one; its average AUC is 0.874, a useful model rather than a perfect one.
Four policies run on every quarter:
- Fund everything.
- A verification desk that can make 1,000 calls a quarter (2% of invoices), working the invoices with the highest fraud scores.
- The same desk and the same 1,000 calls, working the invoices where a call is worth the most dollars: p × k × L − c.
- The expected-dollar rule with no cap: each invoice gets whichever action has the highest expected value.
The code runs in about ten seconds:
"""Fund, verify or decline: expected-dollar decisions on a synthetic book of factored freight invoices.
Payoffs follow the F4 economics module (github.com/Bodhi8/f4-open-source):
fee m = f*A, exposure L = (1-f)*A, and per invoice
fund = (1-p)*m - p*L
verify = (1-p)*m - p*(1-k)*L - c
decline = -(1-p)*D
All data are simulated. Nothing here comes from a real factoring book.
"""
import numpy as np
from sklearn.linear_model import LogisticRegression
from sklearn.metrics import roc_auc_score
FEE, CATCH, CALL, DECLINE = 0.03, 0.90, 25.0, 50.0 # f, k, c, D
N, DESK = 50_000, 0.02 # invoices per quarter; calls = 2% of invoices
def book(rng):
amount = rng.lognormal(np.log(2_500), 0.6, N) # median about $2,500
base = 0.004 * (amount / 2_500) ** 0.5 # fraud leans toward bigger loads
fraud = rng.random(N) < base
signal = np.where(fraud, 1.6, 0.0) + rng.normal(0, 1.0, N) # what a fraud model sees
return amount, fraud, signal
def calibrated_p(rng):
"""Fit a logistic fraud model on last quarter's book and score this quarter's invoices."""
a0, f0, s0 = book(rng)
X0 = np.column_stack([s0, np.log(a0)])
model = LogisticRegression(C=1e6, max_iter=1000).fit(X0, f0)
a, f, s = book(rng)
return a, f, model.predict_proba(np.column_stack([s, np.log(a)]))[:, 1]
def booked(action, amount, fraud):
m, L = FEE * amount, (1 - FEE) * amount
fee = np.where(~fraud & (action < 2), m, 0).sum()
loss = (np.where(fraud & (action == 0), L, 0) + np.where(fraud & (action == 1), (1 - CATCH) * L, 0)).sum()
cost = CALL * (action == 1).sum() + DECLINE * (~fraud & (action == 2)).sum()
return fee - loss - cost, loss, int((action == 1).sum()), int((action == 2).sum())
def one_quarter(seed):
rng = np.random.default_rng(seed)
amount, fraud, p = calibrated_p(rng)
m, L = FEE * amount, (1 - FEE) * amount
ev = np.stack([(1 - p) * m - p * L, (1 - p) * m - p * (1 - CATCH) * L - CALL, -(1 - p) * DECLINE])
k = int(DESK * N)
out = {}
act = np.zeros(N, int); out["fund all"] = booked(act, amount, fraud)
act = np.zeros(N, int); act[np.argsort(-p)[:k]] = 1; out["desk, by score"] = booked(act, amount, fraud)
act = np.zeros(N, int); act[np.argsort(-(p * CATCH * L - CALL))[:k]] = 1
out["desk, by dollars"] = booked(act, amount, fraud)
out["rule, no cap"] = booked(ev.argmax(0), amount, fraud)
out["_auc"] = roc_auc_score(fraud, p)
out["_fraud"] = (fraud.sum(), (L * fraud).sum())
return out
if __name__ == "__main__":
runs = [one_quarter(s) for s in range(200)]
names = ["fund all", "desk, by score", "desk, by dollars", "rule, no cap"]
print(f"200 simulated quarters of {N:,} invoices; mean AUC {np.mean([r['_auc'] for r in runs]):.3f}; "
f"mean fraud {np.mean([r['_fraud'][0] for r in runs]):.0f} invoices, "
f"${np.mean([r['_fraud'][1] for r in runs]):,.0f} exposure")
for n in names:
net = np.array([r[n][0] for r in runs]); loss = np.array([r[n][1] for r in runs])
calls = np.array([r[n][2] for r in runs]); declines = np.array([r[n][3] for r in runs])
print(f"{n:17s} net ${net.mean():>10,.0f} fraud loss ${loss.mean():>9,.0f} "
f"calls {calls.mean():>6,.0f} declines {declines.mean():>4,.0f}")
base = np.array([r["fund all"][0] for r in runs]).mean()
for n in names[1:]:
net = np.array([r[n][0] for r in runs]).mean()
print(f"{n:17s} adds ${net - base:,.0f} a quarter over funding everything")
d = np.array([r["desk, by dollars"][0] - r["desk, by score"][0] for r in runs])
print(f"same 1,000 calls, ranked by dollars instead of score: +${d.mean():,.0f} a quarter "
f"(5th to 95th percentile ${np.percentile(d, 5):,.0f} to ${np.percentile(d, 95):,.0f}); "
f"better in {np.mean(d > 0):.0%} of quarters")
loss0 = np.mean([r["fund all"][1] for r in runs]); loss1 = np.mean([r["rule, no cap"][1] for r in runs])
print(f"uncapped rule cuts fraud loss by {1 - loss1 / loss0:.1%}")
for A in (1_000, 2_500, 5_000, 10_000, 25_000):
m, L = FEE * A, (1 - FEE) * A
p_call = CALL / (CATCH * L)
p_decl = (m + DECLINE - CALL) / (m + DECLINE + (1 - CATCH) * L)
print(f"${A:>6,}: call above p = {p_call:.2%}, decline above p = {p_decl:.1%}")
The output:
200 simulated quarters of 50,000 invoices; mean AUC 0.874; mean fraud 209 invoices, $727,210 exposure
fund all net $ 3,739,555 fraud loss $ 727,210 calls 0 declines 0
desk, by score net $ 3,951,533 fraud loss $ 490,232 calls 1,000 declines 0
desk, by dollars net $ 3,977,785 fraud loss $ 463,980 calls 1,000 declines 0
rule, no cap net $ 4,076,493 fraud loss $ 260,002 calls 5,127 declines 16
desk, by score adds $211,978 a quarter over funding everything
desk, by dollars adds $238,231 a quarter over funding everything
rule, no cap adds $336,938 a quarter over funding everything
same 1,000 calls, ranked by dollars instead of score: +$26,252 a quarter (5th to 95th percentile $-5,947 to $62,960); better in 89% of quarters
uncapped rule cuts fraud loss by 64.2%
$ 1,000: call above p = 2.86%, decline above p = 31.1%
$ 2,500: call above p = 1.15%, decline above p = 27.2%
$ 5,000: call above p = 0.57%, decline above p = 25.5%
$10,000: call above p = 0.29%, decline above p = 24.6%
$25,000: call above p = 0.11%, decline above p = 24.0%
What the simulation shows
| Policy | Net per quarter | Fraud loss | Calls | Gain over funding everything |
|---|---|---|---|---|
| Fund everything | $3,739,555 | $727,210 | 0 | $0 |
| 1,000 calls ranked by fraud score | $3,951,533 | $490,232 | 1,000 | $211,978 |
| 1,000 calls ranked by expected dollars | $3,977,785 | $463,980 | 1,000 | $238,231 |
| Expected-dollar rule, no cap | $4,076,493 | $260,002 | 5,127 | $336,938 |
Ranking the same 1,000 calls by dollars instead of score adds $26,252 a quarter on average. It wins in 89% of the simulated quarters; across the middle 90% of quarters the difference runs from minus $5,947 to $62,960. The reason is the threshold table. The score-ranked queue spends some of its calls on smaller invoices with high scores, where a catch saves little, and the dollar-ranked queue trades them for larger invoices with moderate scores and more money at stake.
The uncapped rule goes further. It makes 5,127 calls, about 10% of invoices, declines 16 and cuts fraud losses by 64.2%, from $727,210 to $260,002 a quarter. Those extra 4,127 calls cost $103,175 at $25 each, and the rule still nets $98,708 more than the 1,000-call desk ranked by dollars. If calls really cost $25 and catch 90% of fraud, the desk is understaffed in this simulation, and the expected-dollar rule says by how much.
That is the practical use of the rule for a factor's operations or credit lead. It turns "how many people should sit on the verification desk" from a budget argument into a calculation: keep adding calls while the next invoice in the dollar-ranked queue is worth more than the call.
What the model leaves out
The rule is only as good as the probability that goes into it. A model whose scores rank well but run twice too high will send too many invoices to the desk; one that runs low will fund fraud. Ranking by dollars needs calibrated probabilities, not only a good AUC, which is why the simulation trains on one quarter and scores the next instead of grading the model on the data it was fit to. In production that means checking calibration by score band every month and refitting when it drifts.
The catch rate, call cost and decline cost are assumptions. F4's demo uses 90% as an illustrative default. That is plausible for a call that confirms a load with the broker on a number the factor already holds, and much too high if the fraudster controls the email thread or the phone number, which is where Highway's communication-attack counts point. Set k to 50% and every call threshold in the table rises by 80%.
Fraud also adapts. Once a factor calls every large invoice above a known risk, a ring has a reason to split loads into smaller invoices that fall under the line. Independent invoices are the wrong model for that. F4's synthetic portfolio plants fraud rings (carriers sharing one bank account, collusion, double billing and an account takeover) so a model can be tested on structure that a per-invoice score misses, and the F4 demo generates one in your browser.
Recovery is set to zero. Factors with recourse agreements, reserves or a claim against the carrier recover part of a loss, which lowers L and raises every threshold. The Payoffs class in F4 takes the exposure directly for that reason.
And this is a simulation. The invoice sizes, fraud rate and model quality are chosen to be plausible, not taken from any factor's book. Ranking calls by dollars beat ranking by score in 89% of the simulated quarters, and that ordering is what I would test first on a real book. The dollar amounts depend on assumptions a real book would replace.
Run it with your own numbers
The F4 freight invoice demo runs the same expected-value calculation in your browser: set the fraud probability, invoice amount, fee rate, catch rate and the two costs, and watch the best action change as the invoice grows. The source is on GitHub under Apache 2.0, with synthetic data only.
More of this work is in the machine learning and analytics research hub, which covers fraud and anomaly detection with thresholds set by the cost of each error, and the AI strategy and economics hub.
Sources
- FreightWaves, Factoring advance rate, February 26, 2026
- Krystyna Shchedrina, Freight fraud losses surpass $455M in 2024, Truck News, May 2, 2025 (Truckstop 2024 Freight Fraud Report)
- CCJ, CargoNet: cargo theft losses surged 60% in 2025, January 23, 2026
- Highway, Q2 2026 Freight Fraud Index, July 28, 2026
- Ross Lancaster, How freight factors can fight fraud in 2026 without slowing funding, Transflo, September 2, 2026
- Heather Villa, Combating factoring fraud in the freight transportation industry, International Factoring Association magazine, Q1 2024
- CB Insights, RTS Financial company profile
- F4 Freight Finance Fraud Framework, source code, version 0.1.0

