Orders

Invoice template

Invoice number, customer, items and date of service. The form works out VAT and total, the PDF is the invoice.

  • 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
  • Date of serviceDate
  • CustomerText, required
  • AddressAddress
  • EmailEmail
  • ItemsTable
  • Net totalCalculation
  • VAT 19 %Calculation
  • Total incl. VATCalculation
  • Due byDate
  • NotesLong text

What to keep in mind

Under EU VAT law (Art. 226 of Directive 2006/112/EC, in Germany § 14 Abs. 4 UStG) an invoice needs, among other things, the names and addresses of both sides, your tax number or VAT ID, a sequential number, the date of service, the net amount and the tax. Sender and bank details in the PDF are placeholders, replace them in the PDF editor. Change the tax rate in the formula. Between businesses in Germany, e-invoices become mandatory: a PDF is allowed with the customer's consent until the end of 2026, in 2027 only up to 800,000 € turnover in the previous year, and from 2028 not at all. This PDF is not an e-invoice. For consumers it remains fine.

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 invoice" />
  <label>Number
    <input type="text" name="number" required />
  </label>
  <label>Date
    <input type="date" name="date" required />
  </label>
  <label>Date of service
    <input type="date" name="service" />
  </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>Net total
    <input type="calculation" name="net" />
  </label>
  <label>VAT 19 %
    <input type="calculation" name="vat" />
  </label>
  <label>Total incl. VAT
    <input type="calculation" name="gross" />
  </label>
  <label>Due by
    <input type="date" name="due" />
  </label>
  <label>Notes
    <textarea name="notes" rows="5"></textarea>
  </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