Beazer Homes USA Inc. is asking a federal court to stop U.S. Bank National Association from demanding the builder repay $1.38 billion in loans, according to a regulatory filing late Tuesday.

In its complaint, filed in U.S. District Court in Atlanta, Beazer said greed is the motivation for the move.