NL Official Documents

📄 NL Official Documents API

📄 NL Official Documents API

Purpose of the API

The NL Official Documents API allows you to order, track, and
download official documents
from the Dutch Chamber of Commerce (KVK).

Instead of manually navigating the KVK website, you can programmatically
discover available documents, place orders, monitor their processing
status, and download the resulting files in multiple formats.
You can use this API to:

  • Discover which official documents are available for a given
    organization or branch
  • Order business register extracts, trade register history,
    statutes, concern relations, and annual accounts
  • Track the asynchronous processing status of your orders
  • Download completed documents in PDF, HTML, JSON, or ZIP format
  • Reuse previously ordered documents from cache without placing a
    new order

The API is ideal for KYC/KYB onboarding, compliance workflows, legal
due diligence, financial audits, and any process that requires official
Dutch trade register documents.


How to use?

📌 Overview of the Flow

  1. Discover Supported Documents
    Start by calling
    GET /nl/organizations/official-documents/v1/
    to check which documents are available for a specific organization.
    The response includes document types, prices, expected delivery
    times, and available formats.

  2. Place an Order
    Once you have identified the document you want, call:
    POST /nl/organizations/official-documents/v1/orders
    providing the documentType and organizationID (and optionally
    branchID).

  3. Track Order Status
    Orders are processed asynchronously. Poll the order status by
    calling:
    GET /nl/organizations/official-documents/v1/orders/{order_id}
    until the status changes from pending to done.

  4. Download the Document
    When the status is done, download the document by calling:
    GET /nl/organizations/official-documents/v1/orders/{order_id}/document
    Specify the desired format via the Accept header.

  5. Reuse Existing Documents (Cache)
    Before placing a new order, you can check if a document is already
    available in the cache:
    GET /nl/organizations/official-documents/v1/documents
    If found, download it directly via:
    GET /nl/organizations/official-documents/v1/documents/{document_id}

🌀 Flow Behavior

  • Orders are processed asynchronously. The POST call returns
    immediately with a pending status — you must poll until the order
    completes.
  • If an order fails during processing, you can retry specific
    activities using
    POST /nl/organizations/official-documents/v1/orders/{order_id}.
  • The cache endpoint (/v1/documents) returns documents previously
    ordered by any customer. Each document includes an upToDate flag
    indicating whether it reflects the latest KVK data.
  • All list endpoints support pagination via page[number] and
    page[size].
  • All responses follow JSON:API conventions for consistency.

🔢 Versioning

Current version prefix:
/nl/organizations/official-documents/v1/

Future versions will follow /v2/, /v3/, etc.


Base URL

https://api.company.info


🔑 Authentication

All requests must be authenticated using one of the following methods:

MethodHeaderDescription
API KeyX-API-KEY: <your-api-key>Your unique API key. Validated against the Organization Management API.
Bearer TokenAuthorization: Bearer <your-token>A valid bearer token issued by the authentication service.
💡

You only need to provide one of these headers per request. If both are present, the bearer token takes precedence.


🧩 Core Concepts

Before diving into the endpoints, it helps to understand the domain
model:

ConceptDescription
OrderA request to retrieve an official document from the KVK. Orders are processed asynchronously and transition through statuses: pending, done, failed, cancelled.
DocumentA completed, cached document that has been previously ordered. Documents can be reused without placing a new order.

All Endpoints

Below is a complete list of API endpoints.

#MethodEndpointDescription
1GET/v1/Discover supported documents for an organization
2POST/v1/ordersPlace a new document order
3GET/v1/ordersList previously placed orders
4GET/v1/orders/{order_id}Get a specific order
5POST/v1/orders/{order_id}Retry a failed order activity
6GET/v1/orders/{order_id}/documentDownload a document from an order
7GET/v1/documentsList available cached documents
8GET/v1/documents/{document_id}Download a cached document

All endpoint paths are relative to /nl/organizations/official-documents.

❗ These endpoints incur usage-based charges.


1. Discover Supported Documents

GET /nl/organizations/official-documents/v1/

Check which official documents are available for a specific organization.

Description

Returns the list of document types available for the given Organization
ID (and optionally branch ID), including pricing, expected delivery
time, available formats, and availability status.


Request Parameters

Headers

NameTypeDescription
X-API-KEYstringYour API key. Required if Authorization is not provided.
AuthorizationstringBearer token (Bearer <token>). Required if X-API-KEY is not provided.

Query Parameters

ParameterTypeRequiredDescription
filter[organizationID]stringYesThe 8-digit KVK number.
filter[branchID]stringNoThe 12-digit branch ID.
filter[documentType]stringNoFilter the discovery to a single document type (see list below).

Example Request

curl -X GET "https://api.company.info/nl/organizations/official-documents/v1/?filter[organizationID]=33302047" \
  -H "X-API-KEY: YOUR_API_KEY"

Example Response

{
  "data": {
    "id": "33302047",
    "type": "documents",
    "attributes": {
      "organizationID": "33302047",
      "date": "2024-03-15T11:19:39+01:00",
      "documents": [
        {
          "type": "standardExtract",
          "mimeType": "text/html",
          "price": 2.95,
          "available": true,
          "expectedTime": 60,
          "description": "Business Register Extract",
          "maskedGDPR": false
        },
        {
          "type": "concernRelations",
          "mimeType": "application/pdf",
          "price": 5.95,
          "available": true,
          "expectedTime": 60,
          "productName": "directRelations",
          "concernName": "Koninklijke Ahold Delhaize N.V."
        }
      ]
    }
  },
  "links": {
    "self": "https://api.company.info/nl/organizations/official-documents/v1/?filter[organizationID]=33302047"
  }
}

Response Fields — data

FieldTypeDescription
idstringThe organization ID this discovery result is for.
typestringAlways "documents".
attributes.organizationIDstringThe KVK number of the organization.
attributes.branchIDstringThe branch ID (if requested).
attributes.datestringISO 8601 timestamp of when the availability was checked.
attributes.documentsarrayArray of available document variants.

Response Fields — documents[]

FieldTypeDescription
typestringThe document type (one of standardExtract, history, standardStatute, concernRelations, annualAccounts).
mimeTypestringThe available MIME type for this document (application/pdf, application/json, application/zip, or text/html).
pricenumberThe price of the document (in EUR).
availablebooleanWhether the document is currently available for ordering.
expectedTimeintegerExpected delivery time in seconds.
descriptionstringHuman-readable description of the document.
productNamestringPresent for standardStatute, concernRelations, and annualAccounts. See Product Names for the full enum.
productDatestringPresent for standardStatute and annualAccounts. Full date (2023-12-06) or year (2023).
concernNamestringPresent for concernRelations. The highest dossier name required when placing the order.
maskedGDPRbooleanWhether the document is masked for GDPR compliance.

2. 📝 Place an Order

POST /nl/organizations/official-documents/v1/orders

Place a new order for an official document.

Description

Creates a new document order for one of the supported document types
(standardExtract, history, standardStatute, concernRelations,
or annualAccounts). The order is processed asynchronously — the
response will include an order ID and a pending status. You must
poll the order status until it changes to done before downloading.

The required attributes vary per document type — see Document Types
for the per-type requirements and Product Names for
the allowed productName values.


⁉️ Request Parameters

Headers

NameTypeDescription
X-API-KEYstringYour API key. Required if Authorization is not provided.
AuthorizationstringBearer token (Bearer <token>). Required if X-API-KEY is not provided.
Content-TypestringRequired. application/json

Request Body

The body must contain a data object with the following fields:

FieldTypeRequiredDescription
data.typestringYesMust be "orders".
data.attributes.documentTypestringYesOne of: standardExtract, history, standardStatute, concernRelations, annualAccounts.
data.attributes.organizationIDstringYesThe 8-digit KVK number.
data.attributes.branchIDstringConditionalThe 12-digit branch ID. Not allowed for standardStatute, concernRelations, or annualAccounts.
data.attributes.productNamestringConditionalRequired for standardStatute, concernRelations, and annualAccounts. See Product Names for the full enum.
data.attributes.productDatestringConditionalRequired for standardStatute (full date, e.g. 2023-12-06) and annualAccounts (4-digit year, e.g. 2023).
data.attributes.concernNamestringConditionalRequired for concernRelations. The highest dossier name returned by the discovery endpoint.

Example Request

curl -X POST "https://api.company.info/nl/organizations/official-documents/v1/orders" \
  -H "X-API-KEY: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
        "data": {
          "type": "orders",
          "attributes": {
            "documentType": "standardExtract",
            "organizationID": "33302047"
          }
        }
      }'

Example Response

