companydata.dk E Invoicing API
EAN (GLN) numbers and Peppol endpoints of Danish companies and public institutions: who receives invoices on an EAN, and in which formats (OIOUBL, Peppol BIS Billing 3.0). Refreshed daily from the Peppol Directory.
EAN (GLN) numbers and Peppol endpoints of Danish companies and public institutions: who receives invoices on an EAN, and in which formats (OIOUBL, Peppol BIS Billing 3.0). Refreshed daily from the Peppol Directory.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/companydata-dk:companydata-dk-e-invoicing-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Companydata Dk E Invoicing API
version: 1.0.0
x-refined-note:
- x-source differs across the merged source definitions and was not carried
description: 'Operations tagged E-invoicing across 2 of this provider''s published API definitions: companydata-dk-v1-openapi.json, companydata-dk-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.companydata.dk
description: Production
security:
- BearerAuth: []
tags:
- name: E-invoicing
description: 'EAN (GLN) numbers and Peppol endpoints of Danish companies and public institutions: who receives invoices on an EAN, and in which formats (OIOUBL, Peppol BIS Billing 3.0). Refreshed daily from the Peppol Directory.'
paths:
/v1/ean/{ean}:
get:
tags:
- E-invoicing
summary: /ean/{ean}
description: 'Look up an EAN number (GLN location number) used for electronic invoicing.
Returns who receives documents on that EAN, the CVR number behind it,
which document kinds and invoice formats it accepts (OIOUBL, Peppol BIS
Billing 3.0 and others), and the company as we hold it. Endpoints that
have left the Peppol Directory are still returned with `active: false`.'
operationId: lookup_ean_v1_ean__ean__get
security:
- BearerAuth: []
parameters:
- name: ean
in: path
required: true
schema:
type: string
pattern: ^\d{8,14}$
description: EAN (GLN) number, usually 13 digits
examples:
- '5798000416604'
title: Ean
description: EAN (GLN) number, usually 13 digits
- name: include
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Set to document_types to include the raw Peppol document type identifiers
title: Include
description: Set to document_types to include the raw Peppol document type identifiers
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/EanLookupResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
servers:
- url: https://api.companydata.dk
description: Production
/v1/ean:
get:
tags:
- E-invoicing
summary: /ean
description: 'Find EAN numbers and other e-invoicing endpoints by CVR number or name.
A municipality or a large company often has hundreds of EAN numbers, one
per department or location; the name on each card tells them apart.
EAN endpoints come first, then CVR endpoints.'
operationId: search_ean_v1_ean_get
security:
- BearerAuth: []
parameters:
- name: cvr
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: All endpoints of this CVR number
examples:
- '29189854'
title: Cvr
description: All endpoints of this CVR number
- name: name
in: query
required: false
schema:
anyOf:
- type: string
minLength: 3
maxLength: 100
- type: 'null'
description: Part of the name on the business card
examples:
- Københavns Kommune
title: Name
description: Part of the name on the business card
- name: active
in: query
required: false
schema:
type: boolean
description: Only endpoints currently in the Peppol Directory
default: true
title: Active
description: Only endpoints currently in the Peppol Directory
- name: include
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Set to document_types to include the raw Peppol document type identifiers
title: Include
description: Set to document_types to include the raw Peppol document type identifiers
- name: limit
in: query
required: false
schema:
type: integer
maximum: 200
minimum: 1
default: 50
title: Limit
- name: offset
in: query
required: false
schema:
type: integer
minimum: 0
default: 0
title: Offset
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/EanSearchResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
servers:
- url: https://api.companydata.dk
description: Production
components:
schemas:
EanLookupResponse:
properties:
ean:
type: string
title: Ean
endpoint:
$ref: '#/components/schemas/EInvoicingEndpoint'
company:
anyOf:
- $ref: '#/components/schemas/CompanyRef'
- type: 'null'
description: The registered company behind the CVR, when we hold it
type: object
required:
- ean
- endpoint
title: EanLookupResponse
CompanyRef:
properties:
cvr:
type: string
title: Cvr
name:
anyOf:
- type: string
- type: 'null'
title: Name
status:
anyOf:
- type: string
- type: 'null'
title: Status
type: object
required:
- cvr
title: CompanyRef
EndpointIdentifier:
properties:
scheme:
type: string
title: Scheme
description: Identifier scheme as published, e.g. OrgNr or VAT
value:
type: string
title: Value
type: object
required:
- scheme
- value
title: EndpointIdentifier
EanSearchResponse:
properties:
total:
type: integer
title: Total
limit:
type: integer
title: Limit
offset:
type: integer
title: Offset
endpoints:
items:
$ref: '#/components/schemas/EInvoicingEndpoint'
type: array
title: Endpoints
type: object
required:
- total
- limit
- offset
- endpoints
title: EanSearchResponse
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
EInvoicingEndpoint:
properties:
endpoint_id:
type: string
title: Endpoint Id
description: Scheme and value, e.g. 0088:5790000000000
examples:
- 0088:5798000416604
participant_id:
type: string
title: Participant Id
description: Full Peppol participant identifier
scheme:
type: string
title: Scheme
description: 'ISO 6523 scheme code: 0088 EAN/GLN, 0184 CVR, 0096 P-number, 0198 SE-number'
examples:
- 0088
scheme_name:
type: string
title: Scheme Name
description: gln, cvr, p_number, se_number or other
examples:
- gln
ean:
anyOf:
- type: string
- type: 'null'
title: Ean
description: The EAN (GLN) number when the endpoint is an EAN address
examples:
- '5798000416604'
cvr:
anyOf:
- type: string
- type: 'null'
title: Cvr
description: CVR number of the receiving company, when stated or derivable
examples:
- '29189854'
cvr_source:
anyOf:
- type: string
- type: 'null'
title: Cvr Source
description: 'Where the CVR came from: participant, identifier, vat, p_number or se_number'
p_number:
anyOf:
- type: string
- type: 'null'
title: P Number
se_number:
anyOf:
- type: string
- type: 'null'
title: Se Number
name:
anyOf:
- type: string
- type: 'null'
title: Name
description: Name on the business card
examples:
- Københavns Kommune
names:
items:
$ref: '#/components/schemas/EndpointName'
type: array
title: Names
country_code:
anyOf:
- type: string
- type: 'null'
title: Country Code
geo_info:
anyOf:
- type: string
- type: 'null'
title: Geo Info
identifiers:
items:
$ref: '#/components/schemas/EndpointIdentifier'
type: array
title: Identifiers
websites:
items:
type: string
type: array
title: Websites
contacts:
items:
$ref: '#/components/schemas/EndpointContact'
type: array
title: Contacts
description: Contacts on the card, often the access point provider
additional_info:
anyOf:
- type: string
- type: 'null'
title: Additional Info
registration_date:
anyOf:
- type: string
- type: 'null'
title: Registration Date
description: Business card registration date (YYYY-MM-DD)
can_receive_invoice:
type: boolean
title: Can Receive Invoice
description: True when the endpoint accepts at least one invoice format
accepts:
items:
type: string
type: array
title: Accepts
description: 'Document kinds accepted: invoice, credit_note, reminder, order, order_response, ...'
invoice_formats:
items:
type: string
type: array
title: Invoice Formats
description: 'Invoice formats accepted: oioubl_2.1, oioubl_2.02, peppol_bis_3_ubl, peppol_bis_3_cii, peppol_pint, peppol_selfbilling, en16931'
document_types:
anyOf:
- items:
type: string
type: array
- type: 'null'
title: Document Types
description: Raw Peppol document type identifiers (only with include=document_types)
active:
type: boolean
title: Active
description: False when the endpoint has disappeared from the Peppol Directory
default: true
first_seen_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: First Seen At
last_seen_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Last Seen At
removed_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Removed At
type: object
required:
- endpoint_id
- participant_id
- scheme
- scheme_name
- can_receive_invoice
title: EInvoicingEndpoint
description: One electronic address (Peppol participant) that can receive documents.
EndpointName:
properties:
name:
type: string
title: Name
lang:
anyOf:
- type: string
- type: 'null'
title: Lang
description: Language code when the card states one
type: object
required:
- name
title: EndpointName
EndpointContact:
properties:
type:
anyOf:
- type: string
- type: 'null'
title: Type
name:
anyOf:
- type: string
- type: 'null'
title: Name
phone:
anyOf:
- type: string
- type: 'null'
title: Phone
email:
anyOf:
- type: string
- type: 'null'
title: Email
type: object
title: EndpointContact
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
securitySchemes:
BearerAuth:
type: http
scheme: bearer
description: 'API key authentication. Include your API key in the Authorization header: `Bearer sk_live_your_key`. Get your key at [companydata.dk](https://companydata.dk)'
x-refined-from:
- companydata-dk-v1-openapi.json
- companydata-dk-openapi.yml