Taslak Faturaları Listeler

Taslak faturaları listeler.

GET/earchive/Draft
Query parameters
Response

Taslak faturayı onaylayıp gönderir.

Body
Pageinteger (int32)
PageSizeinteger (int32)
TotalCountnullable integer (int32)
TotalPagesnullable integer (int32)
Contentnullable array of DraftInvoiceResponse (object)
Request
const response = await fetch('/earchive/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-21T06:36:41.097Z",
      "CreatedDate": "2024-11-21T06:36:41.097Z",
      "CurrencyCode": "text",
      "PayableAmount": 0,
      "Alias": "text",
      "ReceiverName": "text",
      "ReceiverTaxNumber": "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("/earchive/Draft", Method.Get);
request.AddHeader("Authorization", "Bearer <API KEY>");
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);