A Gauss-Ostrogradskii theorem for integral transforms over the euler characteristic