SAP Message 0D341 - Invoicing type &1 for account &2, BP &3, not in selected area

Diagnosis
You specified a lot of invoicing types in the selection parameters forinvoicing creation.
The system uses the contract account-business partner relationship todetermine the invoicing type defined for the relationship. This one isnot included in the invoicing types selected.

System Response
No invoice will be created for the contract account-business partnerrelationship specified.

Procedure
If you want to create an invoice for the relationship, repeat invoicegeneration and make sure the invoicing type belonging to the contractaccount-business partner relationship appears in the invoicing typesselected.