Skip to main content
Version: v3

Create template

POST 

/invoices/template

API to create a template

Request

Version stringrequired

API Version

Available optionsv3
application/json

Bodyrequired

    altIdstringrequired

    location Id / company Id based on altType

    altTypestringrequired

    Alt Type

    Available optionslocation
    internalboolean
    namestringrequired

    Name of the template

    businessDetailsobjectrequired
    currencystringrequired
    itemsobject[]required
    automaticTaxesEnabledboolean

    Automatic taxes enabled for the Invoice

    discountobject
    termsNotesstring
    titlestring

    Template title

    tipsConfigurationobject

    Configuration for tips on invoices

    lateFeesConfigurationobject

    Late fees configuration for the invoices

    invoiceNumberPrefixstring

    prefix for invoice number

    paymentMethodsobject

    Payment Methods for Invoices

    attachmentsstring[]

    attachments for the invoice

    miscellaneousChargesobject

    miscellaneous charges for the invoice

application/json

Successful response

Schema
    _idstringrequired

    Template Id

    altIdstringrequired

    Location Id or Agency Id

    altTypestringrequired
    Available optionslocation
    namestringrequired

    Name of the Template

    businessDetailsobjectrequired

    Business Details

    currencystringrequired

    Currency

    discountobject

    Discount

    itemsstring[]required

    Invoice Items

    invoiceNumberPrefixstring

    prefix for invoice number

    totalnumberrequired

    Total Amount

    createdAtstringrequired

    created at

    updatedAtstringrequired

    updated at