An energy mineral is subject to the severance tax when it is sold or consumed, whichever occurs first.
SDCL 10-39A-3.1