Message SAP WS411 - An internal error occurred

Diagnosis
An internal error occurred during calculation of cash discountconditions.

System Response
The function is terminated.

Procedure
INCLUDE ISR_VERWALTUNG

Procedure for System Administration
Contact SAP. The error relates to function module &v1&. The transferredheader document has incorrect vendor billing document type &v2&.