Önizlenen Faturanın PDF'ini İndirir
Ön izlenen faturayı pdf olarak bu uç ile indirebilirsiniz.
Authorizations
Body
CustomerAliasstring | nullableOptional
Responses
200
Ön izlenen faturayı pdf olarak indirir.
Responsestring
400
Geçersiz İstek | Gönderdiğiniz istekte geçersiz veriler bulunduğu anlamında gelmektedir | Detaylar için tıklayınız
403
Yetkisiz Erişim | Bu uca erişmek için gerekli yetkiye sahip olmadığınız durumda dönülür
404
Parametrede belirtilen kayıt bulunamadığında dönülür | Detaylar için tıklayınız
409
Gönderdiğiniz istek sistemde daha önce bulunduğunda dönülür | Detaylar için tıklayınız
422
Gönderdiğiniz istek geçerli fakat iş kuralları gereği geçersiz değerler içerdiğinde dönülür | Detaylar için tıklayınız
post
POST /einvoice/Send/Model/Download/Pdf HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 5326
{
"EInvoice": {
"InvoiceInfo": {
"UUID": "123e4567-e89b-12d3-a456-426614174000",
"TemplateUUID": "123e4567-e89b-12d3-a456-426614174000",
"TemplateBase64String": "text",
"InvoiceType": "SATIS",
"InvoiceSerieOrNumber": "text",
"IssueDate": "2025-06-25T13:59:28.149Z",
"CurrencyCode": "text",
"ExchangeRate": 1,
"InvoiceProfile": "TEMELFATURA",
"DespatchDocumentReference": [
{
"IssueDate": "2025-06-25T13:59:28.149Z",
"Value": "text"
}
],
"OrderReference": {
"IssueDate": "2025-06-25T13:59:28.149Z",
"Value": "text"
},
"OrderReferenceDocument": {
"ID": "text",
"IssueDate": "2025-06-25T13:59:28.149Z",
"DocumentType": "text",
"DocumentTypeCode": "text",
"DocumentDescription": "text",
"Attachment": {
"Base64Data": "text",
"MimeCode": "text",
"FileName": "text"
}
},
"AdditionalDocumentReferences": [
{
"ID": "text",
"IssueDate": "2025-06-25T13:59:28.149Z",
"DocumentType": "text",
"DocumentTypeCode": "text",
"DocumentDescription": "text",
"Attachment": {
"Base64Data": "text",
"MimeCode": "text",
"FileName": "text"
}
}
],
"TaxExemptionReasonInfo": {
"KDVExemptionReasonCode": "text",
"OTVExemptionReasonCode": "text",
"AccommodationTaxExemptionReasonCode": "text"
},
"PaymentTermsInfo": {
"Percent": 1,
"Amount": 1,
"Note": "text"
},
"PaymentMeansInfo": {
"Code": "text",
"ChannelCode": "text",
"DueDate": "2025-06-25T13:59:28.149Z",
"PayeeFinancialAccountID": "text",
"Note": "text"
},
"OKCInfo": {
"ID": "text",
"IssueDate": "2025-06-25T13:59:28.149Z",
"Time": "text",
"ZNo": "text",
"EndPointID": "text",
"DocumentDescription": "text"
},
"ESUReportInfo": {
"ID": "text",
"IssueDate": "2025-06-25T13:59:28.149Z"
},
"ReturnInvoiceInfo": [
{
"InvoiceNumber": "text",
"IssueDate": "2025-06-25T13:59:28.149Z"
}
],
"AccountingCost": "text",
"InvoicePeriod": {
"StartDate": "2025-06-25T13:59:28.149Z",
"StartTime": "text",
"EndDate": "2025-06-25T13:59:28.149Z",
"EndTime": "text",
"DurationMeasureValue": 1,
"Description": "text"
},
"SGKInfo": {
"RegisterName": "text",
"DocumentNumber": "text",
"RegisterCode": "text"
},
"Expenses": [
{
"ExpenseType": "HKSKOMISYON",
"Percent": 1,
"Amount": 1
}
],
"LineExtensionAmount": 1,
"GeneralKDV1Total": 1,
"GeneralKDV8Total": 1,
"GeneralKDV18Total": 1,
"GeneralKDV10Total": 1,
"GeneralKDV20Total": 1,
"GeneralAllowanceTotal": 1,
"PayableAmount": 1,
"KdvTotal": 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"
},
"BuyerCustomerInfo": {
"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"
},
"ExportCustomerInfo": {
"TaxNumber": "text",
"LegalRegistrationName": "text",
"PersonName": "text",
"PersonSurName": "text",
"Address": "text",
"District": "text",
"City": "text",
"Country": "text",
"PostalCode": "text",
"Phone": "text",
"Fax": "text",
"Mail": "text",
"WebSite": "text"
},
"TaxFreeInfo": {
"TouristInfo": {
"Name": "text",
"SurName": "text",
"CountryCode": "text",
"PassportNo": "text",
"PassportDate": "2025-06-25T13:59:28.149Z",
"AddressInfo": {
"Address": "text",
"District": "text",
"City": "text",
"Country": "text",
"PostalCode": "text",
"Phone": "text",
"Fax": "text",
"Mail": "text",
"WebSite": "text"
},
"FinancialAccountInfo": {
"BankName": "text",
"BranchName": "text",
"ID": "text",
"CurrencyCode": "text",
"PaymentNote": "text"
}
},
"TaxRepresentativeInfo": {
"RegisterNumber": "text",
"Alias": "text",
"Address": {
"Address": "text",
"District": "text",
"City": "text",
"Country": "text",
"PostalCode": "text",
"Phone": "text",
"Fax": "text",
"Mail": "text",
"WebSite": "text"
}
}
},
"InvoiceLines": [
{
"Index": "text",
"SellerCode": "text",
"BuyerCode": "text",
"Name": "text",
"Description": "text",
"Quantity": 1,
"UnitType": "text",
"Price": 1,
"AllowanceTotal": 1,
"KDVPercent": 1,
"KDVTotal": 1,
"Taxes": [
{
"TaxCode": "text",
"Total": 1,
"Percent": 1,
"ReasonCode": "text",
"ReasonDesc": "text"
}
],
"DeliveryInfo": {
"GTIPNo": "text",
"DeliveryTermCode": "text",
"TransportModeCode": "text",
"PackageBrandName": "text",
"ProductTraceID": "text",
"PackageID": "text",
"PackageQuantity": 1,
"PackageTypeCode": "text",
"DeliveryAddress": {
"Address": "text",
"District": "text",
"City": "text",
"Country": "text",
"PostalCode": "text",
"Phone": "text",
"Fax": "text",
"Mail": "text",
"WebSite": "text"
}
},
"ManufacturerCode": "text",
"BrandName": "text",
"ModelName": "text",
"Note": "text",
"SerialID": "text",
"OzelMatrahReason": "text",
"OzelMatrahTotal": 1,
"VatAmountWithoutTevkifat": 1,
"MedicineAndMedicalDevice": {
"Medicine": [
{
"GTIN": "text",
"BatchNumber": "text",
"SerialNumber": "text",
"ExpirationDate": "2025-06-25T13:59:28.149Z"
}
],
"MedicalDevice": [
{
"ProductNumber": "text",
"LotNumber": "text",
"SerialNumber": "text",
"ProductionDate": "2025-06-25T13:59:28.149Z"
}
]
},
"ExportRegisteredInfo": {
"DIIBLineCode": "text",
"GTIPNo": "text"
},
"AdditionalItemIdentification": {
"TagNumber": "text",
"OwnerName": "text",
"OwnerTaxNumber": "text"
}
}
],
"Notes": [
"text"
]
},
"CustomerAlias": "text"
}
text
Ön izlenen faturayı pdf olarak bu uç ile indirebilirsiniz.
Authorizations
Body
CustomerAliasstring | nullableOptional
Responses
200
Ön izlenen faturayı pdf olarak indirir.
Responsestring
400
Geçersiz İstek | Gönderdiğiniz istekte geçersiz veriler bulunduğu anlamında gelmektedir | Detaylar için tıklayınız
403
Yetkisiz Erişim | Bu uca erişmek için gerekli yetkiye sahip olmadığınız durumda dönülür
404
Parametrede belirtilen kayıt bulunamadığında dönülür | Detaylar için tıklayınız
409
Gönderdiğiniz istek sistemde daha önce bulunduğunda dönülür | Detaylar için tıklayınız
422
Gönderdiğiniz istek geçerli fakat iş kuralları gereği geçersiz değerler içerdiğinde dönülür | Detaylar için tıklayınız
post
POST /einvoice/Send/Model/Download/Pdf HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 5326
{
"EInvoice": {
"InvoiceInfo": {
"UUID": "123e4567-e89b-12d3-a456-426614174000",
"TemplateUUID": "123e4567-e89b-12d3-a456-426614174000",
"TemplateBase64String": "text",
"InvoiceType": "SATIS",
"InvoiceSerieOrNumber": "text",
"IssueDate": "2025-06-25T13:59:28.149Z",
"CurrencyCode": "text",
"ExchangeRate": 1,
"InvoiceProfile": "TEMELFATURA",
"DespatchDocumentReference": [
{
"IssueDate": "2025-06-25T13:59:28.149Z",
"Value": "text"
}
],
"OrderReference": {
"IssueDate": "2025-06-25T13:59:28.149Z",
"Value": "text"
},
"OrderReferenceDocument": {
"ID": "text",
"IssueDate": "2025-06-25T13:59:28.149Z",
"DocumentType": "text",
"DocumentTypeCode": "text",
"DocumentDescription": "text",
"Attachment": {
"Base64Data": "text",
"MimeCode": "text",
"FileName": "text"
}
},
"AdditionalDocumentReferences": [
{
"ID": "text",
"IssueDate": "2025-06-25T13:59:28.149Z",
"DocumentType": "text",
"DocumentTypeCode": "text",
"DocumentDescription": "text",
"Attachment": {
"Base64Data": "text",
"MimeCode": "text",
"FileName": "text"
}
}
],
"TaxExemptionReasonInfo": {
"KDVExemptionReasonCode": "text",
"OTVExemptionReasonCode": "text",
"AccommodationTaxExemptionReasonCode": "text"
},
"PaymentTermsInfo": {
"Percent": 1,
"Amount": 1,
"Note": "text"
},
"PaymentMeansInfo": {
"Code": "text",
"ChannelCode": "text",
"DueDate": "2025-06-25T13:59:28.149Z",
"PayeeFinancialAccountID": "text",
"Note": "text"
},
"OKCInfo": {
"ID": "text",
"IssueDate": "2025-06-25T13:59:28.149Z",
"Time": "text",
"ZNo": "text",
"EndPointID": "text",
"DocumentDescription": "text"
},
"ESUReportInfo": {
"ID": "text",
"IssueDate": "2025-06-25T13:59:28.149Z"
},
"ReturnInvoiceInfo": [
{
"InvoiceNumber": "text",
"IssueDate": "2025-06-25T13:59:28.149Z"
}
],
"AccountingCost": "text",
"InvoicePeriod": {
"StartDate": "2025-06-25T13:59:28.149Z",
"StartTime": "text",
"EndDate": "2025-06-25T13:59:28.149Z",
"EndTime": "text",
"DurationMeasureValue": 1,
"Description": "text"
},
"SGKInfo": {
"RegisterName": "text",
"DocumentNumber": "text",
"RegisterCode": "text"
},
"Expenses": [
{
"ExpenseType": "HKSKOMISYON",
"Percent": 1,
"Amount": 1
}
],
"LineExtensionAmount": 1,
"GeneralKDV1Total": 1,
"GeneralKDV8Total": 1,
"GeneralKDV18Total": 1,
"GeneralKDV10Total": 1,
"GeneralKDV20Total": 1,
"GeneralAllowanceTotal": 1,
"PayableAmount": 1,
"KdvTotal": 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"
},
"BuyerCustomerInfo": {
"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"
},
"ExportCustomerInfo": {
"TaxNumber": "text",
"LegalRegistrationName": "text",
"PersonName": "text",
"PersonSurName": "text",
"Address": "text",
"District": "text",
"City": "text",
"Country": "text",
"PostalCode": "text",
"Phone": "text",
"Fax": "text",
"Mail": "text",
"WebSite": "text"
},
"TaxFreeInfo": {
"TouristInfo": {
"Name": "text",
"SurName": "text",
"CountryCode": "text",
"PassportNo": "text",
"PassportDate": "2025-06-25T13:59:28.149Z",
"AddressInfo": {
"Address": "text",
"District": "text",
"City": "text",
"Country": "text",
"PostalCode": "text",
"Phone": "text",
"Fax": "text",
"Mail": "text",
"WebSite": "text"
},
"FinancialAccountInfo": {
"BankName": "text",
"BranchName": "text",
"ID": "text",
"CurrencyCode": "text",
"PaymentNote": "text"
}
},
"TaxRepresentativeInfo": {
"RegisterNumber": "text",
"Alias": "text",
"Address": {
"Address": "text",
"District": "text",
"City": "text",
"Country": "text",
"PostalCode": "text",
"Phone": "text",
"Fax": "text",
"Mail": "text",
"WebSite": "text"
}
}
},
"InvoiceLines": [
{
"Index": "text",
"SellerCode": "text",
"BuyerCode": "text",
"Name": "text",
"Description": "text",
"Quantity": 1,
"UnitType": "text",
"Price": 1,
"AllowanceTotal": 1,
"KDVPercent": 1,
"KDVTotal": 1,
"Taxes": [
{
"TaxCode": "text",
"Total": 1,
"Percent": 1,
"ReasonCode": "text",
"ReasonDesc": "text"
}
],
"DeliveryInfo": {
"GTIPNo": "text",
"DeliveryTermCode": "text",
"TransportModeCode": "text",
"PackageBrandName": "text",
"ProductTraceID": "text",
"PackageID": "text",
"PackageQuantity": 1,
"PackageTypeCode": "text",
"DeliveryAddress": {
"Address": "text",
"District": "text",
"City": "text",
"Country": "text",
"PostalCode": "text",
"Phone": "text",
"Fax": "text",
"Mail": "text",
"WebSite": "text"
}
},
"ManufacturerCode": "text",
"BrandName": "text",
"ModelName": "text",
"Note": "text",
"SerialID": "text",
"OzelMatrahReason": "text",
"OzelMatrahTotal": 1,
"VatAmountWithoutTevkifat": 1,
"MedicineAndMedicalDevice": {
"Medicine": [
{
"GTIN": "text",
"BatchNumber": "text",
"SerialNumber": "text",
"ExpirationDate": "2025-06-25T13:59:28.149Z"
}
],
"MedicalDevice": [
{
"ProductNumber": "text",
"LotNumber": "text",
"SerialNumber": "text",
"ProductionDate": "2025-06-25T13:59:28.149Z"
}
]
},
"ExportRegisteredInfo": {
"DIIBLineCode": "text",
"GTIPNo": "text"
},
"AdditionalItemIdentification": {
"TagNumber": "text",
"OwnerName": "text",
"OwnerTaxNumber": "text"
}
}
],
"Notes": [
"text"
]
},
"CustomerAlias": "text"
}
text
var options = new RestClientOptions("https://apitest.nilvera.com")
{
MaxTimeout = -1,
};
var client = new RestClient(options);
var request = new RestRequest("/einvoice/Send/Model/Download/Pdf", Method.Post);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer <API KEY>");
var body = @"{
""EInvoice"": {
""InvoiceInfo"": {
""UUID"": ""3fa85f64-5717-4562-b3fc-2c963f66afa6"",
""TemplateUUID"": ""3fa85f64-5717-4562-b3fc-2c963f66afa6"",
""TemplateBase64String"": ""string"",
""InvoiceType"": ""SATIS"",
""InvoiceSerieOrNumber"": ""string"",
""IssueDate"": ""2024-04-03T06:27:33.163Z"",
""CurrencyCode"": ""string"",
""ExchangeRate"": 0,
""InvoiceProfile"": ""TEMELFATURA"",
""DespatchDocumentReference"": [
{
""IssueDate"": ""2024-04-03T06:27:33.163Z"",
""Value"": ""string""
}
],
""OrderReference"": {
""IssueDate"": ""2024-04-03T06:27:33.163Z"",
""Value"": ""string""
},
""OrderReferenceDocument"": {
""ID"": ""string"",
""IssueDate"": ""2024-04-03T06:27:33.163Z"",
""DocumentType"": ""string"",
""DocumentTypeCode"": ""string"",
""DocumentDescription"": ""string"",
""Attachment"": {
""Base64Data"": ""string"",
""MimeCode"": ""string"",
""FileName"": ""string""
}
},
""AdditionalDocumentReferences"": [
{
""ID"": ""string"",
""IssueDate"": ""2024-04-03T06:27:33.163Z"",
""DocumentType"": ""string"",
""DocumentTypeCode"": ""string"",
""DocumentDescription"": ""string"",
""Attachment"": {
""Base64Data"": ""string"",
""MimeCode"": ""string"",
""FileName"": ""string""
}
}
],
""TaxExemptionReasonInfo"": {
""KDVExemptionReasonCode"": ""string"",
""OTVExemptionReasonCode"": ""string"",
""AccommodationTaxExemptionReasonCode"": ""string""
},
""PaymentTermsInfo"": {
""Percent"": 0,
""Amount"": 0,
""Note"": ""string""
},
""PaymentMeansInfo"": {
""Code"": ""string"",
""ChannelCode"": ""string"",
""DueDate"": ""2024-04-03T06:27:33.163Z"",
""PayeeFinancialAccountID"": ""string"",
""Note"": ""string""
},
""OKCInfo"": {
""ID"": ""string"",
""IssueDate"": ""2024-04-03T06:27:33.163Z"",
""Time"": ""string"",
""ZNo"": ""string"",
""EndPointID"": ""string"",
""DocumentDescription"": ""string""
},
""ReturnInvoiceInfo"": [
{
""InvoiceNumber"": ""string"",
""IssueDate"": ""2024-04-03T06:27:33.163Z""
}
],
""AccountingCost"": ""string"",
""InvoicePeriod"": {
""StartDate"": ""2024-04-03T06:27:33.163Z"",
""StartTime"": ""2024-04-03T06:27:33.163Z"",
""EndDate"": ""2024-04-03T06:27:33.163Z"",
""EndTime"": ""2024-04-03T06:27:33.163Z"",
""DurationMeasureValue"": 0,
""Description"": ""string""
},
""SGKInfo"": {
""RegisterName"": ""string"",
""DocumentNumber"": ""string"",
""RegisterCode"": ""string""
},
""Expenses"": [
{
""ExpenseType"": ""HKSKOMISYON"",
""Percent"": 0,
""Amount"": 0
}
],
""LineExtensionAmount"": 0,
""GeneralKDV1Total"": 0,
""GeneralKDV8Total"": 0,
""GeneralKDV18Total"": 0,
""GeneralKDV10Total"": 0,
""GeneralKDV20Total"": 0,
""GeneralAllowanceTotal"": 0,
""PayableAmount"": 0,
""KdvTotal"": 0
},
""CompanyInfo"": {
""TaxNumber"": ""string"",
""Name"": ""string"",
""TaxOffice"": ""string"",
""PartyIdentifications"": [
{
""SchemeID"": ""string"",
""Value"": ""string""
}
],
""AgentPartyIdentifications"": [
{
""SchemeID"": ""string"",
""Value"": ""string""
}
],
""Address"": ""string"",
""District"": ""string"",
""City"": ""string"",
""Country"": ""string"",
""PostalCode"": ""string"",
""Phone"": ""string"",
""Fax"": ""string"",
""Mail"": ""string"",
""WebSite"": ""string""
},
""CustomerInfo"": {
""TaxNumber"": ""string"",
""Name"": ""string"",
""TaxOffice"": ""string"",
""PartyIdentifications"": [
{
""SchemeID"": ""string"",
""Value"": ""string""
}
],
""AgentPartyIdentifications"": [
{
""SchemeID"": ""string"",
""Value"": ""string""
}
],
""Address"": ""string"",
""District"": ""string"",
""City"": ""string"",
""Country"": ""string"",
""PostalCode"": ""string"",
""Phone"": ""string"",
""Fax"": ""string"",
""Mail"": ""string"",
""WebSite"": ""string""
},
""BuyerCustomerInfo"": {
""TaxNumber"": ""string"",
""Name"": ""string"",
""TaxOffice"": ""string"",
""PartyIdentifications"": [
{
""SchemeID"": ""string"",
""Value"": ""string""
}
],
""AgentPartyIdentifications"": [
{
""SchemeID"": ""string"",
""Value"": ""string""
}
],
""Address"": ""string"",
""District"": ""string"",
""City"": ""string"",
""Country"": ""string"",
""PostalCode"": ""string"",
""Phone"": ""string"",
""Fax"": ""string"",
""Mail"": ""string"",
""WebSite"": ""string""
},
""ExportCustomerInfo"": {
""TaxNumber"": ""string"",
""LegalRegistrationName"": ""string"",
""PersonName"": ""string"",
""PersonSurName"": ""string"",
""Address"": ""string"",
""District"": ""string"",
""City"": ""string"",
""Country"": ""string"",
""PostalCode"": ""string"",
""Phone"": ""string"",
""Fax"": ""string"",
""Mail"": ""string"",
""WebSite"": ""string""
},
""TaxFreeInfo"": {
""TouristInfo"": {
""Name"": ""string"",
""SurName"": ""string"",
""CountryCode"": ""string"",
""PassportNo"": ""string"",
""PassportDate"": ""2024-04-03T06:27:33.163Z"",
""AddressInfo"": {
""Address"": ""string"",
""District"": ""string"",
""City"": ""string"",
""Country"": ""string"",
""PostalCode"": ""string"",
""Phone"": ""string"",
""Fax"": ""string"",
""Mail"": ""string"",
""WebSite"": ""string""
},
""FinancialAccountInfo"": {
""BankName"": ""string"",
""BranchName"": ""string"",
""ID"": ""string"",
""CurrencyCode"": ""string"",
""PaymentNote"": ""string""
}
},
""TaxRepresentativeInfo"": {
""RegisterNumber"": ""string"",
""Alias"": ""string"",
""Address"": {
""Address"": ""string"",
""District"": ""string"",
""City"": ""string"",
""Country"": ""string"",
""PostalCode"": ""string"",
""Phone"": ""string"",
""Fax"": ""string"",
""Mail"": ""string"",
""WebSite"": ""string""
}
}
},
""InvoiceLines"": [
{
""Index"": ""string"",
""SellerCode"": ""string"",
""BuyerCode"": ""string"",
""Name"": ""string"",
""Description"": ""string"",
""Quantity"": 0,
""UnitType"": ""string"",
""Price"": 0,
""AllowanceTotal"": 0,
""KDVPercent"": 0,
""KDVTotal"": 0,
""Taxes"": [
{
""TaxCode"": ""string"",
""Total"": 0,
""Percent"": 0,
""ReasonCode"": ""string"",
""ReasonDesc"": ""string""
}
],
""DeliveryInfo"": {
""GTIPNo"": ""string"",
""DeliveryTermCode"": ""string"",
""TransportModeCode"": ""string"",
""PackageBrandName"": ""string"",
""ProductTraceID"": ""string"",
""PackageID"": ""string"",
""PackageQuantity"": 0,
""PackageTypeCode"": ""string"",
""DeliveryAddress"": {
""Address"": ""string"",
""District"": ""string"",
""City"": ""string"",
""Country"": ""string"",
""PostalCode"": ""string"",
""Phone"": ""string"",
""Fax"": ""string"",
""Mail"": ""string"",
""WebSite"": ""string""
}
},
""ManufacturerCode"": ""string"",
""BrandName"": ""string"",
""ModelName"": ""string"",
""Note"": ""string"",
""OzelMatrahReason"": ""string"",
""OzelMatrahTotal"": 0,
""VatAmountWithoutTevkifat"": 0,
""AdditionalItemIdentification"": {
""TagNumber"": ""string"",
""OwnerName"": ""string"",
""OwnerTaxNumber"": ""string""
}
}
],
""Notes"": [
""string""
]
},
""CustomerAlias"": ""string""
}";
request.AddStringBody(body, DataFormat.Json);
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);
Last updated