Taking a case to trial is usually a gamble, and when Apple decided to fight it out with the government over e-book pricing, it lost in a big way. The judge found that Apple did indeed conspire to fix prices, and the court issued an order that stopped Apple from entering into "Most Favored Nation (MFN)" pricing arrangements with publishers. That approach "eliminated any risk that Apple would ever have to compete on price when selling e-books, while as a practical matter forcing the Publishers to adopt the agency model across the board," the judge wrote.

The judge's plan is being executed by an appointed monitor, and Apple is fighting it every step of the way. The company filed an emergency appeal last week.

Now, however, the bills are coming. The Department of Justice led the prosecution, and it wasn't seeking any money damages. But state attorneys general do want to get paid. The state authorities and consumer representatives on the case have submitted damage claims that add up to $280 million. They also argue that antitrust law allows them to triple that amount because of the definitive outcome of the earlier trial, making Apple's total exposure $840 million, according to a weekend Bloomberg report.

In a memo to the judge, lawyers for the plaintiffs said that "the conspiracy caused widespread antitrust injury to e-book consumers." And in her ruling, US District Judge Denise Cote found that Apple's pricing scheme had caused the price of some e-book titles to jump by 50 percent.

Cote has scheduled a damages trial for later this year.

While the nearly billion-dollar damages claim is a big one, Apple is uniquely capable of handling such setbacks right now. The company had nearly $160 billion in the bank at the end of 2013, according to financial reports.