Lists Vouchers

Makbuzları listeler.

Makbuzları listelemek için bu ucu kullanabilirsiniz. Search parametresiyle liste içerisinde arama yapabilirsiniz.

GET/evoucher/Vouchers
Query parameters
Response

Makbuzları listeler.

Body
Pageinteger (int32)
PageSizeinteger (int32)
TotalCountnullable integer (int32)
TotalPagesnullable integer (int32)
Contentnullable array of VoucherResponse (object)
Request
const response = await fetch('/evoucher/Vouchers', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "Content": [
    {
      "UUID": "text",
      "TaxNumber": "text",
      "VoucherNumber": "text",
      "IssueDate": "2024-11-21T08:40:28.906Z",
      "RVoucherNumber": "text",
      "SendType": "KAGIT",
      "Sha256": "text",
      "TotalAmount": 0,
      "PayableAmount": 0,
      "TaxTotalAmount": 0,
      "CurrencyCode": "text",
      "ReceiverTaxNumber": "text",
      "ReceiverName": "text",
      "IsRead": false,
      "IsPrint": false,
      "CreatedDate": "2024-11-21T08:40:28.906Z",
      "SigningTime": "2024-11-21T08:40:28.906Z",
      "StatusCode": "unknown",
      "StatusDetail": "text",
      "IsCancel": false,
      "IsReport": false,
      "ReportUUID": "text",
      "ReportDate": "2024-11-21T08:40:28.906Z",
      "CancelReportUUID": "text",
      "CancelDate": "2024-11-21T08:40:28.906Z",
      "Email": "text",
      "TaxJson": "text",
      "VoucherLineJson": "text",
      "TaxInclusiveAmount": 0,
      "LineExtensionAmount": 0,
      "ExchangeRate": 0,
      "TaxExclusiveAmount": 0,
      "AllowanceTotalAmount": 0,
      "ChargeTotalAmount": 0,
      "Tags": [
        {
          "UUID": "text",
          "Description": "text",
          "Name": "text",
          "Color": "text"
        }
      ],
      "SpecialCode": "text"
    }
  ]
}
var client = new RestClient("https://apitest.nilvera.com/evoucher/Vouchers");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <API KEY>");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Last updated