NuminaDevelopers
Dashboard
Get invoice delivery

Get invoice delivery

GET
/v1/invoices/{id}/delivery

Shows what happened to a booked invoice or credit note on each channel: every e-invoice attempt with its failure, and each address of the latest email.

E-invoices are delivered after the send call returns. Poll this until e_invoice.status is delivered or failed; a minute apart is plenty. On failed, e_invoice.failure.code says what to fix, and next_retry_at whether Numina sends again by itself.

An invoice that was never sent returns null statuses and empty lists.

Requires one ofinvoices:readread:ledger

Path parameters

  • idstring (uuid)Required
    Invoice ID

Errors

  • 401Missing or invalid credentials
  • 403A scope is missing, or the company is archived
  • 404It doesn't exist in this company
  • 429You're over the rate limit
  • 500Something went wrong on our side

Every error has the same shape. See Errors.

cURL
curl https://api.numina.app/v1/invoices/550e8400-e29b-41d4-a716-446655440000/delivery \
  -H "Authorization: Bearer numi_YOUR_API_KEY"
JavaScript
const response = await fetch("https://api.numina.app/v1/invoices/550e8400-e29b-41d4-a716-446655440000/delivery", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.NUMINA_API_KEY}`,
  },
});

const data = await response.json();
Python
import os

import requests

response = requests.get(
    "https://api.numina.app/v1/invoices/550e8400-e29b-41d4-a716-446655440000/delivery",
    headers={
        "Authorization": f"Bearer {os.environ['NUMINA_API_KEY']}",
    },
)
data = response.json()
Response
200
{
  "invoice_id": "550e8400-e29b-41d4-a716-446655440000",
  "email": {
    "status": "pending",
    "recipients": [
      {
        "email": "string",
        "status": "delivered",
        "sent_at": "string",
        "delivered_at": "string",
        "failed_at": "string",
        "failure_reason": "string"
      }
    ]
  },
  "e_invoice": {
    "status": "failed",
    "failure": {
      "code": "recipient_not_found",
      "message": "string",
      "retryable": false
    },
    "next_retry_at": "2026-01-15T10:45:00.000Z",
    "attempts": [
      {
        "id": "550e8400-e29b-41d4-a716-446655440000",
        "status": "sending",
        "number": "string",
        "scheme": "string",
        "network": "OIOUBL",
        "source": "initial",
        "created_at": "string",
        "accepted_at": "string",
        "delivered_at": "string",
        "failed_at": "string",
        "failure": {
          "code": "recipient_not_found",
          "message": "string",
          "retryable": false
        }
      }
    ]
  }
}