Skip to main content
GET
Get Invoice

Authorizations

Authorization
string
header
required

API key authentication. Send your raw API key as the Authorization header value with NO scheme prefix — Authorization: YOUR-API-KEY. Do NOT prefix it with Bearer or ApiKey, and do not use an X-API-Key header; those are not accepted.

Path Parameters

companyId
string<uuid>
required

Company identifier

invoiceId
string<uuid>
required

Invoice identifier

Response

The invoice, its live payments, and the concurrency token

invoice
object
required

THE invoice representation — the same shape everywhere an endpoint returns an invoice (listing rows, the detail read, and every write's refreshed-row response). headJournalId is the invoice's current journal head — the optimistic-concurrency token subsequent writes echo back as If-Match.

payments
object[]
required

The invoice's live payments, newest first

headJournalId
string<uuid>
required

The invoice's current journal head — the If-Match value for the next write (also carried on the invoice row)