The result secured an unassailable 2-0 lead for Serbia after Laslo Djere beat Albert Ramos-Vinolas 6-4 6-4 in the first match of the Group C tie and secured a tie in the last eight in Malaga, which will take place in November.
"I was on a high with the U.S. Open win and the celebration at home and leaving my family is never easy but coming to another family – my Serbian squad – gives me the greatest of joy," Djokovic said.