Help With Documents Editor In Cs-Cart 4.x

In the new documents editor in cs-cart 4.x, in order summary, the address that is shown in e-mail confirmation is the shipping address.

I would like to show the billing address instead, but I cannot succeed in making the mod of the snippet.

Can anyone help me about this ?

In fact, I finally found how to do it. Created a new code snippet for bill_to instead of ship_to.

But there's a new problem for me :

on order summary, the total does integrate the surcharge but it's not printed in the invoice. What is the tag to add to show the surcharge amount in the mail ? {{ ??? }} or perhaps {% if ??? %} {{ ??? }} {% endif %}