THE Brexit Withdrawal Agreement Bill lays out the terms and conditions agreed between the UK Government and the other 27 member states of the European Union.
The terms will have to be debated in Parliament although there is no guarantee MPs will accept it. Here is everything you need to know.
Boris Johnson believes he can get his Withdrawal Agreement Bill through the Commons
What is the Brexit Withdrawal Agreement Bill?
The Withdrawal Agreement Bill is necessary now that the UK government has agreed a draft treaty with the European Union.
The Bill, should it be passed by the UK Parliament, will enshrine the deal in law.
Due to the strength of feeling with Remainer MPs, and Prime Minister Boris Johnson's precarious position in the House of Commons, Mr Johnson could lose the vote.
Theresa May, the previous Conservative Prime Minister got to the same stage with her agreement but failed to get the backing of Parliament.
Mr Johnson though believes he now has sufficient backing to get his proposal enshrined in law.
Can Boris Johnson get the Bill passed?
MPs finally backed Boris Johnson’s Brexit deal on October 22 — then wrecked it within minutes by rejecting his three-day timetable to push it through Parliament.
The defeat, triggered when nine former Tories voted against the Government, ends the PM’s hope of an October 31 exit.
He immediately announced he will put the Withdrawal Agreement Bill on hold while the EU decides how to answer Parliament’s plea for an extension.
The Speaker of the House refused to allow a vote on the Bill
It was a landmark victory for Mr Johnson — but the Commons then voted down his timetable to pass the Bill swiftly, by 322 votes to 308.
MPs insisted they needed more than three days to scrutinise the 110-page Bill.
The nine Tory rebels, now independent after being kicked out for a previous revolt, voted against.
The defiant PM said: “One way or another we will leave the EU with this deal.”
Brussels began deliberations on October 22 for a third extension request, this time until January 31.
Boris Johnson refused to sign a letter to the EU
Boris Johnson announced to the House he will try and trigger a snap general election for December 12, on Monday.
However, the motion is under the Fixed Terms Parliament Act he will need two thirds of the Commons to approve it – 434 MPs.
This means he would have to rely on Jeremy Corbyn ordering his MPs to vote in favour of an election.
However, Mr Corbyn has admitted he will sink Mr Johnson's plan unless it is agreed Britain will never leave the EU without a deal.
The EU has confirmed it will grant an extension to the Brexit deadline but will decide on how long is given next week.
Mr Corbyn said: "His deal includes the possibility of a No Deal exit. We have got to hold him to account."
French President Emmanuel Macron wants Britain to leave the EU in just two weeks – but the rest of the bloc want a three-month flexible extension where we leave whenever a deal is passed.
For all the latest Brexit news, see our Brexit blog here.
What does the Withdrawal Agreement contain?
It sets out how the UK will make the divorce payments requested by the EU over what it says are the UK’s outstanding commitments it previously signed up to.
The full 110-page document – along with another 126 pages of explanatory notes – was finally published on October 21 at 8pm.
The Bill ensures parts of EU law are complied with in the UK while the post-Brexit transition period lasts.
It sets out the controversial plan for Northern Ireland and its relationship both with the rest of Ireland as well as the UK.
Another fraught area is the jurisdiction of the European Court of Justice and making some areas of its judgements “supreme” over other aspects of UK law.
The Bill runs to 110 pages with a further 126 pages of explanatory notes
The Bill is meant to “implement, and make other provision in connection with, the agreement between the United Kingdom and the EU” over Brexit – essentially making Mr Johnson's deal legally binding.
The transition period would, under the Bill, last until the end of 2020.
This could be extended by up to two years more by ministers, if required.
Any proposed extension though would need the approval of parliament.
A good chunk of the bill concerns itself with the future situation of Northern Ireland.
Under the proposed deal Northern Ireland would remain tied to the EU's customs arrangements.
However, the explanatory notes states the bill "provides arrangements that ensure that the UK (including Northern Ireland) does not remain in a customs union with the EU".
Mr Johnson's deal does mean the UK would pay the so-called "divorce bill" which has been estimated at £39billion.
most read in politics
Fury as top Corbynista says it’s ‘sickening’ that Brits wear 'racist' poppies
'JEZ DO IT'
Nicola Sturgeon pleads with Jeremy Corbyn to back winter snap General Election
Labour shadow Brexit secretary Keir Starmer pockets £125,000 from law firm derailing Britain's EU exit
BoJo declares Government will strike if Corbyn refuses December 12 election
General election odds 2019 – what’s the latest from the bookies?
How many children does Boris Johnson have and who are they?
It states: “Any sum that is required to be paid to the EU or an EU entity to meet any obligation that the United Kingdom has by virtue of the withdrawal agreement is to be charged on and paid out of the consolidated fund or, if the Treasury so decides, the national loans fund.”
The proposed deal also secures workers' rights, saying any rights that come from EU law, will remain as part of UK law.
Any concerns that measures such as the working time directive, could be repealed at a later date are waylaid with a statement of "non-regression" over the legislation.
Brexit: last night's Commons showdown explained in sixty seconds