JOHN Swinney's job has been put on the line after opposition parties indicated they will ensure a vote of no confidence is passed in him - if he refuses to hand over crucial documents requested by the committee investigating the Alex Salmond fiasco.

A motion of no confidence in John Swinney has been officially lodged at Holyrood after the Scottish Government missed a deadline set by the Tories to hand over legal advice it received over a doomed judicial review brought by Alex Salmond.

MSPs have twice voted for Mr Swinney to hand over the evidence to the committee investigating the Scottish Government’s handling of complaints against the former first minister.

But the Government has insisted that legal privilege prevents the documents from being made public amid claims ministers would be breaking the ministerial code by doing so without the proper permission from their legal team.

READ MORE: Sturgeon and Swinney under growing pressure amid vaccination row

The Scottish Conservatives had threatened they would table a motion of no confidence in Mr Sweeney if he refused to change his mind and have now officially lodged the motion at Holyrood after a deadline set for a repose has been surpassed.

Labour, the Liberal Democrats and the Greens have now all indicated they will back the Tory motion - meaning Mr Swinney faces losing his job is he doesn't release the documents.

A one-line motion has been submitted, stating that Parliament has no confidence in John Swinney because he has ignored two votes of the Scottish Parliament.

If the parliamentary bureau agrees, the vote of no confidence in John Swinney will take place tomorrow, led by Ruth Davidson, in the hopes of the legal advice being released before Nicola Sturgeon’s appearance at the Salmond inquiry on Wednesday.

The vote will potentially take place later in the week if opposition parties do not agree to that timetable.

Scottish Conservative leader Douglas Ross said: “Women were let down and more than £500,000 of taxpayers’ money was lost.

“The public deserves to know what happened and the legal advice is crucial to uncovering what mistakes were made. “We gave John Swinney one more opportunity to respect the will of the Scottish Parliament. He has failed to do so.

“Opposition parties have united twice already to demand the legal advice is released. We now call on them to do so a third time.

“We are still willing to withdraw this motion at any point, if the government respects the will of the Scottish Parliament and publishes the legal advice.”

READ MORE: John Swinney agrees to release Salmond documents after job threat

Yesterday, Liberal Democrat leader Willie Rennie said he would back the vote of no confidence if the legal advice was not made public.

Scottish Labour leader Anas Sarwar has today confirmed his party will vote in favour of the Tory motion of no confidence.

Mr Sarwar said: “John Swinney’s got an opportunity to hand over the legal advice that Parliament, by a clear majority, has demanded of him on two occasions.

“If he fails to do so, he is deliberately thwarting the work of a parliamentary committee, he is deliberately acting against the will of parliament and we would have no choice but to vote against him in a vote of no confidence in that circumstance.”

A spokesperson for the Scottish Greens MSPs said: “The Scottish Greens have previously voted to ensure that the Government's legal advice is made available to the committee inquiry, and this remains our position.

“The Committee on the Scottish Government Handling of Harassment Complaints has made it clear that it needs access to the Scottish Government’s legal advice on its investigation into Alex Salmond to fulfil their remit, and Parliament has repeatedly backed the committee.

“The Scottish Government now has just days left to agree the terms of the committee's access to the information requested. Reaching an agreement on this which is acceptable to the committee is clearly the only way to avoid a vote of no confidence.

“The Conservatives have been shameless opportunists throughout this process, but the Scottish Greens will always defend the integrity of the Scottish Parliament and its ability to hold Government accountable. This inquiry should be focused on identifying what went wrong with the investigation into sexual harassment, and on the interests of the women who were failed by the process and others who will need to have confidence in the complaints process in future.”

The Scottish Government has been approached for comment.