You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

invoicingapi.nuget

Package Overview
Dependencies
Maintainers
0
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

invoicingapi.nuget

1.0.0
unpublished
nugetNuGet
Maintainers
0
Source

InvoicingAPI NuGet Package

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.

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.

Keywords

invoice

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts