Free plan

Invoice and Receipt Maker

Make a neat invoice, receipt or quote as a PDF
POST
/v1/documents/invoice

About this tool

This tool makes a printable document from details you type: seller, buyer, lines, tax and discounts. It can be an invoice, a receipt, a credit note or a quote. Totals are added up exactly, in any currency and language. You can choose the look, the main colour, the paper size and your own headings.
For example, you type your shop details and three items, and get an invoice to e-mail to a customer.

How to use it

  1. Choose this tool.
  2. Choose the kind of document: invoice, receipt, credit note or quote.
  3. Type the seller, the buyer and the lines with prices and tax.
  4. Choose the look, colour and paper size.
  5. Press Generate.

What you get back

You get a finished PDF to download or print, and the calculated totals on screen.
GOOD TO KNOW
Data in, a PDF or an HTML page out. Money is added up in whole cents line by line, so the totals are exact. Counts as one document.
TEST IT LIVE

Try Invoice and Receipt Maker in the Studio

One click opens the Studio with this tool already selected. Add your file and see the result in seconds.
Open in the Studio
Family
Documents
Plan
Free
Method
POST
Endpoint
/v1/documents/invoice
Tool ID
documents.invoice
Authentication
API key
Accepts
Text and settings
Background jobs
Yes
Usage group
Documents
For developers

Use it from your code

cURL

curl -X POST "https://app.h2i.davixlabs.io/v1/documents/invoice" \
  -H "X-Api-Key: $DAVIX_H2I_API_KEY" \
  -F 'invoice={"number":"INV-001","date":"2026-11-16","currency":"USD","seller":{"name":"Acme"},"buyer":{"name":"Jo"},"items":[{"description":"Design","quantity":2,"unit_price":150,"tax_rate":10}]}' \
  -F 'type=invoice' \
  -F 'format=pdf'

Node.js

const { DavixH2I } = require('@davixlabs/h2i-sdk');

const h2i = new DavixH2I({ apiKey: process.env.DAVIX_H2I_API_KEY, baseUrl: process.env.DAVIX_H2I_URL });
const result = await h2i.documents.invoice({
    "invoice": "{\"number\":\"INV-001\",\"date\":\"2026-11-16\",\"currency\":\"USD\",\"seller\":{\"name\":\"Acme\"},\"buyer\":{\"name\":\"Jo\"},\"items\":[{\"description\":\"Design\",\"quantity\":2,\"unit_price\":150,\"tax_rate\":10}]}",
    "type": "invoice",
    "format": "pdf"
  });
console.log(result.data, result.requestId);

PHP

<?php
require 'vendor/autoload.php';

$h2i = new \Davix\H2I\Client(['apiKey' => getenv('DAVIX_H2I_API_KEY'), 'baseUrl' => getenv('DAVIX_H2I_URL')]);
$result = $h2i->documents()->invoice([
    'invoice' => '{"number":"INV-001","date":"2026-11-16","currency":"USD","seller":{"name":"Acme"},"buyer":{"name":"Jo"},"items":[{"description":"Design","quantity":2,"unit_price":150,"tax_rate":10}]}',
    'type' => 'invoice',
    'format' => 'pdf',
]);
echo $result->requestId;
FAQ

Frequently asked questions

Make an invoice, receipt, credit note or quote as a PDF from the seller, the buyer, the lines and the terms. Totals, tax and discounts are added up exactly and returned, in any currency and any language.

Invoice and Receipt Maker works from text and settings, so no file is needed. The required inputs are invoice.

Invoice and Receipt Maker is included in every plan, including Free. Each run uses credits from your monthly allowance.

Send a POST request to /v1/documents/invoice with your API key in the X-Api-Key header. Official SDKs for Node.js, Python, PHP, Go, Java, .NET and Ruby do the same for you, and the code box on this page shows ready-to-copy examples. For large work it can also run as a background job, so your request returns straight away.