Stripe Connector
Documentation
Version: 2
Documentation
Endpoint

Delete an Invoice Item


Name

delete_invoice_item

Description

Deletes an invoice item, removing it from an invoice. Deleting invoice items is only possible when they’re not attached to invoices, or if it’s attached to a draft invoice. [API reference]

Related Tables

InvoiceItems

Parameters

Parameter Label Required Options Description
Id Invoice Item Id YES Delete an invoice item for the Invoice Id.

Output Columns

Label Data Type (SSIS) Data Type (SQL) Length Raw Description
There are no Static columns defined for this endpoint. This endpoint detects columns dynamically at runtime.
If the column you are looking for is missing, consider customizing Stripe Connector.

Input Columns

Label Data Type (SSIS) Data Type (SQL) Length Raw Description
Id DT_WSTR nvarchar(4000) 4000 False
Required columns that you need to supply are bolded.

Examples

SSIS

Use Stripe Connector in API Source component to read data or in API Destination component to read/write data:

Delete rows from InvoiceItems table using API Destination

This Endpoint belongs to InvoiceItems table, therefore you cannot work with it directly. Use this table and table-operation pair instead:

Stripe
InvoiceItems
Delete
SSIS API Destination - Access table operation

ODBC application

Use these SQL queries in your ODBC application data source:

Delete an invoice item

SELECT * FROM delete_invoice_item
WHERE Id = 'abcd-1234-id'

delete_invoice_item endpoint belongs to InvoiceItems table(s), and can therefore be used via those table(s).

SQL Server

Use these SQL queries in SQL Server after you create a data source in Data Gateway:

Delete an invoice item

DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM delete_invoice_item
WHERE Id = ''abcd-1234-id''';

EXEC (@MyQuery) AT [LS_TO_STRIPE_IN_GATEWAY];

delete_invoice_item endpoint belongs to InvoiceItems table(s), and can therefore be used via those table(s).