How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

DSV Declarations API

The Declarations API from DSV — 2 operation(s) for declarations.

DSV Declarations API is one of 32 APIs that DSV publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Declarations. The published artifact set on APIs.io includes an OpenAPI specification, an API reference, API documentation, and authentication docs.

This API exposes 3 operations across 2 paths, and defines 25 schemas. It is described by OpenAPI 3.2.0, at version v2.

Requests are made against a single base URL, https://api.dsv.com/csai-demo/v2.

3 operations 2 paths 25 schemas 1 GET1 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
v2
Base URL
https://api.dsv.com/my-demo/oauth/v1
Authentication
API Key, API Key
Resource Areas
1

Authentication & Security 2

DSV Declarations API declares 2 security schemes for authenticating requests. An API key is passed in the header as DSV-Subscription-Key (apiKeyHeader). An API key is passed in the query as DSV-Subscription-Key (apiKeyQuery). By default, every request must be authenticated.

Paths & Operations 3

Across 2 paths, the API surfaces 3 operations — 1 GET, 1 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Declarations 3
POST
/declarations
Transmit cleared customs declaration data
03-post-declarations body → 201400500
GET
/declarations/{id}
Get draft customs declaration by ID
01-get-declarations-id 1 param → 200400404500
PUT
/declarations/{id}
Audit existing draft customs declaration
02-put-declarations-id 1 param body → 200400404500

Schemas 25

The contract defines 25 schemas that model the data the API accepts and returns. The most detailed are Header (102 properties), Line (77 properties), Parties (14 properties), CommercialInvoiceLine (13 properties). Each schema is shown below with its type and property counts.

TotalGuarantee
objectnull
Financial security provided to Customs to ensure payment of duties, taxes, or compliance with customs procedures.
4 properties
Guarantee
objectnull
Financial security provided to Customs at line level.
7 properties
AdditionalInformationLine
objectnull
Supplementary data related to a specific item in the customs declaration.
2 properties
Party
objectnull
5 properties
PreviousDocumentLine
objectnull
Reference to a document related to or supporting a specific item in the shipment.
3 properties
AdditionsAndDeductionsLine
objectnull
Costs or amounts added to or subtracted from the value of the goods to calculate the total customs value at line level.
5 properties
AdditionalDocument
objectnull
Document supporting the customs declaration at header level.
5 properties
Declaration
objectnull
The full customs declaration object containing header, line items, invoices, and additional notes.
5 properties
Tax
objectnull
Duty and tax details at header level.
6 properties
CustomsDeclarationEnvelope
objectnull
2 properties
AdditionalCodeLine
objectnull
Secondary HS code required by customs authority for certain commodities (e.g., Section 301 duties for goods from CN).
1 property
CommercialInvoiceLine
objectnull
Individual line item of a commercial invoice.
13 properties
AdditionalInformation
objectnull
Supplementary data required for customs at header level.
2 properties
Line
objectnull
Line item in the declaration.
77 properties
CustomsDeclarationRequest
objectnull
Request payload used to create a new customs declaration. Contains the full declaration data submitted by the client.
2 properties
Container
objectnull
Container and seal information for goods shipment.
2 properties
TotalAdditionsAndDeductions
objectnull
Adjustments to customs value of goods at header level.
5 properties
PreviousDocument
objectnull
Reference to a document that precedes or supports the current customs declaration.
3 properties
Header
objectnull
Contains all header-level information for the declaration, including shipment details, parties involved, transport data, dates, and customs procedure reference…
102 properties
CommercialInvoice
objectnull
Commercial invoice associated with the customs declaration.
4 properties
HolderOfAuthorization
objectnull
Entity holding a specific customs authorization.
2 properties
Parties
objectnull
A collection of all parties involved in the customs declaration and the associated shipment. Each party represents a distinct role in the trade or logistics ch…
14 properties
Address
objectnull
Physical or registered address of a party involved in the customs declaration. Supports up to four address lines to accommodate varying international address f…
8 properties
TaxLine
objectnull
Classification and amount details for a specific tax or duty applied at line level.
5 properties
AdditionalDocumentLine
objectnull
Extra document related to a specific line item that supports or clarifies the declaration.
5 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

dsv-declarations-api-openapi.yml Raw ↑

Other APIs DSV publishes across the network.

DSV Booking API
DSV Bookings API
DSV Booking Web Service API
DSV BPO Inbound API
DSV Delivery API
DSV Draft API
DSV E Docs API
DSV Events API
DSV Inbound API
DSV Inventory API
DSV Invoices API
DSV Label API
Where this information came from

This is an independent, third-party profile of DSV Declarations API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.