Simple Invoice

Fill out Simple Invoice online and generate the PDF, or fill it from your own app with the DocSpring API.

About this form

Use this simple HTML template to generate invoice PDFs to send to your customers.

This template demonstrates some features of the Liquid templating language. Liquid allows you to add powerful logic and conditions to your templates:

* Calculating the total amount for all invoice items. * Formatting the invoice number with leading zeros. * Using the current date as the invoice creation date. * Calculating a due-date for the invoice that is 30 days in the future.

Accounting Invoice

Three ways to use it

Fill it out online

Answer the questions on a web form, or type straight into the fields on the PDF. Switch between the two at any time.

Fill out the form

Fill it from your app

Send JSON to our API or one of our SDKs in 9 languages, and get the filled PDF back.

Read the API guide

Make it your own

Copy the template to your account to move fields, add your own, and share your own online form.

Start a free trial

Try the API

Paste these commands into your terminal to generate a Simple Invoice PDF with a demo API token.

curl -fSL "https://sync.api.docspring.com/api/v1/templates/tpl_TrmdePAbxjKpbs2s93/submissions" \
  -u "api_nXerNcJM5LRThDXgka:9pAJQZb5mYQZHjQHjZCQJJ9hxSPGL9ZAYc3QFxgQCE" \
  -d '{
    "data": {
      "date": "2006-05-27",
      "payer": {
        "title": "elit nostrud mollit",
        "name": "Dr. Vance Jakubowski",
        "email": "[email protected]"
      },
      "items": [
        {
          "description": "officia fugiat esse",
          "amount": 38740.97207055207
        },
        {
          "description": "irure adipisicing sed",
          "amount": 20533.15975870722
        },
        {
          "description": "dolore",
          "amount": 21655.83398875255
        }
      ],
      "invoice_number": 1
    },
    "test": false,
    "metadata": {}
  }'
Copy to Clipboard

Fill out PDFs in minutes, not weeks

Sign up free and try DocSpring with your own PDFs: unlimited test PDFs, 200 free credits every month (about 10 filled PDF forms), and a 14-day trial of any paid plan. No credit card required.