1.1.12 • Published 2 years ago

invoiceahoy v1.1.12

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years 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

2 years ago

1.1.11

2 years ago

1.1.10

2 years ago

1.1.8

2 years ago

1.1.7

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago