Order Printer Liquid variables: error because current tax line not available

New Member
3 0 0


in my order printer template, I use the variable tax_lines.

Unfortunately, after doing a refund, tax_lines still contains the amount of tax from BEFORE the refund. Looking at the data with GraphiQL, it seems like currentTaxLines contains the right information.

tax_price also contains the correct amount, but it is essential to display the applied tax rate which is why tax_price only does not help me.

How can I access in the template the correct information regarding the tax AFTER a refund?

Thank you!