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"
  }
}

Changes

Changed in 2 of the 61 revisions of this API.8

    • the errors/items/code response's property type/format changed from integer/int32 to string/ for status 400

      response-property-type-changed

    • the errors/items/code response's property type/format changed from integer/int32 to string/ for status 403

      response-property-type-changed

    • the errors/items/code response's property type/format changed from integer/int32 to string/ for status 404

      response-property-type-changed

    • the errors/items/code response's property type/format changed from integer/int32 to string/ for status default

      response-property-type-changed

    This revision also has 64 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • the errors/items/code response's property type/format changed from string/ to integer/int32 for status 400

      response-property-type-changed

    • the errors/items/code response's property type/format changed from string/ to integer/int32 for status 403

      response-property-type-changed

    • the errors/items/code response's property type/format changed from string/ to integer/int32 for status 404

      response-property-type-changed

    • the errors/items/code response's property type/format changed from string/ to integer/int32 for status default

      response-property-type-changed

    This revision also has 41 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog