POST api/invoice/issuerefund

Raises a refund against an invoice item on an invoice

Request Information

URI Parameters

None.

Body Parameters

IssueRefundDataContract
NameDescriptionTypeAdditional information
InvoiceId

integer

None.

IssuingParty

IssuingParty

None.

DateTime

date

None.

IssuingAccountId

integer

None.

RecipientAccountId

integer

None.

Items

Collection of RefundItemDataContract

None.

Description

string

None.

Reason

string

None.

Amount

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "InvoiceId": 1,
  "IssuingParty": 0,
  "DateTime": "2020-11-25T03:20:16.5903626Z",
  "IssuingAccountId": 2,
  "RecipientAccountId": 3,
  "Items": [
    {
      "Amount": 1.0,
      "InvoiceItemId": 2,
      "RefundId": 3,
      "Id": 4
    },
    {
      "Amount": 1.0,
      "InvoiceItemId": 2,
      "RefundId": 3,
      "Id": 4
    }
  ],
  "Description": "sample string 4",
  "Reason": "sample string 5",
  "Amount": 6.0
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.