According to the clearing rules, the amount of credit card bill generally includes: current deposit/arrears balance, previous deposit/arrears balance, current expenditure amount and current deposit amount.
Current repayment amount = current deposit/debt balance = previous debt balance-previous deposit balance+current expenditure amount-current deposit amount.
The current period and the previous period are billing cycles. The expenditure amount is the credit card consumption amount, and the deposit amount is the repayment amount received by the credit card.