Preview the Invoice to be Sent as Base64 String

Gönderilecek faturayı ön izler.

post

Base64String olarak gönderilecek faturayı ön izlemek için bu ucu kullanabilirsiniz.

Authorizations
HTTPRequired

API Key Giriniz

Body
ZIPFileBase64string | nullableOptional
Aliasstring | nullableOptional
TemplateUUIDstring · uuidOptional
Responses
200

Gönderilecek faturayı ön izler

Responsestring
post
/Send/Base64String/Preview
POST /einvoice/Send/Base64String/Preview HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 93

{
  "ZIPFileBase64": "text",
  "Alias": "text",
  "TemplateUUID": "123e4567-e89b-12d3-a456-426614174000"
}
text
var options = new RestClientOptions("https://apitest.nilvera.com")
{
    MaxTimeout = -1,
};
var client = new RestClient(options);
var request = new RestRequest("/einvoice/Send/Base64String/Preview", Method.Post);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer <API KEY>");
var body = @"
{
  ""ZIPFileBase64"": ""string"",
  ""Alias"": ""string""
}";
request.AddJsonBody(body);
IRestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);

Last updated