Premium Document API

Quick Navigation

API Documentation Search Documents
API Download PDF

Summary

The Premium Documents API provides secure access to corporate customer documents through a standardized API. The service is intended for approved third-party providers and partners that require automated access to documents stored in the document management system.

Using the API, providers can search for available documents within a specified date range, retrieve document metadata, and download individual documents in PDF format on behalf for the client (customer). Observe that the provider also must be a customer at handelsbanken.

Available document categories include annual statements, periodic reports, contract notes, payment specifications, agreements, information documents, collateral specifications, and engagement statements.

Service Availability Notice
Please note that this service is currently available only to Swedish limited companies and other registered corporate entities. At this time, the service does not support sole proprietorships (enskilda firmor).

Key Capabilities

- Documents are available only for corporate customers.
- Searches are performed within a single document category.
- Each document is identified by a unique document identifier.
- Search operations return metadata only.
- Download operations return the actual PDF document.
- Access is governed by a category-based authorization model.
- Documents can be searched within the available retention period of up to 18 months, subject to granted permissions.

Where This Service Adds Value

The Premium Documents API supports a wide range of integration scenarios where automated access to corporate customer documents is required.

  • Use CaseDescription
  • Accounting and ERP Integrations Automatically retrieve annual statements, periodic reports, and payment specifications directly into accounting and ERP systems.
  • Corporate Customer Portals Present authorized documents directly within customer-facing portals and self-service solutions.
  • Document Archiving and Records Management Continuously collect and archive PDF documents and metadata in enterprise document management platforms.
  • Regulatory and Compliance Monitoring Capture agreements, disclosures, and regulated communications for audit and compliance purposes.
  • Digital Mailbox and Communication Services Distribute newly published documents through digital mailbox, notification, and communication platforms.
  • Managed Service Providers Support outsourced accounting, finance, and administration providers with automated document retrieval.
  • Business Process Automation Trigger workflows such as document classification, approvals, reconciliation, and customer notifications when new documents become available.
  • Data Consolidation and Reporting Aggregate documents from multiple corporate customers into centralized reporting and analytics solutions.

Access Model

Access is managed through a category-based authorization model. During onboarding, one or more document categories are assigned based on the agreed business use case. Providers can only discover and retrieve documents belonging to categories that have been explicitly granted. This approach supports the principle of least privilege by allowing organizations to limit access to only the document types necessary for their integration.
In other words, the customer decides which document categories that the appointed provider could fetch on behalf of the customer. Read more about authorization here

Data Availability

The service provides access to corporate customer documents covering a period of up to 18 months.

Data Model Overview

The Premium Documents API provides access to documents belonging to corporate customers. The API exposes two primary resources:

  • ResourceDescription
  • Document Collections to search and list documents within a specific document category.
  • Document FilesUsed to download an individual document as a PDF

Document Collections

At a high level, documents are organized into categories such as annual statements, periodic reports, payment specifications, and agreements. Consumers can search for available documents within a specific category and date range, and then retrieve individual documents using their unique document identifiers.

The API separates document metadata from the actual document content. Search operations return metadata describing available documents, while download operations return the PDF document itself.

Document

A document represents a single customer document available for retrieval.

Each document contains:

- A unique document identifier
- A document title or description
- Category information
- Optional sub-category information
- A document date
- A creation date
- An expiration date

Example

{
  "documentIdentifier": "160503 2026-03-23-13.52.39.626912J0491475",
  "documentDescription": "Informationsblad om insättningsgarantin (företag)",
  "documentCategory": {
    "categoryDescription": "Information"
  },
  "documentSubCategory": {
    "subCategoryDescription": "Accounts"
  },
  "documentDate": "2026-03-23",
  "creationDate": "2026-03-23",
  "expirationDate": "2027-03-23"
}

Document Categories

Every document belongs to a category. Searches are always performed against a single category.

Available categories include:
 - annual-statements
 - periodic-reports
 - contract-notes
 - advices
 - payments
 - agreements
 - information
 - collaterals
 - engagements

Access to categories is controlled during onboarding. Consumers can only access categories that have been assigned to them.

Main Integration Flow

A typical implementation follows a simple two-step process.

Step 1: Search for Documents

Search for available documents within a specific category and date range.

Example Request

GET /v1/premium-documents/document-category/periodic-reports/documents?dateFrom=2026-03-01&dateTo=2026-03-31

Getting started with Sandbox

Example Response

{
  "documents": [
    {
      "documentIdentifier": "160503 2026-03-23-13.52.39.626912J0491475",
      "documentDescription": "Monthly Account Report",
      "documentDate": "2026-03-23"
    },
    {
      "documentIdentifier": "160504 2026-03-24-08.15.10.123456J1234567",
      "documentDescription": "Monthly Holdings Report",
      "documentDate": "2026-03-24"
    }
  ]
}

The response contains metadata describing the available documents. Consumers typically compare returned document identifiers with previously processed documents to determine which documents are new.

Step 2: Download a Document

Use the document identifier returned from the search operation to retrieve the PDF document.

Example Request

GET /v1/premium-documents/document-category/periodic-reports/documents/160504%202026-03-24-08.15.10.123456J1234567

Getting started with Sandbox

The response body contains the PDF document.

Throttling

Throttling for the service may apply. It is recommended to call the api sequential and single-threaded if possible. For maximal performance, use as narrow time interval as possible for document list querying

GET /v1/premium-documents/document-category/{documentCategory}/documents - Search Documents

Searches for documents belonging to a corporate customer within a specific document category. The endpoint returns document metadata for all documents matching the supplied criteria.

Only a single document category can be queried per request. If access has been granted to multiple document categories, separate requests must be performed for each category.

Typical Usage

This endpoint is typically used as the first step in an integration flow to discover available documents before downloading individual PDF files.

Request Parameters

Path Parameters

documentCategory
The document category to search within.

Supported values:

  • Value
  • annual-statements
  • periodic-reports
  • contract-notes
  • advices
  • payments
  • agreements
  • information
  • collaterals
  • engagements
Header Parameters

organisation-number
The Swedish organisation number of the corporate customer whose documents should be retrieved.

Accepted formats:

5599999999
559999-9999

Query Parameters

dateFrom
Optional lower bound of the search period (inclusive).

Format:

YYYY-MM-DD

If omitted, the service defaults to seven days prior to the current date.

dateTo
Optional upper bound of the search period (inclusive).

Format:

YYYY-MM-DD

If omitted, the service defaults to the current date.

Date Range Behavior

The dateFrom and dateTo parameters are optional and can be supplied individually or together. If omitted, default values are applied by the service.

dateFrom dateTo Effective Date Range Description
Not specified Not specified Current date minus 7 days through current date Returns documents from the last 7 days.
Specified Not specified Specified dateFrom through current date Returns documents from the supplied start date until today.
Not specified Specified Specified dateTo minus 7 days through specified dateTo Returns documents covering the 7-day period ending on the supplied end date.
Specified Specified Specified dateFrom through specified dateTo Returns documents within the supplied date range.

The date range is inclusive, meaning documents matching both the start and end dates are included in the result set.

Example Request

GET /v1/premium-documents/document-category/periodic-reports/documents?dateFrom=2026-03-01&dateTo=2026-03-31

Getting started with Sandbox

Example Response

{
  "documents": [
    {
      "documentIdentifier": "160503 2026-03-23-13.52.39.626912J0491475",
      "documentDescription": "Monthly Account Report",
      "documentCategory": {
        "categoryDescription": "Periodic Reports"
      },
      "documentDate": "2026-03-23",
      "creationDate": "2026-03-23",
      "expirationDate": "2027-03-23"
    }
  ]
}

Response Content

Each returned document contains metadata that can be used to identify and retrieve the corresponding PDF file.

Important attributes include:

  • Attribute
  • documentIdentifier – Unique document identifier.
  • documentDescription – Human-readable description of the document.
  • documentCategory – Category information.
  • documentSubCategory – Sub-category information when applicable.
  • documentDate – Business date of the document.
  • creationDate – Date the document was created.
  • expirationDate – Date until which the document remains available.

Common Integration Pattern

Consumers typically execute this endpoint periodically and compare the returned document identifiers with previously processed documents. New or unprocessed documents can then be downloaded using the document retrieval endpoint.

GET /v1/premium-documents/document-category/{documentCategory}/documents/{documentId} - Download Document

Retrieves an individual document as a PDF file.

The document identifier must match a document returned by the document search endpoint, and the requested category must be one that the consumer is authorized to access.

Typical Usage

This endpoint is normally invoked after a document has been identified through a search operation.

Request Parameters

Path Parameters

documentCategory
The category containing the document.

The value must correspond to the category used when discovering the document.

documentId
The unique identifier of the document.

Document identifiers may contain spaces

Example Request

GET /v1/premium-documents/document-category/periodic-reports/documents/160504%202026-03-24-08.15.10.123456J1234567

Getting started with Sandbox