InvoicingAPI 1.0.1

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

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

Description

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);
}

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 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. 
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

Initial release.