Skip to main content

Line Items

Link to documentation

Create an estimate line itemโ€‹

Create a new line item on an estimate. Returns a 200 OK response code if the call succeeded.

Link to documentation

hrvst estimates line-items create
OptionDescriptionRequired
--estimate_idThe ID of the estimate that you're creating the line item for.true
--line_items[0]kindThe name of an estimate item category.true
--line_items[0]descriptionText description of the line item.true
--line_items[0]unit_priceThe individual price per unit.true
--line_items[0]quantityThe unit quantity of the item.true
--line_items[0]taxedWhether the estimate's tax percentage applies to this line item.true
--line_items[0]taxed2Whether the estimate's tax2 percentage applies to this line item.true
--fieldsComma separated list of fields to display in the output.false
--outputThe output format: json, tablefalse

Update an estimate line itemโ€‹

Update an exisitng line item on an estimate. Returns a 200 OK response code if the call succeeded.

Link to documentation

hrvst estimates line-items update
OptionDescriptionRequired
--estimate_idThe ID of the estimate that contains the line item you're updating.true
--line_items[0]idThe ID of the line item you want to update.true
--line_items[0]kindThe name of an estimate item category.false
--line_items[0]descriptionText description of the line item.false
--line_items[0]unit_priceThe individual price per unit.false
--line_items[0]quantityThe unit quantity of the item.false
--line_items[0]taxedWhether the estimate's tax percentage applies to this line item.false
--line_items[0]taxed2Whether the estimate's tax2 percentage applies to this line item.false
--fieldsComma separated list of fields to display in the output.false
--outputThe output format: json, tablefalse

Delete an invoice line itemโ€‹

Update an exisitng line item on an estimate. Returns a 200 OK response code if the call succeeded.

Link to documentation

hrvst estimates line-items delete
OptionDescriptionRequired
--estimate_idThe ID of the estimate that contains the line item you're deleting.true
--line_items[0]idThe ID of the line item you want to delete.true
--line_items[0]_destroyGives the command to delete the line item.true
--fieldsComma separated list of fields to display in the output.false
--outputThe output format: json, tablefalse