Detayları Getirir

Faturanın detayını getirir.

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

Faturanın detayını getirir.

Body
UUIDnullable string
InvoiceTypenullable string
InvoiceProfilenullable string
InvoiceNumbernullable string
EnvelopeUUIDnullable string
EnvelopeAliasnullable string
UBLVersionIDnullable string
CustomizationIDnullable string
SendDatenullable string
IssueDatenullable string
CurrencyCodenullable string
NumberOfItemsinteger (int32)
InvoiceAmountnumber (double)
TaxAmountnumber (double)
AdditionalDocumentCountinteger (int32)
AnswerCodeAnswerCode (enum)
unknownwaitingForApprovalapprovedrejecteddocumentAnsweredAutomatically
Request
const response = await fetch('/einvoice/Purchase/{UUID}/Details', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "UUID": "text",
  "InvoiceType": "text",
  "InvoiceProfile": "text",
  "InvoiceNumber": "text",
  "EnvelopeUUID": "text",
  "EnvelopeAlias": "text",
  "UBLVersionID": "text",
  "CustomizationID": "text",
  "SendDate": "text",
  "IssueDate": "text",
  "CurrencyCode": "text",
  "InvoiceAmount": 0,
  "TaxAmount": 0,
  "AnswerCode": "unknown"
}
var client = new RestClient("https://apitest.nilvera.com/einvoice/Purchase/b6625de9-e4e4-4e88-9605-5e39fc3bb660/Details");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <API KEY>");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);