Skip to main content
POST
/
invoices
/
{invoice_token}
/
download
Get invoice file
curl --request POST \
  --url https://api.vantage.sh/v2/invoices/{invoice_token}/download \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "download_url": "https://example.com/invoice.pdf"
}

Documentation Index

Fetch the complete documentation index at: https://docs.vantage.sh/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

invoice_token
string
required

Body

application/json

Download invoice file (PDF or CSV).

file_type
enum<string>
required

Type of file to download (pdf or csv)

Available options:
pdf,
csv

Response

Returns download URL for the invoice file

DownloadInvoice model

download_url
string
required

The URL to download the invoice file.

Example:

"https://example.com/invoice.pdf"