Sorry, maybe I wasn't too clear about that.
If you look at the two first records you see as ID two times 62.
If you look at the date, it's both year 2007.
But here is the problem. In my invoice table:
2007: 1897,13
2008: 1069,48
Since in my results, they are mixed up (both are at 2007 and also both at records with 2008), I can't split them into the right year.
So it should be:
62 - 2007 - 1897,13
63 - 2007 - 1897,13
64 - 2007 - 1897,13
....
128 - 2008 - 1069,48
128 - 2008 - 1069,48
...
Hope this is a bit clearer
