Get Invoice with Country of Origin and HS Code

NessaSnipe
New Member
2 0 0

I actually am a shopify partner / developer / expert and I can't find this information either. If I find something I will update.

For the HST code I did end up using:
{{ line_item.variant.metafields.harmonized_system_code.value }}

I'm still looking for Country of Origin. I'm using the "Order Printer" app.

0 Likes
Akua
New Member
3 0 0

@NessaSnipe 
Do you mind please sharing how to add this {{ line_item.variant.metafields.harmonized_system_code.value }} (which line to use in the printer app) as it does not show up.

Many thanks

0 Likes
Akua
New Member
3 0 0

For anyone struggling with invoice print including HS code, I managed to include this code

<table class="table-tabular" style="margin: 0 0 1.5em 0;">
<thead>
<tr>
<th>Quantity</th>
<th>Item</th>
<th>HSN Code</th>
{% if show_line_item_taxes %}
<th>Taxes</th>
{% endif %}
<th>Price</th>
</tr>
</thead>

<tbody>
{% for line_item in line_items %}
<tr>
<td>{{ line_item.quantity }} x</td>
<td>{{ line_item.title }}</td><td>{{ line_item.variant.metafields.harmonized_system_code.value }}</td>
{% if show_line_item_taxes %}
<td>

Hope it works for others too

0 Likes
Akua
New Member
3 0 0

I just downloaded Invoice Wizard app which has both HSN Code + Country of Origin fields.

0 Likes