list_invoices
Retrieve subscription revenue invoices from ChartMogul with filtering options for data source, customer, and validation status. Returns invoice details including line items and transactions.
Instructions
[ChartMogul API] List invoices (contain line items generating subscription revenue). LIMIT WARNING: Default limit 20. Discourage requesting more than 20 items to avoid excessive token usage. Returns invoice objects with: uuid (string: invoice UUID with inv_ prefix), customer_uuid (string), external_id (string), date (string: ISO 8601), due_date (string: ISO 8601), currency (string: 3-letter code), line_items (array: line item objects with uuid, external_id, type ("subscription" or "one_time"), subscription_uuid, subscription_external_id, subscription_set_external_id, plan_uuid, prorated (boolean), service_period_start, service_period_end, amount_in_cents (integer), quantity (integer), discount_code, discount_amount_in_cents (integer), tax_amount_in_cents (integer), transaction_fees_in_cents (integer), transaction_fees_currency, discount_description, event_order (integer), account_code), transactions (array: transaction objects with uuid, external_id, type ("payment" or "refund"), date, result ("successful" or "failed"), amount_in_cents (integer)). FILTERS: data_source_uuid, external_id, customer_uuid, validation_type ("valid", "invalid", "all"). Response includes cursor/has_more.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data_source_uuid | No | ||
| external_id | No | ||
| customer_uuid | No | ||
| validation_type | No | ||
| limit | No |