What I did:-
1. Started with 290 refined in my credit section.
2. Deposited 1 refined to my bot (Via Dispenser.TF logistics)
3. Withdrew 20 refined from my credit section to my bot 15 times.
4. Withdrew 249 refined from bot
Now I have -10 refined in my credit section (Should be 0) and 0 refined in my bot (Should be 42 (I think, not 100% sure on this number, steam inventory history is omitting large trades)).
I wanted to withdraw all my 290 refined at once (Steam is buggy) which is why I withdrew to my bot first, as, your credit section refuses to let me withdraw more than 20.
EDIT:- It's also saying
>INVENTORY (291/300)
When I only have 30 odd items in my inventory.