{
  "data": {
    "id": "01HS0SZQECSKQ8NV20391MZ0R1",
    "type": "orders",
    "attributes": {
      "documentType": "standardExtract",
      "status": "pending",
      "organizationID": "33302047",
      "mimeTypes": [
        "text/html",
        "application/pdf",
        "application/json"
      ],
      "createdAt": "2024-03-15T11:19:39+01:00"
    }  
  },
  "links": {
    "self": "https://api.company.info/nl/organizations/official-documents/v1/orders/01HS0SZQECSKQ8NV20391MZ0R1"
  }
}

Response Fields — data

FieldTypeDescription
idstringUnique identifier (ULID) for the order.
typestringAlways "orders".
attributes.documentTypestringThe type of document ordered.
attributes.statusstringCurrent status: pending, done, failed, or cancelled.
attributes.organizationIDstringThe KVK number.
attributes.branchIDstringPresent when the order was placed for a specific branch.
attributes.productNamestringPresent for standardStatute, concernRelations, and annualAccounts orders.
attributes.productDatestringPresent for standardStatute and annualAccounts orders.
attributes.concernNamestringPresent for concernRelations orders.
attributes.mimeTypes[]stringAvailable download formats. May be absent while the order is pending or failed.
attributes.createdAtstringISO 8601 timestamp of when the order was created.
links.selfstringCanonical URL to retrieve this order.


3. 📋 List Orders

GET /nl/organizations/official-documents/v1/orders

Retrieve a paginated list of previously placed orders.

Description

Returns all orders matching the specified filters. Useful for finding
a previously placed order or auditing your order history.


⁉️ Request Parameters

Headers

NameTypeDescription
X-API-KEYstringYour API key. Required if Authorization is not provided.
AuthorizationstringBearer token (Bearer <token>). Required if X-API-KEY is not provided.

Query Parameters

ParameterTypeRequiredDescription
filter[organizationID]stringNoFilter by 8-digit KVK number.
filter[branchID]stringNoFilter by 12-digit branch ID.
filter[documentType]stringNoFilter by document type (see Document Types).
filter[status]stringNoFilter by status: pending, done, failed, or cancelled.
filter[date][from]stringNoFilter by order date from (YYYY-MM-DD).
filter[date][to]stringNoFilter by order date to (YYYY-MM-DD).
page[number]integerNoPage number (default: 1).
page[size]integerNoRecords per page (default: 10, maximum: 20).

Example Request

curl -X GET "https://api.company.info/nl/organizations/official-documents/v1/orders?filter[status]=done&filter[organizationID]=33302047" \
  -H "X-API-KEY: YOUR_API_KEY"

Example Response

{
  "data": [
    {
      "id": "01HS0SZQECSKQ8NV20391MZ0R1",
      "type": "orders",
      "attributes": {
        "documentType": "standardExtract",
        "status": "done",
        "organizationID": "33302047",
        "mimeTypes": [
          "text/html",
          "application/pdf",
          "application/json"
        ],
        "createdAt": "2024-03-15T11:19:39+01:00"
      },
      "links": {
        "self": "https://api.company.info/nl/organizations/official-documents/v1/orders/01HS0SZQECSKQ8NV20391MZ0R1"
      }
    }
  ],
  "links": {
    "first": "...?page[number]=1&page[size]=10",
    "last": "...?page[number]=1&page[size]=10",
    "self": "...?page[number]=1&page[size]=10"
  },
  "meta": {
    "totalResults": 1,
    "totalPages": 1
  }
}

4. 📄 Get a Single Order

GET /nl/organizations/official-documents/v1/orders/{order_id}

Retrieve a specific order by its ID.

Description

Returns the full details of the specified order, including its current
status and processing history. Use this to poll order status until it
reaches done.


⁉️ Request Parameters

Path

NameTypeRequiredDescription
order_idstringYesThe ID of the order.

Headers

NameTypeDescription
X-API-KEYstringYour API key. Required if Authorization is not provided.
AuthorizationstringBearer token (Bearer <token>). Required if X-API-KEY is not provided.

Example Request

curl -X GET "https://api.company.info/nl/organizations/official-documents/v1/orders/01HS0SZQECSKQ8NV20391MZ0R1" \
  -H "X-API-KEY: YOUR_API_KEY"

Example Response

