analytics: add formal definitions for invoice fields

Signed-off-by: Pierre-Alexandre Meyer <pierre@ning.com>