Rely on taxes cache
When applying tax adjustment, we update the taxes attribute of the invoice but it may happen that between call a new tuple is return because the cache has dropped the previous one (unlikely on small number). So it is a good practice to keep a reference to the first one.