{
  "data": {
    "id": "01HS0SZQECSKQ8NV20391MZ0R1",
    "type": "orders",
    "attributes": {
      "documentType": "concernRelations",
      "status": "done",
      "organizationID": "33302047",
      "productName": "directRelations",
      "concernName": "Koninklijke Ahold Delhaize N.V.",
      "mimeTypes": [
        "text/html",
        "application/pdf",
        "application/json"
      ],
      "createdAt": "2024-03-15T11:19:39+01:00"
    }
  },
  "links": {
    "self": "https://api.company.info/nl/organizations/official-documents/v1/orders/01HS0SZQECSKQ8NV20391MZ0R1"
  }
}

Order Statuses

StatusDescription
pendingThe document is still being retrieved from the KVK.
doneThe document is ready for download.
failedAn error occurred during processing.
cancelledThe order was cancelled.

5. 🔄 Retry a Failed Order Activity

POST /nl/organizations/official-documents/v1/orders/{order_id}

Retry a specific activity on a failed order.

Description

If an order fails during the ordering or conversion step, you can
retry the failed activity without placing a new order. This is useful
for transient failures.


⁉️ Request Parameters

Path

NameTypeRequiredDescription
order_idstringYesThe ID of the order.

Headers

NameTypeDescription
X-API-KEYstringYour API key. Required if Authorization is not provided.
AuthorizationstringBearer token (Bearer <token>). Required if X-API-KEY is not provided.
Content-TypestringRequired. application/json

Request Body

FieldTypeRequiredDescription
data.typestringYesMust be "orders".
data.attributes.activitystringYesThe activity to retry: "order" or "convert".

Example Request

curl -X POST "https://api.company.info/nl/organizations/official-documents/v1/orders/01HS0SZQECSKQ8NV20391MZ0R1" \
  -H "X-API-KEY: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
        "data": {
          "type": "orders",
          "attributes": {
            "activity": "convert"
          }
        }
      }'

Example Response

204 No Content — the activity has been retried successfully.


6. 📥 Download a Document (from Order)

GET /nl/organizations/official-documents/v1/orders/{order_id}/document

Download the document associated with a completed order.

Description

Returns the document content in the format specified by the Accept
header. The order must have a status of done before the document can
be downloaded.


⁉️ Request Parameters

Path

NameTypeRequiredDescription
order_idstringYesThe ID of the order.

Headers

NameTypeDescription
X-API-KEYstringYour API key. Required if Authorization is not provided.
AuthorizationstringBearer token (Bearer <token>). Required if X-API-KEY is not provided.
AcceptstringRequired. The desired content type: application/pdf, application/json, application/zip, or text/html.

Example Request

curl -X GET "https://api.company.info/nl/organizations/official-documents/v1/orders/01HS0SZQECSKQ8NV20391MZ0R1/document" \
  -H "X-API-KEY: YOUR_API_KEY" \
  -H "Accept: application/pdf" \
  --output document.pdf

Example Response

The response body contains the document content in the requested format.

Accept HeaderResponse Content
application/pdfBinary PDF file
application/jsonJSON representation of the document
application/zipZIP archive containing the document files
text/htmlHTML representation of the document

7. 📋 List Cached Documents

GET /nl/organizations/official-documents/v1/documents

Retrieve a paginated list of previously ordered documents available
in cache.

Description

Returns documents that have been previously ordered (by you or another
customer) and are available for immediate download. This allows you to
reuse existing documents without placing a new order and incurring
additional charges. Each document includes an upToDate flag indicating
whether it reflects the latest KVK data.


⁉️ Request Parameters

Headers

NameTypeDescription
X-API-KEYstringYour API key. Required if Authorization is not provided.
AuthorizationstringBearer token (Bearer <token>). Required if X-API-KEY is not provided.

Query Parameters

ParameterTypeRequiredDescription
filter[organizationID]stringYesFilter by 8-digit KVK number.
filter[branchID]stringNoFilter by 12-digit branch ID.
filter[type]stringYesFilter by document type (see Document Types).
filter[date][from]stringNoFilter by document date from (YYYY-MM-DD).
filter[date][to]stringNoFilter by document date to (YYYY-MM-DD).
page[number]integerNoPage number (default: 1).
page[size]integerNoRecords per page (default: 10, maximum: 20).

Example Request

curl -X GET "https://api.company.info/nl/organizations/official-documents/v1/documents?filter[organizationID]=33302047&filter[type]=standardExtract" \
  -H "X-API-KEY: YOUR_API_KEY"

