Get information about your account
curl --request GET \
--url https://api.e-invoice.be/api/me/ \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.e-invoice.be/api/me/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.e-invoice.be/api/me/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.e-invoice.be/api/me/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}using RestSharp;
var options = new RestClientOptions("https://api.e-invoice.be/api/me/");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
{
"name": "<string>",
"description": "<string>",
"plan": "enterprise",
"credit_balance": 999999999,
"peppol_ids": [
"<string>"
],
"ibans": [
"<string>"
],
"company_number": "1018265814",
"company_tax_id": "BE1018265814",
"company_name": "E-INVOICE BV",
"company_address": "Brusselsesteenweg 119/A",
"company_zip": "1980",
"company_city": "Zemst",
"company_country": "Belgium",
"company_email": "info@e-invoice.be",
"smp_registration": false,
"smp_registration_date": "2023-11-07T05:31:56Z",
"bcc_recipient_email": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Tenant
Get information about your account
Retrieve information about your account.
GET
/
api
/
me
/
Get information about your account
curl --request GET \
--url https://api.e-invoice.be/api/me/ \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.e-invoice.be/api/me/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.e-invoice.be/api/me/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.e-invoice.be/api/me/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}using RestSharp;
var options = new RestClientOptions("https://api.e-invoice.be/api/me/");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
{
"name": "<string>",
"description": "<string>",
"plan": "enterprise",
"credit_balance": 999999999,
"peppol_ids": [
"<string>"
],
"ibans": [
"<string>"
],
"company_number": "1018265814",
"company_tax_id": "BE1018265814",
"company_name": "E-INVOICE BV",
"company_address": "Brusselsesteenweg 119/A",
"company_zip": "1980",
"company_city": "Zemst",
"company_country": "Belgium",
"company_email": "info@e-invoice.be",
"smp_registration": false,
"smp_registration_date": "2023-11-07T05:31:56Z",
"bcc_recipient_email": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Authorizations
Response
Successful Response
⌘I