v1

latestOpenAPI 3.0.12026-07-26222700728.0 KB
Invoicing - Item Templates

Save invoice item templates

Save new (or update existing) invoice item templates

post/v6/invoicing/itemTemplates

Request body

Example request

{
  "data": [
    {
      "id": "tili_28868401",
      "name": "Standard Service Fee",
      "status": "ACTIVE",
      "description": "Standard hourly service fee",
      "amount": 5000,
      "quantity": "1.0",
      "price": "50.0",
      "salesTax": {
        "value": "8.875",
        "type": "PERCENT"
      },
      "glAccountId": "gla_28868401",
      "customData": {
        "internal_key": "some_internal_key",
        "some_other_field": 23434
      }
    }
  ]
}

Response

Success

result'SUCCESS' | 'FAILURE'

The result of the action performed.

Example response

{
  "data": [
    {
      "data": {
        "id": "tili_28868401",
        "name": "Standard Service Fee",
        "status": "ACTIVE",
        "description": "Standard hourly service fee",
        "amount": 5000,
        "quantity": "1.0",
        "price": "50.0",
        "salesTax": {
          "value": "8.875",
          "type": "PERCENT"
        },
        "customData": {
          "internal_key": "some_internal_key",
          "some_other_field": 23434
        }
      }
    }
  ]
}