POST

Fee Item - 01.Create

Create a new fee item.

Important

Calls to this method must include the cookie .LawPanel.AuthCookie in order to identify you at user level. For more details about authentication please check this link. To obtain the cookie you can use the method Login.

Request URL

Request headers

string

User authentication cookie. Read more about how to you get it from here.

string
Subscription key which provides access to this API.

Request body

Payload must contain information about the fee item to be created.

  • string Requerid product_name: The internal name for the fee item.
  • string Requerid currency_id: The currency ID for this fee item. To get details of currencies please check this link.
  • string Requerid product_code: Your internal code for this fee item. Use letters to group products e.g. UST001 UST = US TM.
  • string Requerid product_name_public: The name of the fee item shown to clients.
  • decimal Requerid value: The amount charged for this fee item.
  • array Optional taxes: The taxes ID for this fee item. To get details of taxes please check this link.

Loading...
                  {
  "type": "object",
  "properties": {
    "product_name": {
      "type": "string"
    },
    "currency_id": {
      "type": "string"
    },
    "product_code": {
      "type": "string"
    },
    "product_name_public": {
      "type": "string"
    },
    "value": {
      "type": "integer"
    },
    "taxes": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "enable": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "units": {
            "type": "integer"
          },
          "percent": {
            "type": "integer"
          }
        },
        "required": [
          "enable",
          "id",
          "name",
          "description",
          "units",
          "percent"
        ]
      }
    }
  },
  "example": {
    "product_name": "Product",
    "currency_id": "54cb5c6a-a8e0-4dec-afcc-a6e90008d6ae",
    "product_code": "0001",
    "product_name_public": "Product",
    "value": 150,
    "taxes": [
      {
        "id": "4005e80b-fc55-44c0-ace8-903e53522e3e"
      }
    ]
  }
}
                  
              

Response 201

This code is returned when the fee item was created successfully.

Loading...
* See getting started for more information on how to use this API. You can also check the API change history.