Plunet icon

Plunet

Get and Set Data for Plunet BusinessManager

Actions156

Item Prices → Create Price Line

AI-generated

Summary

Creates a price line for an item in Plunet via the insertPriceLine API.

Inputs

  • itemID — ID of the item for which the price line is created (number).
  • projectType — Project type: Quote (1) or Order (3). Options: Quote (1), Order (3). Default: Order (3).
  • amount — Total amount for the price line (string).
  • amount_perUnit — Amount per unit (string).
  • priceUnitID — ID of the price unit (number).
  • unit_price — Unit price (string).
  • taxType — Tax type to apply. Options: TAX_1 (0), TAX_2 (1), WITHOUT_TAX (2), TAX_1_2 (5), TAX_3 (7), TAX_1_2_3 (8), TAX_4 (9), TAX_1_3 (10), TAX_2_3 (11), TAX_5 (13), TAX_1_2_3_4 (14), TAX_1_2_3_4_5 (15), TAX_2_4_5 (16), TAX_1_4 (17), INFO (3), SUM (4), INFO_SUM (6), PRICE_BLOCK (12). Default: TAX_1 (0).
  • createAsFirstItem — If true, creates the price line as the first item (boolean). Default: false.
  • additionalFields — Optional collection of extra fields: Memo (string), Price Line ID (number), Time_perUnit (string).

Output shape

json

Returns the API response from insertPriceLine, which typically includes the created price line details such as its ID and any server‑generated fields.

Examples

Example 1: Add a price line to an existing item

Set itemID to the target item, choose projectType (Quote/Order), fill amount, unit_price, select taxType, and optionally provide memo or priceLineID via additionalFields.

Discussion