How much you owe depends on the total amount owed; the total amount is 1,000 - the available amount is 831.11 = 168.89 yuan.
How much you should repay this period depends on the amount you should repay this period; it is 398.89 yuan. 0 yuan has been repaid in this period, which should mean that it has not been repaid, but the total amount owed shows that the amount has been repaid, which means that it has not been paid. In addition, the 168.89 should be the repayment of the next period's bill, not the current period.
The conclusion is: The current debt is 398.89 yuan. The account information shows that the payment has been repaid, and the repayment information shows that the payment has not been made (or has not been received). This is related to the repayment method, so try to avoid it when it arrives. Repay on the due date, but in advance, and try not to repay across banks. If you want to know the details, don't look at the repayment information, which is displayed with a lag. If you don't understand the account information, don't look at it. You'll know it the day after the payment is made before the bill comes out.