I would like to add various notes to the invoice, depending on the sales tax, the customer's country and the VAT information.
I use "if" statements for this.
How can I display or call up the VAT on the invoice?
There is echo $log-> message in invoice. This includes the VAT. But that doesn't help me.
For example, I tested:
echo $vat_number;
echo $vat;
yes, vat plugin is activated and vat is displayed.
In some special cases I have to add further information on the invoice, e.g. "Reverse-Charge" and so on...., which depend on several factors, e.g. "Does a VAT exist?"