Create, send and chase invoices with one request. Orbit handles the reminders, the payment page and the receipts.
import Orbit from '@orbit/node'
const orbit = new Orbit(process.env.ORBIT_KEY)
// Send an invoice; Orbit chases it for you.
const invoice = await orbit.invoices.create({
client: 'cli_fernwood',
lines: [{ item: 'Brand identity', amount: 3200 }],
due: '2026-11-28',
remind: 'friendly',
})
Response · 201 Created
{ "id": "inv_1042", "status": "sent", "remind_at": "2026-11-25" }