Skip to main content

Edit Invoice

POST https://pgbiz.omniware.in/v1/editinvoice
Content-Type: application/x-www-form-urlencoded

Only unpaid invoices can be edited. After payment, the invoice is immutable.

Request parameters

api_keystring (40)required
invoice_nonumber(10)required
namestring (50)
emailstring (50)
phonenumber(10)
item_descriptionstring (140)
amountdecimal(10,2)
hashstring (255)required

Pass only the fields you want to change. Hash must be computed over exactly the fields you send.

Response

{
"error": {
"code": "SUCCESS",
"message": "Invoice Detail Updated Successfully"
}
}
note

The success response uses the error envelope rather than data. Treat any payload where code === "SUCCESS" as a success regardless of envelope.

Errors:

{ "error": { "code": "GEN-INVALID-HASH", "message": "The hash key field is invalid" } }
{ "error": { "code": "GEN-INVALID-PARAMS", "message": "The api key field is required." } }