Losses at cloud-based accounting software business Xero almost doubled in the last year as it invested in global expansion plans, which saw its customer numbers grow rapidly and its revenue boosted by 76 per cent.