Controversial Queensland senator Fraser Anning charged taxpayers more than $2,500 to attend a right-wing rally in July, as calls condemning his decision to attend a protest in Melbourne on the weekend continue to build.

Travel allowance data from the Independent Parliamentary Expenses Authority (IPEA) shows Senator Anning spent $1,810 on flights from Brisbane to Sydney to attend a rally in July alongside right-wing Canadian activist Lauren Southern, in support of South African farmers.

A further $810 was spent on accommodation.

A spokesman for Senator Anning's office also confirmed his attendance at an Australian Liberty Alliance Rally for Free Speech in October last year, led by right-wing Australian-Israeli activist Avi Yemini.

Records from the IPEA do not yet show the expenditure billed to taxpayers for this trip, but it's expected to be in the thousands.

A spokesman for the senator said the travel fell within parliamentary entitlement rules.

"Senator Anning attended a rally in support of the very large South African expat community in Queensland. It was at the organisers request he attended," the spokesman said.

The independent senator billed taxpayers $3,000 for his business class flights to Melbourne on the weekend to attend a rally organised by the United Patriots Front.

Senator Anning has stood by his decision to attend the rally, where some attendees were seen making Nazi salutes and wearing Nazi insignia.

He said he went to the demonstration at St Kilda Beach to protest against violence committed by "African gangs".

"My job is to represent the people of Queensland and that's exactly what I did," he said yesterday.

Greens senator Sarah Hanson-Young said Senator Anning was treating Australian taxpayers as mugs.

"I don't think the Australian taxpayer should be footing the bill for him to hang out with these Nazi mates of his," she said.

Prime Minister Scott Morrison condemned the "ugly racial protests" at St Kilda but stopped short of criticising Senator Anning by name.