first rough cut at xero api