When can I raise an Agent Commission invoice?

Agents can raise an agent commission invoice, once referred student started the Semester & paid all outstanding fee.