Skip to main content
List a supplier's links to the accounting system

Authorizations

Authorization
string
header
required

Personal API key sent as a bearer token, together with X-Organization-Id. The key must have at least the access level the endpoint requires (read, write or admin).

Headers

X-Organization-Id
string

The organization to act in. Required for personal API keys; list the organizations you can access with GET /v1/organizations.

Path Parameters

id
string<uuid>
required

Query Parameters

fields
string[]

Return only these fields of each row; use dots for nested fields, such as linked_supplier.id. Fields: source_system, number, name, organization_number, active, removed, linked_supplier, companies.

company_id
string<uuid>

The workspace company an invoice from the supplier belongs to: missing_link reads that company's sending connection. Without it, missing_link is null.

Response

The links.

data
object[]
required

Set while the connection that sends invoices has no link for the supplier and holds no one active supplier with its organization number for sending to link. Its invoices are then held in Inbox (supplier_not_in_erp) and not sent until someone creates or links it: Watchdog never creates a supplier there on its own. can_create: createErpSupplier creates it there from its name, Norwegian organization number and address, and links it. Otherwise someone links it to an entry of that connection's register (linkErpSupplier), or adds it there: no_org_number (no Norwegian organization number, so Watchdog does not create it), same_name (one there has its name but no organization number), ambiguous (several there have its number), inactive (the one with its number is inactive there). From the register as last synced; a create looks there again. Null when no connection sends invoices.