Example Response

{
  "data": [
    {
      "id": "01HRCS13ZT1T5VGGNF1JRJAGKT",
      "type": "documents",
      "attributes": {
        "type": "standardExtract",
        "organizationID": "33302047",
        "mimeTypes": [
          "text/html",
          "application/pdf",
          "application/json"
        ],
        "createdAt": "2024-03-15T11:20:15+01:00",
        "upToDate": true
      },
      "links": {
        "self": "https://api.company.info/nl/organizations/official-documents/v1/documents/01HRCS13ZT1T5VGGNF1JRJAGKT"
      }
    }
  ],
  "links": {
    "first": "...?page[number]=1&page[size]=10",
    "last": "...?page[number]=1&page[size]=10",
    "self": "...?page[number]=1&page[size]=10"
  },
  "meta": {
    "totalResults": 1,
    "totalPages": 1
  }
}

Response Fields — data[]

FieldTypeDescription
idstringUnique identifier for the cached document.
typestringAlways "documents".
attributes.typestringThe type of document (see Document Types).
attributes.organizationIDstringThe KVK number.
attributes.branchIDstringPresent when the cached document is for a specific branch.
attributes.productNamestringPresent for product-scoped documents (standardStatute, concernRelations, annualAccounts).
attributes.productDatestringPresent for standardStatute and annualAccounts. Full date or year.
attributes.mimeTypesstring[]Available download formats.
attributes.createdAtstringISO 8601 timestamp of when the document was created.
attributes.upToDatebooleanOnly present for standardExtract documents. Indicates whether the cached copy reflects the latest KVK data.
links.selfstringCanonical URL to download this document.

8. 📥 Download a Cached Document

GET /nl/organizations/official-documents/v1/documents/{document_id}

Download a document directly from cache.

Description

Returns the document content in the format specified by the Accept
header. This allows downloading without placing a new order.


⁉️ Request Parameters

Path

NameTypeRequiredDescription
document_idstringYesThe ID of the document.

Headers

NameTypeDescription
X-API-KEYstringYour API key. Required if Authorization is not provided.
AuthorizationstringBearer token (Bearer <token>). Required if X-API-KEY is not provided.
AcceptstringRequired. The desired content type: application/pdf, application/json, or text/html.

Example Request

curl -X GET "https://api.company.info/nl/organizations/official-documents/v1/documents/01HRCS13ZT1T5VGGNF1JRJAGKT" \
  -H "X-API-KEY: YOUR_API_KEY" \
  -H "Accept: application/pdf" \
  --output cached_document.pdf

Example Response

The response body contains the document content in the requested format
(same as Endpoint 6).


📑 Document Types

The API supports the following document types when placing an order,
listing cached documents, or filtering lists:

Document TypeDescriptionRequired AttributesOptional Attributes
standardExtractBusiness Register Extract.organizationIDbranchID
historyTrade register history for the organization.organizationIDbranchID
standardStatuteStatute (articles of association) document for the organization.organizationID, productName, productDate—
concernRelationsConcern-relations document showing the group structure of the organization.organizationID, productName, concernName—
annualAccountsAnnual accounts for a given reporting year.organizationID, productName, productDate (year)—
⚠️

branchID is not allowed for standardStatute, concernRelations, or annualAccounts — these are only ordered at the organization level.

🏷️ Product Names

productName selects a specific product variant and is required for
standardStatute, concernRelations, and annualAccounts. The
allowed values are:

productNameTypically used with
directRelationsconcernRelations
totalConcernconcernRelations
deedOfIncorporationstandardStatute
deedIncorporationstandardStatute
amendmentOfArticlesOfAssociationstandardStatute
deedOfMergerstandardStatute
rectificationstandardStatute
deedOfDivisionstandardStatute
mostRecentArticlesOfAssociationstandardStatute
mergerDemergerProposalstandardStatute
demergerDeedstandardStatute
latestArticlesOfAssociationstandardStatute
articlesOfIncorporationstandardStatute
articlesOfAssociationstandardStatute
annualAccountsannualAccounts
groupAnnualAccounts408annualAccounts
corporateIncomeTaxReportannualAccounts
provisionalAnnualAccountsannualAccounts
groupAnnualAccounts403annualAccounts

Use the discovery endpoint to find
out which productName / productDate / concernName combinations
are actually available for a given organization before placing an
order.


