{{ invoice.data.data.invoice_number }}
\n{{ invoice.data.data.order.reference_number }}
\n{{ invoice.data.data.billing_address.company_name }}
\n \n\n {{\n invoice.data.data.shipping_address.nickname\n ? invoice.data.data.shipping_address.nickname\n : invoice.data.data.shipping_address.company_name\n }}\n
\n \n\n {{ invoice.data.data.order.assignee.name + \" \" + invoice.data.data.order.assignee.last_name }}\n
\n \n{{ invoice.data.data.order.order_number }}
\n{{ moment(invoice.data.data.order.created_at) }}
\n{{ moment(invoice.data.data.due_at) }}
\n\n {{ item.product_name }} - {{ item.variant_name }}\n
{{ label }}
\n ${{ commaFormat(Number(tax).toFixed(2)) }}\nTotal Taxes
\n ${{ commaFormat(Number(invoice.data.data.order.totalTax).toFixed(2)) }}\nOrder Total
\n ${{ commaFormat(Number(getSubTotal(invoice)).toFixed(2)) }}\nTaxes
\n ${{ commaFormat(Number(invoice.data.data.order.totalTax).toFixed(2)) }}\nShipping
\n ${{\n Number(\n invoice.data.data.invoice_line_items.filter(\n (r) => r.line_type == \"shipping\"\n )[0].price\n ).toFixed(2)\n }}\nSub Total
\n ${{\n commaFormat(\n Number(\n parseFloat(\n invoice.data.data.invoice_line_items.filter(\n (r) => r.line_type == \"shipping\"\n )[0].price\n ) +\n parseFloat(invoice.data.data.order.totalTax) +\n parseFloat(getSubTotal(invoice))\n ).toFixed(2)\n )\n }}\n ${{\n commaFormat(\n Number(\n parseFloat(invoice.data.data.order.totalTax) +\n parseFloat(getSubTotal(invoice))\n ).toFixed(2)\n )\n }}\n{{ item.label }}
\n -${{\n commaFormat(Number(Math.abs(item.price)).toFixed(2))\n }}\nTotal
\n ${{ commaFormat(Number(getOrderTotal(invoice)).toFixed(2)) }}\nPaid
\n ${{ commaFormat(Number(invoice.data.data.PaidAmount ?? 0).toFixed(2)) }}\nBalance
\n ${{\n commaFormat(\n Number(\n parseFloat(getOrderTotal(invoice)) -\n parseFloat(invoice.data.data.PaidAmount ?? 0)\n ).toFixed(2)\n )\n }}\n\n {{ getContent(inv, invoice.data.data.invoiceText.content) }}\n
\n\n {{ getContent(inv, invoice.data.data.invoiceText.open_system, \"open\") }}\n
\n\n {{ getContent(inv, invoice.data.data.invoiceText.close_system, \"closed\") }}\n
\n\n {{ getContent(inv, invoice.data.data.invoiceText.text, \"text\") }}\n
\n\n {{ invoice.data.data.invoiceText.license?.medusa_license_number }}\n
\n\n Virginia Tobacco Products Tax NOT Paid\n
\n\n {{\n invoice.data.data.order.status != \"draft\"\n ? \"We appreciate your business.\"\n : \"We appreciate Please note: this is a DRAFT ORDER and the inventory will not be reserved for you until you ask us to finalize this order. Thank you\"\n }}\n
\n