HMRC will now use Google Apps in their offices, rather than Microsoft software Justin Sullivan/Getty Images

Her Majesty's Revenue and Customs (HMRC) will switch to using Google Apps rather thanMicrosoft's digital tools to conduct its office work, despite the tech titan having a history of legally avoiding its tax in the UK.

As reported by The Register, HMRC will now use tools like Google Docs and Google Sheets, rather than Microsoft Word and Excel in its business, alongside tools like Google Hangouts and Google Drive to allow employees to easily collaborate with each other.

However, the relationship between HMRC and Google has not always been harmonious - a 2013 report from the Government's Public Accounts Comittee states that despite an $18 billion turnover between 2006 and 2011, the company paid only $16 million to the UK Government in taxes.

The report also stated that Google officially basing their advertising sales in Ireland, rather than the UK, had "no purpose other than to enable the company to avoid UK corporation tax."

The Committee called for a "full investigation" into Google's tax arrangements, and in January last year, the company was handed a backdated £24 million bill by HMRC.

HMRC is the first major government department to make the switch to Google Apps

The March budget also made provisions to prevent corporate tax avoidance - with the so-called 'Google Tax' levying a 25 per cent 'diverted profits tax' on companies that shifted their profits abroad to avoid paying.

George Osborne unveiled the new tax, saying: "This country's tolerance for those who will not pay their fair share of taxes has come to an end."

The so-called 'Double Irish' tax arrangement allowed multinational companies to shift income from higher-tax counties to lower-tax countries. The loophole allowed American companies to reduce their tax bill by moving taxable income from a company operating in Ireland to another Ireland-registered firm based in a foreign tax haven, like Bermuda.

3/10
3. Microsoft - £75.4 billion ($115.5 billion)

4/10
4. IBM - £61.3 billion ($93.9 billion)

5/10
5. Visa - £60 billion ($91.9 billion)

6/10
6. AT&T - £58.4 billion ($89.4 billion)

7/10
7. Verizon - £56.2 billion ($86 billion)

Getty

8/10
8. Coca-Cola - £54.8 billion ($83.8 billion)

9/10
9. McDonald’s - £53 billion ($81.1 billion)

Getty

10/10
10. Marlboro - £52.5 billion ($80.3 billion)

Getty

Ireland's tax rules meant that it did not collect taxes on income taken by subsidiaries of Irish companies that are outside of Ireland - meaning that Google could base some of their operations in Ireland, move income to various countries and avoid taxes. Companies like Starbucks, Apple and Microsoft are also known to use the system.

However, this practice was stopped in Ireland's January budget - meaning that companies already operating in the country could not start using the strategy, and companies already using it were given until 2020 to stop using it.

Irish Finance Minister Michael Noonan holds the 2015 budget, which will phase out the 'Double Irish' tax scheme over the next five years

In a statement to The Register, HMRC said that the switch to the new software will provide "greater flexibility and efficiency, while reducing costs".

It added: "Following a successful pilot, we are planning to roll out Google collaboration tools to more people throughout HMRC later this year. We have carefully considered the protection of customer information and this remains our highest priority.”

HMRC's move to Google will mean that some of their documents will be held in Google's offshore servers.