Orders

Online shop invoice

Invoice for an order with items, shipping and payment method. The form works out the VAT included.

  • 12 fields
  • PDF layout
  • from Developer

After you sign in, Mailiy creates a hosted form with these fields. You can change everything in the editor before you publish it. From the Developer plan on, Mailiy also copies the PDF layout. You switch the PDF on as a mail attachment in the editor. This template needs the Developer plan or higher.

Fields included

  • NumberText, required
  • DateDate, required
  • Order numberText
  • CustomerText, required
  • AddressAddress
  • EmailEmail
  • ItemsTable
  • Goods incl. VATCalculation
  • Shipping incl. VATAmount
  • TotalCalculation
  • VAT included 19 %Calculation
  • Payment methodDropdown

What to keep in mind

Consumer prices already include VAT, the form works it out as 19/119 of the total. EU law lets countries allow simplified invoices for small amounts (Art. 238 of Directive 2006/112/EC); in Germany that is up to 250 € (§ 33 UStDV).

The notes in the template are examples, not legal advice. Check the texts before you publish the form, and link your own privacy policy.

As HTML on your own website

Prefer to build the form into your page yourself? Replace YOUR_ACCESS_KEY with your form's key from the dashboard. The script at the end is optional; with it the page stays put after sending.

<form action="https://mailiy.com/api/submit" method="POST">
  <input type="hidden" name="access_key" value="YOUR_ACCESS_KEY" />
  <input type="hidden" name="subject" value="New shop invoice" />
  <label>Number
    <input type="text" name="number" required />
  </label>
  <label>Date
    <input type="date" name="date" required />
  </label>
  <label>Order number
    <input type="text" name="order" />
  </label>
  <label>Customer
    <input type="text" name="customer" required />
  </label>
  <fieldset>
    <legend>Address</legend>
    <label>Street and number <input name="address.street" autocomplete="address-line1" /></label>
    <label>Postcode <input name="address.zip" autocomplete="postal-code" /></label>
    <label>City <input name="address.city" autocomplete="address-level2" /></label>
    <label>Country <input name="address.country" autocomplete="country-name" /></label>
  </fieldset>
  <label>Email
    <input type="email" name="email" autocomplete="email" />
  </label>
  <label>Items
    <input type="table" name="items" />
  </label>
  <label>Goods incl. VAT
    <input type="calculation" name="subtotal" />
  </label>
  <label>Shipping incl. VAT
    <input type="currency" name="shipping" />
  </label>
  <label>Total
    <input type="calculation" name="total" />
  </label>
  <label>VAT included 19 %
    <input type="calculation" name="vat" />
  </label>
  <label>Payment method
    <select name="payment"><option value="">Please choose</option><option>Prepayment</option><option>PayPal</option><option>Card</option><option>Invoice</option></select>
  </label>
  <input type="checkbox" name="botcheck" style="display: none" tabindex="-1" autocomplete="off" />
  <button type="submit">Send</button>
</form>
<script src="https://mailiy.com/client/script.js" defer></script>

More templates

See all templates