Download invoice PDF
curl --request GET \
--url https://app.orgo.space/api/v1/invoices/{id}/download \
--header 'Api-Token: <api-key>'import requests
url = "https://app.orgo.space/api/v1/invoices/{id}/download"
headers = {"Api-Token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'Api-Token': '<api-key>'}};
fetch('https://app.orgo.space/api/v1/invoices/{id}/download', 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://app.orgo.space/api/v1/invoices/{id}/download",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Api-Token: <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://app.orgo.space/api/v1/invoices/{id}/download"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Api-Token", "<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://app.orgo.space/api/v1/invoices/{id}/download")
.header("Api-Token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.orgo.space/api/v1/invoices/{id}/download")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Api-Token"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": 42,
"invoiceNumber": 42,
"seriesNumber": "string",
"user": {
"id": 42,
"firstName": "James",
"lastName": "Patterson",
"email": "james.patterson@example.com",
"fullName": "James Patterson",
"companyIdentifier": "US-123456789",
"companyName": "Civic Collective LLC",
"companyAddress": "123 Beacon Street, Boston, MA 02108",
"companyRegNo": "DE-HRB-12345"
},
"contact": {
"id": 42,
"name": "Boston Chapter",
"email": "james.patterson@example.com",
"companyIdentifier": "US-123456789",
"companyName": "Civic Collective LLC",
"companyAddress": "123 Beacon Street, Boston, MA 02108",
"customFieldValues": [
"/api/v1/custom_field_values/1"
],
"professionOrganisationRole": "Civic Collective",
"companyRegNo": "DE-HRB-12345",
"status": "/api/v1/profile_statuses/1",
"lastStatusUpdate": "2026-01-15T10:30:00+00:00",
"fullName": "James Patterson",
"firstName": "James",
"lastName": "Patterson"
},
"company": {
"uuid": "01938d8e-9c4f-7c2a-b8e1-3f7a9b8c4f12",
"name": "Boston Chapter",
"legalName": "Boston Chapter"
},
"amount": 50,
"invoicedFor": "string",
"type": "MEMBER",
"body": "<p>Hello {{firstName}},</p><p>You're invited.</p>",
"status": "ACTIVE",
"internalNotes": "Joined via the Boston outreach drive on 2026-01-10.",
"dateCreated": "2026-01-15T10:30:00+00:00",
"dateUpdated": "2026-01-15T10:30:00+00:00",
"invoiceDate": "2026-01-15T10:30:00+00:00",
"dateRefunded": "2026-01-15T10:30:00+00:00",
"refundedBy": {
"id": 42,
"firstName": "James",
"lastName": "Patterson",
"email": "james.patterson@example.com",
"fullName": "James Patterson",
"companyIdentifier": "US-123456789",
"companyName": "Civic Collective LLC",
"companyAddress": "123 Beacon Street, Boston, MA 02108",
"companyRegNo": "DE-HRB-12345"
},
"membershipStartDate": "2026-01-15T10:30:00+00:00",
"membershipEndDate": "2026-01-15T10:30:00+00:00",
"isMembership": true,
"membershipProductPrice": "/api/v1/product_prices/1",
"series": "string",
"invoiceDueDate": "2026-01-15T10:30:00+00:00",
"quantity": 42,
"taxValue": 42,
"taxName": "Boston Chapter",
"memo": "string",
"footer": "string",
"vatExemptionNote": "Joined via Boston outreach drive.",
"customFields": [
"string"
],
"billingName": "Boston Chapter",
"billingAddress": "123 Beacon Street, Boston, MA 02108",
"billingRegistrationNumber": "string",
"billingVatNumber": "US123456789",
"billingEmail": "james.patterson@example.com",
"billingPhone": "+1 415 555 0142",
"billingPhoneCountry": "+1 415 555 0142",
"items": [
{
"id": 42,
"description": "Quarterly chapter meeting open to all members.",
"descriptionNote": "Joined via Boston outreach drive.",
"quantity": 42,
"unitPrice": 50,
"vatRate": 0.1,
"vatExempt": true,
"lineNet": 12.5,
"lineVatAmount": 50,
"lineTotal": 50
}
],
"unitPrice": 50,
"subtotal": 50,
"taxAmount": 50,
"totalWithTax": 50,
"vatBreakdown": [
"string"
],
"amountPaid": 50,
"balanceDue": 12.5
}Invoice
Download invoice PDF
Generates and downloads the invoice as a PDF file (or HTML fallback if wkhtmltopdf is unavailable). The filename follows the format “Invoice - - .pdf”. Requires ADMIN_TENANT permission.
GET
/
api
/
v1
/
invoices
/
{id}
/
download
Download invoice PDF
curl --request GET \
--url https://app.orgo.space/api/v1/invoices/{id}/download \
--header 'Api-Token: <api-key>'import requests
url = "https://app.orgo.space/api/v1/invoices/{id}/download"
headers = {"Api-Token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'Api-Token': '<api-key>'}};
fetch('https://app.orgo.space/api/v1/invoices/{id}/download', 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://app.orgo.space/api/v1/invoices/{id}/download",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Api-Token: <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://app.orgo.space/api/v1/invoices/{id}/download"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Api-Token", "<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://app.orgo.space/api/v1/invoices/{id}/download")
.header("Api-Token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.orgo.space/api/v1/invoices/{id}/download")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Api-Token"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": 42,
"invoiceNumber": 42,
"seriesNumber": "string",
"user": {
"id": 42,
"firstName": "James",
"lastName": "Patterson",
"email": "james.patterson@example.com",
"fullName": "James Patterson",
"companyIdentifier": "US-123456789",
"companyName": "Civic Collective LLC",
"companyAddress": "123 Beacon Street, Boston, MA 02108",
"companyRegNo": "DE-HRB-12345"
},
"contact": {
"id": 42,
"name": "Boston Chapter",
"email": "james.patterson@example.com",
"companyIdentifier": "US-123456789",
"companyName": "Civic Collective LLC",
"companyAddress": "123 Beacon Street, Boston, MA 02108",
"customFieldValues": [
"/api/v1/custom_field_values/1"
],
"professionOrganisationRole": "Civic Collective",
"companyRegNo": "DE-HRB-12345",
"status": "/api/v1/profile_statuses/1",
"lastStatusUpdate": "2026-01-15T10:30:00+00:00",
"fullName": "James Patterson",
"firstName": "James",
"lastName": "Patterson"
},
"company": {
"uuid": "01938d8e-9c4f-7c2a-b8e1-3f7a9b8c4f12",
"name": "Boston Chapter",
"legalName": "Boston Chapter"
},
"amount": 50,
"invoicedFor": "string",
"type": "MEMBER",
"body": "<p>Hello {{firstName}},</p><p>You're invited.</p>",
"status": "ACTIVE",
"internalNotes": "Joined via the Boston outreach drive on 2026-01-10.",
"dateCreated": "2026-01-15T10:30:00+00:00",
"dateUpdated": "2026-01-15T10:30:00+00:00",
"invoiceDate": "2026-01-15T10:30:00+00:00",
"dateRefunded": "2026-01-15T10:30:00+00:00",
"refundedBy": {
"id": 42,
"firstName": "James",
"lastName": "Patterson",
"email": "james.patterson@example.com",
"fullName": "James Patterson",
"companyIdentifier": "US-123456789",
"companyName": "Civic Collective LLC",
"companyAddress": "123 Beacon Street, Boston, MA 02108",
"companyRegNo": "DE-HRB-12345"
},
"membershipStartDate": "2026-01-15T10:30:00+00:00",
"membershipEndDate": "2026-01-15T10:30:00+00:00",
"isMembership": true,
"membershipProductPrice": "/api/v1/product_prices/1",
"series": "string",
"invoiceDueDate": "2026-01-15T10:30:00+00:00",
"quantity": 42,
"taxValue": 42,
"taxName": "Boston Chapter",
"memo": "string",
"footer": "string",
"vatExemptionNote": "Joined via Boston outreach drive.",
"customFields": [
"string"
],
"billingName": "Boston Chapter",
"billingAddress": "123 Beacon Street, Boston, MA 02108",
"billingRegistrationNumber": "string",
"billingVatNumber": "US123456789",
"billingEmail": "james.patterson@example.com",
"billingPhone": "+1 415 555 0142",
"billingPhoneCountry": "+1 415 555 0142",
"items": [
{
"id": 42,
"description": "Quarterly chapter meeting open to all members.",
"descriptionNote": "Joined via Boston outreach drive.",
"quantity": 42,
"unitPrice": 50,
"vatRate": 0.1,
"vatExempt": true,
"lineNet": 12.5,
"lineVatAmount": 50,
"lineTotal": 50
}
],
"unitPrice": 50,
"subtotal": 50,
"taxAmount": 50,
"totalWithTax": 50,
"vatBreakdown": [
"string"
],
"amountPaid": 50,
"balanceDue": 12.5
}Authorizations
ApiTokenJWT
Server-to-server authentication. Generate a token in the admin UI at
Settings → Developers → API Access. Send the raw token in the
Api-Token header — there is no Bearer prefix.
Tokens can be marked read-only at creation time, in which case the API
rejects any non-GET request with 403 Forbidden.
Response
Invoice resource

