Didn't know how to mark Hpjchobbes's comment as the answer, so I up-voted him and here is the answer if anyone cares.
There were 2 accounts matching the Undeposited funds account, I was mistakenly posting the the wrong one. QB was looking in the account marked "*Undeposited Funds" Changing my code the reflect the * solved my issue.