SAP Message 8B255 - Only one direction of movement can be used in a material document

Diagnosis
The material document has a Nota Fiscal relevant item that determined aNota Fiscal type of space.

System Response
Material document - Nota Fiscal interface error.
All items in the material document are Nota Fiscal relevant, but onlyitems with the same movement direction can be used.

Procedure
Create multiple material documents. The movement types selected cannot be mixed.