Get invoice by ID
Retrieve a single invoice by its unique identifier.
get/invoices/{id}
Path parameters
idstring uuid required
Invoice UUID
Query parameters
action'json' | 'link'
Example:json
Invoice action
Response
Get invoice details
Example response
{
"data": {
"download_url": "https://us-east-1.telnyxstorage.com/porting-documents/telnyx/...",
"file_id": "454ea3b0-9eaa-4fa9-992e-6d9f31c0a37e",
"invoice_id": "48eff763-ea80-4345-b688-78249eb165a8",
"paid": true,
"period_end": "2023-11-30",
"period_start": "2023-11-01",
"url": "https://api.telnyx.com:443/v2/invoices/48eff763-ea80-4345-b688-78249eb165a8"
}
}