📤 Supported Formats

Documents can be downloaded in the following formats via the Accept
header:

MIME TypeFormatDescription
application/pdfPDFPortable Document Format (binary)
application/jsonJSONJSON representation of the document
application/zipZIPZIP archive containing the document files
text/htmlHTMLHTML representation of the document
⚠️

Not all formats may be available for every document type. Check

the mimeTypes field in the order or document response to see which
formats are supported.


🔢 Pagination

The API uses JSON:API-style pagination with meta and links
objects on list endpoints (GET /v1/orders and GET /v1/documents).

Request Parameters

ParameterTypeDescription
page[number]integerThe page number you want to retrieve (1-based, default: 1).
page[size]integerHow many records per page (default: 10, maximum: 20).

Response Fields

"meta": {
  "totalResults": 150,
  "totalPages": 15
},
"links": {
  "first": "...?page[number]=1&page[size]=10",
  "last": "...?page[number]=15&page[size]=10",
  "self": "...?page[number]=2&page[size]=10",
  "next": "...?page[number]=3&page[size]=10",
  "prev": "...?page[number]=1&page[size]=10"
}
  • Use links.next until it no longer appears or until you have all
    records.
  • Use totalResults and totalPages to build progress indicators or
    pagination controls in your UI.

🔄 Typical Order Workflow

Here is a recommended workflow for ordering and downloading documents:

  1. Discover available documents (Endpoint 1) — check what is
    available for the target organization.
  2. Check cache first (Endpoint 7) — see if the document you need
    has already been ordered and is available for immediate download.
  3. Download from cache (Endpoint 8) — if found and upToDate is
    true, download directly and skip ordering.
  4. Place an order (Endpoint 2) — if not cached or out of date,
    place a new order.
  5. Poll for completion (Endpoint 4) — periodically check the order
    status until it is done.
  6. Download the document (Endpoint 6) — download in your preferred
    format.

Example Polling Loop

# Poll every 10 seconds until status is "done"
curl -X GET "https://api.company.info/nl/organizations/official-documents/v1/orders/01HS0SZQECSKQ8NV20391MZ0R1" \
  -H "X-API-KEY: YOUR_API_KEY"

⚠️ Rate Limiting / Other Limitations

  • Some environments may enforce rate limits per API key.
  • Document ordering is subject to KVK processing times — the
    expectedTime field in the discovery response gives an estimate.
  • Wherever possible, check the cache before placing new orders to
    avoid unnecessary charges.

⚠️ Error handling

All non-2xx responses follow the JSON:API error envelope:

{
  "errors": [
    {
      "status": "423",
      "code": "423",
      "title": "failed on downloading document",
      "detail": "the requested document is not ready yet"
    }
  ]
}

The three fields clients should pattern-match on are:

  • status — the HTTP status (as a string, duplicated from the response code).
  • title — a short, stable label for the error class. All regular error
    paths wrap the title with a failed on prefix (e.g. failed on validation, failed on authorization, failed on downloading document, failed on registering order). The one exception is
    planned-maintenance 500s, which bypass the wrapper and use the
    literal title service unavailable with no prefix.
  • detail — a human-readable sentence describing the specific
    occurrence. This is the string most consumers want to show to end
    users or log for triage.

Every response — success or error — also includes an
X-Correlation-Id header. Always include this value when you contact
Company.info support.

How to handle errors as a consumer

Use this decision tree before any custom per-endpoint logic:

Status rangeDefault handling
2xxSuccess.
400Do not retry. The request is wrong; fix it and resubmit. The one exception is the upstream-provider 400s (company not found, …) — see the table below for the ones that need Company.info support rather than a request change.
401Do not retry. Fix credentials; obtain a new bearer token if the current one expired.
403Do not retry. Contact Company.info support — your API key is not authorised for this operation.
404Do not retry. Verify the order_id / document_id is correct and belongs to the authenticated customer.
406Do not retry. Pick an Accept value from the mimeTypes array returned by the order / document response.
423Retry — but first poll GET /v1/orders/{order_id} until its status changes. Wait at least a few seconds between polls.
429Retry with back-off — honor any Retry-After header; otherwise wait and poll the order first.
5xxRetry with exponential back-off (e.g. 1 s, 2 s, 4 s, 8 s, max 30 s). If the error persists for more than a few minutes, open a support ticket with the X-Correlation-Id. Exception: title: "service unavailable" indicates planned maintenance — do not retry; check the status page linked in the detail.

