The InvGate application distinguishes internal and external customers based on their groups. You have the possibility to create groups with Internal and External customers. Those customers have an ID and based on that, the system automatically recognizes them using the database and group.
To find out more information about the software, I recommend checking the official website. The ticketing system is explained in detail.