Add invoice preview API