Nilvera API v1
Swagger APIGo To App
English
English
  • Overview
  • API Key Generation
  • Error Codes
  • API
    • GENERAL API
      • Company Procedures
        • Retrieve Company Information
        • Update Company Information
        • Retrieve Company Modules
      • Company Identity Information
        • Lists Company Identity Information
        • Adds New Identity Information to the Company
        • Deletes Identity Information from the Company
      • Credit
        • Returns Credit Information
      • Customers
        • Customer Lists
        • Customer Adds
        • Customer Updates
        • Customer Deletes
        • Searches the Customer List
        • Brings Customer Information
      • Currency Information
        • Brings Foreign Exchange Information
      • GIB User Information
        • Gets GIB Username and Password
        • GİB Updates Username and Password
      • Taxpayer Transactions
        • Lists E-Invoice Taxpayers
        • Searches the Taxpayer List
        • Brings Taxpayer Information
        • Brings Taxpayer Information in List
        • Queries with TIN
        • Queries by Title
        • Taxpayer List is Returned as a Zip File
      • Mail Transactions
        • Brings up Mail Settings
        • Changes Whatsapp Feature
        • Changes Mail Feature
        • Changes SMS Feature
      • Stocks
        • Lists Stocks
        • Stock Inserts
        • Stock Updates
        • Brings Stock
        • Searches the Stock List
        • Deletes Stock
    • E-INVOICE API
      • Sending E-Invoice
        • Send the Invoice as a Model
        • Preview the Invoice to be Sent as a Model
        • Send the Invoice as XML
        • Preview the Invoice to be Sent as XML
        • Send the Invoice as Base64 String
        • Preview the Invoice to be Sent as Base64 String
        • Retrieve the XML of the Previewed Invoice
        • Download the PDF of the Previewed Invoice
      • Draft Invoices
        • List Draft Invoices
        • Delete Draft Invoices
        • Retrieve the HTML of the Draft
        • Retrieve the PDF of the Draft
        • Retrieve the XML of the Draft
        • Retrieve the Model of the Draft
        • Assign Tags to Draft Invoice
        • Retrieve Tag Information of the Draft Invoice
        • Export Drafts in Bulk
        • Assign New Status to Drafts
        • Approve and Send the Draft
        • Edit and Send the Draft
        • Create Draft
        • Create Bulk Draft Invoices
        • Retrieve WhatsApp Transaction History
        • Send Draft Invoice via WhatsApp
        • Assign Custom Code to Draft Invoice
      • Notification Settings
        • List Sales Invoice Notification Settings
        • Create Sales Invoice Notification Rule
        • Update Sales Invoice Notification
        • Delete Sales Invoice Notification Setting
        • Retrieve Sales Invoice Notification Rule
        • List Purchase Invoice Notification Settings
        • Create Purchase Invoice Notification Rule
        • Update Purchase Invoice Notification
        • Delete Purchase Invoice Notification Setting
        • Retrieve Purchase Invoice Notification Rule
      • Old Invoices
        • List Old Invoices
        • Upload Old Invoices
        • Retrieve the HTML of the Old Invoice
        • Retrieve the PDF of the Old Invoice
        • Retrieve the XML of the Old Invoice
        • Export Old Invoices in Bulk
        • Assign New Status to Old Invoices
      • Incoming Invoices
        • List Incoming Invoices
        • Retrieve the HTML of the Invoice
        • Retrieve the PDF of the Invoice
        • Retrieve the XML of the Invoice
        • Assign Tags to Invoice
        • Retrieve Tag Information of the Invoice
        • Retrieve Transaction History
        • Retrieve Details
        • List Invoice Attachments
        • Retrieve Despatch Note Information
        • Retrieve Email Transaction History
        • Retrieve WhatsApp Transaction History
        • Retrieve SMS Transaction History
        • Retrieve Email Activities
        • Export Invoices in Bulk
        • Assign New Status to Invoices
        • Send the Invoice via Email
        • Send the Invoice via WhatsApp
        • Send the Invoice via SMS
        • Verify the Invoice with GİB
        • Retrieve Envelope Information with ETTN Number for the Invoice
        • Save as Draft
        • Respond to the Invoice
        • Retrieve Rejection Response of the Invoice
        • Save the Incoming Invoice as a Return Invoice
        • Retrieve Status Information of the Incoming Invoice
        • Assign Custom Code to Invoice
      • Outgoing Invoices
        • Lists Outgoing Invoices
        • Get the HTML of the Invoice
        • Get the PDF of the Invoice
        • Get the XML of the Invoice
        • Assigns Tags To The Invoice
        • It Fetches The Invoice Label Information
        • Retrieve Transaction History
        • Brings Details
        • Lists the Attachments of the Invoice
        • Retrieves the Despatch Note Information
        • Retrieves Email Transaction History
        • Retrieves WhatsApp Transaction History
        • Retrieves SMS Transaction History
        • Retrieves Email Activities
        • Exports Invoices in Bulk
        • Sets New Status to Invoices
        • Sends the Invoice via Email
        • Sends the Invoice via WhatsApp
        • Sends the Invoice via SMS
        • Checks the Invoice from GTB
        • Checks the Invoice from GİB
        • Retrieves Envelope Information with the ETTN Number of the Invoice
        • Save as Draft
        • Creates Drafts for Invoices in Bulk
        • Retrieves the Rejection Response of the Invoice
        • Retrieves the Status Information of the Outgoing Invoice
        • Assigns a Custom Code to the Invoice
      • Series
        • Lists Series
        • Creates New Series
        • Updates Series
        • Brings Details of the Series
      • Statistics
        • Returns Outgoing Invoice Statistics
        • Returns Incoming Invoice Statistics
        • Returns the Last 10 Records of Outgoing Invoices
        • Returns the Last 10 Records of Incoming Invoices
      • Tags
        • Get Tag List
        • Create Tag
        • Update Tag
        • Delete Tag
      • Templates
        • Lists Templates
        • Creates Template
        • Updates Template
        • Gets the Details of the Template
        • Delete Template
        • Get Template
      • File Upload
        • Load as XML
        • Uploads SGK Invoice as PDF
    • E-ARCHIVE INVOICE API
      • Sending an Invoice
        • Sends Invoice as Model
        • Previews the Invoice to be Sent as a Model
        • Sends Invoice as Xml
        • Previews the Invoice to be Sent as XML
        • Sends Invoice as Base64String
        • Previews the Invoice to be Sent as Base64
        • Gets the Xml of the Previewed Invoice
        • Downloads Previewed Invoice as PDF
        • Sends Report of Invoices.
      • Draft Invoices
        • Lists Draft Invoices
        • Deletes Draft Invoices
        • Bring HTML of the Draft
        • Bring PDF of the Draft
        • Bring XML of the Draft
        • Bring Model of the Draft
        • Tag Assignment to Draft Invoice
        • Gets the Tag Information of the Draft Invoice
        • Bulk Exports Drafts
        • Assigns New Status to Drafts
        • Approves and Sends the Draft
        • Edit and Send the Draft
        • Creates Draft
        • Creates Bulk Draft Invoice
        • Brings Whatsapp Transaction History
        • Sends Draft Invoice via Whatsapp
        • A Special Code is Assigned to the Draft Invoice
      • Incoming E-Archive Invoices
      • Notification Settings
        • Lists Notification Rules
        • Creates Notification Rule
        • Updates Notification Rule
        • Deletes Notification Rule
        • Bring the Notification Rule
      • E-Archive Invoices
        • Lists Invoices
        • Get the HTML of the Invoice
        • Get the PDF of the Invoice
        • Get the XML of the Invoice
        • Tag Assignment to the Invoice
        • Gets Tag Information of the Invoice
        • Gets Transaction History
        • Brings Details
        • Lists Document Attachments
        • Returns Delivery Note Information
        • Brings Mail Transaction History
        • Brings Whatsapp Transaction History
        • Gets SMS Transaction History
        • Gets Email Activities
        • Exports Invoices in Bulk
        • Assigns New Status to Invoices
        • Sends the Invoice via Email
        • Sends the Invoice via Whatsapp
        • Sends Invoice via SMS
        • Saves as Draft
        • Bulk Drafts Outgoing Invoices
        • Cancels the Invoice
        • Undoes Invoice Cancellation
        • Returns the Status Information of the Invoice
        • A Special Code is Assigned to the Invoice
      • Old Invoices
        • Lists Old Invoices
        • Upload Old Invoices
        • Get the HTML of the Old Invoice
        • Get the PDF of the Old Invoice
        • Get the XML of the Old Invoice
        • Bulk Exports Old Invoices
        • Assigns New Status to Old Invoices
      • Reports
        • Brings Reports
        • Returns the List to Create a Report
        • Gets Report Xml
        • Lists the Documents in the Sent Report
        • Report Returns Transaction History
        • Queries Report Status from GİB
      • Series
        • Lists Series
        • Creates New Series
        • Updates Series
        • Brings Details of the Series
      • Templates
        • Lists Templates
        • Creates Template
        • Updates Template
        • Gets the Details of the Template
        • Deletes Template
        • Downloads Template
      • Statistics
        • Gets Statistics of Invoices
        • Gets the last 10 invoices
      • Tags
        • Gets Tag List
        • Creates Tag
        • Tag Updated
        • Tag Deleted
      • File Upload
        • Upload as XML File
    • E-DESPATCH API
      • Sending Despatch
        • Sends the Despatch as a Model
        • It Sends the Despatch as XML.
        • Sends the Despatch as Base64String
        • Previews the Despatch to be Sent
        • Returns the XML of the Previewed Despatch
      • Draft Despatch
        • Lists Draft Despatch
        • Deletes Draft Despatch
        • HTML of the draft is fetched
        • PDF of the draft is brought
        • XML of the draft is fetched
        • The Model of the Draft is Fetched
        • Bulk Exports Drafts
        • Assigns New Status to Drafts
        • Approves and Sends the Draft
        • Edit and Send the Draft
        • Creates Draft
        • Brings Whatsapp Transaction History
        • Sends Draft Despatch via Whatsapp
      • Outgoing Despatch
        • Lists Outgoing Despatch
        • Get Despatch HTML
        • Get HTML of Despatch Response
        • Get Despatch PDF
        • Get PDF of Despatch Response
        • Get XML of Despatch
        • Get XML of Despatch Response
        • Gets Transaction History
        • Brings Details
        • Lists Document Attachments
        • Returns the Status Information of the Outgoing Despatch
        • Brings Mail Transaction History
        • Brings Whatsapp Transaction History
        • Gets Email Activities
        • Exports Despatch in Bulk
        • Bulk Exports Despatch Responses
        • Assigns a New Status to Despatch
        • Sends the Despatch via e-mail
        • Sends the Despatch via Whatsapp
        • Controls the Despath from the GIB
        • Saves as Draft
      • Incoming Despatch
        • Lists Incoming Despatch
        • Get the HTML of the Despatch
        • Get HTML of Despatch Response
        • Get PDF of Despatch
        • Get PDF of Despatch Response
        • Get XML of Despatch
        • Get XML of Despatch Response
        • Gets Transaction History
        • Brings Details
        • Lists Document Attachments
        • Returns the Status Information of the Incoming Despatch
        • Brings Mail Transaction History
        • Brings Whatsapp Transaction History
        • Gets Email Activities
        • Exports Despatch in Bulk
        • Bulk Exports Despatch Responses
        • Assigns a New Status to Despatch
        • Sends the Despatch via e-mail
        • Sends the Despatch via Whatsapp
        • Controls the Despatch from the GİB
        • Saves as Draft
        • Creates a Response to the Despatch
        • Brings Despatch Items
      • Series
        • Lists Series
        • Creates New Series
        • Updates Series
        • Brings Details of the Series
      • Templates
        • Lists Templates
        • Creates Template
        • Updates Template
        • Gets the Details of the Template
        • Deletes Template
        • Gets Template
      • Statistics
        • Returns Outgoing Despatch Statistics
        • Returns Incoming Despatch Statistics
      • File Upload
        • Loads as XML
    • E-PRODUCER API
      • Sending E-Producer Receipt
        • Sends Receipt as Model
        • Sends the receipt as XML
        • Previews the Receipt to Send
        • Gets XML of Previewed Receipt
        • Sends Report
      • Draft Producer
        • Lists Draft Producer
        • Deletes Draft Producer
        • Get HTML of Draft
        • Get PDF of Draft
        • Get XML of Draft
        • Get Model of Draft
        • Bulk Exports Drafts
        • Assigns New Status to Drafts
        • Approves and Sends the Draft
        • Edit and Send the Draft
        • Creates Draft
        • Brings Whatsapp Transaction History
        • Sends Draft Producer Via Whatsapp
      • Producer
        • Lists Producers
        • Get Producer HTML
        • Get Producer PDF
        • Get Producer XML
        • Gets Transaction History
        • Brings Details
        • Brings Mail Transaction History
        • Brings Whatsapp Transaction History
        • Gets Email Activities
        • Bulk Exports Producers
        • Assigns New Status to Producers
        • Sends Producer via Email
        • Sends Producer Via Whatsapp
        • Saves as Draft
        • Cancel Producer
        • Undoes Producer Cancellation
      • Reports
        • Brings Reports
        • Returns the List to Create a Report
        • Gets Report XML
        • Lists the Documents in the Sent Report
        • Report Returns Transaction History
        • Queries Report Status from GİB
      • Series
        • Lists Series
        • Creates New Series
        • Updates Series
        • Brings Details of the Series
      • Templates
        • Lists Templates
        • Creates Template
        • Updates Template
        • Gets the Details of the Template
        • Deletes Template
        • Gets Template
      • Statistics
        • Brings Statistics
      • File Upload
        • Uploads as XML
    • E-INSURANCE API
      • Sending E-Insurance Document
        • Sends the document as Model
        • Previews the document to Send
        • Sends the document as XML
        • Previews the document to Send
        • Sends Document as Base64
        • Previews the document to Send
        • Gets XML of Previewed Document
        • Sends Report
      • Notification Settings
        • Lists Document Notification Rules
        • Creates Document Notification Rule
        • Updates Document Notification Rule
        • Deletes Document Notification Rule
        • Gets Document Notification Rule
      • Draft Insurances
        • Lists Draft Insurance
        • Deletes Draft Insurance
        • Get HTML of Draft
        • Get PDF of Draft
        • Get XML of Draft
        • Get Model of Draft
        • Assigns Tag to Draft
        • Gets Tag Information of Draft
        • Bulk Exports Drafts
        • Assigns New Status to Drafts
        • Approves and Sends the Draft
        • Edit and Send the Draft
        • Creates Draft
        • Creates Bulk Draft
        • Brings Whatsapp Transaction History
        • Sends Draft Insurance Via Whatsapp
        • Assigns Custom Code to Draft Document
      • Insurance
        • Lists Insurances
        • Get Insurance HTML
        • Get Insurance PDF
        • Get Insurance XML
        • Assigns Tag to Insurance
        • Gets Tag Information of Insurance
        • Gets Transaction History
        • Brings Details
        • Brings Mail Transaction History
        • Brings Whatsapp Transaction History
        • Gets SMS Transaction History
        • Gets Email Activities
        • Bulk Exports Insurances
        • Assigns New Status to Insurances
        • Sends Insurance via Email
        • Sends Insurance Via Whatsapp
        • Sends Document via SMS
        • Saves as Draft
        • Cancel Insurance
        • Undoes Insurance Cancellation
        • Gets Status Information of Insurance
        • Assigns Special Code to Insurance
      • Reports
        • Brings Reports
        • Returns the List to Create a Report
        • Gets Report XML
        • Lists the Documents in the Sent Report
        • Report Returns Transaction History
        • Queries Report Status from GİB
      • Series
        • Lists Series
        • Creates New Series
        • Updates Series
        • Brings Details of the Series
      • Statistics
        • Brings Statistics
        • Brings Last 10 Insurances
      • Tags
        • Gets Tag List
        • Creates Tag
        • Updates Tag
        • Deletes Tag
      • Templates
        • Lists Templates
        • Creates Template
        • Updates Template
        • Gets the Details of the Template
        • Deletes Template
        • Gets Template
      • File Upload
        • Uploads as XML
    • E-VOUCHER API
      • Sending E-Voucher
        • Sends Voucher as Model
        • Sends Voucher as XML
        • Previews the Voucher to Send
        • Gets XML of Previewed Voucher
        • Sends Report
      • Draft Vouchers
        • Lists Draft Voucher
        • Deletes Draft Voucher
        • Get HTML of Draft
        • Get PDF of Draft
        • Get PDF of Draft
        • Get Model of Draft
        • Bulk Exports Drafts
        • Assigns New Status to Drafts
        • Approves and Sends the Draft
        • Edit and Send the Draft
        • Creates Draft
        • Creates Bulk Draft
        • Brings Whatsapp Transaction History
        • Sends Draft Voucher Via Whatsapp
      • Vouchers
        • Lists Vouchers
        • Get Voucher HTML
        • Get Voucher PDF
        • Get Voucher XML
        • Gets Transaction History
        • Brings Details
        • Brings Mail Transaction History
        • Brings Whatsapp Transaction History
        • Gets Email Activities
        • Bulk Exports Vouchers
        • Assigns New Status to Vouchers
        • Sends Voucher via Email
        • Sends Voucher Via Whatsapp
        • Sends Voucher Via SMS
        • Saves as Draft
        • Cancels Voucher
        • Undoes Voucher Cancellation
        • Returns Status Information of the Voucher
      • Reports
        • Brings Reports
        • Returns the List to Create a Report
        • Gets Report XML
        • Lists the Vouchers in the Sent Report
        • Report Returns Transaction History
        • Queries Report Status from GİB
      • Series
        • Lists Series
        • Creates New Series
        • Updates Series
        • Brings Details of the Series
      • Templates
        • Lists Templates
        • Creates Template
        • Updates Template
        • Gets the Details of the Template
        • Deletes Template
        • Gets Template
      • Statistics
        • Lists the Last 10 Issued Voucher
        • Brings Statistics
      • File Upload
        • Loads as XML
    • E-BILL API
      • Sending E-Bill
        • Sends Bill as Model
        • Previews the bill to Send
        • Sends Bill as XML
        • Previews the bill to Send
        • Sends Bill as Base64
        • Previews the bill to Send
        • Gets XML of Previewed Bill
        • Sends Report
      • Draft Bills
        • Lists Draft Bill
        • Deletes Draft Bill
        • Get HTML of Draft
        • Get PDF of Draft
        • Get XML of Draft
        • Get Model of Draft
        • Assigns Tag to Draft
        • Gets Tag Information of the Draft
        • Bulk Exports Drafts
        • Assigns New Status to Drafts
        • Approves and Sends the Draft
        • Edit and Send the Draft
        • Creates Draft
        • Creates Bulk Drafts
        • Gets WhatsApp Transaction History
        • Sends Draft via WhatsApp
        • Assigns Special Code to Draft
      • Notification Settings
        • Lists Document Notification Rules
        • Creates Document Notification Rule
        • Updates Document Notification Rule
        • Deletes Document Notification Rule
        • Gets Document Notification Rule
      • Bills
        • Lists Bills
        • Get HTML of Bill
        • Get PDF of Bill
        • Get XML of Bill
        • Gets Transaction History
        • Brings Details
        • Brings Mail Transaction History
        • Brings Whatsapp Transaction History
        • Gets Email Activities
        • Bulk Exports Bills
        • Assigns New Status to Bills
        • Sends Bill via Email
        • Sends Bill Via Whatsapp
        • Saves as Draft
        • Cancel Bill
        • Undoes Bill Cancellation
      • Reports
        • Brings Reports
        • Returns the List to Create a Report
        • Gets Report XML
        • Lists the Documents in the Sent Report
        • Report Returns Transaction History
        • Queries Report Status from GİB
      • Series
        • Lists Series
        • Creates New Series
        • Updates Series
        • Brings Details of the Series
      • Templates
        • Lists Templates
        • Creates Template
        • Updates Template
        • Gets the Details of the Template
        • Deletes Template
        • Gets Template
      • Tags
        • Gets Tag List
        • Creates Tag
        • Updates Tag
        • Deletes Tag
      • Statistics
        • Brings Last 10 Bills
        • Brings Statistics
      • File Upload
        • Uploads as XML
    • E-STORAGE API
      • Ledgers
        • Ledger List
        • Downloads the Ledgers
        • Previews the Ledger
        • Upload Ledger
        • Get Statistics of Ledgers
    • E-LEDGER API
      • Accountant Information
        • Accountant Creates
        • Brings Accountants
        • Accountant Deletes
        • Updates Accountant
      • Ledger Settings
        • Creates or Updates Settings
        • Get Settings
      • Company ERP Information
        • Returns Company Ledger Queries
        • Brings Defined ERP Parameters to the Company
        • Brings the Defined ERP List to the Company
      • Ledgers
        • Deletes the Ledgers
        • Brings the Ledgers
        • Downloads the Ledgers
        • Downloads the Ledgers for the Relevant Year and Month
        • Downloads Ledgers in Bulk
        • Sets Ledger Status to Success
        • Uploads Old Ledgers
        • Gets Ledger Numbers for the Relevant Year
        • Deletes Uploaded Old Ledgers
        • Downloads all Ledgers in the Relevant Year
        • Downloads CSV File in Related Year and Month
        • Downloads the Ledgers of Companies and Branches for the Relevant Year and Month
        • Displays the Ledger
        • Gets Ledger Details
        • Schema/Schematron Control is Performed on the Ledger
        • Gets Ledger History
        • Gets Total Debit and Credit Information of Ledgers by Year
        • Checks the Accuracy of the Ledger
      • ERP
        • Gets ERP List
      • GİB
        • Journal and G/L Certificates are Sent to GIB
        • Brings GIB Approved Certificates
        • Sends the Ledger Report to the GİB
        • Queries the Status of the Ledger Report
        • Sends the Ledgers that are Faulty or Need to be Sent Again
        • Returns the Status of the Ledgers in the Relevant Month
      • Settings
        • Ledger Settings are Created/Updated
        • Gets Ledger Settings
      • Signing
        • Signs All Ledgers in the Relevant Period with Company Signature (HSM)
        • Returns the UUIDs of All Ledgers in the Relevant Period
      • Statistics
        • Gets Statistics
        • Gets Last 10 Ledger Records
      • File Upload
        • A Ledger is Created by Taking the Zip .csv File
        • Brings Uploaded Ledgers
        • Creates a Ledger by Taking the Base64 String Value of a Zip .csv File
        • GIB Approved Certificates of Manually Uploaded Ledgers Are Uploaded
        • Ledger Errors Are Introduced
        • Returns the Year and Period Information of the Last Ledger
    • E-REPORT API
      • Accounting Report
        • Lists Reports
        • Creates a Report
        • Downloads Report
        • Report Template Lists
        • Creates Accounting Report Template
        • Updates Report Template
        • Deletes Report Template
        • Report Template Columns Lists
        • Gets Report Template Columns
  • NİLVERA MODEL
    • EInvoice
      • InvoiceInfo
      • CompanyInfo
      • CustomerInfo
      • BuyerCustomerInfo
      • ExportCustomerInfo
      • TaxFreeInfo
      • InvoiceLines
      • Notes
      • CustomerAlias
    • ArchiveInvoice
      • InvoiceInfo
      • CompanyInfo
      • CustomerInfo
      • InvoiceLines
      • Notes
    • EDespatch
      • DespatchInfo
      • DespatchSupplierInfo
      • DeliveryCustomerInfo
      • BuyerCustomerInfo
      • SellerSupplierInfo
      • OriginatorCustomerInfo
      • Notes
      • DespatchLines
      • ShipmentDetail
      • AdditionalDocumentReference
      • OrderReference
      • CustomerAlias
    • EDespatchAnswer
      • DespatchInfo
      • DespatchSupplierInfo
      • DeliveryCustomerInfo
      • BuyerCustomerInfo
      • SellerSupplierInfo
      • ShipmentDetail
      • ReceiptLines
      • DespatchDocumentReference
      • Notes
      • DocumentReference
      • AdditionalDocumentReference
    • Producer
      • ProducerInfo
      • CompanyInfo
      • CustomerInfo
      • ProducerLines
      • Notes
    • Voucher
      • VoucherInfo
      • CompanyInfo
      • CustomerInfo
      • VoucherLines
      • Notes
    • Bill
      • BillInfo
      • CompanyInfo
      • CustomerInfo
      • SellerInfo
      • BillLines
      • Notes
    • ELedger
      • Eledger Properties
      • Accounting
      • DownloadLedger
  • CODE LISTS
