SAP Message V4165 - Different sales organizations have been billed

Diagnosis
The referenced documents in the intermediate document (IDoc) belong todifferent sales organizations:
Sales organization &V2& for the document with customer material &V1&
Sales organization &V4& for the document with customer material &V3&

System Response
The system terminates processing of the intermediate document (IDoc).

Procedure
Create two IDocs so that there is only one sales organization per IDoc.