Skip to main content
POST
Create & Send

Headers

Version
enum<string>
required

API Version

Available options:
2021-07-28

Body

application/json
altId
string
required

location Id / company Id based on altType

Example:

"6578278e879ad2646715ba9c"

altType
enum<string>
required

Alt Type

Available options:
location
Example:

"location"

name
string
required

Invoice Name

Example:

"New Invoice"

currency
string
required

Currency code

Example:

"USD"

items
object[]
required

An array of items for the invoice.

contactDetails
object
required
issueDate
string
required

Issue date in YYYY-MM-DD format

Example:

"2023-01-01"

sentTo
object
required
liveMode
boolean
required
action
enum<string>
required

create invoice in draft mode or send mode

Available options:
draft,
send
Example:

"draft"

userId
string
required

id of user generating invoice

termsNotes
string

Terms notes, Also supports HTML markups

Example:

"<p>This is a default terms.</p>"

title
string

Title for the invoice

Example:

"INVOICE"

invoiceNumber
string

Invoice Number

Example:

"1001"

dueDate
string

Due date in YYYY-MM-DD format

Example:

"2023-01-14"

automaticTaxesEnabled
boolean

Automatic taxes enabled for the Invoice

Example:

true

paymentSchedule
object
lateFeesConfiguration
object
tipsConfiguration
object
invoiceNumberPrefix
string

prefix for invoice number

Example:

"INV-"

paymentMethods
object
attachments
object[]

attachments for the invoice

miscellaneousCharges
object
id
string

id of invoice to update. If skipped, a new invoice will be created

includeTermsNote
boolean

include terms & notes with receipts

Example:

true

discount
object
businessDetails
object

Response

Successful response

invoice
object
required
invoiceUrl
string
required

preview url of generated invoice

Last modified on March 8, 2026