Invoices
Generate PDF
GET
/
invoices
/
{id}
/
pdf
Generate PDF
curl --request GET \
--url https://api.alguna.io/invoices/{id}/pdf \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.alguna.io/invoices/{id}/pdf"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.alguna.io/invoices/{id}/pdf', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));⌘I
Generate PDF
curl --request GET \
--url https://api.alguna.io/invoices/{id}/pdf \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.alguna.io/invoices/{id}/pdf"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.alguna.io/invoices/{id}/pdf', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));