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 '
{
  "file_type": "pdf"
}
'
This response has no body data.

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