Skip to main content
An invoice is a request for payment — one you issued, or one issued to you. The CLI can create them by hand, read them out of an uploaded document, derive them from a contract, and pay them.

List invoices and bills

List all invoices:
List incoming bills for the current account:

Get an invoice

Use the public invoice endpoint:

Create an invoice

Interactive flow:
Non-interactive flow:
Items can be provided as repeatable --item flags:
Or as a JSON array:

Upload an incoming invoice

Upload an invoice PDF or document and create an incoming invoice record:
Uploaded documents are cached in the local config so a path can later resolve to its document id.

Create from contract

The current user’s address is required for contract invoice creation.

Batch invoicing

Or pass an array:

Decline an invoice

Pay an invoice

Actually moving the money is handled by the transfer command:
Separately, hevn invoice pay marks an invoice as paid (optionally with a custom transaction reference) without moving funds — use it when the invoice was settled outside HEVN:

Next: Contracts

Upload or generate a contract, then bill against it.