Powered by GitBook
On this page
  1. API
  2. E-ARCHIVE INVOICE API
  3. Sending an Invoice

Downloads Previewed Invoice as PDF

PreviousGets the Xml of the Previewed InvoiceNextSends Report of Invoices.

Last updated 12 days ago

var options = new RestClientOptions("https://apitest.nilvera.com")
{
    MaxTimeout = -1,
};
var client = new RestClient(options);
var request = new RestRequest("/earchive/Send/Model/Download/Pdf", Method.Post);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer <API KEY>");
var body = @"{
    ""ArchiveInvoice"": {
        ""InvoiceInfo"": {
            ""UUID"": ""3fa85f64-5717-4562-b3fc-2c963f66afa6"",
            ""TemplateUUID"": ""3fa85f64-5717-4562-b3fc-2c963f66afa6"",
            ""TemplateBase64String"": ""string"",
            ""InvoiceType"": ""SATIS"",
            ""InvoiceSerieOrNumber"": ""string"",
            ""IssueDate"": ""2024-04-03T07:58:33.397Z"",
            ""CurrencyCode"": ""string"",
            ""ExchangeRate"": 0,
            ""DespatchDocumentReference"": [
                {
                    ""IssueDate"": ""2024-04-03T07:58:33.397Z"",
                    ""Value"": ""string""
                }
            ],
            ""OrderReference"": {
                ""IssueDate"": ""2024-04-03T07:58:33.397Z"",
                ""Value"": ""string""
            },
            ""OrderReferenceDocument"": {
                ""ID"": ""string"",
                ""IssueDate"": ""2024-04-03T07:58:33.397Z"",
                ""DocumentType"": ""string"",
                ""DocumentTypeCode"": ""string"",
                ""DocumentDescription"": ""string"",
                ""Attachment"": {
                    ""Base64Data"": ""string"",
                    ""MimeCode"": ""string"",
                    ""FileName"": ""string""
                }
            },
            ""AdditionalDocumentReferences"": [
                {
                    ""ID"": ""string"",
                    ""IssueDate"": ""2024-04-03T07:58:33.397Z"",
                    ""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-03T07:58:33.397Z"",
                ""PayeeFinancialAccountID"": ""string"",
                ""Note"": ""string""
            },
            ""OKCInfo"": {
                ""ID"": ""string"",
                ""IssueDate"": ""2024-04-03T07:58:33.397Z"",
                ""Time"": ""string"",
                ""ZNo"": ""string"",
                ""EndPointID"": ""string"",
                ""DocumentDescription"": ""string""
            },
            ""ReturnInvoiceInfo"": [
                {
                    ""InvoiceNumber"": ""string"",
                    ""IssueDate"": ""2024-04-03T07:58:33.397Z""
                }
            ],
            ""Expenses"": [
                {
                    ""ExpenseType"": ""HKSKOMISYON"",
                    ""Percent"": 0,
                    ""Amount"": 0
                }
            ],
            ""ISDespatch"": true,
            ""SalesPlatform"": ""NORMAL"",
            ""SendType"": ""KAGIT"",
            ""InternetInfo"": {
                ""WebSite"": ""string"",
                ""PaymentMethod"": ""string"",
                ""PaymentMethodName"": ""string"",
                ""PaymentDate"": ""2024-04-03T07:58:33.397Z"",
                ""TransporterName"": ""string"",
                ""TransporterRegisterNumber"": ""string"",
                ""TransportDate"": ""2024-04-03T07:58:33.397Z""
            },
            ""AccountingCost"": ""string"",
            ""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""
        },
        ""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""
                    }
                ],
                ""ManufacturerCode"": ""string"",
                ""BrandName"": ""string"",
                ""ModelName"": ""string"",
                ""Note"": ""string"",
                ""OzelMatrahReason"": ""string"",
                ""OzelMatrahTotal"": 0,
                ""VatAmountWithoutTevkifat"": 0,
                ""AdditionalItemIdentification"": {
                    ""TagNumber"": ""string"",
                    ""OwnerName"": ""string"",
                    ""OwnerTaxNumber"": ""string""
                }
            }
        ],
        ""Notes"": [
            ""string""
        ]
    }
}";
request.AddStringBody(body, DataFormat.Json);
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://apitest.nilvera.com/earchive/Send/Model/Download/Pdf',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'POST',
  CURLOPT_POSTFIELDS =>'{
  "ArchiveInvoice": {
    "InvoiceInfo": {
      "UUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "TemplateUUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "TemplateBase64String": "string",
      "InvoiceType": "SATIS",
      "InvoiceSerieOrNumber": "string",
      "IssueDate": "2024-04-03T07:58:33.397Z",
      "CurrencyCode": "string",
      "ExchangeRate": 0,
      "DespatchDocumentReference": [
        {
          "IssueDate": "2024-04-03T07:58:33.397Z",
          "Value": "string"
        }
      ],
      "OrderReference": {
        "IssueDate": "2024-04-03T07:58:33.397Z",
        "Value": "string"
      },
      "OrderReferenceDocument": {
        "ID": "string",
        "IssueDate": "2024-04-03T07:58:33.397Z",
        "DocumentType": "string",
        "DocumentTypeCode": "string",
        "DocumentDescription": "string",
        "Attachment": {
          "Base64Data": "string",
          "MimeCode": "string",
          "FileName": "string"
        }
      },
      "AdditionalDocumentReferences": [
        {
          "ID": "string",
          "IssueDate": "2024-04-03T07:58:33.397Z",
          "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-03T07:58:33.397Z",
        "PayeeFinancialAccountID": "string",
        "Note": "string"
      },
      "OKCInfo": {
        "ID": "string",
        "IssueDate": "2024-04-03T07:58:33.397Z",
        "Time": "string",
        "ZNo": "string",
        "EndPointID": "string",
        "DocumentDescription": "string"
      },
      "ReturnInvoiceInfo": [
        {
          "InvoiceNumber": "string",
          "IssueDate": "2024-04-03T07:58:33.397Z"
        }
      ],
      "Expenses": [
        {
          "ExpenseType": "HKSKOMISYON",
          "Percent": 0,
          "Amount": 0
        }
      ],
      "ISDespatch": true,
      "SalesPlatform": "NORMAL",
      "SendType": "KAGIT",
      "InternetInfo": {
        "WebSite": "string",
        "PaymentMethod": "string",
        "PaymentMethodName": "string",
        "PaymentDate": "2024-04-03T07:58:33.397Z",
        "TransporterName": "string",
        "TransporterRegisterNumber": "string",
        "TransportDate": "2024-04-03T07:58:33.397Z"
      },
      "AccountingCost": "string",
      "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"
    },
    "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"
          }
        ],
        "ManufacturerCode": "string",
        "BrandName": "string",
        "ModelName": "string",
        "Note": "string",
        "OzelMatrahReason": "string",
        "OzelMatrahTotal": 0,
        "VatAmountWithoutTevkifat": 0,
        "AdditionalItemIdentification": {
          "TagNumber": "string",
          "OwnerName": "string",
          "OwnerTaxNumber": "string"
        }
      }
    ],
    "Notes": [
      "string"
    ]
  }
}',
  CURLOPT_HTTPHEADER => array(
    'Content-Type: application/json',
    'Authorization: Bearer <API KEY>'
  ),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
