Skip to main content
GET
/
v1
/
billing
/
invoice
/
{id}
/billing/invoice/:id
curl --request GET \
  --url https://api.tagdeliver.com/v1/billing/invoice/{id} \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://api.tagdeliver.com/v1/billing/invoice/{id}"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.tagdeliver.com/v1/billing/invoice/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.tagdeliver.com/v1/billing/invoice/{id}",
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;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://api.tagdeliver.com/v1/billing/invoice/{id}"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("Authorization", "Bearer <token>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://api.tagdeliver.com/v1/billing/invoice/{id}")
.header("Authorization", "Bearer <token>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.tagdeliver.com/v1/billing/invoice/{id}")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
{
  "result": {
    "id": 3667,
    "organisation_id": 3,
    "liable_org": null,
    "user_id": null,
    "type": null,
    "status": "GENERATED",
    "date_generated": "2025-11-01 06:30:01",
    "date_due": "2025-11-30 00:00:00",
    "date_start": "2025-10-01",
    "date_end": "2025-10-31",
    "base_amount": 72502.07,
    "base_sub_amount": 72502.07,
    "base_currency": "GBP",
    "target_amount": null,
    "target_currency": "GBP",
    "target_rate": null,
    "tax": 0,
    "tax_id": null,
    "notes": null,
    "name": "DEMO",
    "org_name": "DEMO",
    "country": null,
    "gcm": 1,
    "items": [
      {
        "id": 19872,
        "title": "UID 18620 - example.com",
        "description": "225,773,248 impressions",
        "quantity": 1,
        "amount": 72502.07,
        "chargeable": true
      }
    ]
  },
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer
required

Invoice ID

Response

200 - application/json
result
object
required
success
boolean
required