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 3,128 9/9/2023
4.0.1 1,189 4/25/2023
4.0.0 216 4/25/2023
3.4.0 1,379 4/18/2023
3.3.3 354 3/7/2023
3.3.2 267 3/7/2023
3.3.1 401 1/15/2023
3.3.0 831 5/10/2022
3.2.0 17,768 2/3/2021
3.1.0 443 12/9/2020
3.0.0 7,405 12/9/2020
2.0.2 6,004 4/29/2020
2.0.1 756 1/31/2020
2.0.0 554 1/17/2020
1.0.1 528 1/15/2020
1.0.0 566 12/16/2019
0.3.1 576 6/19/2019
0.2.1 584 6/19/2019
0.0.1 696 12/21/2018