Skip to content
Support

Credit Notes API

Owner, AdminLast checked 25 November 20262 min readArticle ID: developers-api-credit-notes
On this page

2 endpoints for credit notes: list credit notes; get a credit note.

Credit notes

List credit notes

GET /api/v1/credit-notes

Offset mode by default (newest first, meta.total). Pass updated_since or cursor for sync mode (oldest change first, keyset paging, no total). See the pagination guide. Archived records are left out (except here: credit notes are listed with archived_at set). Unknown query parameters are ignored.

Scope: read:credit_notes

Parameters

NameInTypeRequiredDescription
per_pagequeryintegerPage size. Out-of-range values are clamped to 1..100.
pagequeryintegerPage number, newest first. Offset mode only; ignored in sync mode.
updated_sincequerystringSwitches to sync mode: rows changed at or after this date or timestamp (a bare date is midnight UTC), oldest change first. Rows are listed once they have settled (5 seconds).
cursorquerystringThe meta.next_cursor of a previous response; continues strictly after the last row received. Switches to sync mode. A value this API did not issue is validation_failed.
job_idquerystringOnly credit notes of this job.
invoice_idquerystringOnly credit notes allocated to this invoice.
If-None-MatchheaderstringThe ETag of a copy you already have. When the response would be unchanged you get 304 Not Modified with no body. Tags are per business.

Response: 200 OK

{
  "data": [
    {
      "id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
      "job_id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
      "number": "1042-001",
      "description": "Replace the tempering valve.",
      "date": "2026-11-03",
      "currency": "AUD",
      "amount_cents": 15000,
      "refund_cents": 15000,
      "refund_method": "Bank transfer",
      "refund_date": "2026-11-03",
      "allocations": [
        {
          "invoice_id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
          "amount_cents": 15000
        }
      ],
      "archived_at": "2026-11-03T01:00:00+00:00",
      "created_at": "2026-11-03T01:00:00+00:00",
      "updated_at": "2026-11-03T01:00:00+00:00"
    }
  ],
  "meta": {
    "page": 1,
    "per_page": 25,
    "total": 1
  }
}

Errors: 304, 401, 403, 422, 429, 500, 503. See Errors.

Get a credit note

GET /api/v1/credit-notes/{id}

Scope: read:credit_notes

Parameters

NameInTypeRequiredDescription
idpathstringyesThe record id (a ULID).
If-None-MatchheaderstringThe ETag of a copy you already have. When the response would be unchanged you get 304 Not Modified with no body. Tags are per business.

Response: 200 OK

{
  "data": {
    "id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
    "job_id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
    "number": "1042-001",
    "description": "Replace the tempering valve.",
    "date": "2026-11-03",
    "currency": "AUD",
    "amount_cents": 15000,
    "refund_cents": 15000,
    "refund_method": "Bank transfer",
    "refund_date": "2026-11-03",
    "allocations": [
      {
        "invoice_id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
        "amount_cents": 15000
      }
    ],
    "archived_at": "2026-11-03T01:00:00+00:00",
    "created_at": "2026-11-03T01:00:00+00:00",
    "updated_at": "2026-11-03T01:00:00+00:00"
  }
}

Errors: 304, 401, 403, 404, 429, 500, 503. See Errors.

In this section