USDT vs USD incorrect cost basis

Most of our transactions involve USDT pairs but for some reason both buy/sell trades have a different USD amount for cost basis compared to the USDT amount. For example the cost analysis for 1396 USDT buy trade shows the following:

Lot of 1396.266819 USDT worth $1419.05 - loss of $23.

So basically every purchase shows a loss resulting in incorrect tax calculation.

We use API to import transactions and mostly use Binance.

Please advise.

mine has a average cost of $1.15 for $1 usd???

also there API either kucoin or koinly have broken he tracking I will use CSV files no more API for me they are not trust worthy