const axios = require('axios');
let data = JSON.stringify({
  "ArchiveInvoice": {
    "InvoiceInfo": {
      "UUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "TemplateUUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "TemplateBase64String": "string",
      "InvoiceType": "SATIS",
      "InvoiceSerieOrNumber": "string",
      "IssueDate": "2024-04-03T07:58:33.397Z",
      "CurrencyCode": "string",
      "ExchangeRate": 0,
      "DespatchDocumentReference": [
        {
          "IssueDate": "2024-04-03T07:58:33.397Z",
          "Value": "string"
        }
      ],
      "OrderReference": {
        "IssueDate": "2024-04-03T07:58:33.397Z",
        "Value": "string"
      },
      "OrderReferenceDocument": {
        "ID": "string",
        "IssueDate": "2024-04-03T07:58:33.397Z",
        "DocumentType": "string",
        "DocumentTypeCode": "string",
        "DocumentDescription": "string",
        "Attachment": {
          "Base64Data": "string",
          "MimeCode": "string",
          "FileName": "string"
        }
      },
      "AdditionalDocumentReferences": [
        {
          "ID": "string",
          "IssueDate": "2024-04-03T07:58:33.397Z",
          "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-03T07:58:33.397Z",
        "PayeeFinancialAccountID": "string",
        "Note": "string"
      },
      "OKCInfo": {
        "ID": "string",
        "IssueDate": "2024-04-03T07:58:33.397Z",
        "Time": "string",
        "ZNo": "string",
        "EndPointID": "string",
        "DocumentDescription": "string"
      },
      "ReturnInvoiceInfo": [
        {
          "InvoiceNumber": "string",
          "IssueDate": "2024-04-03T07:58:33.397Z"
        }
      ],
      "Expenses": [
        {
          "ExpenseType": "HKSKOMISYON",
          "Percent": 0,
          "Amount": 0
        }
      ],
      "ISDespatch": true,
      "SalesPlatform": "NORMAL",
      "SendType": "KAGIT",
      "InternetInfo": {
        "WebSite": "string",
        "PaymentMethod": "string",
        "PaymentMethodName": "string",
        "PaymentDate": "2024-04-03T07:58:33.397Z",
        "TransporterName": "string",
        "TransporterRegisterNumber": "string",
        "TransportDate": "2024-04-03T07:58:33.397Z"
      },
      "AccountingCost": "string",
      "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"
    },
    "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"
          }
        ],
        "ManufacturerCode": "string",
        "BrandName": "string",
        "ModelName": "string",
        "Note": "string",
        "OzelMatrahReason": "string",
        "OzelMatrahTotal": 0,
        "VatAmountWithoutTevkifat": 0,
        "AdditionalItemIdentification": {
          "TagNumber": "string",
          "OwnerName": "string",
          "OwnerTaxNumber": "string"
        }
      }
    ],
    "Notes": [
      "string"
    ]
  }
});
let config = {
  method: 'post',
  maxBodyLength: Infinity,
  url: 'https://apitest.nilvera.com/earchive/Send/Model/Download/Pdf',
  headers: { 
    'Content-Type': 'application/json', 
    'Authorization': 'Bearer <API KEY>'
  },
  data : data
};
axios.request(config)
.then((response) => {
  console.log(JSON.stringify(response.data));
})
.catch((error) => {
  console.log(error);
});

