Invoices
Create an invoice
Create an invoice or payment page. Set type='invoice' for a formal invoice or type='link' for a simple payment page. The invoice is created in draft state; call POST /invoices/{id}/issue to send it to the customer. Cannot be used to create GST invoices (use the Dashboard for those). Maximum 50 line items per invoice.
post/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.
Request body
Response
Invoice created in draft state.
Changes
No recorded changes to this operation across all 1 revision of this API.