E-invoicing

/ean/{ean}

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.

get/v1/ean/{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/{ean}
  • Auth: HTTP bearer

Path parameters

eanstring required

EAN (GLN) number, usually 13 digits

Example:5798000416604

Query parameters

includestring nullable

Set to document_types to include the raw Peppol document type identifiers

Response

Successful Response

eanstring required

Example response

{
  "endpoint": {
    "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.