---
title: "Invoice Generator"
method: POST
path: "/v1/invoicegenerator"
tags: ["Documents"]
---

# Invoice Generator

`POST /v1/invoicegenerator`

## Request

- Base URL: `https://api.apiverve.com`
- URL: `https://api.apiverve.com/v1/invoicegenerator`
- Auth: API key in header `x-api-key`

Generate an invoice

## Request body

- object
  - `invoiceNumber` string, required: The invoice number
  - `date` string: The invoice date (YYYY-MM-DD format)
  - `from_name` string, required: The name of the person or company issuing the invoice
  - `from_street` string, required: The street address of the person or company issuing the invoice
  - `from_city` string, required: The city of the person or company issuing the invoice
  - `from_state` string, required: The state of the person or company issuing the invoice
  - `from_zip` string, required: The zip code of the person or company issuing the invoice
  - `to_name` string, required: The name of the person or company being invoiced
  - `to_street` string, required: The street address of the person or company being invoiced
  - `to_city` string, required: The city of the person or company being invoiced
  - `to_state` string, required: The state of the person or company being invoiced
  - `to_zip` string, required: The zip code of the person or company being invoiced
  - `job` string: The job or project associated with the invoice
  - `paymentTerms` string: The payment terms for the invoice
  - `dueDate` string: The due date for the invoice (YYYY-MM-DD format)
  - `discount` number: The discount to be applied to the invoice
  - `salesTax` number: The sales tax rate for the invoice as a percentage, applied to the subtotal after discount (e.g. 7.5 for 7.5%)
  - `logoURL` string: Public http(s) URL of an image to use as the invoice logo (max 2 MB, fetched with a 5 second timeout; a placeholder logo is used if it can't be loaded)
  - `currency` string: The currency for the invoice
  - `items` string, required: The items being invoiced (qty, description, unit_price)

## Response `200`

Successful Response

- object
  - `status` string: status
  - `error` string: error
  - `data` object: data

## Other responses

- `401`: Your request was not authorized, or your API Key was invalid
- `404`: Requested resource was not found
- `500`: A server error has occurred, try again later

---

[API](https://skmtc.dev/apiverve/apis/apiverve-api.md) · [All operations](https://skmtc.dev/apiverve/apis/apiverve-api/llms.txt) · [OpenAPI document](https://skmtc.dev/apiverve/apis/apiverve-api/revisions/4b9a77598eb4?raw)
