Skip to main content
Get invoice

Authorizations

Authorization
string
header
required

Personal API key from Settings → Personal → API keys. Send X-Organization-Id with the target organization. Plaintext is shown once at creation and cannot be recovered. Header: Authorization: Bearer wdg_<token>.

Headers

X-Organization-Id
string

Required for personal API keys. Target one organization you have access to. Migrated keys may omit it to use their original organization. For Clerk sessions, it must match the active organization.

Path Parameters

invoice_id
string<uuid>
required

Invoice identifier from a successful upload or duplicate response.

Example:

"7ad2c50d-2cc0-49a0-9a9c-6fa817c1fbcb"

Response

Current invoice processing and aggregate alert-assessment state.

invoice_id
string<uuid>
required

Watchdog invoice identifier returned by the upload endpoint.

Example:

"7ad2c50d-2cc0-49a0-9a9c-6fa817c1fbcb"

invoice_number
string | null
required

Invoice number extracted from the document. For a semantic duplicate, this is the canonical invoice number. May be null before extraction or when no number can be identified; it is not a unique identifier.

Example:

"100234"

duplicate_of_invoice_id
string<uuid> | null
required

Canonical invoice identifier when this accepted upload was quarantined as a semantic duplicate; otherwise null.

Example:

null

processing
object
required
alerts
object
required

Aggregate alert-assessment summary across all applicable agreements. count preserves detected, non-superseded alerts even after review; resolution indicates whether they remain blocking. Individual alerts and agreement-level results are not exposed; use invoice_url to inspect them in Watchdog.

invoice_url
string<uri>
required

Absolute URL for reviewing the invoice and its alerts in Watchdog. For a semantic duplicate, this opens the canonical invoice.

Example:

"https://app.watchdog.no/org_3AFsEYath1408oAK0EkJikS8qp1/invoices/7ad2c50d-2cc0-49a0-9a9c-6fa817c1fbcb"

created_at
string<date-time>
required

When the invoice resource was created.

Example:

"2026-08-12T07:44:20.000Z"