Get Invoice PDF

Type: GET

https://cloud.syminet.com/api/v1/billing/invoice/pdf/{INVOICE_ID}

Return a JSON payload of an invoice in PDF format.

Note

The JSON will return a base64 encoded blob.

Required URL Parameters:

INVOICE_ID

Invoice ID to fetch.

Curl
 curl --request GET \
      --url https://cloud.syminet.com/api/v1/billing/invoice/pdf/{INVOICE_ID} \
      --header "authorization:bearer $API_TOKEN"
Response
{
  "data": "RGVzY3JpcHRpb2...BASE64 DATA..."
}

Response: 200 OK