Gelen Faturaları Listeler

Gelen faturaları listeler.

GET/einvoice/Purchase
Query parameters
Response

Gelen faturaları listeler.

Body
Pageinteger (int32)
PageSizeinteger (int32)
TotalCountnullable integer (int32)
TotalPagesnullable integer (int32)
Contentnullable array of PurchaseInvoiceResponse (object)
Request
const response = await fetch('/einvoice/Purchase', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "Content": [
    {
      "UUID": "text",
      "TaxNumber": "text",
      "SenderTaxNumber": "text",
      "SenderName": "text",
      "InvoiceNumber": "text",
      "InvoiceProfile": "TEMELFATURA",
      "InvoiceType": "SATIS",
      "CurrencyCode": "text",
      "IssueDate": "2024-11-21T10:24:59.904Z",
      "PayableAmount": 0,
      "TaxExclusiveAmount": 0,
      "TaxTotalAmount": 0,
      "LineExtensionAmount": 0,
      "ExchangeRate": 0,
      "AllowanceTotalAmount": 0,
      "ChargeTotalAmount": 0,
      "IsRead": false,
      "IsPrint": false,
      "IsArchive": false,
      "IsTransfer": false,
      "AnswerCode": "unknown",
      "StatusCode": "unknown",
      "CreatedDate": "2024-11-21T10:24:59.904Z",
      "StatusDetail": "text",
      "EnvelopeUUID": "text",
      "EnvelopeDate": "2024-11-21T10:24:59.904Z",
      "Tags": [
        {
          "UUID": "text",
          "Description": "text",
          "Name": "text",
          "Color": "text"
        }
      ],
      "SpecialCode": "text",
      "Luca": {
        "Status": "None",
        "Description": "text"
      }
    }
  ]
}
var client = new RestClient("https://apitest.nilvera.com/einvoice/Purchase?EndDate=2023-03-30T23:59:59.998Z&IsArchive=false&Page=1&PageSize=30&StartDate=2023-03-23T00:00:00.000Z&SortColumn=IssueDate&SortType=DESC");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <API KEY>");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);