Skip to main content

Line Items

Link to documentation

Update an invoice line item

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

Link to documentation

Invoice item categories

hrvst invoices line-items update
OptionDescriptionRequired
--invoice_idThe ID of the invoice that contains the line items 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 invoice 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 invoice’s tax percentage applies to this line item. Defaults to false.false
--line_items[0]taxed2Whether the invoice’s tax2 percentage applies to this line item. Defaults to false.false
--fieldsComma separated list of fields to display in the output.false
--outputThe output format: json, tablefalse

Create an invoice line item

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

Link to documentation

Invoice item categories

hrvst invoices line-items create
OptionDescriptionRequired
--invoice_idThe ID of the invoice you're creating the line item for.true
--line_items[0]kindThe name of an invoice 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 invoice’s tax percentage applies to this line item. Defaults to false.true
--line_items[0]taxed2Whether the invoice’s tax2 percentage applies to this line item. Defaults to false.true
--fieldsComma separated list of fields to display in the output.false
--outputThe output format: json, tablefalse

Delete an invoice line item

Delete a line item from an invoice. Returns a 200 OK response code if the call succeeded.

Link to documentation

hrvst invoices line-items delete
OptionDescriptionRequired
--invoice_idThe ID of the invoice 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