Get Model of Draft

Model dosyasını indirir.

get
Authorizations
Path parameters
UUIDstring · uuidRequired
Responses
200
Model dosyasını indirir.
application/json
get
GET /eproducer/Draft/{UUID}/model HTTP/1.1
Host: 
Authorization: Bearer JWT
Accept: */*
{
  "ProducerInfo": {
    "UUID": "123e4567-e89b-12d3-a456-426614174000",
    "TemplateUUID": "123e4567-e89b-12d3-a456-426614174000",
    "TemplateBase64String": "text",
    "DeliveryDate": "2025-07-01T00:16:24.767Z",
    "ProducerSerieOrNumber": "text",
    "IssueDate": "2025-07-01T00:16:24.767Z",
    "CurrencyCode": "text",
    "ExchangeRate": 1
  },
  "CompanyInfo": {
    "TaxNumber": "text",
    "Name": "text",
    "TaxOffice": "text",
    "PartyIdentifications": [
      {
        "SchemeID": "text",
        "Value": "text"
      }
    ],
    "AgentPartyIdentifications": [
      {
        "SchemeID": "text",
        "Value": "text"
      }
    ],
    "Address": "text",
    "District": "text",
    "City": "text",
    "Country": "text",
    "PostalCode": "text",
    "Phone": "text",
    "Fax": "text",
    "Mail": "text",
    "WebSite": "text"
  },
  "CustomerInfo": {
    "TaxNumber": "text",
    "Name": "text",
    "TaxOffice": "text",
    "PartyIdentifications": [
      {
        "SchemeID": "text",
        "Value": "text"
      }
    ],
    "AgentPartyIdentifications": [
      {
        "SchemeID": "text",
        "Value": "text"
      }
    ],
    "Address": "text",
    "District": "text",
    "City": "text",
    "Country": "text",
    "PostalCode": "text",
    "Phone": "text",
    "Fax": "text",
    "Mail": "text",
    "WebSite": "text"
  },
  "ProducerLines": [
    {
      "Name": "text",
      "Quantity": 1,
      "UnitType": "text",
      "Price": 1,
      "Taxes": [
        {
          "TaxCode": "text",
          "Total": 1,
          "Percent": 1,
          "ReasonCode": "text",
          "ReasonDesc": "text"
        }
      ],
      "GVWithholdingPercent": 1,
      "GVWithholdingAmount": 1
    }
  ],
  "Notes": [
    "text"
  ]
}
var client = new RestClient("https://apitest.nilvera.com/eproducer/Draft/72d5252d-5c6b-461a-b960-d6f0021cbaa9/model");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <API KEY>");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Last updated