Indeed, the capacity is 23L. You can squeeze nearly 24L in if you're extremely patient and/or drilled an air vent hole in the filler neck.
Trouble is, the fuel gauge lies! It does not fall linearly due to the weird shape of the tank. Theoretically the F-Trip should start flashing with ~6.5L still to go, but it doesn't and isn't consistent either. It's accuracy also seems to vary hugely from bike to bike too - luck of the draw how each fuel gauge behaves.
You've obviously got a pessimistic one!