Deductions & credits

Thanks for your reply. But I still didn't fully understand. About this account for refinancing the loan. The bank reflects that I received 52k and 40k were debited on previous credit immediately, 12k remained, but this is also credit money. That is, all these 52k I have to return to the bank. Do I need to calculate them to 10k FBAR rate? If yes, in max.account.value  should I put 52k or 12k?
Thanks for your help