Invoice Refund Line Item

Partially update a specific refund line item for a purchase order

patch/api/invoices/{invoiceId}/refund-line-items/{lineItemId}

Path parameters

invoiceIdstring required
lineItemIdstring required

Response

Refund line item

idstring required

Unique id associated to this entity.

quantitynumber double required

The line item quantity

pricenumber double required

The line item price.

itemIdstring required

Item id associated with this line item.

namestring required

The name of the line item. Defaults to the item's description if none specified.

descriptionstring nullable

The refund line item description. Defaults to the item's description if none specified.

externalReferencesobject nullable

Arbitrary key-value-pair like data that can be used to later on search for this line item.

salesOrderLineItemIdstring required

Id that references the sales order line item that was refunded.

accountingCodeIdstring nullable

Accounting code key identifier. Please reference /api/accounting-codes endpoint.

numberinteger

Line number

Changes

Changed in 2 of the 23 revisions of this API.12

  • d743ab8b105f11See the full diff
    • ▲

      the / request property type changed from string to no type

      request-property-type-changed

    • ○

      added the new optional request property /

      new-optional-request-property

    • ○

      added the non-success response with the status

      response-non-success-status-added