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
  • GİB CODE LISTS
Powered by GitBook
On this page
  1. NİLVERA MODEL
  2. ELedger

Eledger Properties

    public class ELedgerPropertiesDto
    {
        public string Nace { get; set; }
        public string Creator { get; set; }
        public string CurrencyCode  { get; set; }
        public TaxType TaxType { get; set; }
        public int LineCount { get; set; } = 15000;
        public bool IsBranch { get; set; } = false;
        public string BranchName { get; set; }
        public string BranchNumber { get; set; } = "0000";
        public bool LedgerPeriod { get; set; }
        public DateTime FiscalYearStart { get; set; }
        public DateTime FiscalYearEnd { get; set; }
        public AccountingPeriod AccountingPeriod { get; set; }
        public bool IsLiquidate { get; set; }
        public bool BalanceControl { get; set; } = true;
        public bool PaymentMethodControl { get; set; } = true;
        public DateTime? LiquidateYearStart { get; set; }
        public SignMethod SignMethod { get; set; }
        public bool SplitBillControl { get; set; }
        public bool DocumentNumberControl { get; set; }
        public bool AutoNumberControl { get; set; }
        public bool DateDifferenceValidControl { get; set; }
        public bool OpeningVoucherControl { get; set; }
        public bool AutoPaymentMethodControl { get; set; }
    }
       
    public enum TaxType
    {
        IncludeTax = 1,
        ExcludeTax = 2
    }
    
    public enum AccountingPeriod
    {
        AccountingPeriod = 0,
        InterimAccountingPeriod = 1,
        SpecialAccountingPeriod =2
    }
    
    public enum SignMethod
    {
        SmartCard = 1,
        Hsm = 2
    }
    

ELedgerPropertiesDto Class Descriptions

The ELedger Properties Dto class is a data transfer object used to represent ledger settings.

Properties:

  1. Nace

    • Type: String

    • Description: A system used in the European Union to code economic activities. Defines the field of activity of the business.

    • Example: Code 620201 represents software programming activities.

  2. Creator

    • Type: String

    • Description: Indicates the name of the person who created the ledger.

    • Example: Batuhan Öner

  3. CurrencyCode

    • Type: String

    • Description: Indicates the currency type.

    • Example: TRY

  4. LineCount

    • Type: Integer

    • Description: Indicates the total number of rows in the accounting e-ledger CSV model.

    • Example: 12000

  5. TaxType

    • Type: TaxType (Enum)

    • Description: Indicates the type of tax.

    • Example: IncludeTax – enables creation of the ledger with tax details.

    • Example: ExcludeTax – enables creation of the ledger without tax details.

  6. IsBranch

    • Type: Boolean

    • Description: Indicates whether the business is a branch.

    • Example: false (if not a branch)

  7. BranchName

    • Type: String

    • Description: Indicates the name of the branch.

    • Example: null (if not a branch)

  8. BranchNumber

    • Type: String

    • Description: Indicates the number of the branch.

    • Example: null (if not a branch)

  9. LedgerPeriod

    • Type: Boolean

    • Description: Indicates whether the ledger is submitted monthly or quarterly.

    • Example: true (ledger is submitted monthly)

    • Example: false (ledger is submitted quarterly)

  10. FiscalYearStart

    • Type: DateTime

    • Description: Indicates the start date of the fiscal year.

    • Example: 2023-01-01T00:00:00 (start of the year 2023)

  11. FiscalYearEnd

    • Type: DateTime

    • Description: Indicates the end date of the fiscal year.

    • Example: 2023-12-31T00:00:00 (end of the year 2023)

  12. AccountingPeriod

    • Type: AccountingPeriod (Enum)

    • Description: Indicates the accounting period.

    • Example: AccountingPeriod (normal period)

    • Example: InterimAccountingPeriod (liquidation period)

    • Example: SpecialAccountingPeriod (special period)

  13. IsLiquidate

    • Type: Boolean

    • Description: Indicates whether the company is in liquidation.

    • Example: false (if not bankrupt)

  14. BalanceControl

    • Type: Boolean

    • Description: Used to detect and display errors in the ledger trial balance.

    • Example: true (Trial Balance Control Enabled)

    • Example: false (Trial Balance Control Disabled)

  15. PaymentMethodControl

    • Type: Boolean

    • Description: Checks whether the payment method is specified when one of the accounts 100, 101, 102, 103, 108, 121, 321 is used.

    • Example: true (Payment Method Control Enabled)

    • Example: false (Payment Method Control Disabled)

  16. LiquidateYearStart

    • Type: Nullable

    • Description: Indicates the start date of the liquidation year.

    • Example: 0001-01-01T00:00:00 (if not bankrupt)

  17. SignMethod

    • Type: Enum

    • Description: Indicates the signing tool.

    • Example: SmartCard (E-Signature/Financial Seal)

    • Example: Hsm (Company Signature)

  18. SplitBillControl

    • Type: Boolean

    • Description: Automatically splits entries if different document numbers are found in a single voucher.

    • Example: true (Auto Split Entry Enabled)

    • Example: false (Auto Split Entry Disabled)

  19. DocumentNumberControl

    • Type: Boolean

    • Description: Checks if each document has a complete document number, type, and date.

    • Example: true (Document Number Control Enabled)

    • Example: false (Document Number Control Disabled)

  20. AutoNumberControl

    • Type: Boolean

    • Description: Voucher numbers are assigned by the system regardless of the ERP you use, and numbering continues automatically.

    • Example: true (Auto Voucher Numbering Enabled)

    • Example: false (Auto Voucher Numbering Disabled)

  21. DateDifferenceValidControl

    • Type: Boolean

    • Description: Throws an error if the difference between the voucher date and the document date exceeds 10 days.

    • Example: true (Document Date Control Enabled)

    • Example: false (Document Date Control Disabled)

  22. OpeningVoucherControl

    • Type: Boolean

    • Description: Checks whether the first voucher of the first month of the fiscal period is an opening voucher.

    • Example: true (Opening Voucher Control Enabled)

    • Example: false (Opening Voucher Control Disabled)

  23. AutoPaymentMethodControl

    • Type: Boolean

    • Description: Automatically determines the payment method based on account plan codes.

    • Example: true (Auto Payment Method Enabled)

    • Example: false (Auto Payment Method Disabled)

PreviousELedgerNextAccounting

Last updated 1 month ago