E-invoicing

/ean

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.

get/v1/ean

Request

  • Base URL: https://api.companydata.dk (the document declares no server; this is the origin it was published from)
  • URL: https://api.companydata.dk/v1/ean
  • Auth: HTTP bearer

Query parameters

cvrstring nullable

All endpoints of this CVR number

Example:29189854
namestring nullable

Part of the name on the business card

Example:Københavns Kommune
activeboolean

Only endpoints currently in the Peppol Directory

includestring nullable

Set to document_types to include the raw Peppol document type identifiers

limitinteger
offsetinteger

Response

Successful Response

totalinteger required
limitinteger required
offsetinteger required

Example response

{
  "endpoints": [
    {
      "endpoint_id": "0088:5798000416604",
      "scheme": "0088",
      "scheme_name": "gln",
      "ean": "5798000416604",
      "cvr": "29189854",
      "name": "Københavns Kommune"
    }
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.