Documents

Invoice Generator

Generate an invoice

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

Request body

invoiceNumberstring required

The invoice number

datestring

The invoice date (YYYY-MM-DD format)

from_namestring required

The name of the person or company issuing the invoice

from_streetstring required

The street address of the person or company issuing the invoice

from_citystring required

The city of the person or company issuing the invoice

from_statestring required

The state of the person or company issuing the invoice

from_zipstring required

The zip code of the person or company issuing the invoice

to_namestring required

The name of the person or company being invoiced

to_streetstring required

The street address of the person or company being invoiced

to_citystring required

The city of the person or company being invoiced

to_statestring required

The state of the person or company being invoiced

to_zipstring required

The zip code of the person or company being invoiced

jobstring

The job or project associated with the invoice

paymentTermsstring

The payment terms for the invoice

dueDatestring

The due date for the invoice (YYYY-MM-DD format)

discountnumber

The discount to be applied to the invoice

salesTaxnumber

The sales tax rate for the invoice as a percentage, applied to the subtotal after discount (e.g. 7.5 for 7.5%)

logoURLstring

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)

currencystring

The currency for the invoice

itemsstring required

The items being invoiced (qty, description, unit_price)

Response

Successful Response

statusstring

status

errorstring

error

dataobject

data

Changes

No recorded changes to this operation across all 1 revision of this API.