Site.pro Site.pro
  • AI Website BuilderAI Website Builder
    • AI Website BuilderAI Website Builder
    • Online StoresOnline Stores
    • PricesPrices
    • CollaborationCollaboration
    • Website ImportWebsite Import
    • PluginsPlugins
    • Website BuilderWebsite Builder
    • TemplatesTemplates
    • For Design StudiosFor Design Studios
    • Useful LinksUseful Links
    • Affiliate ProgramAffiliate Program
    • We Build for YouWe Build for You
    • ExamplesExamples
    • LanguagesLanguages
  • DomainsDomains
    • Register Domain NameRegister Domain Name
    • Migrate DomainsMigrate Domains
    • For Domain InvestorsFor Domain Investors
    • Domain ZonesDomain Zones
    • DomainityDomainity
    • FAQ: DomainsFAQ: Domains
    • Popular Domain ZonesPopular Domain Zones
    • .com.com
    • .org.org
    • .net.net
    • .us.us
    • .co.co
  • EmailEmail
    • Free EmailFree Email
    • Email for BusinessEmail for Business
    • PricesPrices
    • Transfer EmailsTransfer Emails
    • Custom Domain EmailCustom Domain Email
    • FAQ: EmailFAQ: Email
    • Popular FAQsPopular FAQs
    • Email SetupEmail Setup
    • Auto ReplyAuto Reply
    • Auto ForwardingAuto Forwarding
    • Spam ProtectionSpam Protection
  • Accounting SoftwareAccounting Software
    • Accounting SoftwareAccounting Software
    • ModulesModules
    • PricesPrices
    • Integrations, APIIntegrations, API
    • Accounting Companies (389)Accounting Companies (389)
    • Software Integrators (52)Software Integrators (52)
    • Affiliate PartnersAffiliate Partners
    • Useful LinksUseful Links
    • Business TypesBusiness Types
    • Use CasesUse Cases
    • Accounting CompaniesAccounting Companies
    • Sole ProprietorSole Proprietor
    • InvoicingInvoicing
    • FarmerFarmer
    • E-commerceE-commerce
  • For ResellersFor Resellers
    • White LabelWhite Label
    • Revenue ShareRevenue Share
    • PricesPrices
    • PanelsPanels
    • How it WorksHow it Works
    • Marketing MaterialsMarketing Materials
    • Mass ImportMass Import
    • Our PartnersOur Partners
    • Reselling ExamplesReselling Examples
    • DocumentationDocumentation
    • Free WebsitesFree Websites
  • LearnLearn
    • Knowledge BaseKnowledge Base
    • BlogBlog
    • Growth HackingGrowth Hacking
    • For HostingsFor Hostings
    • For EducationFor Education
    • Website Сreation TutorialWebsite Сreation Tutorial
    • Teaching Institutions (69)Teaching Institutions (69)
    • Accounting Courses WorldwideAccounting Courses Worldwide
  • AI Website BuilderAI Website Builder
    • AI Website BuilderAI Website BuilderAI creates websites for you
    • Online StoresOnline StoresBuild online stores
    • PricesPricesAdvanced Features
    • CollaborationCollaborationCo-create websites live
    • Website ImportWebsite ImportImport Any Website
    • PluginsPluginsBuilder plugin and functions
    • Website BuilderWebsite BuilderKey Features
    • TemplatesTemplates200+ Awesome Templates
    • For Design StudiosFor Design StudiosBenefits for Design Studios
    • Useful LinksUseful Links
    • Affiliate ProgramAffiliate Program
    • We Build for YouWe Build for You
    • ExamplesExamples
    • LanguagesLanguages
  • DomainsDomains
    • Register Domain NameRegister Domain NameDomain registration, parking, transfer
    • Migrate DomainsMigrate DomainsTransfer. Connect. Renew
    • For Domain InvestorsFor Domain InvestorsDiscount on all domains
    • Domain ZonesDomain ZonesBuy New Domain Name
    • DomainityDomainityDomain usage by country
    • FAQ: DomainsFAQ: DomainsFind Answer
    • Popular Domain ZonesPopular Domain Zones
    • .com.com
    • .org.org
    • .net.net
    • .us.us
    • .co.co
  • EmailEmail
    • Free EmailFree EmailCreate email
    • Email for BusinessEmail for BusinessAdvanced features & protection
    • PricesPricesCheap email hosting
    • Transfer EmailsTransfer EmailsMigrate your mailboxes
    • Custom Domain EmailCustom Domain EmailEmail address with your domain
    • FAQ: EmailFAQ: EmailFind Answer
    • Popular FAQsPopular FAQs
    • Email SetupEmail Setup
    • Auto ReplyAuto Reply
    • Auto ForwardingAuto Forwarding
    • Spam ProtectionSpam Protection
  • Accounting SoftwareAccounting Software
    • Accounting SoftwareAccounting SoftwareCloud based ERP
    • ModulesModulesMain accounting software modules
    • PricesPrices30 days free trial
    • Integrations, APIIntegrations, APIIntegration with external systems
    • Accounting Companies (389)Accounting Companies (389)Choose your partner for accounting
    • Software Integrators (52)Software Integrators (52)Pick your integrations partner
    • Affiliate PartnersAffiliate PartnersPartners and Affiliate program
    • Useful LinksUseful LinksCalculators and Calendars
    • Business TypesBusiness TypesUse Cases
    • Use CasesUse Cases
    • Accounting CompaniesAccounting Companies
    • Sole ProprietorSole Proprietor
    • InvoicingInvoicing
    • FarmerFarmer
    • E-commerceE-commerce
  • For ResellersWhite LabelFor ResellersWhite Label
    • White LabelWhite LabelCustomise Builder
    • Revenue ShareRevenue ShareEarn 50% from each upgrade
    • PricesPricesRevenue Share. White Label
    • PanelsPanelsOne product for all platforms
    • How it WorksHow it WorksCloud or On-Premises
    • Marketing MaterialsMarketing MaterialsVideo. Mockups. Blocks
    • Mass ImportMass Import
    • Our PartnersOur Partners
    • Reselling ExamplesReselling Examples
    • DocumentationDocumentation
    • Free WebsitesFree Websites
  • LearnLearn
    • Knowledge BaseKnowledge BaseFAQ, Tutorial, Video
    • BlogBlogSite.pro Blog
    • Growth HackingGrowth HackingBoost your sales
    • For HostingsFor HostingsTips on marketing
    • For EducationFor EducationTraining. Tutorials
    • Website Сreation TutorialWebsite Сreation Tutorial
    • Teaching Institutions (69)Teaching Institutions (69)
    • Accounting Courses WorldwideAccounting Courses Worldwide
  • RegisterRegister
    Site.pro

    Create Your Account

    Get started — free and easy!

    Register

    By registering, you accept our Terms of Service
  • Log inLog in
    Site.pro

    Welcome back!

    Access your work space

    Log in

    New user? Create account
    Forgot password?
  • $
    $
  • EnglishEnglish
  • AI Website Builder (360)
    • Managing Website (24)
    • Website Builder (312)
      • Website creation (71)
      • Text (14)
      • Pictures (8)
      • Additional (8)
      • Media (15)
      • Social (13)
      • SEO (23)
      • Import (8)
      • Commerce (87)
      • Maps (12)
      • Advanced (19)
      • Forms (7)
      • Errors (23)
      • Custom plugins (4)
    • Web Design Studio (5)
    • Affiliate Program (9)
    • Education (10)
  • Account & Billing (38)
    • Account / Profile (8)
    • Payments (9)
  • Domains (46)
    • Purchasing (20)
    • Domain Investors (1)
    • Connecting (25)
  • Accounting Software (767)
    • Dashboard (company) (19)
    • Clients (11)
    • Warehouse (133)
      • Sales (57)
      • Simplified invoicing (6)
      • Client prices (1)
      • Automatic invoicing (1)
      • Purchases (33)
      • Sales return (5)
      • Item stock (1)
      • Item movement (1)
      • Consignment balance (2)
      • Inventory (1)
      • Revalue (1)
      • Internal movement confirmation (1)
      • E-commerce (17)
      • Cash register sales (6)
    • General ledger (32)
      • General register (16)
      • Doc. settlement (2)
      • Period closure (1)
      • Currency exchange rate range (2)
      • Currency exchange rate adjustment (1)
      • Financial accountability articles (2)
      • Cost centers (2)
      • Chart of accounts (4)
    • Bank (30)
      • Bank (11)
      • Bank link with cor. account (1)
      • Import statements (15)
      • SEPA payments (3)
    • Cashier (5)
      • Cashier (3)
      • Money receiving receipts (1)
      • Reference book (1)
    • Reports (37)
      • Inventory report (8)
      • General ledger reports (10)
      • Ind. activity report (1)
      • Sales-purchases (5)
      • Debt management (5)
      • Balances / PLN (2)
      • Other reports (3)
    • Personnel (28)
      • Employees (22)
      • Requests (1)
      • CV (1)
      • Reference book (4)
        • Job positions (2)
        • Request types (2)
    • Reference book (23)
      • Item cards (6)
      • Warehouse (9)
        • Warehouses (4)
        • Operation types (5)
      • Intrastat (2)
      • Locations (1)
      • Banks (1)
      • Currencies (3)
      • Currency exchange rates (1)
    • Production (5)
      • Technological cards (1)
      • Production from technological cards (2)
      • Bundle / debundle (2)
    • Assets (17)
      • Long-term assets (15)
      • Low value assets (1)
      • General report (1)
    • Documents (41)
      • Orders (20)
        • Orders (13)
        • Order attributes (5)
        • Daily allowance (2)
      • Insurance (2)
      • Agreements (1)
      • Emails registry (2)
      • Outgoing mail register (1)
      • Incoming / Outgoing document register (1)
      • Annual leave (10)
        • Accumulated holiday days (2)
        • Vacation balances (7)
      • Incapacity certificate (2)
      • Internal documents (2)
    • Salary (55)
      • Payroll (28)
      • Timesheets (7)
      • Work schedule (1)
      • Wage prints (15)
      • Reference book (3)
        • Wage codes (Registers) (2)
    • Declaration (35)
      • Generate declarations (19)
      • Declaration signs (1)
      • i.VAZ (3)
      • i.SAF (5)
      • SAF-T (1)
      • GPAIS (6)
    • Settings (157)
      • Settings (32)
        • System and logos (6)
        • Sales (6)
        • Accounting (7)
        • Declarations (1)
        • Data exchange (2)
        • Users / employees (1)
        • Invoices recognition (2)
        • Additional employee attributes (1)
        • Additional item attributes (1)
        • Additional sale attributes (1)
        • Approval of documents (1)
        • Self-employed (1)
        • Sending invoices by email (2)
      • Integrations (108)
        • API (17)
          • API for e-commerce (8)
          • API simplified (5)
        • Artificial Intelligence Assistant (3)
        • Plugins for E-shops (7)
          • WooCommerce (4)
          • PrestaShop (1)
          • Opencart (1)
          • Adobe Commerce (Magento) (1)
        • Trading Platforms (23)
          • Allegro (1)
          • eBay (2)
          • Amazon (3)
          • Shopify (5)
          • Etsy (5)
          • Site.pro (3)
          • Varle.lt (1)
          • Verskis (1)
          • Pigu.lt (1)
        • Cash registers (16)
          • Čekis cash register (1)
          • Paysera POS (1)
          • Raso cash registers (11)
          • Restera (1)
          • nSoft (1)
        • Automatic import of bank statements (6)
        • Creditonline.eu (1)
        • MIP (6)
        • Analytics (2)
      • Data import (17)
    • Account (138)
      • Dashboard (26)
      • Companies and users (31)
      • File upload (8)
      • Employee account (5)
      • My data (22)
      • Affiliate program (4)
      • Invites (3)
      • Reminders (1)
      • Robots (5)
      • Support (7)
        • How to book the program training? (1)
      • Statistics (4)
      • Other information (22)
  • Mailboxes (30)
  • For Resellers (140)
    • Brand (Cloud, On-Premises) (34)
      • Cloud (6)
      • On-Premises (28)
    • License (46)
    • Installation (26)
      • Website Builder (21)
      • Website Builder Plugin (5)
    • Hosting/Billing Panels (34)
      • WHMCS (6)
      • cPanel (6)
      • DirectAdmin (9)
      • ISPmanager (3)
      • Plesk (6)
      • Webuzo (2)
      • Control Web Panel (2)

