List merchant invoices
curl --request GET \
--url https://api.parceltracer.com/v1/external/invoices/ \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api.parceltracer.com/v1/external/invoices/"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.parceltracer.com/v1/external/invoices/', 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.parceltracer.com/v1/external/invoices/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Api-Key: <api-key>"
],
]);
$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.parceltracer.com/v1/external/invoices/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Api-Key", "<api-key>")
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.parceltracer.com/v1/external/invoices/")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.parceltracer.com/v1/external/invoices/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"count": 123,
"next": "http://api.example.org/accounts/?page=4",
"previous": "http://api.example.org/accounts/?page=2",
"results": [
[
{
"number": 214,
"status": "PAID",
"status_display": "Paid",
"issued_at": "2026-07-03T09:15:00Z",
"order_count": 12,
"cod": [
[
"USD",
"240.00"
]
],
"delivery_fee": [
[
"USD",
"36.00"
]
],
"net_due_to_merchant": [
[
"USD",
"204.00"
]
]
},
{
"number": 213,
"status": "PENDING_PAYMENT",
"status_display": "Pending Payment",
"issued_at": "2026-06-28T14:02:00Z",
"order_count": 5,
"cod": [
[
"USD",
"95.00"
]
],
"delivery_fee": [
[
"USD",
"15.00"
]
],
"net_due_to_merchant": [
[
"USD",
"80.00"
]
]
}
]
]
}Invoices
List merchant invoices
Retrieve a paginated list of the merchant’s invoices, newest first, each with a financial summary (COD, delivery fee, net due to merchant), its status, and the number of orders on it. This returns invoice metadata only, for building a grouped overview; use the retrieve endpoint to get the orders on a specific invoice.
Use the year and month filters to fetch the invoices issued in a single period.
GET
/
invoices
/
List merchant invoices
curl --request GET \
--url https://api.parceltracer.com/v1/external/invoices/ \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api.parceltracer.com/v1/external/invoices/"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.parceltracer.com/v1/external/invoices/', 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.parceltracer.com/v1/external/invoices/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Api-Key: <api-key>"
],
]);
$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.parceltracer.com/v1/external/invoices/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Api-Key", "<api-key>")
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.parceltracer.com/v1/external/invoices/")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.parceltracer.com/v1/external/invoices/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"count": 123,
"next": "http://api.example.org/accounts/?page=4",
"previous": "http://api.example.org/accounts/?page=2",
"results": [
[
{
"number": 214,
"status": "PAID",
"status_display": "Paid",
"issued_at": "2026-07-03T09:15:00Z",
"order_count": 12,
"cod": [
[
"USD",
"240.00"
]
],
"delivery_fee": [
[
"USD",
"36.00"
]
],
"net_due_to_merchant": [
[
"USD",
"204.00"
]
]
},
{
"number": 213,
"status": "PENDING_PAYMENT",
"status_display": "Pending Payment",
"issued_at": "2026-06-28T14:02:00Z",
"order_count": 5,
"cod": [
[
"USD",
"95.00"
]
],
"delivery_fee": [
[
"USD",
"15.00"
]
],
"net_due_to_merchant": [
[
"USD",
"80.00"
]
]
}
]
]
}Authorizations
Query Parameters
Return only invoices issued in this month (1-12). Combine with year.
A page number within the paginated result set.
Number of results to return per page.
Return only invoices issued in this year, e.g. 2026.
