We know the typical equation for instantaneous power (which can be proven): \$p(t)=v(t)i(t)\$. In sinusoidal steady state (let's ignore harmonics for simplicity), \$v(t)=\sqrt{2} V_{\text{rms}} \cos{(\omega t + \phi_v)}\$ and \$i(t)=\sqrt{2} I_{\text{rms}} \cos{(\omega t + \phi_i)}\$, where \$\omega\$ and \$T = 2 \pi / \omega \$ are respectively the angular frequency and period of \$v\$ and \$i\$. From this, letting \$ \theta = \phi_v - \phi_i\$, it can be shown that
\$ \begin{align} p(t) &= \underbrace{\left[ V_{\text{rms}} I_{\text{rms}} \cos{(\phi_v - \phi_i)} \right]}_{\text{DC component}} + \underbrace{\left[ V_{\text{rms}} I_{\text{rms}} \right] \cos{(2 \omega t + \phi_v + \phi_i)}}_{\text{AC component}} \tag*{} \\ &= \underbrace{\left[ V_{\text{rms}} I_{\text{rms}} \cos{\theta} \right]}_{\text{unidirectional}} + \underbrace{\left[ V_{\text{rms}} I_{\text{rms}} \cos{(\phi_v + \phi_i)} \right] \cos{2 \omega t} - \left[ V_{\text{rms}} I_{\text{rms}} \sin{(\phi_v + \phi_i)} \right] \sin{2 \omega t}}_{\text{bidirectional}} \end{align} \$
where \$2 \omega\$ and \$T' = 2 \pi / 2 \omega = T/2\$ are respectively the angular frequency and period of \$p\$. Now, since \$p(t) \overset{\text{def}}{=} dw(t)/dt\$, then the energy transferred in an integer multiple \$n\$ of the period of \$p\$ is
\$ \begin{align} W &= \displaystyle\int_0^{nT'} p(t) \, dt \tag*{} \\ &= \underbrace{P \displaystyle\int_0^{nT'} \, dt}_{\text{net energy}} + \underbrace{V_{\text{rms}} I_{\text{rms}} \cos{(\phi_v + \phi_i)} \displaystyle\int_0^{nT'} \cos{2 \omega t} \, dt - V_{\text{rms}} I_{\text{rms}} \sin{(\phi_v + \phi_i)} \displaystyle\int_0^{nT'} \sin{2 \omega t} \, dt}_{\text{no net energy}} \\ &= P \cdot n \cdot T' + 0 \end{align} \$
It's clear that there's no net energy transferred due to the reactive component of a load impedance. However, I've seen three documents (this webpage in section 1.7, this PDF in page 2, this PDF,) talk about reactive energy and their corresponding meters. Since, as shown above, there's no net energy transferred due to the reactance of loads, what energy do those meters actually read? If it's "reactive energy", what do they mean by that? Two documents I found define reactive energy mathematically as
\$ \dfrac{1}{T} \displaystyle\int_0^{T} v(t) i \left( t+\dfrac{T}{4} \right) \, dt = Q \tag*{} \$
which is non-sense; they're defining reactive energy as reactive power, which is a different quantity; energy has units of joules, yet the right-hand side of the previous relation has units of joules per second (or watts or VArs; they're dimensionally the same). Why do they define it as such? I read these three questions (1, 2, 3), but they don't really address the ones I've asked.
EDIT: My questions are not directly about reactive power, but about reactive energy.