Skip to content

API reference

List invoice events

Invoices API

GET/v1/invoices/{id}/events

Returns the lifecycle events of one invoice, oldest first, one page at a time.

Page with startingAfterId: pass the id of the last event you received.

Events are append-only. An event is never edited after it is written.

Path parameters

  • idstring (uuid)Required

Query parameters

  • startingAfterIdstring
  • limitinteger

Response

A 200 answer carries these fields.

  • eventsarray of objectRequired
    Show 7 child fields
    • idstringRequired

      Always increasing, as a string because it can outgrow a JavaScript number. Pass it as startingAfterId to get the next page.

    • statusCodestringRequired
      One of api:received, api:interpreted, api:written, api:validated, kosit:clean, kosit:acceptable-with-findings, kosit:rejected, api:downloaded, api:exported, api:emailed, api:email-delivered, api:email-bounced, api:email-delayed, api:email-complained, api:email-failed, api:email-suppressed, api:archived, api:archive-read, api:sent, api:acknowledged, api:accepted, api:rejected, api:paid.
    • actorTypestring or nullRequired

      Who caused the event, from the credential of the request that caused it. Null on events from before 2026-09-22, when nothing recorded it.

      One of user, key, demo, certinvo, null.
    • actorIdstring or nullRequired

      The person's id for user, the API key's public prefix for key; null otherwise.

    • statusTextstring or nullRequired

      Quoted from the validator or from our reviewed message catalog. It is never generated.

    • dataobject or null
    • createdAtstring (date-time)Required
  • hasMorebooleanRequired

Status codes

Status Meaning
200 One page of events, oldest first.
401 No usable credential was sent (invalid_credentials).
404 No such invoice exists for this company (unknown_invoice).
GET/v1/invoices/{id}/events
Example
curl https://api.certinvo.com/v1/invoices/$INVOICE_ID/events \
  -H "Authorization: Bearer $CERTINVO_API_KEY"
const invoiceId = '3f0c2a5e-8d1b-4c7a-9e2f-6b5d4a3c2b1a'

const response = await fetch(`https://api.certinvo.com/v1/invoices/${invoiceId}/events`, {
  headers: {
    Authorization: `Bearer ${process.env.CERTINVO_API_KEY}`,
  },
})
console.log(response.status, await response.json())
import os

import requests

invoice_id = "3f0c2a5e-8d1b-4c7a-9e2f-6b5d4a3c2b1a"

response = requests.get(
    f"https://api.certinvo.com/v1/invoices/{invoice_id}/events",
    headers={"Authorization": f"Bearer {os.environ['CERTINVO_API_KEY']}"},
)
print(response.status_code, response.text)
200
application/json
{
  "events": [
    {
      "id": "string",
      "statusCode": "api:received",
      "actorType": "user",
      "actorId": "string",
      "statusText": "string",
      "data": {},
      "createdAt": "2026-09-17T09:30:00Z"
    }
  ],
  "hasMore": true
}
Success response
GET
/v1/invoices/{id}/events
List invoice events
All
›AuthenticationRequiredBearerAuth

Provide your API key in the Authorization: Bearer <key> header. Keys are stored locally in your browser.

›Variables1
›Headers2
›Query Parameters2
›Code Snippet
curl -X GET "https://api.certinvo.com/v1/invoices/{id}/events" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response

No request sent yet

Configure parameters and click Send to view the response.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close