Complete error catalogue

The following table lists every error detail that this service
produces, grouped by HTTP status. "Source" indicates where the problem
originated:

  • client — the request itself is wrong; fix the request.
  • server — Official Documents service failed.
  • provider — the upstream data provider rejected or failed
    the lookup.
  • platform — planned maintenance or configuration state.

400 Bad Request

TitledetailTriggerRetryable?Caller actionSource
failed on validation(binding message, e.g. invalid character '}' …)Request body is not valid JSON or a required field is missingNoFix the bodyclient
failed on validationordering: invalid organization idorganizationID is not 8 digitsNoSupply a valid 8-digit Organization IDclient
failed on validationordering: invalid branch idbranchID is not 12 digitsNoSupply a valid 12-digit branch ID (or omit)client
failed on validationordering: invalid document typedocumentType not in the supported enumNoUse one of the enum values (see Document Types)client
failed on validationordering: there is no statute document for branchesbranchID combined with a statute documentTypeNoOmit branchID for statute ordersclient
failed on validationordering: there is no concern relations for branchesbranchID combined with concernRelationsNoOmit branchIDclient
failed on validationordering: there is no annual accounts for branchesbranchID combined with annualAccountsNoOmit branchIDclient
failed on validationordering: please enter the product nameproductName missing for a type that requires itNoSupply productName from the Product Names listclient
failed on validationordering: please enter a valid product nameproductName not in the dictionaryNoUse an allowed valueclient
failed on validationordering: please enter the product dateproductDate missing for annualAccountsNoSupply a 4-digit year (e.g. 2023)client
failed on validationordering: please enter a valid product dateproductDate format wrongNoUse YYYY-MM-DD for standardStatute, YYYY for annualAccountsclient
failed on validationordering: please enter the concern nameconcernName missing for concernRelationsNoCall discovery first and supply the returned concernNameclient
failed on validationordering: invalid activityactivity not one of order / convertNoUse a valid activity nameclient
failed on validationordering: invalid mime typeAccept missing or value not supported (order document download)NoSet Accept to a value from mimeTypesclient
failed on validationdocuments: invalid mime typeAccept missing or not a known mime type (cached document download via GET /v1/documents/{document_id})NoSet Accept to a configured mime type; if the value is known but not available for this document you'll get a 406 insteadclient
failed on validationordering: the organization id is requiredDiscovery called without filter[organizationID]NoAdd the filterclient
failed on validationdocuments: organizationID filter is requiredList documents called without filter[organizationID]NoAdd the filterclient
failed on validationdocuments: type filter is requiredList documents called without filter[type]NoAdd the filterclient
failed on validationdocuments: organizationID filter must contain one valueMultiple organizationID values suppliedNoSupply a single valueclient
failed on validationinvalid filter nameUnknown filter keyNoRemove or rename the filterclient
failed on validationinvalid <field> (e.g. invalid status, invalid documentType)Filter value does not match the validatorNoUse a value from the enum documented for that filterclient
failed on validationpagination: invalid page sizepage[size] is non-positive or exceeds the maximum (20)NoUse 1..20client
failed on validationpagination: invalid page numberpage[number] is non-positiveNoUse >= 1client
failed on validationthe document type is not supported for this companyCombination not returned by the discovery endpoint for this organizationNoCall GET /v1/ first and order from the resultserver
failed on validationcompany not foundOrganization/Branch does not existNoVerify the organizationIDprovider
failed on validationmore than one company foundProvider resolves ambiguouslyNoAdd a branchID or contact supportprovider
failed on validationinvalid document type (upstream)Provider rejected the document type for this dossierNoCall discovery and pick from the returned typesprovider
failed on converting documentthe document has been converted successfullyactivity=convert called when conversion already succeededNoNothing to retry; the document is already availableserver

401 Unauthorized

TitledetailTriggerRetryable?Caller actionSource
failed on authorization(binding message, e.g. Field validation for 'ApiKey' failed on the 'required' tag)Missing X-API-KEY / Authorization header, or invalid formatNoSupply valid credentials and resubmitclient

403 Forbidden

TitledetailTriggerRetryable?Caller actionSource
failed on authorizationyou are not allowed to order this type of documentPolicy denies the API key for the requested documentTypeNoContact Company.info support to review API-key permissionsserver (policy)

