Credit Note Refunds are related to Invoices. So, by using the same table that gives us a percent of the Invoice that is commissionable, we can get the percent of the Invoice, leading to the allocable commission that should be “returned” or a negative commission in the calculation.