Message SAP VT615 - An invoice correction request must be created with ref. to an invoice

Diagnosis
An invoice correction request canonly be created with reference to an invoice.

Procedure
Check the invoice type to determine ifthis is an invoice, i.e. the billing type must have document category'M'.