Shopify invoice generator

Shopify invoice generator for orders, draft orders, and Order Printer templates.

Choose the smallest path for creating, sending, downloading, or editing a Shopify invoice: built-in draft order flow, Order Printer template code, or a full invoice app.

Create Send Download Edit template
Invoice #INV-1048
$86.40
Bill to

Mira Studio GmbH
VAT ID: DE123456789
PO-DE-2026-44

QtyItemTotal
2Blue ceramic mug$72.00
1Gift wrap$8.00

Tax, VAT, and B2B wording must be reviewed for the store's real workflow.

Invoice jobs

Do not turn Shopify invoice searches into a generic template site.

Keep every answer tied to Shopify orders, draft orders, customers, and Order Printer. That keeps the page away from broad Word, Google Docs, or accounting-template intent.

Shopify task

Create an invoice

Use Shopify draft orders for a payment request, or use Order Printer when the need is a printable order document.

Shopify task

Send an invoice

Shopify can email draft order invoices. Order Printer templates are better for printed or copied document code.

Shopify task

Download an invoice

If the workflow needs repeat PDF downloads, hosted customer PDFs, or automation, a full invoice app may be the better fit.

Shopify task

Edit invoice template

Small fields such as VAT ID, PO number, customer note, and item metadata can often be handled inside an Order Printer template.

Which path fits

Separate built-in Shopify flow, Order Printer edits, and invoice apps.

Area Shopify built-in Order Printer template Invoice app
Best fit Draft order payment requests and basic Shopify admin workflows. Printable invoices, packing slips, receipts, and one-template Liquid edits. Automated PDFs, invoice emails, hosted downloads, bulk export, tax logic, or B2B rules.
Template control Limited to the built-in Shopify flow. Editable Liquid and print CSS for small document fixes. Usually stronger visual settings, automation, translations, and app-managed templates.
Custom fields Depends on Shopify field availability in the workflow. Good for VAT ID, PO number, metafields, line item properties, and notes when data exists. Better when fields must be generated, stored, emailed, or exposed to customers automatically.
Cost shape Included with Shopify capabilities. Free snippets first, then one-time template or code-fix work. Monthly subscription makes sense when invoice automation saves repeated work.

Invoice fields

Start with template fields that Order Printer can actually print.

VAT ID, PO number, tax summary, metafields, and line item properties are useful only when the field exists in Shopify and the template places it in the right section.

order numberbilling customerdraft order contextVAT IDPO numbertax summaryline item propertiesproduct metafieldscommercial invoice fieldsprint CSS

Template boundary

Use this for template and print-layer work.

OrderPrintKit can help generate or place invoice fields in Order Printer, but it does not decide tax rules, legal invoice wording, accounting treatment, or country-specific compliance requirements.

Shopify VAT invoice template fields

Free invoice generator snippets

Generate Shopify invoice field code before requesting a custom template.

Start with VAT or PO number snippets, then request a custom invoice only when the current template needs careful merging.

VAT invoice fields

Shopify VAT invoice template for Order Printer

Generate metafield-style blocks for VAT IDs and invoice notes as a starting point.

The snippet checks customer metafields, order metafields, and VAT-like note attributes before printing tax lines.
Standard order with one clear product row.
Need this tax field placed in your invoice?

The fix can place VAT or tax IDs near billing details while keeping regular consumer orders clean.

Add VAT field to my invoice

Need more than code snippets?

Generated Liquid

Copy-paste code

{% assign opk_vat_id = customer.metafields.custom.vat_id.value | default: order.metafields.custom.vat_id.value %}

{% if opk_vat_id == blank %}
  {% for attribute in note_attributes %}
    {% assign attribute_name = attribute.first | downcase %}
    {% if attribute_name contains "vat" or attribute_name contains "tax id" %}
      {% assign opk_vat_id = attribute.last %}
    {% endif %}
  {% endfor %}
{% endif %}

<p class="opk-vat-id">
  <strong>VAT ID:</strong>
  {% if opk_vat_id != blank %}
    {{ opk_vat_id }}
  {% else %}
    Not provided
  {% endif %}
</p>

{% if tax_lines != blank %}
  <div class="opk-tax-lines">
    <strong>Tax summary</strong>
    <ul>
      {% for tax_line in tax_lines %}
        <li>{{ tax_line.title }} {{ tax_line.rate | times: 100 }}%: {{ tax_line.price | money }}</li>
      {% endfor %}
    </ul>
  </div>
{% endif %}

Install wizard

Place the snippet before testing output.

1
Template area

Billing or tax details

2
Paste target

Paste near invoice billing details or tax summary, then have the merchant verify requirements.

3
Test order

B2B order with tax ID plus regular consumer order

Paste location

Paste near invoice billing details or tax summary, then have the merchant verify requirements.

Test checklist

  • Duplicate the Shopify Order Printer template before editing the live one.
  • Preview with the regular order.
  • Preview both a matching B2B order and a regular consumer order.
  • Print or save one test preview before using the template in production.

Common failure

  • Assuming every VAT ID is stored in the same Shopify field.
  • Printing tax fields on packing slips that are not customer invoices.
  • Treating generated template code as tax or accounting advice.

Mock preview

#1048Standard order with one clear product row.

VAT ID: GB123456789
Tax summary appears below billing details.

Order Printer invoice code

Route invoice searches to the exact Shopify template fix.

These links keep invoice-intent visitors inside the Shopify Order Printer workflow instead of drifting into generic office templates or full invoice app research.

Invoice code path

Shopify Order Printer metafields

Print product, variant, order, or customer metafields in the right invoice or line item section.

Shopify Order Printer metafields

Invoice code path

Shopify commercial invoice template

Add HS code, country of origin, customs description, EORI notes, and item-level customs data carefully.

Shopify commercial invoice template

Invoice code path

HSN code invoice Shopify

Print HSN or HS codes from product or variant metafields inside the invoice item table.

HSN code invoice Shopify

Good fit

One-time invoice template edits.

Add a VAT ID, PO number, commercial invoice field, product metafield, or line item detail to an existing printable Shopify document.

Use an app instead

Invoice automation and compliance workflows.

Automated PDF emails, customer portals, bulk downloads, B2B tax rules, PEPPOL, e-invoicing, credit notes, and country-specific compliance belong in a dedicated invoice app.

FAQ

Shopify invoice questions

Can Shopify create invoices?

Shopify supports invoice-like workflows through draft orders and order documents, but the right path depends on whether you need a payment request, a printable document, or automated PDF invoicing.

Can I edit a Shopify invoice template?

You can edit Shopify Order Printer templates with Liquid and print CSS. Work in a duplicate template and test real orders before replacing a customer-facing invoice.

Is this an invoice app replacement?

No. OrderPrintKit is for template code, previews, and small fixes. Use a full invoice app for automatic emails, hosted PDFs, tax compliance workflows, bulk export, or e-invoicing.

Can I add VAT ID or PO number to Shopify invoices?

Yes, if the data exists on the customer, order, company, metafield, note attribute, or another accessible field. The template still needs merchant review for tax and accounting suitability.

Custom invoice template

Need the field merged into a real invoice?

Send the current Order Printer code and the exact Shopify field you need printed.

Send invoice request