Updates a Invoice in main table

put

/service/v1/invoice/{invoiceRefNo}

This endpoint is used to updates a main Invoice.

Request

Supported Media Types
Path Parameters
Header Parameters
Body ()
Request Body that contains data required for updating a new Invoice.
Root Schema : InvoiceUpdateModel
Type: object
Invoice Update model
Show Source
Back to Top

Response

Supported Media Types

200 Response

Returns the body of updated invoice
Body ()
Root Schema : InvoiceModel
Invoice model
Match All
Show Source
Nested Schema : TransactionModel
Type: object
Discriminator: model_Type
Nested Schema : InvoiceModel-allOf[1]
Type: object
Show Source
Nested Schema : invoiceCommodityGridList
Type: array
Show Source
Nested Schema : InvoiceCommodityGridModel
Type: object
Show Source

400 Response

Bad Request

401 Response

Request does not have sufficient credentials.

403 Response

Request is not authorized.

405 Response

Invalid input

500 Response

Internal error
Back to Top