How can I send information when a order is completed to my own POS?

How can I send information when a order is completed to my own POS?