Eski Faturaları Toplu Dışarı Aktarır

Faturaları toplu olarak dışarı aktarır.

POST/einvoice/Old/Export/{fileType}
Path parameters
fileType*OldExportType (enum)
XmlPdfOnePagePdf
Body
itemsstring (uuid)
Response

Faturaları toplu olarak dışarı aktarır.

Body
string
Request
const response = await fetch('/einvoice/Old/Export/{fileType}', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json-patch+json"
    },
    body: JSON.stringify([
      "123e4567-e89b-12d3-a456-426614174000"
    ]),
});
const data = await response.json();
Response
text
var client = new RestClient("https://apitest.nilvera.com/einvoice/Old/Export/Xml");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
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);