1.1.12 • Published 5 months ago

invoiceahoy v1.1.12

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

InvoiceAhoy Node.js SDK

Node.js library for the InvoiceAhoy API.

Install

npm install invoiceahoy
# or
yarn add invoiceahoy

Examples

TBC

Setup

First, you need to get an API key, which is available in the InvoiceAhoy Dashboard.

import { InvoiceAhoy } from 'invoiceahoy';
const invoiceahoy = new InvoiceAhoy('ia_123456789');

Usage

Create

Create your first invoice:

await invoiceahoy.invoices.create({
    reference: "INV-0001",
    ...
});

Send

Sends an invoice to the customer via email.

await invoiceahoy.invoices.send('inv_w3e4r5678', {
  to: `customer@example.com`,
  subject: `Thanks for your order!`,
});

License

MIT License

1.1.12

5 months ago

1.1.11

5 months ago

1.1.10

6 months ago

1.1.8

6 months ago

1.1.7

6 months ago

1.1.5

6 months ago

1.1.4

6 months ago

1.1.3

6 months ago

1.1.2

6 months ago