Generate EOFY Closing Statement PDF
curl --request GET \
--url https://app.digitalsurge.com.au/api/private/eofy-closing-statement/pdf/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.digitalsurge.com.au/api/private/eofy-closing-statement/pdf/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.digitalsurge.com.au/api/private/eofy-closing-statement/pdf/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Private
Generate EOFY Closing Statement PDF
Generate a PDF End-of-Financial-Year closing price statement.
Data is pure market data (identical for every customer) so there is no customer block in the PDF. Lives on the private router for rate-limiting reasons, not data sensitivity.
GET
/
api
/
private
/
eofy-closing-statement
/
pdf
/
Generate EOFY Closing Statement PDF
curl --request GET \
--url https://app.digitalsurge.com.au/api/private/eofy-closing-statement/pdf/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.digitalsurge.com.au/api/private/eofy-closing-statement/pdf/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.digitalsurge.com.au/api/private/eofy-closing-statement/pdf/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Authorizations
Response
PDF binary (application/pdf)