Ayudala icon

Ayudala

Interact with the Ayudala helpdesk & service management platform

Actions82

Invoice → Add Line

AI-generated

Summary

Adds a line item to an Invoice

Inputs

  • invoiceId (required) — The ID of the invoice to which the line item will be added.
  • description (required) — Line item description.
  • quantity (required) — Quantity of the line item.
  • unit_price (required) — Unit price of the line item.
  • addLineAdditionalFields — Additional custom fields for the line item; e.g., tax_rate.

Output shape

a single record representing the added line item

Returns the created line item details; no pagination; optional fields may be omitted.

Examples

Example 1: Add a line to invoice 12345

invoiceId=12345&description=Consulting&quantity=2&unit_price=150&addLineAdditionalFields={"tax_rate":21}

Links

Discussion