Posting Centralized Payments

I have 2 companies “A” & “B” that are using Centralized Payments. All Payments are settled from Company A. I have generated payments and printed Checks. When trying to post the payments I get the following error"

Account structure “B” - BS, for the combination 20000-401000, is not valid for ledger “A”. All intercompany accounts have been setup properly. The account 20000-401000 is setup and active in the account structures for both companies.

Can anyone tell me how to fix this or what the problem is.