New field on INVOICE/ORDER SUMMARY Tax Number Canada

Hi Guys !!

Interersted in starting website in Canada,

Canada Revenue Agency requests that Invoice must have TAX ID NUMBER for the company making the sale and issuing that invoice

Is there way to add that TAX ID NUMBER to the order sumarry and Invoice?





thanks!!

If you add a Registration number in the tax this number will not show in the invoice?

Hey

yes but not where I need it to be.



Please see attached image,.



thanks

no image

[sharedmedia=core:attachments:5922]

INVOICE.jpg

add this change in mail/order/invoice.tpl


{if $order_info.taxes}

{$lang.taxes}: 
 

{foreach from=$order_info.taxes item=tax_data}

{$tax_data.description} {include file="common_templates/modifier.tpl" mod_value=$tax_data.rate_value mod_type=$tax_data.rate_type}{if $tax_data.price_includes_tax == "Y" && ($settings.Appearance.cart_prices_w_taxes != "Y" || $settings.General.tax_calculation == "subtotal")} {$lang.included}{/if}{if $tax_data.regnumber} ({$tax_data.regnumber}){/if}: 
{include file="common_templates/price.tpl" value=$tax_data.tax_subtotal}

{/foreach}
{/if}


Replace with


{if $order_info.taxes}

{$lang.taxes}: 
{if $tax_data.regnumber} {$tax_data.regnumber}{/if}

{foreach from=$order_info.taxes item=tax_data}

{$tax_data.description} {include file="common_templates/modifier.tpl" mod_value=$tax_data.rate_value mod_type=$tax_data.rate_type}{if $tax_data.price_includes_tax == "Y" && ($settings.Appearance.cart_prices_w_taxes != "Y" || $settings.General.tax_calculation == "subtotal")} {$lang.included}{/if}: 
{include file="common_templates/price.tpl" value=$tax_data.tax_subtotal}

{/foreach}
{/if}




add after


{if $company_placement_info.company_website}

{$lang.web_site}:
{$company_placement_info.company_website}

{/if}
{if $company_placement_info.company_orders_department}

{$lang.email}:
{$company_placement_info.company_orders_department|replace:",":"
"|replace:" ":""}


{/if}


this code so tay ist under E-Mail


{if $tax_data.regnumber}

{$lang.taxes}:
{$tax_data.regnumber}

{/if}

thanks!



you are very kind

I don't get it fixed for 4.2 x version

This is what i have already:


{if $order_info.taxes}

{__("taxes")}: 
{if $tax_data.regnumber} ({$tax_data.regnumber}){/if}

{foreach from=$order_info.taxes item=tax_data}

{$tax_data.description}: 
{include file="common/price.tpl" value=$tax_data.tax_subtotal}

{/foreach}
{/if}




and for the top:

```php

{if $tax_data.regnumber}


{__("taxes")}:
{$tax_data.regnumber}

{/if}
```

So far i get this working for 4.2.2

```php


{if $tax_data.regnumber} ({$tax_data.regnumber}){/if} 




{__("taxes")}: {if $order_info.taxes}{foreach from=$order_info.taxes item=tax_data}{if $tax_data.regnumber}(BE{$tax_data.regnumber}){/if}
{/foreach}
{/if}

```

But the table give a space. see screen
[attachment=8738:space.png]

Update with space fixed, removed the br code:
```php
{$company_data.company_country_descr}

```

Regards

space.png