Rex: AI Agents for Order-to-Cash Automation