How to read c_tva (VAT) rates during printing?

Hi Everyone,

I have started using Dolibarr this year and found it so far a great solution for a startup company. Thanks to the community for all the hard work.

I have already configured the invoice creating a copy from crabe.php, but still missing 2 topics that hope to get some light from the group:

  • Honduras have 3 different rates of VAT and the goverment requires that: all rates are printed (even if they are zero) and also the subtotal that apply to each rate. I have already created the array and gather the info for the values in the invoice. HOW do I read the c_tva complete list in an elegant way using existing modules/classes?
  • How can I print the exchange rate from the info? Already doing it from the public note, but just want to avoid an issue if the data is not included.

Thanks in advance for your support and/or hints