Checks the Invoice from GİB

Faturayı Gib den kontrol eder.

GET/einvoice/Purchase/{UUID}/CheckFromGib
Path parameters
UUID*string (uuid)
Response

Faturayı Gib den kontrol eder.

Body
EnvelopeUUIDnullable string
EnvelopeGibCodenullable string
EnvelopeDescriptionnullable string
AnswerEnvelopeUUIDnullable string
AnswerEnvelopeGibCodenullable string
AnswerEnvelopeDescriptionnullable string
Request
const response = await fetch('/einvoice/Purchase/{UUID}/CheckFromGib', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "EnvelopeUUID": "text",
  "EnvelopeGibCode": "text",
  "EnvelopeDescription": "text",
  "AnswerEnvelopeUUID": "text",
  "AnswerEnvelopeGibCode": "text",
  "AnswerEnvelopeDescription": "text"
}
var client = new RestClient("https://apitest.nilvera.com/einvoice/Sale/ea047f3a-009f-4811-bf3c-eb87207552cd/CheckFromGib");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <API KEY>");
request.AddHeader("Content-Type", "application/json");
var body = @"["22d6b2ca-ba6b-47dc-a07e-846cc0e51a0e"]";
request.AddParameter("application/json", body,  ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);