Closed ankitdas13 closed 2 years ago
Create an invoice (sdk audit) : update
Update an invoice (sdk audit) :
`para_attr = { "line_items": [ { "id": "li_JpNz5IZZcAtRFU", "name": "Book / English August - Updated name and quantity", "quantity": 1 }, { "name": "Book / A Wild Sheep Chase", "amount": 200, "currency": "INR", "quantity": 1 } ], "notes": { "updated-key": "An updated note. done" } }
Razorpay::Invoice.edit(invoiceId,para_attr)`
Delete an invoice (sdk audit) : You can only delete an invoice that is in the draft state
draft
Create an invoice (sdk audit) : update
Update an invoice (sdk audit) :
`para_attr = { "line_items": [ { "id": "li_JpNz5IZZcAtRFU", "name": "Book / English August - Updated name and quantity", "quantity": 1 }, { "name": "Book / A Wild Sheep Chase", "amount": 200, "currency": "INR", "quantity": 1 } ], "notes": { "updated-key": "An updated note. done" } }
Razorpay::Invoice.edit(invoiceId,para_attr)`
Delete an invoice (sdk audit) : You can only delete an invoice that is in the
draft
state