Message SAP VT823 - Relevant billing type for final settlement must be: Rel. to rebate ='X'

Diagnosis
The billing type, with which this rebate settlement is billed, musthave the following settings in Customizing:
Subject to volume-based rebate = 'X'.