Hi
it means 'in the future, at a future time, at a later stage' but I'm not sure of the origin, often the meaning of an idiom doesn't correspond with the words in the phrase.
Examples if the phrase would be:
'At the moment I'm learning Spanish but further down the line I want to learn Italian.'
'If you drink too many fizzy drinks, down the line you'll have stomach problems.'
Paul