FIX invoice constraint