Ön izlenen faturayı pdf olarak indirir.

post
Authorizations
Body
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 /earchive/Send/Model/Download/Pdf HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 3683

{
  "ArchiveInvoice": {
    "InvoiceInfo": {
      "UUID": "123e4567-e89b-12d3-a456-426614174000",
      "TemplateUUID": "123e4567-e89b-12d3-a456-426614174000",
      "TemplateBase64String": "text",
      "InvoiceType": "SATIS",
      "InvoiceSerieOrNumber": "text",
      "IssueDate": "2025-05-18T12:57:01.547Z",
      "CurrencyCode": "text",
      "ExchangeRate": 1,
      "DespatchDocumentReference": [
        {
          "IssueDate": "2025-05-18T12:57:01.547Z",
          "Value": "text"
        }
      ],
      "OrderReference": {
        "IssueDate": "2025-05-18T12:57:01.547Z",
        "Value": "text"
      },
      "OrderReferenceDocument": {
        "ID": "text",
        "IssueDate": "2025-05-18T12:57:01.547Z",
        "DocumentType": "text",
        "DocumentTypeCode": "text",
        "DocumentDescription": "text",
        "Attachment": {
          "Base64Data": "text",
          "MimeCode": "text",
          "FileName": "text"
        }
      },
      "AdditionalDocumentReferences": [
        {
          "ID": "text",
          "IssueDate": "2025-05-18T12:57:01.547Z",
          "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-05-18T12:57:01.547Z",
        "PayeeFinancialAccountID": "text",
        "Note": "text"
      },
      "OKCInfo": {
        "ID": "text",
        "IssueDate": "2025-05-18T12:57:01.547Z",
        "Time": "text",
        "ZNo": "text",
        "EndPointID": "text",
        "DocumentDescription": "text"
      },
      "ESUReportInfo": {
        "ID": "text",
        "IssueDate": "2025-05-18T12:57:01.547Z"
      },
      "InvoicePeriod": {
        "StartDate": "2025-05-18T12:57:01.547Z",
        "StartTime": "text",
        "EndDate": "2025-05-18T12:57:01.547Z",
        "EndTime": "text",
        "DurationMeasureValue": 1,
        "Description": "text"
      },
      "ReturnInvoiceInfo": [
        {
          "InvoiceNumber": "text",
          "IssueDate": "2025-05-18T12:57:01.547Z"
        }
      ],
      "Expenses": [
        {
          "ExpenseType": "HKSKOMISYON",
          "Percent": 1,
          "Amount": 1
        }
      ],
      "ISDespatch": true,
      "SalesPlatform": "NORMAL",
      "SendType": "KAGIT",
      "InternetInfo": {
        "WebSite": "text",
        "PaymentMethod": "text",
        "PaymentMethodName": "text",
        "PaymentAgentName": "text",
        "PaymentDate": "2025-05-18T12:57:01.547Z",
        "TransporterName": "text",
        "TransporterRegisterNumber": "text",
        "TransportDate": "2025-05-18T12:57:01.547Z"
      },
      "AccountingCost": "text",
      "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"
    },
    "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"
          }
        ],
        "ManufacturerCode": "text",
        "BrandName": "text",
        "ModelName": "text",
        "Note": "text",
        "SerialID": "text",
        "OzelMatrahReason": "text",
        "OzelMatrahTotal": 1,
        "VatAmountWithoutTevkifat": 1,
        "TechSupport": {
          "IMEINumbers": [
            "text"
          ],
          "IsTabletOrPc": true
        },
        "ExportRegisteredInfo": {
          "DIIBLineCode": "text",
          "GTIPNo": "text"
        },
        "AdditionalItemIdentification": {
          "TagNumber": "text",
          "OwnerName": "text",
          "OwnerTaxNumber": "text"
        }
      }
    ],
    "Notes": [
      "text"
    ]
  }
}
text