Soenneker.Stripe.InvoiceItems 4.0.337

Prefix Reserved
dotnet add package Soenneker.Stripe.InvoiceItems --version 4.0.337
                    
NuGet\Install-Package Soenneker.Stripe.InvoiceItems -Version 4.0.337
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Stripe.InvoiceItems" Version="4.0.337" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Stripe.InvoiceItems" Version="4.0.337" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Stripe.InvoiceItems" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Stripe.InvoiceItems --version 4.0.337
                    
#r "nuget: Soenneker.Stripe.InvoiceItems, 4.0.337"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.Stripe.InvoiceItems@4.0.337
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Stripe.InvoiceItems&version=4.0.337
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Stripe.InvoiceItems&version=4.0.337
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

alternate text is missing from this package README image Soenneker.Stripe.InvoiceItems

Create, retrieve, update, list, and delete Stripe invoice items through an injectable, lazily initialized Stripe.net service.

Installation

dotnet add package Soenneker.Stripe.InvoiceItems

Configuration

{
  "Stripe": {
    "SecretKey": "sk_test_..."
  }
}

Usage

using Soenneker.Stripe.InvoiceItems.Abstract;
using Soenneker.Stripe.InvoiceItems.Registrars;
using Stripe;

services.AddStripeInvoiceItemsUtilAsScoped();

InvoiceItem created = await invoiceItemsUtil.Create(
    new InvoiceItemCreateOptions
    {
        Customer = "cus_...",
        Amount = 2500,
        Currency = "usd",
        Description = "Additional services"
    },
    cancellationToken: cancellationToken);

StripeList<InvoiceItem> pending = await invoiceItemsUtil.List(
    new InvoiceItemListOptions
    {
        Customer = "cus_...",
        Pending = true,
        Limit = 25
    },
    cancellationToken: cancellationToken);

Delete permanently deletes the selected invoice item. Stripe API errors are logged and rethrown so callers can handle them normally.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Soenneker.Stripe.InvoiceItems:

Package Downloads
Soenneker.Stripe.Suite

Bundle and register Soenneker's Stripe customer, payment, invoice-item, and subscription libraries.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.0.337 0 10/25/2026
4.0.336 8 10/24/2026
4.0.335 47 10/24/2026
4.0.334 319 10/15/2026
4.0.333 87 10/14/2026
4.0.332 119 10/14/2026
4.0.331 102 10/14/2026
4.0.330 121 10/14/2026
4.0.323 120 10/13/2026
4.0.320 144 10/12/2026
4.0.319 169 10/11/2026
4.0.318 140 10/9/2026
4.0.317 348 10/1/2026
4.0.316 109 10/1/2026
4.0.315 198 9/29/2026
4.0.314 154 9/29/2026
4.0.313 121 9/26/2026
4.0.312 134 9/26/2026
4.0.311 146 9/25/2026
4.0.310 102 9/25/2026
Loading failed

Update dependency Soenneker.Stripe.Client to 4.0.1547 (#620)