SAP Message 881156 - Error while updating REA document &1

Diagnosis
Accounting document &2 could not be entered as a consecutive documentin REA declaration &1.

System Response
The document flow for this declaration is restricted to accounting.