refactored Job to include invoice sub document.