---
title: "JSON to Invoice"
description: "Render an invoice from JSON line items with totals and taxes calculated. Export as PNG or copy the HTML. For a PDF, use the Finance Invoice Generator."
url: https://findutils.com/generate/json-to-invoice/
category: generate
---

# JSON to Invoice

Render an invoice from JSON line items with totals and taxes calculated. Export as PNG or copy the HTML. For a PDF, use the Finance Invoice Generator.

**Use this tool:** [JSON to Invoice](https://findutils.com/generate/json-to-invoice/)

## Programmatic access

- Browser-only: this tool works on a file, the DOM, or a browser API and has no REST or MCP id.

## Why Use JSON to Invoice?

Creating invoices from structured data is efficient and reduces errors. This tool lets you quickly generate professional invoices from JSON, perfect for freelancers, small businesses, and anyone who bills clients.

## Tips for Better Invoices

- Always include a unique invoiceNumber for each invoice to maintain proper records and make payment tracking easier for both you and your client.
- Set a clear dueDate in your JSON to communicate payment expectations. Standard terms are 15 or 30 days from the invoice date.
- Add detailed descriptions to each line item instead of generic labels. Clients are more likely to pay promptly when they understand exactly what they are being charged for.
- Include your full contact information in the from block, including email and phone number, so clients can reach you with questions about the invoice.
- Use the notes field to add payment instructions, bank transfer details, or a thank-you message to maintain a professional relationship with your clients.

## Frequently Asked Questions

### What fields can I include in the JSON?

Include invoiceNumber, date, dueDate, from (name, address, email, phone), to (name, address, email), items array (each with description, quantity, unitPrice), currency, taxRate, discount, and notes. All fields except invoiceNumber and items are optional.

### How are totals calculated?

The tool multiplies quantity by unit price for each line item, sums up the subtotal, applies any discount, then calculates tax on the discounted amount. The final total reflects all adjustments automatically.

### Can I use different currencies?

Yes. Add a currency property with your preferred symbol such as EUR, GBP, or JPY. The tool defaults to USD if no currency is specified. You can also use Unicode currency symbols directly.

### How do I add tax to my invoice?

Add a taxRate property as a number, for example 10 for 10%. The tax amount is calculated automatically from the subtotal and displayed as a separate line in the totals section.

### Can I print the invoice directly?

Download the invoice as a high-resolution PNG file for printing, or copy the generated HTML to embed in your own invoicing system or email. The layout is optimized for standard paper sizes.

### Does this tool require a signup?

No. This JSON to invoice generator is available with no signup required, no usage limits, and no watermarks. All processing happens in your browser, so your financial data never leaves your device.

### Can I generate invoices in bulk from a JSON array?

The tool processes one invoice at a time from a single JSON object. For bulk invoice generation, prepare each invoice as a separate JSON object and generate them individually. You can use the JSON Faker tool to create test invoice data quickly.

### What format should line items follow?

Each item in the items array needs a description (string), quantity (number), and unitPrice (number). Optionally include a unit field for measurement labels like hours, pieces, or licenses.

### Can I add a company logo to the invoice?

Include a logo property in your from object with a URL pointing to your company logo image. The logo renders at the top of the invoice alongside your business details.

### Is my invoice data secure?

All invoice generation happens entirely in your browser using client-side JavaScript. No data is sent to any server. Your billing information, client details, and financial figures remain private on your device.

### Can I download the invoice as a PDF?

No. This tool exports a PNG image or the HTML markup. For a PDF invoice, use the form-based [Invoice Generator](https://findutils.com/finance/invoice-generator/) in the Finance section: it adds a logo, taxes, and discounts and downloads a PDF. Use this JSON tool when the data already exists as JSON and a PNG or HTML output is what you need.

## Related Tools

- [Invoice Generator](https://findutils.com/finance/invoice-generator/)
- [JSON to Pricing Table](https://findutils.com/generate/json-to-pricing-table/)
- [JSON to Resume](https://findutils.com/generate/json-to-resume/)
- [JSON Formatter](https://findutils.com/developers/json-formatter/)
- [JSON to Form](https://findutils.com/developers/json-to-form/)
- [JSON to CSV](https://findutils.com/convert/json-to-csv/)
- [JSON to Chart](https://findutils.com/generate/json-to-chart/)
- [JSON Faker](https://findutils.com/developers/json-faker/)
