Invoices
List all invoices
Retrieve a list of invoices. Filter by type, status, customer, payment, or subscription. Returns up to 100 per call.
get/invoices
Request
- Base URLhttps://api.razorpay.com/v1
- Auth
- HTTP basic
- or OAuth 2Authorization codehttps://mcp.razorpay.com/authorizeClient credentialsToken URLhttps://mcp.razorpay.com/tokenScopesread_only
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
type'invoice' | 'link'
Filter by invoice type.
payment_idstring
Filter invoices by the payment ID used to pay them.
customer_idstring
Filter by customer ID (cust_*).
subscription_idstring
Fetch all invoices generated for a subscription (sub_*).
frominteger
Unix timestamp (seconds). Fetch records created on or after this time.
tointeger
Unix timestamp (seconds). Fetch records created on or before this time.
countinteger
Number of records to return per call. Maximum 100. Default 10.
skipinteger
Number of records to skip. Use with count for pagination. Default 0.
Response
Collection of invoices.
Changes
No recorded changes to this operation across all 1 revision of this API.