With tax calculation method Total, the detailed tax calculation is not stored when the total amount is 0.
I would suggest to always store the detailed amounts on line level. This shouldn't be a big change, since the calculation already happens (otherwise you wouldn't know whether the total result is 0 or not).
This will allow to use the breakdown on line level in several functionalities (eg reporting on specific lines, writing off specific lines etc.).