Home / API / ASP.NET Web API Details

GET api/v1/Invoice/GetCreditReversals?from={from}&to={to}

Description

Get Credits Reversed

Request Information

Parameters

NameDescriptionAdditional information
from

Define this parameter in the request URI.

to

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "InvoiceId": 2,
    "PaymentDate": "2025-04-20T02:57:30.7282816+00:00",
    "AdjustmenTypeId": 4,
    "AdjustmenTypeValue": "sample string 5",
    "BatchId": 6,
    "AccountId": 7,
    "Memo": "sample string 8",
    "Amount": 9.0,
    "ChangedBy": "sample string 10",
    "DeletedDate": "2025-04-20T02:57:30.7287956+00:00"
  },
  {
    "Id": 1,
    "InvoiceId": 2,
    "PaymentDate": "2025-04-20T02:57:30.7282816+00:00",
    "AdjustmenTypeId": 4,
    "AdjustmenTypeValue": "sample string 5",
    "BatchId": 6,
    "AccountId": 7,
    "Memo": "sample string 8",
    "Amount": 9.0,
    "ChangedBy": "sample string 10",
    "DeletedDate": "2025-04-20T02:57:30.7287956+00:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCreditReversalModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APICOMMON">
  <CreditReversalModel>
    <AccountId>7</AccountId>
    <AdjustmenTypeId>4</AdjustmenTypeId>
    <AdjustmenTypeValue>sample string 5</AdjustmenTypeValue>
    <Amount>9</Amount>
    <BatchId>6</BatchId>
    <ChangedBy>sample string 10</ChangedBy>
    <DeletedDate>2025-04-20T02:57:30.7287956+00:00</DeletedDate>
    <Id>1</Id>
    <InvoiceId>2</InvoiceId>
    <Memo>sample string 8</Memo>
    <PaymentDate>2025-04-20T02:57:30.7282816+00:00</PaymentDate>
  </CreditReversalModel>
  <CreditReversalModel>
    <AccountId>7</AccountId>
    <AdjustmenTypeId>4</AdjustmenTypeId>
    <AdjustmenTypeValue>sample string 5</AdjustmenTypeValue>
    <Amount>9</Amount>
    <BatchId>6</BatchId>
    <ChangedBy>sample string 10</ChangedBy>
    <DeletedDate>2025-04-20T02:57:30.7287956+00:00</DeletedDate>
    <Id>1</Id>
    <InvoiceId>2</InvoiceId>
    <Memo>sample string 8</Memo>
    <PaymentDate>2025-04-20T02:57:30.7282816+00:00</PaymentDate>
  </CreditReversalModel>
</ArrayOfCreditReversalModel>