The agreement comes just a day before a 1 August deadline for countries to strike deals with the US or be hit with higher tariffs.