Navorina API
Invoices, transactions and webhooks for Plus and Pro workspaces. Public data API and MCP.
On this page
Quickstart
Create a key with Read invoices access in Settings › API. Set NAVORINA_API_KEY on your server and run:
curl https://navorina.ai/api/v1/invoices \
-H "Authorization: Bearer $NAVORINA_API_KEY"Responses are JSON. Amounts use minor units (€1,200.00 = 120000). Dates use YYYY-MM-DD and timestamps are UTC.
Authentication
Base URL https://navorina.ai/api/v1
Send Authorization: Bearer <key>. Keys are shown once and scoped to one workspace. Revoke exposed keys in Settings › API.
| Access | Scope | Allows |
|---|---|---|
| Read invoices | invoices:read | GET /invoices, GET /invoices/{id} |
| Create draft invoices | invoices:write | POST /invoices |
| Read transactions | transactions:read | GET /transactions, GET /transactions/{id} |
List invoices
GET/invoices
Returns invoices newest first.
Required scope invoices:read
Parameters
| Name | In | Required | Description |
|---|---|---|---|
status | query | optional | draft, sent, partially_paid, paid, overdue or void. |
limit | query | optional | Page size from 1 to 100. Defaults to 25. |
starting_after | query | optional | The next_cursor returned by the previous page. |
cURL request
curl "https://navorina.ai/api/v1/invoices?status=draft&limit=10" \
-H "Authorization: Bearer $NAVORINA_API_KEY"Response 200
{
"object": "list",
"data": [
{
"id": "7c1e0b52-80a1-4dd4-ae83-820d5df5c207",
"object": "invoice",
"number": "INV-1042",
"status": "draft",
"customer": {
"name": "Acme GmbH",
"email": "billing@example.com"
},
"currency": "EUR",
"subtotal_minor": 120000,
"tax_minor": 0,
"discount_minor": 0,
"total_minor": 120000,
"amount_paid_minor": 0,
"amount_due_minor": 120000,
"issue_date": "2026-10-21",
"due_date": "2026-11-04",
"sent_at": null,
"paid_at": null,
"voided_at": null,
"created_at": "2026-10-21T09:14:03.120Z",
"updated_at": "2026-10-21T09:14:03.120Z"
}
],
"has_more": false,
"next_cursor": null
}Retrieve an invoice
GET/invoices/{id}
Returns one invoice and its line items.
Required scope invoices:read
Parameters
| Name | In | Required | Description |
|---|---|---|---|
id | path | required | ID returned by List invoices or an invoice event. |
cURL request
curl "https://navorina.ai/api/v1/invoices/7c1e0b52-80a1-4dd4-ae83-820d5df5c207" \
-H "Authorization: Bearer $NAVORINA_API_KEY"Response 200
{
"id": "7c1e0b52-80a1-4dd4-ae83-820d5df5c207",
"object": "invoice",
"number": "INV-1042",
"status": "draft",
"customer": {
"name": "Acme GmbH",
"email": "billing@example.com"
},
"currency": "EUR",
"subtotal_minor": 120000,
"tax_minor": 0,
"discount_minor": 0,
"total_minor": 120000,
"amount_paid_minor": 0,
"amount_due_minor": 120000,
"issue_date": "2026-10-21",
"due_date": "2026-11-04",
"sent_at": null,
"paid_at": null,
"voided_at": null,
"created_at": "2026-10-21T09:14:03.120Z",
"updated_at": "2026-10-21T09:14:03.120Z",
"line_items": [
{
"name": "Consulting",
"quantity": 1,
"unit_price_minor": 120000,
"description": null,
"unit": "item",
"tax_rate_percent": 0,
"total_minor": 120000
}
]
}Create a draft invoice
POST/invoices
Creates a draft you can review and send from Navorina. A repeat with the same idempotency key and payload returns HTTP 200 for the original draft.
Required scope invoices:write
Parameters
| Name | In | Required | Description |
|---|---|---|---|
number | body | required | Unique invoice number in your workspace. |
customer_name | body | required | Name shown on the draft. |
customer_email | body | optional | Customer email address. |
issue_date | body | required | Invoice date in YYYY-MM-DD. |
due_date or payment_terms_days | body | required | Send a due date in YYYY-MM-DD or the number of days after the issue date. |
currency_code | body | required | Currency code such as EUR. |
line_items or total_minor | body | required | Send line items with name, quantity and unit_price_minor, or the total in minor units. |
Idempotency-Key | header | optional | Reuse the same key with the same payload when retrying. |
cURL request
curl -X POST "https://navorina.ai/api/v1/invoices" \
-H "Authorization: Bearer $NAVORINA_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: order-1042" \
-d '{
"number": "INV-1042",
"customer_name": "Acme GmbH",
"customer_email": "billing@example.com",
"issue_date": "2026-10-21",
"due_date": "2026-11-04",
"currency_code": "EUR",
"line_items": [
{
"name": "Consulting",
"quantity": 1,
"unit_price_minor": 120000
}
]
}'Response 201
{
"id": "7c1e0b52-80a1-4dd4-ae83-820d5df5c207",
"object": "invoice",
"number": "INV-1042",
"status": "draft",
"customer": {
"name": "Acme GmbH",
"email": "billing@example.com"
},
"currency": "EUR",
"subtotal_minor": 120000,
"tax_minor": 0,
"discount_minor": 0,
"total_minor": 120000,
"amount_paid_minor": 0,
"amount_due_minor": 120000,
"issue_date": "2026-10-21",
"due_date": "2026-11-04",
"sent_at": null,
"paid_at": null,
"voided_at": null,
"created_at": "2026-10-21T09:14:03.120Z",
"updated_at": "2026-10-21T09:14:03.120Z",
"line_items": [
{
"name": "Consulting",
"quantity": 1,
"unit_price_minor": 120000,
"description": null,
"unit": "item",
"tax_rate_percent": 0,
"total_minor": 120000
}
]
}List transactions
GET/transactions
Returns transactions newest first. Money out has a negative amount_minor.
Required scope transactions:read
Parameters
| Name | In | Required | Description |
|---|---|---|---|
from, to | query | optional | Inclusive transaction dates in YYYY-MM-DD. |
limit | query | optional | Page size from 1 to 100. Defaults to 25. |
starting_after | query | optional | The next_cursor returned by the previous page. |
cURL request
curl "https://navorina.ai/api/v1/transactions?from=2026-10-01&to=2026-10-31" \
-H "Authorization: Bearer $NAVORINA_API_KEY"Response 200
{
"object": "list",
"data": [
{
"id": "bd913c5e-106c-49a1-8c3c-f24b928b8972",
"object": "transaction",
"date": "2026-10-21",
"description": "Office supplies",
"amount_minor": -4900,
"currency": "EUR",
"type": "expense",
"category": "Office",
"account": {
"id": "83e87f56-b233-4566-a102-c23030c29d9b",
"name": "Business account"
},
"source": "manual",
"created_at": "2026-10-21T09:14:03.120Z",
"updated_at": "2026-10-21T09:14:03.120Z"
}
],
"has_more": false,
"next_cursor": null
}Retrieve a transaction
GET/transactions/{id}
Returns one transaction.
Required scope transactions:read
Parameters
| Name | In | Required | Description |
|---|---|---|---|
id | path | required | ID returned by List transactions or a transaction event. |
cURL request
curl "https://navorina.ai/api/v1/transactions/bd913c5e-106c-49a1-8c3c-f24b928b8972" \
-H "Authorization: Bearer $NAVORINA_API_KEY"Response 200
{
"id": "bd913c5e-106c-49a1-8c3c-f24b928b8972",
"object": "transaction",
"date": "2026-10-21",
"description": "Office supplies",
"amount_minor": -4900,
"currency": "EUR",
"type": "expense",
"category": "Office",
"account": {
"id": "83e87f56-b233-4566-a102-c23030c29d9b",
"name": "Business account"
},
"source": "manual",
"created_at": "2026-10-21T09:14:03.120Z",
"updated_at": "2026-10-21T09:14:03.120Z"
}Webhook events
Add an https endpoint in Settings › API and choose its events. Navorina sends a POST for each event and expects a 2xx answer within 5 seconds. Redirects are not followed; private and local addresses are refused.
| Event | When |
|---|---|
invoice.created | Invoice created |
invoice.paid | Invoice paid |
invoice.payment_reported | Client says they paid |
transaction.created | Transaction added |
{
"id": "evt_3f9a1c0b7d2e4a6f8b1c5d9e",
"type": "invoice.paid",
"created": "2026-10-21T09:14:03.120Z",
"livemode": true,
"data": {
"object": {
"id": "7c1e0b52-80a1-4dd4-ae83-820d5df5c207",
"object": "invoice"
}
}
}Webhooks contain the event type and record ID. Fetch invoice or transaction details with a server-side key that has the corresponding read access. Deduplicate by event ID. Resending an older event also uses this smaller payload.
Signature verification
Each delivery has Navorina-Signature: t=<unix seconds>,v1=<hex>: an HMAC-SHA256 of t.body with the endpoint's signing secret (shown once when you add it). Also sent: Navorina-Event and Navorina-Delivery.
import crypto from "node:crypto";
// header: the Navorina-Signature header, body: the raw request body as text
function verify(header, body, secret) {
const parts = Object.fromEntries((header || "").split(",").map((part) => part.trim().split("=")));
if (!/^\d+$/.test(parts.t || "") || !/^[a-f0-9]{64}$/.test(parts.v1 || "")) return false;
const expected = crypto.createHmac("sha256", secret).update(`${parts.t}.${body}`).digest("hex");
const fresh = Math.abs(Date.now() / 1000 - Number(parts.t)) < 300;
return fresh && crypto.timingSafeEqual(Buffer.from(expected, "hex"), Buffer.from(parts.v1, "hex"));
}Delivery and retries
A failed delivery is tried again after 1 minute, 5 minutes, 30 minutes, 2 hours, 6 hours and 24 hours, then marked failed. Settings › API shows the last 50 deliveries of each endpoint, with Resend and Send test.
Pagination
Lists answer {"object":"list","data":[…],"has_more":true,"next_cursor":"…"}. Pass next_cursor as starting_after to get the next page.
Errors
Every error has one shape: {"error":{"code","message","status"},"request_id"}. Quote request_id when you write to support.
| Status | Code | Means |
|---|---|---|
| 400 | INVALID_PARAMETER | A query parameter is invalid. |
| 400 | INVALID_PAYLOAD | The JSON body is missing a field or has a bad value. |
| 401 | API_KEY_REQUIRED | No Authorization header. |
| 401 | INVALID_API_KEY | The key is wrong or was revoked. |
| 403 | SCOPE_REQUIRED | The key cannot do this. Create one with the right access. |
| 403 | FEATURE_NOT_INCLUDED | The workspace needs Plus or Pro. |
| 404 | NOT_FOUND | No such object in this workspace, or no such endpoint. |
| 409 | INVOICE_NUMBER_EXISTS | An invoice with this number already exists. |
| 429 | RATE_LIMITED | Too many requests. Wait for Retry-After seconds. |
| 500 | INTERNAL_ERROR | Something failed on our side. Retry with the same Idempotency-Key. |
Limits
60 requests a minute for each key, and 12 new invoices a minute for each workspace. Over the limit the API answers 429 with Retry-After. Up to 10 keys and 5 webhook endpoints per workspace.