Skip to main content
Get billing history reports with advanced filtering and pagination.

Signature

Parameters

bool
Show invoices instead of charges
Optional[str]
Filter which types of invoices to show:
bool
Show charges instead of invoices
Optional[str]
Filter which types of charges to show:
Optional[str]
Start date (YYYY-MM-DD or timestamp)
Optional[str]
End date (YYYY-MM-DD or timestamp)
Optional[int]
default:"20"
Number of results per page (default: 20, max: 100)
Optional[str]
Pagination token for next page
Optional[str]
default:"table"
Output format for charges (default: table)
bool
Include full Instance Charge details and Invoice Metadata (tree view only)
bool
Sort by latest first

Returns

dict

Example