Setup import { Intacct } from './intacct'; let intacct = new Intacct({ senderid: '****', senderpassword: '****', userid: '****', userpassword: '****', company: '****'}); intacct.invoice.query().then(console.log);