Skip to main content
POST
/
sales
/
pdfUrl
Generate PDF url
curl --request POST \
  --url https://api.altera.co/sales/pdfUrl \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "invoiceId": 123
}'
{
  "result": "OK",
  "data": "<string>"
}

Authorizations

Authorization
string
header
required

OpenApi Key created within Altera.app for a certain company

Body

application/json
invoiceId
integer

Response

200 - application/json

OK

result
enum<string>
default:OK
Available options:
OK
Example:

"OK"

data
string

Pre-signed url to download invoice PDF copy