Actions196
- Address Actions
- Contact Actions
- Credit Note Actions
- Customer Actions
- Delivery Note Actions
- Delivery Terms Actions
- Employee Actions
- Goods Receipt Actions
- Invoice Actions
- Liability Actions
- Offer Actions
- Payment Method Actions
- Payment Terms Group Actions
- Production Actions
- Product Actions
- Proforma Invoice Actions
- Project Actions
- Purchase Order Actions
- Purchase Price Actions
- Return Actions
- Sales Channel Actions
- Sales Order Actions
- Sales Price Actions
- Shipment Actions
- Shipping Method Actions
- Storage Location Actions
- Supplier Actions
- Tag Actions
- Warehouse Actions
- Webhook Actions
Invoice → Add Line Item
AI-generatedSummary
Add a new line item to a specified invoice in Xentral by providing the invoice ID, product ID, quantity, and optional details for the line item such as description, price, discount, and tax information.
Inputs
- Invoice ID (required) — The ID of the invoice to add the line item to
- Product ID (required) — The ID of the product to add
- Quantity (required) — The quantity of the product to add
- Line Item Options — Optional additional details for the line item including country of origin, customer product number, delivery date, description, discount percentage, visibility on PDF, HS code, internal comment, name override, product number override, net price amount, price currency, and tax legal notice.
Output shape
a single record containing details of the updated invoice line item or the operation result
The response includes the outcome of adding the line item to the invoice. Optional fields can customize the line item's attributes. The operation requires a valid invoice and product ID and will create the line item with the specified quantity and options.