Skip to main content
Version: v3

Update template

PUT 

/invoices/template/:templateId

API to update an template by template id

Request

Version stringrequired

API Version

Available optionsv3
templateId stringrequired

Template Id

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
    discountobject
    termsNotesstring
    titlestring

    Template title

    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