404 Not Found

TitledetailTriggerRetryable?Caller actionSource
failed on getting orderthe requested order was not foundorder_id does not exist, or does not belong to the authenticated customerNoVerify the ID and that you're using the correct API keyserver
failed on running the activitythe requested order not foundSame as above, during activity retryNoSame as aboveserver
failed on downloading documentthe requested document not foundorder_id / document_id does not existNoVerify the IDserver

406 Not Acceptable

TitledetailTriggerRetryable?Caller actionSource
failed on downloading documentthe requested content-type is not supportedAccept value not in the order's mimeTypesNoPick a value from the mimeTypes arrayclient

423 Locked

TitledetailTriggerRetryable?Caller actionSource
failed on downloading documentthe requested document is not ready yetOrder status is not yet doneYes — pollPoll GET /v1/orders/{order_id} until status=done, then retryserver
failed on converting documentthe requested document is not ready yetactivity=convert called before order is doneYes — pollWait for ordering to completeserver
failed on ordering documentthe requested order has not failedactivity=order called on an order that did not failNoOnly retry failed ordersserver

429 Too Many Requests

TitledetailTriggerRetryable?Caller actionSource
failed on running the activitythere is an unfinished process for this orderA concurrent retry is still runningYes — back-offWait, poll order status; retry only if still neededserver

500 Internal Server Error

TitledetailTriggerRetryable?Caller actionSource
failed on registering orderan error occurred on registering the orderServer side error during order creationYes — back-offRetry; if persistent, open a ticket with X-Correlation-Idserver
failed on getting orderan error occurred on getting the orderServer side error during lookupYes — back-offRetryserver
failed on getting orders list / failed on getting order listan error occurred on getting the order list / … while getting the orders listServer side errorYes — back-offRetryserver
failed on getting documents listan error occurred on getting the documents listServer side errorYes — back-offRetryserver
failed on getting latest changesan error occurred on getting the latest changesServer side errorYes — back-offRetryserver
failed on getting supported documentsan error occurred on getting the supported documentsServer side error during discoveryYes — back-offRetryserver
failed on running the activityan error occurred on running the activityServer side error during retryYes — back-offRetryserver
failed on converting documentan error occurred on converting the documentServer side error during convertYes — back-offRetryserver
failed on ordering documentan error occurred on ordering the documentServer side error during reorderYes — back-offRetryserver
failed on downloading documentan error occurred on downloading the document (or … the documents)Server side errorYes — back-offRetry; this is the typical "document could not be retrieved" caseserver
failed on getting documentan error occurred on getting the documentServer side error during downloadYes — back-offRetry; if persistent, re-run GET /v1/documentsserver

🛠️ Try it yourself!

✅

Ready to try it out? Head over to our API reference where you can easily test the API yourself.

From there, you can:

  • Explore endpoints
  • Play with example requests and responses
  • See schemas and parameter details
  • Use your own API key to test real responses

🔤 Glossary

TermDefinition
OrderA request to retrieve an official document from the KVK. Orders are processed asynchronously.
DocumentA completed, cached official document available for download without placing a new order.
Organization IDOfficial 8-digit identifier (KVK number) issued by the Dutch Chamber of Commerce (KvK).
Branch IDA 12-digit identifier for a specific branch of an organization.
Document TypeThe kind of official document: standardExtract, history, standardStatute, concernRelations, or annualAccounts.
Product NameA specific product variant within a document type (e.g. directRelations for concernRelations). See Product Names table.
Concern NameThe highest dossier name identifying the group a concernRelations document is ordered for.
ULIDUniversally Unique Lexicographically Sortable Identifier — used for order IDs.
JSON:APIA specification for building APIs in JSON with consistent structure for data, included, meta, links, and errors.
MIME TypeThe format of the document content: application/pdf, application/json, application/zip or text/html.
CachePreviously ordered documents stored for reuse. Check the upToDate flag to determine freshness.

Processing History Titles

TitleDescription
orderIsProcessingThe order is currently being processed.
orderIsDoneThe order has completed successfully.
conversionFailureThe document conversion step failed.
timeoutThe order timed out waiting for a response from KVK.
companyNotFoundThe specified company was not found in the KVK register.
documentTypeNotFoundThe requested document type is not available.
notAvailableThe document is not available for the specified organization.

Did this page help you?