If you get this error when trying to post a payment over to Quickbooks the most likely cause is a bug in Quickbooks that occurs when the payment is trying to be applied to the invoice. The workaround is to specify which Accounts Receivable the payment will be going into, even if you only have one. Here is how to set this up.
-In All Orders go to the Lists menu, Profile Lists and find the Terms profile list.
-Highlight each term in the list, assign an Accounts Receivable and save the term.
-Next from the Lists menu, Profile Lists, find the Payment Methods profile list.
-Highlight each payment method in the list and assign an Accounts Receivable and save the payment method.
-Payment should now post over without the error message.