invoices_add_line_item
Add a line item to an existing invoice. Use a product ID to auto-populate name, cost, and price from the catalog.
Instructions
Add a line item to an invoice. When using product_id, only product_id + quantity are needed -- the API auto-fills name, cost, and price from the product catalog.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Invoice ID | |
| item | No | Item name | |
| name | No | Display name | |
| quantity | No | Quantity | |
| price | No | Price per unit | |
| cost | No | Cost per unit | |
| product_id | No | Product ID | |
| upc_code | No | UPC code | |
| discount_percent | No | Discount percentage | |
| taxable | No | Whether taxable | |
| tax_note | No | Tax note | |
| tax_rate_id | No | Tax rate ID | |
| user_id | No | User ID | |
| position | No | Sort position | |
| product_category | No | Product category |