NEW YORK —Venture investments in North Carolina companies totaled $364.2 million in 17 deals during the third quarter, according to Dow Jones Venture Source data.That’s well above both the $$169.7 raised in Q2 and the $127.5 million raised in the same period last year, although one mega deal accounted for $225 million of the total.

The number of deals best Q2 by four and the same period last year by one.

Charlotte-based AvidXchange racked up the biggest deal, landing $225 million for its financial services technology. AgBiome in Research Triangle Park was second, raising $34.5 million. Durham’s Spoonflower nabbed $25 million, Netserve in Morrisville landed a $15 million deal, and Ziff Solutions in Durham raised $14.3 million.

The payment/transactional processing sector drew the most investment dollars in the state during the quarter, accounting for $225 million of the total. Genetically modified agricultural products was second with $41.8 million, followed by advertising and marketing, which drew $29.3 million.

Most active investors were Bull City Venture Partners, Cofounders Capital, and Lowe’s Companies Venture Capital, all of which invested in two deals during the quarter.

Other firms that made investments in NC during Q3 include Rex Health Ventures, Missouric Technology Corp., Syngenta Ventures, Bain Capital Ventures, Pappas Ventures, Better Ventures, Southern Capitol Ventures, Bill & Melinda Gates Foundation, Triad Ventures, BioGenerator and North Bridge Capital Growth Equity.