Gelen Faturaları Listeler
Gelen faturaları listeler.
GET/einvoice/Purchase
Query parameters
Response
Gelen faturaları listeler.
Body
Pageinteger (int32)
PageSizeinteger (int32)
TotalCountnullable integer (int32)
TotalPagesnullable integer (int32)
Contentnullable array of PurchaseInvoiceResponse (object)
Request
const response = await fetch('/einvoice/Purchase', {
method: 'GET',
headers: {},
});
const data = await response.json();
Response
{
"Content": [
{
"UUID": "text",
"TaxNumber": "text",
"SenderTaxNumber": "text",
"SenderName": "text",
"InvoiceNumber": "text",
"InvoiceProfile": "TEMELFATURA",
"InvoiceType": "SATIS",
"CurrencyCode": "text",
"IssueDate": "2024-11-21T10:24:59.904Z",
"PayableAmount": 0,
"TaxExclusiveAmount": 0,
"TaxTotalAmount": 0,
"LineExtensionAmount": 0,
"ExchangeRate": 0,
"AllowanceTotalAmount": 0,
"ChargeTotalAmount": 0,
"IsRead": false,
"IsPrint": false,
"IsArchive": false,
"IsTransfer": false,
"AnswerCode": "unknown",
"StatusCode": "unknown",
"CreatedDate": "2024-11-21T10:24:59.904Z",
"StatusDetail": "text",
"EnvelopeUUID": "text",
"EnvelopeDate": "2024-11-21T10:24:59.904Z",
"Tags": [
{
"UUID": "text",
"Description": "text",
"Name": "text",
"Color": "text"
}
],
"SpecialCode": "text",
"Luca": {
"Status": "None",
"Description": "text"
}
}
]
}
var client = new RestClient("https://apitest.nilvera.com/einvoice/Purchase?EndDate=2023-03-30T23:59:59.998Z&IsArchive=false&Page=1&PageSize=30&StartDate=2023-03-23T00:00:00.000Z&SortColumn=IssueDate&SortType=DESC");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <API KEY>");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://apitest.nilvera.com/einvoice/Purchase?EndDate=2023-03-30T23:59:59.998Z&IsArchive=false&Page=1&PageSize=30&StartDate=2023-03-23T00:00:00.000Z&SortColumn=IssueDate&SortType=DESC',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer <API KEY>'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
var axios = require('axios');
var config = {
method: 'get',
url: 'https://apitest.nilvera.com/einvoice/Purchase?EndDate=2023-03-30T23:59:59.998Z&IsArchive=false&Page=1&PageSize=30&StartDate=2023-03-23T00:00:00.000Z&SortColumn=IssueDate&SortType=DESC',
headers: {
'Authorization': 'Bearer <API KEY>'
}
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});