Giden Faturanın Statü Bilgilerini Getirir

Faturanın durumunu getirir.

GET/einvoice/Sale/{UUID}/Status
Path parameters
UUID*string (uuid)
Response

Faturanın durumunu getirir.

Body
InvoiceProfileInvoiceProfile (enum)
TEMELFATURATICARIFATURAIHRACATYOLCUBERABERFATURAEARSIVFATURAKAMUHKSENERJI
IssueDatestring (date-time)
AnswerAnswer (object)
InvoiceStatusInvoiceStatus (object)
EnvelopeInfoEnvelopeDetail (object)
Request
const response = await fetch('/einvoice/Sale/{UUID}/Status', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "InvoiceProfile": "TEMELFATURA",
  "IssueDate": "2024-11-21T06:36:44.737Z",
  "Answer": {
    "AnswerCode": "unknown",
    "AnswerNote": "text",
    "Description": "text"
  },
  "InvoiceStatus": {
    "Code": "unknown",
    "Description": "text",
    "DetailDescription": "text"
  },
  "EnvelopeInfo": {
    "UUID": "text",
    "GIBDescription": "text",
    "CreatedDate": "2024-11-21T06:36:44.737Z"
  }
}
var options = new RestClientOptions("https://apitest.nilvera.com")
{
  MaxTimeout = -1,
};
var client = new RestClient(options);
var request = new RestRequest("/einvoice/Sale/a2a4a141-a0c2-4634-91ac-30ae2ce232bf/Status", Method.Get);
request.AddHeader("Authorization", "Bearer <API KEY>");
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);