On Tuesday, the French president extended the invitation again when he and Trump spoke by telephone, and Trump accepted.
The annual Bastille Day military parade in Paris is scheduled for July 14.
Trump will attend the traditional July 14 military parade where American troops will march alongside French soldiers to commemorate the centenary of the USA entry into World War I, the offices of both leaders said.
Macron and Trump last met in June during the G7 summit in Italy.
Trump did not formally endorse a candidate in the French presidential election, but he had indicated his support for far-right National Front candidate Marine Le Pen, saying "she is the strongest on borders and she is the strongest on what's been going on in France".
NATO chief: US allies to spend $12 billion more this year
He said the turnaround in spending came in 2015, predating United States leader Donald Trump's call for European Union allies to do more.
The occasion will also be used to commemorate the 100th anniversary of the US entry into World War I, Macron's office said.
Schwarzenegger has publicly sparred with U.S. President Donald Trump, a fellow Republican and "Apprentice" host who is withdrawing the U.S. from a global climate accord reached in Paris and taken jabs at Schwarzenegger's TV ratings. Schwarzenegger says he and Macron, a centrist, discussed climate change.
Macron responded by making a statement in English where he invited U.S. scientists to France to carry out research "to make the planet great again", hijacking Trump's campaign slogan.
Trump will be in Germany for the G-20 Summit the week before.