Invoice and Receipt Maker
About this tool
How to use it
- Choose this tool.
- Choose the kind of document: invoice, receipt, credit note or quote.
- Type the seller, the buyer and the lines with prices and tax.
- Choose the look, colour and paper size.
- Press Generate.
What you get back
Try Invoice and Receipt Maker in the Studio
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;