{{ inv.invoice_number }}
\n{{ inv.order.reference_number }}
\n{{ inv.billingAddress.company_name }}
\n \n\n {{\n inv.shippingAddress.nickname\n ? inv.shippingAddress.nickname\n : inv.shippingAddress.company_name\n }}\n
\n \n\n {{ inv.order.assignee.name +' '+ inv.order.assignee.last_name }}\n
\n \n{{ inv.order.order_number }}
\n{{ moment(inv.order.created_at) }}
\n{{ moment(inv.due_at) }}
\n{{ item.product_name }} - {{ item.variant_name }}
\n {{ item.sku }}\n{{ label }}
\n ${{ commaFormat(Number(tax).toFixed(2)) }}\nTotal Taxes
\n ${{ commaFormat(Number(inv.order.TotalTax).toFixed(2)) }}\nOrder Total
\n ${{ commaFormat(Number(inv.order.subTotal).toFixed(2)) }}\nTaxes
\n ${{ commaFormat(Number(inv.order.TotalTax).toFixed(2)) }}\nShipping
\n ${{\n Number(\n inv.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 inv.invoice_line_items.filter(\n (r) => r.line_type == \"shipping\"\n )[0].price\n ) +\n parseFloat(inv.order.TotalTax) +\n parseFloat(inv.order.subTotal)\n ).toFixed(2)\n )\n }}\n ${{\n commaFormat(\n Number(\n parseFloat(inv.order.TotalTax) +\n parseFloat(inv.order.subTotal)\n ).toFixed(2)\n )\n }}\n{{ item.label }}
\n -${{\n commaFormat(Number(Math.abs(item.price)).toFixed(2))\n }}\nTotal
\n ${{\n commaFormat(Number(inv.order.OrderTotalPrice).toFixed(2))\n }}\nPaid
\n ${{ commaFormat(Number(inv.PaidAmount).toFixed(2)) }}\nBalance
\n ${{\n commaFormat(\n Number(\n parseFloat(inv.order.OrderTotalPrice) -\n parseFloat(inv.PaidAmount)\n ).toFixed(2)\n )\n }}\n\n {{ getContent(inv, inv.invoiceText.content) }}\n
\n\n {{ getContent(inv, inv.invoiceText.open_system, \"open\") }}\n
\n\n {{ getContent(inv, inv.invoiceText.close_system, \"closed\") }}\n
\n\n {{ getContent(inv, inv.invoiceText.text, \"text\") }}\n
\n\n {{ inv.invoiceText.license?.medusa_license_number }}\n
\n\n Virginia Tobacco Products Tax NOT Paid\n
\n\n {{ inv.order.status != 'draft' ? 'We appreciate your business.' : '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