🇺🇸
International

1. Invoice

View
Template code

2. Etsy-like Invoice

View
Template code
Template type: Orders
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
</head>
<body>
<div class="container">
<div style="font-size: 24px; margin-bottom: 10px;">
<strong style="background-color: yellow">ShopName</strong>
</div>
<div style="margin-bottom: 40px;">
<span style="background-color: yellow">https://etsy.com/shop/YOURSHOP</span>
</div>
<table class="content">
<tbody>
<tr>
<td valign="top" style="width: 26%; padding-right: 20px;">
<h3 class="label">Ship to</h3>
<p>{{ model.recipient_full_name }}</p>
<p>
{{ model.shipping_receive_point }}
{{ model.shipping_address_city }},
{{ model.shipping_address_region }}
{{ model.shipping_address_zip }}
</p>
<p>{{ model.shipping_address_country }}</p>
<h3 class="label" style="margin-top: 20px;">Scheduled to ship by</h3>
<p>{{ model.shipping_date_actual|date("M d, Y") }}</p>
<div style="height: 1px; background: black; margin-top: 20px;"></div>
<h3 class="label" style="margin-top: 20px;">Ship from</h3>
<p><span style="background-color: yellow">Full name</span></p>
<p>
<span style="background-color: yellow">Khreschatyk 26/104</span>
<span style="background-color: yellow">Kyiv</span>
<span style="background-color: yellow">Kyiv region</span>
<span style="background-color: yellow">79001</span>
</p>
<p><span style="background-color: yellow">Ukraine</span></p>
<h3 class="label" style="margin-top: 20px;">Order</h3>
<p>{{ model.source_uuid }}</p>
<h3 class="label" style="margin-top: 20px;">Order date</h3>
<p>{{ model.created_at|date("M d, Y") }}</p>
<h3 class="label" style="margin-top: 20px;">Buyer</h3>
<p>{{ model.client_name }}</p>
<h3 class="label" style="margin-top: 20px;">Payment method</h3>
<p><span style="background-color: yellow">Paid via PayPal</span></p>
</td>
<td valign="top" width="74%">
<h3 class="label">
{{ model.products|reduce((carry, item) => carry + item.product_quantity, 0) }} items
</h3>
<table class="products">
<tbody>
{% for product in model.products %}
<tr>
<td>
<img src="{{ product.product_image }}" width="70" style="border: 0; background: lightgrey; min-height: 70px;" />
</td>
<td style="padding-right: 25px; padding-left: 25px;">
<span class="label">{{ product.product_name }}</span>
<p>{{ product.product_properties|nl2br }}</p>
</td>
<td style="white-space: nowrap;">
{{ product.product_quantity }} x {{ product.price_sold|format_currency(currency, locale='en') }}
</td>
</tr>
{% endfor %}
</tbody>
</table>
<div class="total-order">
<table>
<tr>
<td>Item total</td>
<td width="160">{{ model.total_price|format_currency(currency, locale='en') }}</td>
</tr>
<tr>
<td>Shop discount</td>
<td>- {{ model.discount_amount|format_currency(currency, locale='en') }}</td>
</tr>
<tr>
<td>Shipping total</td>
<td>{{ model.shipping_price|format_currency(currency, locale='en') }}</td>
</tr>
<tr>
<td>Subtotal</td>
<td>{{ (model.total_price - model.discount_amount + model.shipping_price)|format_currency(currency, locale='en') }}</td>
</tr>
<tr>
<td>Tax</td>
<td>{{ model.taxes|format_currency(currency, locale='en') }}</td>
</tr>
<tr>
<td class="label">Order total</td>
<td class="label">{{ model.grand_total|format_currency(currency, locale='en') }}</td>
</tr>
</table>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</body>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html, body {
height: 100%;
}
body {
color: #333;
font-size: 16px;
line-height: 1.3;
min-width: 320px;
font-family: Arial, sans-serif;
overflow-x: hidden;
}
.label {
font-size: 16px;
font-weight: 700;
}
.products {
width: 100%;
margin: 12px 0;
border-collapse: collapse;
}
.products tr {
border: solid 1px black;
border-width: 1px 0;
}
.products tr td {
line-height: 150%;
padding: 15px 0;
vertical-align: top;
}
.products .label {
display: block;
padding-bottom: 8px;
}
.total-order table {
width: 100%;
margin-bottom: 30px;
text-align: right;
}
.total-order table td {
padding: 5px;
}
</style>
</html>

3. Proforma Invoice (for customs)

View
Template code