Your remaining kWh will be used after the discounts and Boost membership are applied.
In the invoice, there will a separate line that will show the amount of kWh spent. The rate will be based on the type of refill you are currently on.
Below you can see a section of an example invoice with all the scenarios applied.