Taslak Faturaları Listeler

Taslak faturaları listeler.

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

GET/einvoice/Draft
Query parameters
Response

Taslak faturaları listeler.

Body
Pageinteger (int32)
PageSizeinteger (int32)
TotalCountnullable integer (int32)
TotalPagesnullable integer (int32)
Contentnullable array of DraftInvoiceResponse (object)
Request
const response = await fetch('/einvoice/Draft', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "Content": [
    {
      "UUID": "text",
      "TaxNumber": "text",
      "InvoiceNumber": "text",
      "InvoiceProfile": "TEMELFATURA",
      "InvoiceStatusDescription": "text",
      "InvoiceType": "SATIS",
      "IssueDate": "2024-11-21T09:16:11.630Z",
      "CreatedDate": "2024-11-21T09:16:11.630Z",
      "CurrencyCode": "text",
      "PayableAmount": 0,
      "Alias": "text",
      "ReceiverName": "text",
      "ReceiverTaxNumber": "text",
      "ReceiverAlias": "text",
      "IsPrint": false,
      "Tags": [
        {
          "UUID": "text",
          "Description": "text",
          "Name": "text",
          "Color": "text"
        }
      ],
      "SpecialCode": "text"
    }
  ]
}
var options = new RestClientOptions("https://apitest.nilvera.com")
{
  MaxTimeout = -1,
};
var client = new RestClient(options);
var request = new RestRequest("/einvoice/Draft", Method.Get);
request.AddHeader("Authorization", "Bearer <API KEY>");
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);