Cancel an invoice
Cancel a draft or issued invoice. Cancelled invoices cannot be paid and cannot be reinstated.
Path parameters
Invoice ID (inv_*).
Response
Invoice cancelled.
Invoice ID. Prefix: inv_
invoice: a formal invoice document. link: a payment page / payment link.
Invoice lifecycle status. draft→issued→paid/partially_paid/cancelled/expired.
Auto-generated invoice number (e.g. INV-001).
Customer ID (cust_*).
Inline customer details snapshot at time of invoice creation.
Associated order ID (order_*).
Payment ID (pay_*) of the successful payment, if paid.
Sum of all line item amounts before tax (paise).
Total tax amount (paise).
Taxable base amount (paise).
Total invoice amount including tax (paise).
Amount received so far (paise). Relevant for partial_payment invoices.
Remaining amount due (paise).
Hosted payment page URL to send to the customer.
If true, customer can pay any amount ≥ first_payment_min_amount.
Minimum amount for the first partial payment (paise). Required when partial_payment=true.
Your internal reference number.
Internal comment (not shown on invoice).
Payment terms shown on the invoice.
Key-value pairs for storing custom metadata. Maximum 15 pairs. Each key and value must not exceed 256 characters.
Unix timestamp after which the invoice expires and cannot be paid.