api:externallicense:get
Table of Contents
API : External Licenses Reseller Invoice
Introduction
This request returns a CSV file with invoice data for a reseller's external licenses, for a given invoice date. Use this for monthly billing exports.
The CSV is filtered to ALSO platform licenses only — non-ALSO platforms are not included.
Request
| URL | https://api.telecomx.dk/externalLicense/reseller/RESELLER_ID/invoice | ||
|---|---|---|---|
| Method | GET | ||
| Access level | RESELLER if reseller is the user's own customer or a sub-reseller. RESELLER_ADMIN ADMIN. Requires that the External Licenses service is enabled on the reseller account. | ||
| Params | RESELLER_ID | String | Id of the reseller customer to fetch the invoice for. |
| Query | invoiceDate | Date | [required] ISO 8601 date (YYYY-MM-DD) for the invoice export. |
Query examples
https://api.telecomx.dk/externalLicense/reseller/1234567890ABCDEF12345678/invoice?invoiceDate=2026-05-01
Response
The response is a CSV file with Content-Type: text/csv. Fields are separated by semicolons (Danish locale). Column headers and content are in Danish.
| CSV columns | ||
|---|---|---|
| Column | Type | Description |
| Kundenavn | String | Customer name. |
| Varenummer | String | Product code. |
| Navn | String | Name of the license in the external system. |
| Antal | Number | Number of licenses (units). |
| Forhandlerpris | Number | Reseller (wholesale) price per unit. |
| Pris | Number | Customer price per unit. |
Example
Kundenavn;Varenummer;Navn;Antal;Forhandlerpris;Pris Eksempel A/S;M365-E3;Microsoft 365 E3;15;75,00;125,00 Eksempel A/S;M365-BP;Microsoft 365 Business Premium;5;110,00;180,00
Errors
| Error code | Message | Description |
|---|---|---|
| 403 | access_denied | Insufficient access level, or the External Licenses service is not enabled on the reseller account. |
| 404 | id | Reseller not found. |
| 404 | invoiceDate | Invoice date is required |
| 422 | invoiceDate | Date is invalid |
| 500 | internal_error | <Unspecified> |
api/externallicense/get.txt · Last modified: 2026/05/29 07:48 by Mikkel Meerwaldt Jørgensen