Whenever you get an issue like this, key the item in Dynamics manually.
There has to be distributions. If you don't supply them, they have to default. Dynamics is complicated, they can default from several places; its not our job as developers to figure that out. An accounting type has to do that.
Key the item manually. If it works, the issue is yours. I'm betting that it doesn't work, that the default account is not set up correctly. Then you give the problem to the accountants.