Account
Invoices & Receipts
List invoices and receipts, download PDFs, and export a period.
Use these endpoints to pull billing documents into your accounting system.
List invoices
GET
https://api.tryvox.io/v1/account/{auth_id}/invoices| Parameter | Description |
|---|---|
status | draft, finalized, sent, paid, or void |
start_date, end_date | RFC 3339 timestamps |
page, per_page | Page number, and page size up to 100 (default 20) |
curl "https://api.tryvox.io/v1/account/$TRYVOX_AUTH_ID/invoices?per_page=20" \
-u $TRYVOX_AUTH_ID:$TRYVOX_AUTH_TOKENMain fields:
| Field | Description |
|---|---|
id, invoice_number | Identifiers |
invoice_type | Type of document |
period_start, period_end, invoice_date | Dates |
currency | Invoice currency |
subtotal, tax_amount, total_amount | Amounts |
cgst_amount, sgst_amount, igst_amount | GST breakdown |
total_calls, total_minutes | Usage on the invoice |
status | Invoice status |
Get one invoice
GET
https://api.tryvox.io/v1/account/{auth_id}/invoices/{invoice_id}The response also includes line_items.
Download a PDF
GET
https://api.tryvox.io/v1/account/{auth_id}/invoices/{invoice_id}/pdfcurl https://api.tryvox.io/v1/account/$TRYVOX_AUTH_ID/invoices/$INVOICE_ID/pdf \
-u $TRYVOX_AUTH_ID:$TRYVOX_AUTH_TOKEN \
-o invoice.pdfExport a period
Downloads a ZIP file with the invoices for a period of up to 400 days. from and to are required, in YYYY-MM-DD format, and are read in India Standard Time.
GET
https://api.tryvox.io/v1/account/{auth_id}/invoices/export?from=2026-10-01&to=2026-10-31List receipts
GET
https://api.tryvox.io/v1/account/{auth_id}/receipts