A $V$-valued differential form on $M$ is a smooth map $\omega : TM \to V$ such that $\omega$ restricted to any tangent space $T_p M$ is an element of the $V$-valued exterior algebra $\Lambda^n (T_p M, V)$ of $T_p M$. That is, the restriction $\omega_p$ is a completely antisymmetric map $\omega_p : T_p M \times T_p M \times \cdots \times T_p M \to V$.
In some situations (I forgot which ones), one can define a flat covariant derivative $\mathrm{d}$ which is just the exterior derivative. It fulfills the Stokes theorem.
For a $V$-valued differential form $\omega$, there is also a covariant derivative ( principal connection) that acts on all $W$-valued differential forms $\phi$ where there is a representation $R$ of $V$ on $W$ by the formula $\mathrm{d}_\omega \phi := \mathrm{d} \phi + \omega \wedge_R \phi$.
Is there a Stokes theorem for $\mathrm{d}_\omega$? Maybe something like $\int_M \mathrm{d}_\omega \phi = \int_{\partial M} \phi$ up to terms proportional to the curvature of $\mathrm{d}_\omega$?