SAP Message >3052 - Reference &1 from contract account type &2

Diagnosis
The reference contract account has a different account type than theone entered.

Procedure
Enter a different reference or a different account type.