Trigger ARInvoice Generation from API - not totally getting it

Alternatively you could use WCF