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 → Delete Line Item
AI-generatedSummary
Delete a specific line item from an existing invoice in Xentral using the invoice ID and line item ID.
Inputs
- Invoice ID (required) — The ID of the invoice from which the line item will be deleted.
- Line Item ID (required) — The ID of the line item to delete from the invoice.
Output shape
an object representing the API response confirming the deletion or failure of the line item removal
The operation requires both Invoice ID and Line Item ID parameters to identify the exact line item to delete. No pagination or multiple records are involved in this operation.
Examples
Example 1: Delete a line item with ID '12345' from invoice with ID '67890'.
Set 'Invoice ID' to '67890' and 'Line Item ID' to '12345' to remove that specific line from the invoice.