Retrieve the XML of the Invoice

XML dosyasını indirir.

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

XML dosyasını indirir.

Request
const response = await fetch('/einvoice/Purchase/{UUID}/xml', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
var client = new RestClient("https://apitest.nilvera.com/einvoice/Purchase/b6625de9-e4e4-4e88-9605-5e39fc3bb660/xml");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <API KEY>");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);