Update the existing invoices

patch

/service/v1/mainInvoice

This endpoint is used to update the existing invoices.

Request

Supported Media Types
Header Parameters
Body ()
Request Body that contains invoiceList required for updating an existing Invoices
Root Schema : InvoiceCollection
Type: object
Collection of Invoices.
Show Source
Nested Schema : invoiceList
Type: array
Show Source
Nested Schema : paging
Type: object
Nested Schema : InvoiceModel
Type: object
Invoice model
Show Source
Nested Schema : invoiceCommodityGridList
Type: array
Show Source
Nested Schema : invoiceOfferList
Type: array
Show Source
Nested Schema : invoiceOfferTenorParameterList
Type: array
Show Source
Nested Schema : linkedInvoiceList
Type: array
Show Source
Nested Schema : tmDrCrNoteLinkInvoiceList
Type: array
Show Source
Nested Schema : InvoiceCommodityGridModel
Type: object
Show Source
Nested Schema : InvoiceOfferDTO
Type: object
Show Source
Nested Schema : InvoiceOfferTenorParameterModel
Type: object
Show Source
Nested Schema : LinkedInvoiceModel
Type: object
Show Source
Nested Schema : TmDrCrNoteLinkInvoiceModel
Type: object
Model for TmDrCrNoteLinkInvoice
Show Source
Back to Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : ResponseDtoWrapper
Type: object
Collection of ResponseDto and ResponseResourceSupport
Show Source
Nested Schema : ResponseResourceSupport
Type: object
Response DTO which extends RepresentationModel of Spring HATEOAS
Nested Schema : ResponseDto
Type: object
ResponseDto stores the response status and code.
Show Source
Nested Schema : codes
Type: array
Show Source
Nested Schema : ResponseCode
Type: object
ResponseCode stores the response details.
Show Source
Nested Schema : args
Type: array
Show Source
Nested Schema : items
Type: object

400 Response

Bad Request
Body ()
Root Schema : ResponseDtoWrapper
Type: object
Collection of ResponseDto and ResponseResourceSupport
Show Source
Nested Schema : ResponseResourceSupport
Type: object
Response DTO which extends RepresentationModel of Spring HATEOAS
Nested Schema : ResponseDto
Type: object
ResponseDto stores the response status and code.
Show Source
Nested Schema : codes
Type: array
Show Source
Nested Schema : ResponseCode
Type: object
ResponseCode stores the response details.
Show Source
Nested Schema : args
Type: array
Show Source
Nested Schema : items
Type: object

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