Skip to main content
Select the primary invoice Document

Authorizations

Authorization
string
header
required

Personal API key. Send X-Organization-Id. The required cumulative level is listed in x-watchdog-permission.

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

id
string<uuid>
required
document_id
string<uuid>
required

Response

Current invoice Document relationship.

document
object
required
role
enum<string>
required
Available options:
primary,
attachment
position
integer | null
required