Invoiced 4.0.2

dotnet add package Invoiced --version 4.0.2
NuGet\Install-Package Invoiced -Version 4.0.2
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="4.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Invoiced --version 4.0.2
#r "nuget: Invoiced, 4.0.2"
#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=4.0.2

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

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 invoicedapi -c Release --output nuget
cd nuget
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 1,065 9/9/2023
4.0.1 1,149 4/25/2023
4.0.0 175 4/25/2023
3.4.0 944 4/18/2023
3.3.3 317 3/7/2023
3.3.2 232 3/7/2023
3.3.1 369 1/15/2023
3.3.0 574 5/10/2022
3.2.0 14,558 2/3/2021
3.1.0 405 12/9/2020
3.0.0 5,081 12/9/2020
2.0.2 5,972 4/29/2020
2.0.1 695 1/31/2020
2.0.0 523 1/17/2020
1.0.1 496 1/15/2020
1.0.0 532 12/16/2019
0.3.1 547 6/19/2019
0.2.1 547 6/19/2019
0.0.1 659 12/21/2018