Invoiced 3.3.3

There is a newer version of this package available.
See the version list below for details.
dotnet add package Invoiced --version 3.3.3                
NuGet\Install-Package Invoiced -Version 3.3.3                
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="Invoiced" Version="3.3.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Invoiced --version 3.3.3                
#r "nuget: Invoiced, 3.3.3"                
#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.
// Install Invoiced as a Cake Addin
#addin nuget:?package=Invoiced&version=3.3.3

// Install Invoiced as a Cake Tool
#tool nuget:?package=Invoiced&version=3.3.3                

invoiced-dotnet

This repository contains the .NET client library for the Invoiced API.

You can find detailed API documentation along with .NET code snippets here.

CI NuGet

Usage

First, you must instantiate a new client

using Invoiced;
 ...
var connection = new Connection("{YOUR_API_KEY}",Invoiced.Environment.sandbox);

Then, API calls can be made like this:

# retrieve invoice
var invoice = connection.NewInvoice().retrieve(1);

# mark as paid
var payment = connection.NewPayment();
payment.Amount = invoice.Balance;
payment.Method = "check";
payment.AppliedTo = new[]
{
    new PaymentItem {Type = "invoice", Amount = 100, Invoice = invoice.Id}
};
payment.Create();

Developing

The test suite can be ran with dotnet test

Deployment

Follow these steps to publish a package to NuGet:

dotnet pack
cd invoicedapi/bin/Debug/
nuget push Invoiced.X.X.X.nupkg <apikey> -Source https://api.nuget.org/v3/index.json
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.0.2 3,015 9/9/2023
4.0.1 1,184 4/25/2023
4.0.0 211 4/25/2023
3.4.0 1,333 4/18/2023
3.3.3 349 3/7/2023
3.3.2 262 3/7/2023
3.3.1 396 1/15/2023
3.3.0 806 5/10/2022
3.2.0 17,473 2/3/2021
3.1.0 436 12/9/2020
3.0.0 6,971 12/9/2020
2.0.2 5,997 4/29/2020
2.0.1 747 1/31/2020
2.0.0 547 1/17/2020
1.0.1 521 1/15/2020
1.0.0 559 12/16/2019
0.3.1 569 6/19/2019
0.2.1 575 6/19/2019
0.0.1 688 12/21/2018