Retrieves the Status Information of the Outgoing Invoice

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-12-03T17:14:36.783Z",
  "Answer": {
    "AnswerCode": "unknown",
    "AnswerNote": "text",
    "Description": "text"
  },
  "InvoiceStatus": {
    "Code": "unknown",
    "Description": "text",
    "DetailDescription": "text"
  },
  "EnvelopeInfo": {
    "UUID": "text",
    "GIBCode": 0,
    "GIBDescription": "text",
    "CreatedDate": "2024-12-03T17:14:36.783Z"
  }
}
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);