Modelling the line-of-sight contribution in substructure lensing | Synapse