InvoicingAPI 1.0.3

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

// Install InvoicingAPI as a Cake Tool
#tool nuget:?package=InvoicingAPI&version=1.0.3                

InvoicingAPI

Description

This is a client wrapper for InvoicingAPI. InvoicingAPI is a powerful platform designed to simplify the process of creating invoices and managing your invoice payments. Create beautiful, customizable and dynamic, tax-compliant invoices with payment links built in. Get notified when you get paid.

Usage

Here’s a basic example of how to use InvoicingAPI. This is a basic usage of the API. For all available body parameters, see the API documentation.

using InvoicingAPI.Nuget;

var client = new InvoicingApiClient("__YOUR_API_KEY__");

var body = new CreateInvoiceBody
{
    Template = "business3",
    Color = "black",
    DocumentType = "letter",
    FontSize = 11,
    InvoiceNumber = "3345",
    IssueDate = DateTime.Now,
    DueDate = DateTime.Now,
    IssuerAddress = new Address
    {
        Name = "Jane Doe",
        Email = "janedoe@outlook.com",
        AddressLine1 = "Krusty Avenue 3rd",
        AddressLine2 = "Business Center, Office 101",
        Telephone = "94 903 9932"
    },
    RecipientAddress = new Address
    {
        Name = "John Doe",
        Email = "johndoe@gmail.com",
        AddressLine1 = "John Keneddy Str",
        Telephone = "(034)-543-43354"
    },
    LineItems = new List<LineItem>
    {
        new LineItem
        {
            Description = "App consulting services", Quantity = 1, UnitPrice = 950
        }
    },
    Currency = "usd",
    Notes = "Payment Information\nIBAN Number: 43249423423489234",
    IsPaid = false
};

var result = await client.CreateInvoice(body);

if (result.InvoiceByteArray != null)
{
    File.WriteAllBytes($@"__PATH__\{result.FileName}", result.InvoiceByteArray);
}

Sampe Output

<img src="https://i.imgur.com/1IazsIU.png" width="800">

Support

If you encounter any issues or have any questions about InvoicingAPI, please contact us at support@invoicingapi.com.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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 is compatible.  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 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  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
1.0.5 128 4/20/2024
1.0.4 101 4/17/2024
1.0.3 106 4/14/2024
1.0.2 111 4/13/2024
1.0.1 109 4/13/2024
1.0.0 109 4/13/2024

Added compatibility with .NET Framework projects (.NET Standard).
Improved error reporting.