create a Rest API to connect SAP system with Xero accounting software to copy Invoices from approved folder in SAP to update Invoices in Xero Accounting software
Script function connectToAPI(id, password) { fetch("https://apps.sap.com/api/connect/{id}/{password}") .then(response => response.json()) .then(data => console.log(data)) }