Table of Contents:

Category
Search
Filter
  • All (1436)
  • AI Website Builder (376)
  • Domains (94)
  • Mailboxes (74)
  • Accounting Software (863)
  • For Resellers (472)
  • Table of Contents:

    How to create a general journal entry via the API?
    A General Register (GR) entry is created via the API using two endpoints: general-ledger-cards/cards/create creates the document header, and general-ledger-cards/items/create creates the debit and credit lines. Note. The endpoints general-ledgers and general-ledger/general-ledger-items previously used to create GR entries are deprecated and are no longer in the API documentation. They will function until 2027-06-01. How to create a GR entry To create a document header, call general-ledger-cards/cards/create and specify the date date (format yyyy-MM-dd) and the document number number. Use the data.id returned in the response as the document identifier generalLedgerId. The document created is always of the GR type.To create the first line, call general-ledger-cards/items/create and specify generalLedgerId, clientId, typeId (D or K), correspondenceAccountId, sum, and exchangeRateId. In the same request, pass the primary object—the opposite side line with the opposite typeId and the same exchangeRateId.Create each additional line using the same general-ledger-cards/items/create endpoint by specifying the generalLedgerId of the same document, and either do not pass primary or pass null. The primary line sum is recalculated according to all details. The created entry is visible under General ledger → General register, and the header and lines can be checked using the general-ledger-cards/cards/list and general-ledger-cards/items/list endpoints. Request examples Header: { "date": "2026-11-06", "number": "GL-001" } First line with the opposite side line (primary object): { "generalLedgerId": 123, "clientId": 20, "typeId": "K", "correspondenceAccountId": 40, "sum": 100, "exchangeRateId": 1, "primary": { "clientId": 20, "typeId": "D", "correspondenceAccountId": 30, "exchangeRateId": 1 } } Entry with all lines in one request If you want the header and all lines to be created at the same time, pass an array of lines items to general-ledger-cards/cards/create. The first element of the array must contain primary; the others do not pass it. If at least one line fails, the entire request is cancelled, and neither the header nor the lines are created. The response returns the document data.id and a list of line identifiers data.itemIds. { "date": "2026-11-06", "number": "GL-001", "items": [ { "clientId": 20, "typeId": "K", "correspondenceAccountId": 40, "sum": 100, "exchangeRateId": 1, "primary": { "clientId": 20, "typeId": "D", "correspondenceAccountId": 30, "exchangeRateId": 1 } }, { "clientId": 20, "typeId": "K", "correspondenceAccountId": 41, "sum": 50, "exchangeRateId": 1 } ] } Line fields FieldTypeMandatoryDescriptiongeneralLedgerIdNumberYesDocument identifier returned after header creation.clientIdNumberYesClient identifier.typeIdStringYesLine side: D (debit) or K (credit).correspondenceAccountIdNumberYesCorrespondence account identifier.sumNumberYesAmount with two decimal places.sumInBaseCurrencyNumberNoAmount in the company's base currency, two decimal places; if specified, it must match the calculated amount.exchangeRateIdNumberYesExchange rate identifier; must match on both sides.primaryObjectYes in first requestOpposite side line; not passed in subsequent requests.isPrimaryBooleanNoIf passed, must be false.coverIdNumberNoIdentifier of the covered GR line.costCenterIdNumberNoCost center identifier.noteStringNoNote. Rules A single document can contain only one primary line. A request with another primary object or with isPrimary: true will return a validation error, and already created lines will not be changed.The header can remain without lines, but a primary line cannot be created separately—it is created only together with the first line. general-ledger-cards/cards/update is for document adjustment (it also changes the primary line fields), while general-ledger-cards/items/update is for lines. general-ledger-cards/cards/delete and general-ledger-cards/items/delete are used for deletion. Settlement In a line that settles an existing document, the coverId field indicates the identifier of the settled GR line. A separate endpoint general-ledger/settlements/settle is intended for settling open GR lines, to which groups of line identifiers are passed. Note. You can find the client identifier via clients/list, the correspondence account identifier via reference-book/correspondence-accounts/list, and the exchange rate identifier via reference-book/exchange-rates/list.
    FAQ
    ›
    Accounting Software
    ›
    General ledger
    Accounting Software

    How to create a general journal entry via the API?

    A General Register (GR) entry is created via the API using two endpoints: general-ledger-cards/cards/create creates the document header, and general-ledger-cards/items/create creates the debit and credit lines.

    Note. The endpoints general-ledgers and general-ledger/general-ledger-items previously used to create GR entries are deprecated and are no longer in the API documentation. They will function until 2027-06-01.

    How to create a GR entry

    1. To create a document header, call general-ledger-cards/cards/create and specify the date date (format yyyy-MM-dd) and the document number number. Use the data.id returned in the response as the document identifier generalLedgerId. The document created is always of the GR type.
    2. To create the first line, call general-ledger-cards/items/create and specify generalLedgerId, clientId, typeId (D or K), correspondenceAccountId, sum, and exchangeRateId. In the same request, pass the primary object—the opposite side line with the opposite typeId and the same exchangeRateId.
    3. Create each additional line using the same general-ledger-cards/items/create endpoint by specifying the generalLedgerId of the same document, and either do not pass primary or pass null. The primary line sum is recalculated according to all details.

    The created entry is visible under General ledger → General register, and the header and lines can be checked using the general-ledger-cards/cards/list and general-ledger-cards/items/list endpoints.

    Request examples

    Header:

    {
      "date": "2026-11-06",
      "number": "GL-001"
    }

    First line with the opposite side line (primary object):

    {
      "generalLedgerId": 123,
      "clientId": 20,
      "typeId": "K",
      "correspondenceAccountId": 40,
      "sum": 100,
      "exchangeRateId": 1,
      "primary": {
        "clientId": 20,
        "typeId": "D",
        "correspondenceAccountId": 30,
        "exchangeRateId": 1
      }
    }

    Entry with all lines in one request

    If you want the header and all lines to be created at the same time, pass an array of lines items to general-ledger-cards/cards/create. The first element of the array must contain primary; the others do not pass it. If at least one line fails, the entire request is cancelled, and neither the header nor the lines are created. The response returns the document data.id and a list of line identifiers data.itemIds.

    {
      "date": "2026-11-06",
      "number": "GL-001",
      "items": [
        {
          "clientId": 20,
          "typeId": "K",
          "correspondenceAccountId": 40,
          "sum": 100,
          "exchangeRateId": 1,
          "primary": {
            "clientId": 20,
            "typeId": "D",
            "correspondenceAccountId": 30,
            "exchangeRateId": 1
          }
        },
        {
          "clientId": 20,
          "typeId": "K",
          "correspondenceAccountId": 41,
          "sum": 50,
          "exchangeRateId": 1
        }
      ]
    }

    Line fields

    FieldTypeMandatoryDescription
    generalLedgerIdNumberYesDocument identifier returned after header creation.
    clientIdNumberYesClient identifier.
    typeIdStringYesLine side: D (debit) or K (credit).
    correspondenceAccountIdNumberYesCorrespondence account identifier.
    sumNumberYesAmount with two decimal places.
    sumInBaseCurrencyNumberNoAmount in the company's base currency, two decimal places; if specified, it must match the calculated amount.
    exchangeRateIdNumberYesExchange rate identifier; must match on both sides.
    primaryObjectYes in first requestOpposite side line; not passed in subsequent requests.
    isPrimaryBooleanNoIf passed, must be false.
    coverIdNumberNoIdentifier of the covered GR line.
    costCenterIdNumberNoCost center identifier.
    noteStringNoNote.

    Rules

    • A single document can contain only one primary line. A request with another primary object or with isPrimary: true will return a validation error, and already created lines will not be changed.
    • The header can remain without lines, but a primary line cannot be created separately—it is created only together with the first line.

    general-ledger-cards/cards/update is for document adjustment (it also changes the primary line fields), while general-ledger-cards/items/update is for lines. general-ledger-cards/cards/delete and general-ledger-cards/items/delete are used for deletion.

    Settlement

    In a line that settles an existing document, the coverId field indicates the identifier of the settled GR line. A separate endpoint general-ledger/settlements/settle is intended for settling open GR lines, to which groups of line identifiers are passed.

    Note. You can find the client identifier via clients/list, the correspondence account identifier via reference-book/correspondence-accounts/list, and the exchange rate identifier via reference-book/exchange-rates/list.

    © Site.pro 2011. Website Builder. United States.
    Contact SalesContact SalesTerms of ServiceTerms of ServicePrivacy PolicyPrivacy PolicyCookie SettingsCookie Settings