Skip to main content
POST
Create an invoice

Authorizations

Authorization
string
header
required

Use your Razorpay Key ID as the username and Key Secret as the password.

Body

application/json
type
enum<string>
required

Type of invoice. Use invoice for regular invoices.

Available options:
invoice,
link
Example:

"invoice"

customer
object
required

Customer details for the invoice.

line_items
object[]
required

List of items in the invoice.

description
string

Description of the invoice.

Example:

"Invoice for Q1 services"

currency
string
default:INR

Currency code (ISO 4217).

Example:

"INR"

Response

200 - application/json

Invoice created successfully.

id
string
Example:

"inv_FgR9UMzgmKDJRi"

entity
string
Example:

"invoice"

status
string
Example:

"issued"

short_url
string
Example:

"https://rzp.io/i/w2CEwYmkAu"