{"openapi":"3.0.0","servers":[{"description":"NetAccounting URL","url":"https://netaccounting.hu/rest/queryReport"},{"description":"SwaggerHub API Auto Mocking","url":"https://virtserver.swaggerhub.com/NetAccounting/Reporting/1.0.0"}],"info":{"version":"1.0.0","title":"Accounting API","description":"The API for the Accounting system.\n\nEvery report endpoint is served by the generic POST /{reportType} resource, so all report\nendpoints share the same behaviour:\n\n**reportClass**: the requested output format. Accepted values (where the given report supports it):\nPDF, XML, XLSX, JSON, CSV, DOC, TXT, ZIP.\n\n**responseType**:\n* FILE (default) - the file is returned directly in the response body\n* BASE64 - the response is a JSON: `{\"fileView\": \"<base64>\", \"filename\": \"<name>\"}`\n* URL - the report is generated in the background, the response is `{\"url\": \".../rest/queryReport/getReport/<id>\"}`,\n  the file can be downloaded (once) from the returned URL\n* EMAIL - the report is generated in the background and a download link is sent by e-mail.\n  The body must contain the `emailAddress` (or `userID`) field.\n\n**Common (optional) request body fields accepted by every report**, next to the report\nspecific fields (see the `commonReportOptions` schema): `dateFrom`/`dateTill` (also accepted as\n`fromDate`/`tillDate`, `from`/`till`, `datefrom`/`datetill`), `apid`/`selectAPID`, `userID`,\n`emailAddress`, `mailContent`, `fileName`, `showTaxNumberOnFileName`, `save`, `path`,\n`encoding` (CSV only).\n\n**Error response**: on report generation problems the response is `200` with a JSON body\n`{\"errorString\": \"<message>\"}`.\n"},"paths":{"/trialBalance":{"post":{"summary":"Receive the trial balance","description":"You can get the trial balance in different formats","parameters":[{"in":"query","name":"reportClass","schema":{"type":"string","enum":["PDF","XLSX","JSON"]},"required":true},{"in":"query","name":"responseType","schema":{"type":"string","enum":["URL","FILE","BASE64","EMAIL"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/trial"}}}},"responses":{"200":{"description":"return of report in given format"},"401":{"description":"not authorized"},"406":{"description":"not acceptable reportClass"}}}},"/ledgerFlow":{"post":{"summary":"Receive the ledger flow statement","description":"You can get the ledger flow statement in different formats","parameters":[{"in":"query","name":"reportClass","schema":{"type":"string","enum":["PDF","XLSX","CSV","JSON"]},"required":true},{"in":"query","name":"responseType","schema":{"type":"string","enum":["URL","FILE","BASE64","EMAIL"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ledger"}}}},"responses":{"200":{"description":"return of report in given format"},"401":{"description":"not authorized"},"406":{"description":"not acceptable reportClass"}}}},"/vatAnalysis":{"post":{"summary":"Receive the vat analysis","description":"You can get the vat analysis in different formats","parameters":[{"in":"query","name":"reportClass","schema":{"type":"string","enum":["PDF","XLSX","JSON"]},"required":true},{"in":"query","name":"responseType","schema":{"type":"string","enum":["URL","FILE","BASE64","EMAIL"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/vatanalysis"}}}},"responses":{"200":{"description":"return of report in given format"},"401":{"description":"not authorized"},"406":{"description":"not acceptable reportClass"}}}},"/partnerAccount":{"post":{"summary":"Receive the partner account statement","description":"You can get the partner account statement in different formats","parameters":[{"in":"query","name":"reportClass","schema":{"type":"string","enum":["PDF","XLSX","CSV","JSON"]},"required":true},{"in":"query","name":"responseType","schema":{"type":"string","enum":["URL","FILE","BASE64","EMAIL"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/partneraccount"}}}},"responses":{"200":{"description":"return of report in given format"},"401":{"description":"not authorized"},"406":{"description":"not acceptable reportClass"}}}},"/partnerAccountDate":{"post":{"summary":"Receive the partner account statement by due date","description":"You can get the partner account statement in different formats","parameters":[{"in":"query","name":"reportClass","schema":{"type":"string","enum":["PDF","XLSX"]},"required":true},{"in":"query","name":"responseType","schema":{"type":"string","enum":["URL","FILE","BASE64","EMAIL"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/partneraccountdate"}}}},"responses":{"200":{"description":"return of report in given format"},"401":{"description":"not authorized"},"406":{"description":"not acceptable reportClass"}}}},"/auditXML":{"post":{"summary":"Receive the audit xml","parameters":[{"in":"query","name":"reportClass","schema":{"type":"string","enum":["XML"]},"required":true},{"in":"query","name":"responseType","schema":{"type":"string","enum":["URL","FILE","BASE64","EMAIL"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/auditxml"}}}},"responses":{"200":{"description":"return of report in given format"},"401":{"description":"not authorized"},"406":{"description":"not acceptable reportClass"}}}},"/reportOSS":{"post":{"summary":"Receive the OSS report from the system","parameters":[{"in":"query","name":"reportClass","schema":{"type":"string","enum":["XLSX"]},"required":true},{"in":"query","name":"responseType","schema":{"type":"string","enum":["URL","FILE","BASE64","EMAIL"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/reportOSS"}}}},"responses":{"200":{"description":"return of report in given format"},"401":{"description":"not authorized"},"406":{"description":"not acceptable reportClass"}}}},"/secondDimension":{"post":{"summary":"Receive the CostHolder or CostCenter report from the system","parameters":[{"in":"query","name":"reportClass","schema":{"type":"string","enum":["XLSX","PDF"]},"required":true},{"in":"query","name":"responseType","schema":{"type":"string","enum":["URL","FILE","BASE64","EMAIL"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/secondDimension"}}}},"responses":{"200":{"description":"return of report in given format"},"401":{"description":"not authorized"},"406":{"description":"not acceptable reportClass"}}}},"/vatReturn":{"post":{"summary":"Receive the VatReturn statement from the system","parameters":[{"in":"query","name":"reportClass","schema":{"type":"string","enum":["XLSX","PDF","XML"]},"required":true},{"in":"query","name":"responseType","schema":{"type":"string","enum":["URL","FILE","BASE64","EMAIL"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/vatReturn"}}}},"responses":{"200":{"description":"return of report in given format"},"401":{"description":"not authorized"},"406":{"description":"not acceptable reportClass"}}}},"/communityVatReturn":{"post":{"summary":"Receive the Community VatReturn statement from the system","parameters":[{"in":"query","name":"reportClass","schema":{"type":"string","enum":["XLSX","PDF","XML"]},"required":true},{"in":"query","name":"responseType","schema":{"type":"string","enum":["URL","FILE","BASE64","EMAIL"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/communityVatReturn"}}}},"responses":{"200":{"description":"return of report in given format"},"401":{"description":"not authorized"},"406":{"description":"not acceptable reportClass"}}}},"/navReport":{"post":{"summary":"Receive the NAV report from the system","parameters":[{"in":"query","name":"reportClass","schema":{"type":"string","enum":["XLSX","JSON"]},"required":true},{"in":"query","name":"responseType","schema":{"type":"string","enum":["URL","FILE","BASE64","EMAIL"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/navReport"}}}},"responses":{"200":{"description":"return of report in given format"},"401":{"description":"not authorized"},"406":{"description":"not acceptable reportClass"}}}},"/partnerList":{"post":{"summary":"Receive the attached partner list to the organisation","parameters":[{"in":"query","name":"reportClass","schema":{"type":"string","enum":["JSON"]},"required":true},{"in":"query","name":"responseType","schema":{"type":"string","enum":["URL","FILE","BASE64","EMAIL"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/partnerList"}}}},"responses":{"200":{"description":"return of report in given format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/partnerListResult"}}}},"401":{"description":"not authorized"},"406":{"description":"not acceptable reportClass"}}}},"/accountChartList":{"post":{"summary":"Receive the attached accountchart list to the organisation","parameters":[{"in":"query","name":"reportClass","schema":{"type":"string","enum":["JSON"]},"required":true},{"in":"query","name":"responseType","schema":{"type":"string","enum":["URL","FILE","BASE64","EMAIL"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/accountChartList"}}}},"responses":{"200":{"description":"return of report in given format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/accountChartListResult"}}}},"401":{"description":"not authorized"},"406":{"description":"not acceptable reportClass"}}}},"/reportAdvances":{"post":{"summary":"Receive the advance list of the organisation","parameters":[{"in":"query","name":"reportClass","schema":{"type":"string","enum":["XLSX","JSON"]},"required":true},{"in":"query","name":"responseType","schema":{"type":"string","enum":["URL","FILE","BASE64","EMAIL"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/advanceList"}}}},"responses":{"200":{"description":"return of report in given format"},"401":{"description":"not authorized"},"406":{"description":"not acceptable reportClass"}}}},"/bankMatching":{"post":{"summary":"Receive the bank matching report","parameters":[{"in":"query","name":"reportClass","schema":{"type":"string","enum":["JSON","XLSX"]},"required":true},{"in":"query","name":"responseType","schema":{"type":"string","enum":["URL","FILE","BASE64","EMAIL"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/bankMatchedList"}}}},"responses":{"200":{"description":"return of report in given format"},"401":{"description":"not authorized"}}}},"/organisationList":{"post":{"summary":"Receive the base data of organisations","parameters":[{"in":"query","name":"reportClass","schema":{"type":"string","enum":["JSON"]},"required":true},{"in":"query","name":"responseType","schema":{"type":"string","enum":["URL","FILE","BASE64","EMAIL"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/organisationDataList"}}}},"responses":{"200":{"description":"return of report in given format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/organisationDataListResult"}}}},"401":{"description":"not authorized"}}}},"/vatLogic":{"post":{"summary":"Receive the vat logic report","parameters":[{"in":"query","name":"reportClass","schema":{"type":"string","enum":["XLSX","PDF"]},"required":true},{"in":"query","name":"responseType","schema":{"type":"string","enum":["URL","FILE","BASE64","EMAIL"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/vatLogic"}}}},"responses":{"200":{"description":"return of report in given format"},"401":{"description":"not authorized"},"406":{"description":"not acceptable reportClass"}}}},"/vatCloseAnalitic":{"post":{"summary":"Receive the vat close analitic report","parameters":[{"in":"query","name":"reportClass","schema":{"type":"string","enum":["XLSX"]},"required":true},{"in":"query","name":"responseType","schema":{"type":"string","enum":["URL","FILE","BASE64","EMAIL"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/vatCloseAnalitic"}}}},"responses":{"200":{"description":"return of report in given format"},"401":{"description":"not authorized"},"406":{"description":"not acceptable reportClass"}}}},"/sixSeven":{"post":{"summary":"Receive the six-seven (cost and expense) statement","parameters":[{"in":"query","name":"reportClass","schema":{"type":"string","enum":["XLSX","PDF"]},"required":true},{"in":"query","name":"responseType","schema":{"type":"string","enum":["URL","FILE","BASE64","EMAIL"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/sixSeven"}}}},"responses":{"200":{"description":"return of report in given format"},"401":{"description":"not authorized"},"406":{"description":"not acceptable reportClass"}}}},"/tfejl":{"post":{"summary":"Receive the development reserve (tfejl) report","parameters":[{"in":"query","name":"reportClass","schema":{"type":"string","enum":["XML","XLSX","PDF"]},"required":true},{"in":"query","name":"responseType","schema":{"type":"string","enum":["URL","FILE","BASE64","EMAIL"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dateInterval"}}}},"responses":{"200":{"description":"return of report in given format"},"401":{"description":"not authorized"},"406":{"description":"not acceptable reportClass"}}}},"/incomeStatement":{"post":{"summary":"Receive the income statement","parameters":[{"in":"query","name":"reportClass","schema":{"type":"string","enum":["XLSX","PDF","JSON"]},"required":true},{"in":"query","name":"responseType","schema":{"type":"string","enum":["URL","FILE","BASE64","EMAIL"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/incomeStatement"}}}},"responses":{"200":{"description":"return of report in given format"},"401":{"description":"not authorized"},"406":{"description":"not acceptable reportClass"}}}},"/developmentReserveUsage":{"post":{"summary":"Receive the development reserve usage report","parameters":[{"in":"query","name":"reportClass","schema":{"type":"string","enum":["XLSX","JSON"]},"required":true},{"in":"query","name":"responseType","schema":{"type":"string","enum":["URL","FILE","BASE64","EMAIL"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/developmentReserveUsage"}}}},"responses":{"200":{"description":"return of report in given format"},"401":{"description":"not authorized"},"406":{"description":"not acceptable reportClass"}}}},"/financialStatement":{"post":{"summary":"Receive the financial statement","parameters":[{"in":"query","name":"reportClass","schema":{"type":"string","enum":["XLSX","DOC","PDF"]},"required":true},{"in":"query","name":"responseType","schema":{"type":"string","enum":["URL","FILE","BASE64","EMAIL"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/financialStatement"}}}},"responses":{"200":{"description":"return of report in given format"},"401":{"description":"not authorized"},"406":{"description":"not acceptable reportClass"}}}},"/summarise":{"post":{"summary":"Receive the summarise report","parameters":[{"in":"query","name":"reportClass","schema":{"type":"string","enum":["XLSX"]},"required":true},{"in":"query","name":"responseType","schema":{"type":"string","enum":["URL","FILE","BASE64","EMAIL"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/summarise"}}}},"responses":{"200":{"description":"return of report in given format"},"401":{"description":"not authorized"},"406":{"description":"not acceptable reportClass"}}}},"/summariseXML":{"post":{"summary":"Receive the summarise report in XML format","parameters":[{"in":"query","name":"reportClass","schema":{"type":"string","enum":["XML"]},"required":true},{"in":"query","name":"responseType","schema":{"type":"string","enum":["URL","FILE","BASE64","EMAIL"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/summariseXML"}}}},"responses":{"200":{"description":"return of report in given format"},"401":{"description":"not authorized"},"406":{"description":"not acceptable reportClass"}}}},"/reportBalance":{"post":{"summary":"Receive the balance confirmation letter / partner balance report","parameters":[{"in":"query","name":"reportClass","schema":{"type":"string","enum":["XLSX","DOC","PDF"]},"required":true},{"in":"query","name":"responseType","schema":{"type":"string","enum":["URL","FILE","BASE64","EMAIL"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/reportBalance"}}}},"responses":{"200":{"description":"return of report in given format"},"401":{"description":"not authorized"},"406":{"description":"not acceptable reportClass"}}}},"/clientInvoiceBySeries":{"post":{"summary":"Receive the client invoice list by series","parameters":[{"in":"query","name":"reportClass","schema":{"type":"string","enum":["XLSX"]},"required":true},{"in":"query","name":"responseType","schema":{"type":"string","enum":["URL","FILE","BASE64","EMAIL"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/clientInvoiceBySeries"}}}},"responses":{"200":{"description":"return of report in given format"},"401":{"description":"not authorized"},"406":{"description":"not acceptable reportClass"}}}},"/assetAggregateTable":{"post":{"summary":"Receive the asset aggregate table","parameters":[{"in":"query","name":"reportClass","schema":{"type":"string","enum":["XLSX","PDF"]},"required":true},{"in":"query","name":"responseType","schema":{"type":"string","enum":["URL","FILE","BASE64","EMAIL"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/assetAggregateTable"}}}},"responses":{"200":{"description":"return of report in given format"},"401":{"description":"not authorized"},"406":{"description":"not acceptable reportClass"}}}},"/assetAggregateTableMirror":{"post":{"summary":"Receive the asset aggregate table mirror","parameters":[{"in":"query","name":"reportClass","schema":{"type":"string","enum":["XLSX","PDF"]},"required":true},{"in":"query","name":"responseType","schema":{"type":"string","enum":["URL","FILE","BASE64","EMAIL"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/assetAggregateTableMirror"}}}},"responses":{"200":{"description":"return of report in given format"},"401":{"description":"not authorized"},"406":{"description":"not acceptable reportClass"}}}},"/assetRecord":{"post":{"summary":"Receive the asset record sheet / asset list","parameters":[{"in":"query","name":"reportClass","schema":{"type":"string","enum":["XLSX","JSON","DOC"]},"required":true},{"in":"query","name":"responseType","schema":{"type":"string","enum":["URL","FILE","BASE64","EMAIL"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/assetRecord"}}}},"responses":{"200":{"description":"return of report in given format"},"401":{"description":"not authorized"},"406":{"description":"not acceptable reportClass"}}}},"/assetIndividual":{"post":{"summary":"Receive the individual asset report","parameters":[{"in":"query","name":"reportClass","schema":{"type":"string","enum":["XLSX","PDF"]},"required":true},{"in":"query","name":"responseType","schema":{"type":"string","enum":["URL","FILE","BASE64","EMAIL"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/assetIndividual"}}}},"responses":{"200":{"description":"return of report in given format"},"401":{"description":"not authorized"},"406":{"description":"not acceptable reportClass"}}}},"/flatRate":{"post":{"summary":"Receive the flat rate report","parameters":[{"in":"query","name":"reportClass","schema":{"type":"string","enum":["JSON","XLSX","PDF"]},"required":true},{"in":"query","name":"responseType","schema":{"type":"string","enum":["URL","FILE","BASE64","EMAIL"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/flatRate"}}}},"responses":{"200":{"description":"return of report in given format"},"401":{"description":"not authorized"},"406":{"description":"not acceptable reportClass"}}}},"/cashAccount":{"post":{"summary":"Receive the cash account report","parameters":[{"in":"query","name":"reportClass","schema":{"type":"string","enum":["XLSX","PDF"]},"required":true},{"in":"query","name":"responseType","schema":{"type":"string","enum":["URL","FILE","BASE64","EMAIL"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/cashAccount"}}}},"responses":{"200":{"description":"return of report in given format"},"401":{"description":"not authorized"},"406":{"description":"not acceptable reportClass"}}}},"/autoInvoice":{"post":{"summary":"Receive the auto invoice list","parameters":[{"in":"query","name":"reportClass","schema":{"type":"string","enum":["XLSX"]},"required":true},{"in":"query","name":"responseType","schema":{"type":"string","enum":["URL","FILE","BASE64","EMAIL"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/autoInvoice"}}}},"responses":{"200":{"description":"return of report in given format"},"401":{"description":"not authorized"},"406":{"description":"not acceptable reportClass"}}}},"/transferFile":{"post":{"summary":"Receive the bank transfer file generated from open items","parameters":[{"in":"query","name":"reportClass","schema":{"type":"string","enum":["TXT","XML","CSV"]},"required":true},{"in":"query","name":"responseType","schema":{"type":"string","enum":["URL","FILE","BASE64","EMAIL"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/transferFile"}}}},"responses":{"200":{"description":"return of report in given format"},"401":{"description":"not authorized"},"406":{"description":"not acceptable reportClass"}}}},"/uploadConfirm":{"post":{"summary":"Receive the upload confirmation report (mainly used by the NetAccounting UI)","parameters":[{"in":"query","name":"reportClass","schema":{"type":"string","enum":["XLSX","PDF"]},"required":true},{"in":"query","name":"responseType","schema":{"type":"string","enum":["URL","FILE","BASE64","EMAIL"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/uploadConfirm"}}}},"responses":{"200":{"description":"return of report in given format"},"401":{"description":"not authorized"},"406":{"description":"not acceptable reportClass"}}}},"/vatReturnDownload":{"post":{"summary":"Download the stored vat returns in a zip file","parameters":[{"in":"query","name":"reportClass","schema":{"type":"string","enum":["ZIP"]},"required":true},{"in":"query","name":"responseType","schema":{"type":"string","enum":["URL","FILE","BASE64","EMAIL"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/vatReturnDownload"}}}},"responses":{"200":{"description":"return of report in given format"},"401":{"description":"not authorized"},"406":{"description":"not acceptable reportClass"}}}},"/sampleRegulation":{"post":{"summary":"Receive a sample regulation document (mainly used by the NetAccounting UI)","parameters":[{"in":"query","name":"reportClass","schema":{"type":"string","enum":["DOC"]},"required":true},{"in":"query","name":"responseType","schema":{"type":"string","enum":["URL","FILE","BASE64","EMAIL"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/sampleRegulation"}}}},"responses":{"200":{"description":"return of report in given format"},"401":{"description":"not authorized"},"406":{"description":"not acceptable reportClass"}}}},"/workerReport":{"post":{"summary":"Receive the worker list report (mainly used by the NetAccounting UI)","parameters":[{"in":"query","name":"reportClass","schema":{"type":"string","enum":["XLSX"]},"required":true},{"in":"query","name":"responseType","schema":{"type":"string","enum":["URL","FILE","BASE64","EMAIL"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/workerReport"}}}},"responses":{"200":{"description":"return of report in given format"},"401":{"description":"not authorized"},"406":{"description":"not acceptable reportClass"}}}},"/worktimeReport":{"post":{"summary":"Receive the worktime report (mainly used by the NetAccounting UI, the filter fields of the worktime screen are accepted in the body)","parameters":[{"in":"query","name":"reportClass","schema":{"type":"string","enum":["XLSX"]},"required":true},{"in":"query","name":"responseType","schema":{"type":"string","enum":["URL","FILE","BASE64","EMAIL"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"return of report in given format"},"401":{"description":"not authorized"},"406":{"description":"not acceptable reportClass"}}}},"/clientHeaderRiport":{"post":{"summary":"Receive the client invoice header report (mainly used by the NetAccounting UI)","parameters":[{"in":"query","name":"reportClass","schema":{"type":"string","enum":["XLSX"]},"required":true},{"in":"query","name":"responseType","schema":{"type":"string","enum":["URL","FILE","BASE64","EMAIL"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/clientHeaderRiport"}}}},"responses":{"200":{"description":"return of report in given format"},"401":{"description":"not authorized"},"406":{"description":"not acceptable reportClass"}}}},"/getReport/{randomPath}":{"get":{"summary":"Download a report generated in the background (responseType URL or EMAIL)","description":"The report file can be downloaded only once, after the download it is deleted from the server. If the report is not ready yet (or was already downloaded), the response is a JSON: {\"exist\": false}.","parameters":[{"in":"path","name":"randomPath","required":true,"schema":{"type":"string"},"description":"the generated id received in the url field of the report request"},{"in":"query","name":"toCheck","schema":{"type":"string","enum":["true"]},"description":"if \"true\" the endpoint only checks the existence of the file and answers {\"exist\":true/false} without downloading/deleting it"},{"in":"query","name":"content","schema":{"type":"string","example":"attachment"},"description":"optional Content-Disposition prefix (e.g. attachment)"}],"responses":{"200":{"description":"the report file itself, or a JSON {\"exist\" - true/false} when the file is not ready / toCheck=true"},"400":{"description":"unknown error"}}}},"/baseData":{"get":{"summary":"Receive the base ids","responses":{"200":{"description":"A list id's for the querys","content":{"application/json":{"schema":{"$ref":"#/components/schemas/baseData"}}}}}}},"/availableGroupList":{"get":{"summary":"Receive the available group list","responses":{"200":{"description":"A list id's for the groups","content":{"application/json":{"schema":{"$ref":"#/components/schemas/groupList"}}}},"403":{"description":"This endpoint answer only with the subsciber APIKey"},"401":{"description":"The authorization parameters is not good"}}}},"/updateAccountChart":{"put":{"summary":"Update the organisation accountchart","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/updateAccountChart"}}}},"responses":{"200":{"description":"The update was successfull"},"401":{"description":"not authorized"},"406":{"description":"not acceptable reportClass"}}}}},"components":{"schemas":{"trial":{"type":"object","required":["dateFrom","dateTill"],"properties":{"dateFrom":{"type":"string","example":"2024-01-01"},"dateTill":{"type":"string","example":"2024-12-31"},"currencyID":{"type":"integer","example":1,"default":1},"summarise":{"type":"string","enum":["ALL","NONE","ONLY"],"description":"ALL - show all summarise, NONE - hide summarise, ONLY - show only summarise rows"},"tbNumberFrom":{"type":"string","description":"If not empty the system use it","example":""},"tbNumberTill":{"type":"string","description":"If not empty the system use it","example":""},"lang":{"type":"integer","description":"1 - hungarian, 2 - english","default":1},"notOpening":{"type":"boolean","description":"in case of true opening values contains periodical turnover","default":true},"isOnlyOneTwo":{"type":"boolean","description":"in case of true only maximum 2 size sumary ledger showa","default":true},"showCodeOfLedger":{"type":"integer","enum":[0,1,2],"description":"0 - not show, 1 - show only, 2 summarise by externalcodeofledger","default":0},"needSeparate":{"type":"boolean","description":"insert separator between 4 and 5 ledger","default":true},"toMonth":{"type":"boolean","description":"summarise by month","default":false},"monthMethod":{"type":"integer","description":"1 - cumulate with previous month, 0 - only current month value","default":0,"enum":[0,1]},"debCrCol":{"type":"boolean","description":"need separate debit and credit column","default":true},"costCenter":{"type":"string","description":"id list of costcenter","example":"1,2,3"},"costHolder":{"type":"string","description":"id list of costholder","example":"1,2,3"},"partnerID":{"type":"integer","description":"id of partner"},"closeType":{"type":"integer","description":"closing type, \"true\" is also accepted (means 5)","default":1},"trial":{"type":"boolean","description":"show trial balance (false - only balance list)","default":true},"showExtraLedger":{"type":"boolean","description":"show extra bookings","default":false},"show19":{"type":"boolean","description":"show 19 ledgers","default":false},"onePage":{"type":"boolean","description":"show the report in one page in excel","default":false},"sumRowPos":{"type":"integer","description":"position of the summarise row","default":0},"listCostCenters":{"type":"boolean","description":"list the costcenters (only in excel)","default":false},"useSecondaryFulfilment":{"type":"boolean","description":"use secondary fulfilment date","default":false},"planDate":{"type":"string","description":"plan date (only in excel)"}}},"ledger":{"type":"object","required":["dateFrom","dateTill"],"properties":{"dateFrom":{"type":"string","example":"2024-01-01"},"dateTill":{"type":"string","example":"2024-12-31"},"tbNumberFrom":{"type":"string","example":"311"},"tbNumberTill":{"type":"string","example":"311"},"codeOfLedger":{"type":"string","description":"filter from code of ledger","default":""},"currencyID":{"type":"integer","example":1,"default":1},"partnerID":{"type":"integer","description":"id of the partner","default":1},"lang":{"type":"integer","description":"1 - hungarian, 2 - english","default":1},"costCenter":{"type":"integer","description":"id of costcenter","example":"1"},"costHolder":{"type":"integer","description":"id of costholder","example":"1"},"onePage":{"type":"boolean","description":"different ledgers show in one page in excel","default":false},"isNote":{"type":"boolean","description":"show notes","default":false},"showBalance":{"type":"boolean","description":"show continous balance in excel","default":false},"showOpen":{"type":"boolean","description":"show opening balance when start is not equal to period start","default":false},"showCodeOfLedger":{"type":"integer","enum":[0,1,2],"description":"0 - not show, 1 - show only, 2 summarise by externalcodeofledger","default":0},"showCostCenter":{"type":"boolean","description":"show costcenter in excel","default":false},"showCostHolder":{"type":"boolean","description":"show costholder in excel","default":false},"showExtraLedger":{"type":"boolean","description":"show extra bookings","default":false},"showForeignBalance":{"type":"boolean","description":"show foreign balance in eur","default":false},"showBooker":{"type":"boolean","description":"show booker","default":false},"showBookTime":{"type":"boolean","description":"show booking time","default":false},"showOriginalInvoice":{"type":"boolean","description":"show original invoice number when payment","default":false},"showLedgerName":{"type":"boolean","description":"show the account chart name","default":false},"debCrCol":{"type":"boolean","description":"show debit and credit bookings","default":false},"showItemNote":{"type":"boolean","description":"show external system item notes, like description received from NAV system, only in excel and json","default":false},"showForeignNote":{"type":"boolean","description":"show external system header notes, like description received from NAV system, only in excel and json","default":false},"showPurpose":{"type":"boolean","description":"in case of purpose accounting the system shows the the item belongs to corporate purpose or original purpose","default":false},"summarise":{"type":"integer","enum":[0,1,2],"description":"0 - no summarise rows, 1 - summarise by change of ledger, 2 - summarise by change of partner or ledger","default":0},"tbNumberContra":{"type":"string","description":"filter by contra ledger number","default":""},"listType":{"type":"integer","description":"list type (only in csv and pdf)","default":0},"showCostCenterCode":{"type":"boolean","description":"show costcenter code","default":false},"showCostHolderCode":{"type":"boolean","description":"show costholder code","default":false},"showEndBalance":{"type":"integer","description":"show end balance","default":0},"showGroups":{"type":"boolean","description":"show groups","default":false},"removeOpenClose":{"type":"boolean","description":"hide opening and closing bookings","default":false},"useSecondaryFulfilment":{"type":"boolean","description":"use secondary fulfilment date","default":false},"order":{"type":"string","description":"order of the rows","default":"ledger"}}},"vatanalysis":{"type":"object","required":["dateFrom","dateTill"],"properties":{"dateFrom":{"type":"string","example":"2024-01-01"},"dateTill":{"type":"string","example":"2024-01-01"},"orderBy":{"type":"string","enum":[1,2,3,4,5],"description":"1 - vatdate and invoicedocnumber, 2 - invoicedocnumber and vatdate, 3 partner and invoicedocnumber, 4 - partner, vatdate, invoicedocnumber, 5 - invoicenumber"},"showCostCenter":{"type":"boolean","description":"show cost center in excel","default":false},"showCostHolder":{"type":"boolean","description":"show cost holder in excel","default":false},"hideDesignation":{"type":"boolean","description":"hide invoice designation in excel and json","default":false},"compareNAVData":{"type":"boolean","description":"compare with nav data in excel and json","default":false},"showDifferentVATDate":{"type":"boolean","description":"show items where vat date differs (only in excel)","default":false},"showItemNote":{"type":"boolean","description":"show item notes (only in excel)","default":false},"showCashFlowVat":{"type":"boolean","description":"show cash flow vat (excel and pdf)","default":false},"lang":{"type":"string","description":"language, HUN or ENG","default":"HUN"},"invoiceSeriesID":{"type":"string","description":"filter by invoice series id"},"needAllCompany":{"type":"boolean","description":"query all companies"}}},"partneraccount":{"type":"object","properties":{"dateFrom":{"type":"string","example":"2024-01-01"},"dateTill":{"type":"string","example":"2024-01-01"},"invoiceDateTill":{"type":"string","description":"if given dateTill ignored. the riport load the invoices until given date","example":"2024-01-01"},"payDateTill":{"type":"string","description":"if given dateTill ignored. the riport load the payments until given date","example":"2024-01-01"},"tbNumberFrom":{"type":"string","example":""},"tbNumberTill":{"type":"string","example":""},"partnerIDs":{"type":"string","description":"list of partnerids separated with comma","example":"1,2,3"},"accountType":{"type":"string","enum":[0,1,3],"description":"0 - only open accounts listed, 1 - all invoice (open invoice on start date also) is listed between start and end date and , 3 - all invoice (without open invoice on start date) is listed between start and end date"},"details":{"type":"string","enum":[0,1,2],"description":"0 - no summarise all detail is one row, 1 - summarise by invoice, 2 - summarise by partner"},"currency":{"type":"string","enum":[0,1],"description":"0 - show accounting and original currency, 1 - show only invoice currency amount"},"valueLoses":{"type":"boolean","description":"show partnervalue loses","default":false},"partnerDetails":{"type":"boolean","description":"show partner details","default":false},"showNote":{"type":"boolean","description":"show invoice note","default":false},"showPayment":{"type":"boolean","description":"show invoice note","default":false},"partnerInRows":{"type":"boolean","description":"show partner name in same row than invoice, only when details=1","default":false},"orderBy":{"type":"string","enum":[1,2],"description":"1 - fulfilmentdate and invoicedocnumber, 2 - year, invoicedocnumber"},"language":{"type":"integer","description":"1 - hungarian, 2 - english","default":1},"invoicePaymentType":{"type":"integer","description":"filter by payment type of the invoice","default":0},"dueDateFrom":{"type":"string","description":"filter by due date from","example":"2024-01-01"},"dueDateTill":{"type":"string","description":"filter by due date till","example":"2024-12-31"},"costCenter":{"type":"integer","description":"id of costcenter","default":0},"costHolder":{"type":"integer","description":"id of costholder","default":0},"showCostCenter":{"type":"boolean","description":"show costcenter (excel and json)","default":false},"showCostHolder":{"type":"boolean","description":"show costholder (excel and json)","default":false},"showGroups":{"type":"boolean","description":"show groups","default":false}}},"partneraccountdate":{"type":"object","required":["date","tbNumberFrom","tbNumberTill"],"properties":{"date":{"type":"string","example":"2024-01-01"},"tbNumberFrom":{"type":"string","example":"311"},"tbNumberTill":{"type":"string","example":"311"},"iv1":{"type":"integer","description":"the first intervalend","example":30,"default":30},"iv2":{"type":"integer","description":"the second intervalend","example":60,"default":60},"iv3":{"type":"integer","description":"the third intervalend","example":90,"default":90},"iv4":{"type":"integer","description":"the fourth intervalend","example":180,"default":180},"iv5":{"type":"integer","description":"the fifth intervalend","example":365,"default":365},"showEarly":{"type":"boolean","description":"show earlier payments for invoice later then date","default":false},"showSpec":{"type":"boolean","description":"show bank items","default":false},"rowPartner":{"type":"boolean","description":"show partner in rows","default":false},"detailType":{"type":"string","enum":["INVOICE","PARTNERLEDGER","PARTNER"],"description":"INVOICE - all items are listed, PARTNERLEDGER - items are grouped by ledger and partner , PARTNER - all items are grouped by partner"},"showValueLoses":{"type":"boolean","description":"show partner value loses","default":false},"invoicePaymentType":{"type":"string","enum":["TRANSFER","CARD","VOUCHER"],"description":"filter by payment type of the invoice"},"showPayment":{"type":"boolean","description":"show payments","default":false}}},"auditxml":{"type":"object","required":["version","dateFrom","dateTill"],"properties":{"version":{"type":"string","enum":["old","new","1","23"],"description":"old or 1 - old audit xml format, new or 23 - new audit xml format (2023)"},"dateFrom":{"type":"string","example":"2024-01-01"},"dateTill":{"type":"string","example":"2024-01-01"}}},"reportOSS":{"type":"object","required":["dateFrom","dateTill"],"properties":{"dateFrom":{"type":"string","example":"2024-01-01"},"dateTill":{"type":"string","example":"2024-01-01"},"detailType":{"type":"string","enum":["ANALITIC","RETURN"],"default":"ANALITIC"},"direction":{"type":"integer","description":"1 - income, -1 - cost","default":1}}},"secondDimension":{"type":"object","required":["dateFrom","dateTill","queryType","detailType"],"properties":{"dateFrom":{"type":"string","example":"2024-01-01"},"dateTill":{"type":"string","example":"2024-01-01"},"detailType":{"type":"string","enum":["detailed","groupInvoice","groupLedgerTitle","groupLedgerNumber","groupDirection"],"default":"detailed"},"queryType":{"type":"string","enum":["costCenter","costHolder"]},"ledgerNumber":{"type":"string"},"groupMonthly":{"type":"boolean","description":"group results by month of fulfilmentdate","default":false},"needBalance":{"type":"boolean","description":"need end balance when change in costceter/costholder","default":false},"groupPartner":{"type":"boolean","description":"group results by partner","default":false},"codeOfLedger":{"type":"string","description":"filter by code of ledger","default":""},"centerOrGroup":{"type":"integer","description":"query by center or group","default":0},"costCenter":{"type":"string","description":"costcenter filter","default":"-1"},"designations":{"type":"string","description":"costcenter names","default":""}}},"vatReturn":{"type":"object","required":["dateFrom","dateTill"],"properties":{"dateFrom":{"type":"string","example":"2024-01-01"},"dateTill":{"type":"string","example":"2024-01-01"},"processingID":{"type":"string","description":"NAV eVAT processing id, if given the organisation is derived from it"},"storeVatReturn":{"type":"boolean","description":"store the vat return (excel and pdf)","default":false},"forwardVATAmount":{"type":"boolean","description":"forward the vat amount to the next period (only in xml)","default":false}}},"communityVatReturn":{"type":"object","required":["dateFrom","dateTill"],"properties":{"dateFrom":{"type":"string","example":"2024-01-01"},"dateTill":{"type":"string","example":"2024-01-01"},"isSummarise":{"type":"boolean"}}},"partnerList":{"type":"object","properties":{"shortName":{"type":"string","example":"NetAccount"},"taxID":{"type":"string"},"length":{"type":"integer","description":"the size of the data","default":10},"start":{"type":"integer","description":"the initial page number","default":0}}},"accountChartList":{"type":"object","properties":{"ledgerNum":{"type":"string","example":311},"description":{"type":"string","example":"Vevő"},"length":{"type":"integer","description":"the size of the data","default":10},"start":{"type":"integer","description":"the initial page number","default":0}}},"advanceList":{"type":"object","required":["ledgerNum","advanceDate","detailType"],"properties":{"ledgerNum":{"type":"string","example":352},"advanceDate":{"type":"string","example":"2025.12.31"},"finalDate":{"type":"string","description":"Only needed when detailtype is showusage"},"detailType":{"type":"string","example":"PARTNER","enum":["PARTNER","INVOICE","SHOWUSAGE"]},"partnerID":{"type":"string"},"onlyKATA":{"type":"boolean","description":"list only KATA partners","default":false},"length":{"type":"integer","description":"the size of the data","default":10},"start":{"type":"integer","description":"the initial page number","default":0}}},"bankMatchedList":{"type":"object","required":["dateFrom","dateTill"],"properties":{"dateFrom":{"type":"string","example":"2024-01-01"},"dateTill":{"type":"string","example":"2024-01-01"},"tbNumberFrom":{"type":"string","example":318},"tbNumberTill":{"type":"string","example":318},"matched":{"type":"string","enum":["ALL","JOINED","NOTJOINED"],"default":"ALL"},"tbNumber":{"type":"string","description":"filter by ledger number","default":""},"status":{"type":"string","description":"status filter (only in json)","default":"ALL"},"length":{"type":"integer","description":"the size of the data","default":10},"start":{"type":"integer","description":"the initial page number","default":0}}},"organisationDataList":{"type":"object","required":["groupID"],"properties":{"groupID":{"type":"integer","example":5}}},"organisationDataListResult":{"type":"object","properties":{"data":{"type":"object","properties":{"organisationID":{"type":"integer","example":15},"shortName":{"type":"string","example":"NetAccount Plusz"},"taxNumber":{"type":"string","example":"14733332-2-43"},"cSONumber":{"type":"string","example":"14733332-xxxx-xx-xx"},"organisationNumber":{"type":"string","example":"111111"},"EMail":{"type":"string","example":""},"cEOName":{"type":"string","example":"Terdik Dávid"},"booker":{"type":"string","example":"Terdik Dávid"},"BankRateCalcType":{"type":"string","example":"FIFO/Súlyozott átlag"},"AccrualType":{"type":"string","example":"Nincs elhatárolás/Időszak végére/Havonta/Évente"},"RegardContinuous":{"type":"string","example":"Igen/Nem"},"CompensateFIFO":{"type":"string","example":"Igen/Nem"},"SendNAVReport":{"type":"string","example":"Igen/Nem"},"CompensateStorno":{"type":"string","example":"Igen/Nem"},"NAVDataOk":{"type":"string","example":"Igen/Nem"},"NetBillingConnection":{"type":"string","example":"Igen/Nem"},"SzamlazzUser":{"type":"string","example":"Igen/Nem"},"BillingoAPIKey":{"type":"string","example":"Igen/Nem"},"InnVoiceUser":{"type":"string","example":"Igen/Nem"},"BillZoneToken":{"type":"string","example":"Igen/Nem"},"QUiCKAPIKey":{"type":"string","example":"Igen/Nem"},"EDiThAPIKey":{"type":"string","example":"Igen/Nem"},"KapuSegedActive":{"type":"string","example":"Igen/Nem"},"IdentigoAPIKEY":{"type":"string","example":"Igen/Nem"},"CashbookActive":{"type":"string","example":"Igen/Nem"},"VatReturnType":{"type":"string","example":"Havi"},"IsBankAccount":{"type":"string","example":"311,4541","description":"List of ledgers which is shown on partner account list"},"IsRevaluationable":{"type":"string","example":"312,4542","description":"List of ledgers which is revaluated at the end of the year"}}}}},"partnerListResult":{"type":"object","properties":{"recordsTotal":{"type":"integer","description":"the total rowNum of data"},"recordsFiltered":{"type":"integer","description":"the filtered rowcount"},"data":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string","example":"NetAccount Plusz"},"longName":{"type":"string","example":"NetAccount Plusz"},"zip":{"type":"string","example":1119},"city":{"type":"string","example":"Budapest"},"street":{"type":"string","example":"Huszár utca"},"boxNo":{"type":"string","example":10},"eMail":{"type":"string"},"emailCC":{"type":"string"},"emailBCC":{"type":"string"},"taxNumber":{"type":"string"},"euTaxNumber":{"type":"string"},"phone":{"type":"string"},"isKATA":{"type":"string"},"isCashFlowVat":{"type":"string"},"externalPartnerID":{"type":"string"}}}}},"accountChartListResult":{"type":"object","properties":{"recordsTotal":{"type":"integer","description":"the total rowNum of data"},"recordsFiltered":{"type":"integer","description":"the filtered rowcount"},"data":{"type":"object","properties":{"ledger":{"type":"string","example":311},"desc1":{"type":"string","example":"NetAccount Plusz"},"desc2":{"type":"string","example":"NetAccount Plusz"},"desc3":{"type":"string","example":"NetAccount Plusz"},"codeOfLedger":{"type":"string","example":1119},"valid_from":{"type":"string","example":"Budapest"},"valid_till":{"type":"string","example":"Huszár utca"},"isbalance":{"type":"string","example":"x or empty"},"isbank":{"type":"string","example":"x or empty"},"istechnical":{"type":"string","example":"x or empty"},"issummarise":{"type":"string","example":"x or empty"},"isrevaluationable":{"type":"string","example":"x or empty"},"isjournal":{"type":"string","example":"x or empty"},"ishideonreport":{"type":"string","example":"x or empty"},"iscostcenter":{"type":"string","example":"x or empty"}}}}},"navReport":{"type":"object","required":["statusFilter"],"properties":{"statusFilter":{"type":"string","enum":["LIVE","DELETEANDLIVE","DELETED","ALL"]},"dateFrom":{"type":"string","example":"2024-01-01"},"dateTill":{"type":"string","example":"2024-01-31"},"issueDate_from":{"type":"string","example":"2024-01-01"},"issueDate_till":{"type":"string","example":"2024-01-31"},"direction":{"type":"integer","enum":[1,-1],"description":"1 - outbound, -1 - inbound"},"invoiceNumberS":{"type":"string"},"amount":{"type":"number"},"amountForeignS":{"type":"number"},"showNavLines":{"type":"boolean","description":"show the NAV lines in the result","default":"depend on system settings"},"partnerName":{"type":"string","description":"filter by partner name","default":""}}},"baseData":{"type":"object","properties":{"partner":{"type":"object","example":{"1":"Próba Kft"}},"currency":{"type":"object","example":{"1":"HUF"}},"costCenter":{"type":"object","example":{"1":"Default"}},"costHolder":{"type":"object","example":{"1":"Default"}},"closeModule":{"type":"object","description":"the last closed date of each module","properties":{"invoice":{"type":"string","example":"2025.02.28"},"vat":{"type":"string","example":"2025.02.28"},"bank":{"type":"string","example":"2025.02.28"},"cash":{"type":"string","example":"2025.02.28"},"asset":{"type":"string","example":"2025.02.28"},"journal":{"type":"string","example":"2025.02.28"},"close":{"type":"string","example":"2025.02.28"}}}}},"groupList":{"type":"object","properties":{"groupList":{"type":"array","items":{"type":"object","properties":{"groupName":{"type":"string","example":"Csoport neve"},"groupID":{"type":"integer","example":5}}}}}},"updateAccountChart":{"type":"object","example":{"311":{"isPartnerAccount":true,"showOnPartnerAccount":false}},"properties":{"ledgerNumber":{"type":"object","properties":{"isPartnerAccount":{"type":"boolean","example":true},"showOnPartnerAccount":{"type":"boolean","example":false}}}}},"commonReportOptions":{"type":"object","description":"optional fields accepted by every report endpoint next to the report specific fields","properties":{"apid":{"type":"integer","description":"id of the accounting period (selectAPID is also accepted), if not given the period is selected by dateTill/dateFrom or the current date"},"userID":{"type":"integer","description":"id of the user, used for language/settings and as email target when responseType is EMAIL"},"emailAddress":{"type":"string","description":"required when responseType is EMAIL and userID is not given"},"mailContent":{"type":"string","description":"custom content of the email sent when responseType is EMAIL"},"fileName":{"type":"string","description":"override the generated file name"},"showTaxNumberOnFileName":{"type":"boolean","description":"append the first 8 digits of the tax number to the file name","default":false},"save":{"type":"string","enum":["1"],"description":"save the generated report on the server"},"path":{"type":"string","description":"server side save path, folder separator is the | character"},"encoding":{"type":"string","description":"encoding of the response (only for CSV reports)","default":"UTF-8"},"netaOrganisationID":{"type":"integer","description":"id of the organisation when the API key belongs to multiple organisations"}}},"dateInterval":{"type":"object","required":["dateFrom","dateTill"],"properties":{"dateFrom":{"type":"string","example":"2024-01-01"},"dateTill":{"type":"string","example":"2024-12-31"}}},"vatLogic":{"type":"object","required":["dateFrom","dateTill"],"properties":{"dateFrom":{"type":"string","example":"2024-01-01"},"dateTill":{"type":"string","example":"2024-01-31"},"showCostCenter":{"type":"integer","description":"show cost center (only in excel)","default":0},"orderBy":{"type":"string","description":"order of the rows (only in excel)","default":"VATDATE"},"invoiceSeriesID":{"type":"string","description":"filter by invoice series id"},"needAllCompany":{"type":"boolean","description":"query all companies"}}},"vatCloseAnalitic":{"type":"object","required":["dateFrom","dateTill","type"],"properties":{"dateFrom":{"type":"string","example":"2024-01-01"},"dateTill":{"type":"string","example":"2024-01-31"},"type":{"type":"integer","description":"type of the analitic"},"orderBy":{"type":"string","enum":["1","2","3","4","5"],"description":"1 - vatdate, 2 - docnumber, 3 - partner and docnumber, 4 - partner and vatdate, 5 - invoicenumber","default":"1"},"invoiceSeriesID":{"type":"string","description":"filter by invoice series id"},"needAllCompany":{"type":"boolean","description":"query all companies"}}},"sixSeven":{"type":"object","required":["dateFrom","dateTill"],"properties":{"dateFrom":{"type":"string","example":"2024-01-01"},"dateTill":{"type":"string","example":"2024-12-31"},"groupBy":{"type":"string","description":"grouping of the rows","default":"LEDGER"}}},"incomeStatement":{"type":"object","required":["sHID"],"properties":{"sHID":{"type":"integer","description":"id of the statement header"},"detailed":{"type":"boolean","description":"detailed rows","default":false},"byMonth":{"type":"boolean","description":"group by month","default":false},"lang":{"type":"string","description":"language, HUN or ENG","default":"HUN"},"costCenterID":{"type":"integer","description":"id of costcenter"},"costHolderID":{"type":"integer","description":"id of costholder"}}},"developmentReserveUsage":{"type":"object","properties":{"sHID":{"type":"integer","description":"id of the statement header (required in excel)"},"detailed":{"type":"boolean","default":false},"byMonth":{"type":"boolean","default":false},"lang":{"type":"string","default":"HUN"},"ledgerNumber":{"type":"string","description":"ledger number filter (only in json)"}}},"financialStatement":{"type":"object","required":["sHID","type","excelType"],"properties":{"sHID":{"type":"integer","description":"id of the statement header"},"type":{"type":"integer","description":"type of the statement"},"excelType":{"type":"integer","description":"output variant of the statement"},"withFiles":{"type":"boolean","description":"include the attached files (required in excel)"},"costCenter":{"type":"integer","description":"id of costcenter"},"costHolder":{"type":"integer","description":"id of costholder"},"lang":{"type":"integer","description":"1 - hungarian, 2 - english","default":1},"sumTypeSelect":{"type":"integer","description":"summary type (excel and pdf)","default":0},"rounding":{"type":"integer","description":"rounding (only in doc)","default":1000}}},"summarise":{"type":"object","required":["dateFrom","dateTill"],"properties":{"dateFrom":{"type":"string","example":"2024-01-01"},"dateTill":{"type":"string","example":"2024-12-31"},"sHID":{"type":"string","description":"id of the statement header"},"type":{"type":"string","description":"type of the summarise"},"descID":{"type":"string","description":"id of the description"}}},"summariseXML":{"type":"object","required":["from","till","type"],"properties":{"from":{"type":"string","example":"2024-01-01"},"till":{"type":"string","example":"2024-12-31"},"sHID":{"type":"string","description":"id of the statement header"},"site":{"type":"string"},"type":{"type":"integer","description":"type of the summarise"}}},"reportBalance":{"type":"object","required":["partnerID"],"properties":{"partnerID":{"type":"integer","description":"id of the partner"},"sHID":{"type":"integer","description":"id of the statement header","default":-100},"tbNumberFrom":{"type":"string","description":"ledger number filter"},"dateTill":{"type":"string","example":"2024-12-31"},"subReportType":{"type":"string","description":"sub type of the report"},"lang":{"type":"string","description":"language"},"firstText":{"type":"string","description":"opening text (doc and pdf)"},"lastText":{"type":"string","description":"closing text (doc and pdf)"},"customTitle":{"type":"string","description":"custom title (doc and pdf)"},"senderName":{"type":"string","description":"name of the sender (doc and pdf)"},"senderTitle":{"type":"string","description":"title of the sender (doc and pdf)"}}},"clientInvoiceBySeries":{"type":"object","required":["invoiceSeries","ledgerTitleID"],"properties":{"apID":{"type":"string","description":"id of the accounting period"},"invoiceSeries":{"type":"integer","description":"id of the invoice series"},"ledgerTitleID":{"type":"integer","description":"id of the ledger title"}}},"assetAggregateTable":{"type":"object","required":["dateFrom","dateTill","intangible","buildings","machinery","other","animals","extraDep","revReserve","groupByDep","needPassive","developmentReserve","remains","assetType","showExtraLedger"],"properties":{"dateFrom":{"type":"string","example":"2024-01-01"},"dateTill":{"type":"string","example":"2024-12-31"},"intangible":{"type":"integer","description":"include intangible assets"},"buildings":{"type":"integer","description":"include buildings"},"machinery":{"type":"integer","description":"include machinery"},"other":{"type":"integer","description":"include other assets"},"animals":{"type":"integer","description":"include animals"},"extraDep":{"type":"integer","description":"include extra depreciation"},"revReserve":{"type":"integer","description":"include revaluation reserve"},"groupByDep":{"type":"integer","description":"group by depreciation"},"needPassive":{"type":"integer","description":"include passive assets"},"developmentReserve":{"type":"integer","description":"include development reserve"},"remains":{"type":"integer","description":"include remains"},"assetType":{"type":"integer","description":"type of the assets"},"showExtraLedger":{"type":"integer","description":"show extra bookings"},"SMEDiscount":{"type":"boolean","description":"SME discount","default":false}}},"assetAggregateTableMirror":{"type":"object","required":["datefrom","datetill","intangible","buildings","machinery","other","animals","extraDep","revReserve","needPassive"],"properties":{"datefrom":{"type":"string","example":"2024-01-01"},"datetill":{"type":"string","example":"2024-12-31"},"intangible":{"type":"integer"},"buildings":{"type":"integer"},"machinery":{"type":"integer"},"other":{"type":"integer"},"animals":{"type":"integer"},"extraDep":{"type":"integer"},"revReserve":{"type":"integer"},"needPassive":{"type":"integer"}}},"assetRecord":{"type":"object","properties":{"lineNumber":{"type":"string","description":"line number of the asset"},"length":{"type":"integer","description":"the size of the data (only in json)","default":10},"start":{"type":"integer","description":"the initial page number (only in json)","default":0},"rejectionMethod":{"type":"string","description":"method of the rejection (only in doc)"},"rejectionReason":{"type":"string","description":"reason of the rejection (only in doc)"},"rejectionDate":{"type":"string","description":"date of the rejection (only in doc)"}}},"assetIndividual":{"type":"object","properties":{"lineNumber":{"type":"string","description":"line number of the asset"},"extraDep":{"type":"boolean","description":"include extra depreciation","default":false},"revReserve":{"type":"boolean","description":"include revaluation reserve","default":false},"groupOpening":{"type":"boolean","description":"group the opening rows","default":false},"needPassive":{"type":"boolean","description":"include passive assets","default":false},"provision":{"type":"boolean","description":"include provision (only in excel)","default":false}}},"flatRate":{"type":"object","properties":{"groupID":{"type":"integer","description":"id of the group, if given dateFrom and dateTill are used, otherwise month is required (required in pdf)"},"dateFrom":{"type":"string","example":"2024-01-01"},"dateTill":{"type":"string","example":"2024-12-31"},"month":{"type":"integer","description":"month of the report, required when groupID is not given (json and excel)"},"selectAPID":{"type":"integer","description":"id of the accounting period (only in the month based query)"},"length":{"type":"integer","description":"the size of the data (only in json)","default":10},"start":{"type":"integer","description":"the initial page number (only in json)","default":0}}},"supply":{"type":"object","required":["datefrom","datetill","groupOpening","justClosing","showHeader"],"properties":{"datefrom":{"type":"string","example":"2024-01-01"},"datetill":{"type":"string","example":"2024-12-31"},"groupOpening":{"type":"integer","description":"group the opening rows"},"justClosing":{"type":"integer","description":"show only the closing rows"},"showHeader":{"type":"integer","description":"1 - show header"},"costCenter":{"type":"string","description":"costcenter filter"},"seriesID":{"type":"string","description":"id of the supply series"},"supply":{"type":"string","description":"supply filter"},"status":{"type":"string","description":"status filter"},"supplyAdmin":{"type":"boolean","default":false},"ledgerNumber":{"type":"string","description":"ledger number filter"}}},"supplyFIFO":{"type":"object","required":["dateTill"],"properties":{"dateTill":{"type":"string","example":"2024-12-31"},"seriesID":{"type":"string","description":"id of the supply series"},"supply":{"type":"string","description":"supply filter"},"ledgerNumber":{"type":"string","description":"ledger number filter"}}},"supplyOnMove":{"type":"object","required":["supplyItemID","status"],"properties":{"supplyItemID":{"type":"integer","description":"id of the supply item"},"status":{"type":"integer","description":"status of the movement"}}},"cashAccount":{"type":"object","required":["cashAccountID","baseCurrencyID"],"properties":{"cashAccountID":{"type":"integer","description":"id of the cash account"},"baseCurrencyID":{"type":"integer","description":"id of the base currency"},"startDate":{"type":"string","example":"2024-01-01"},"endDate":{"type":"string","example":"2024-12-31"}}},"autoInvoice":{"type":"object","properties":{"issueDateFrom":{"type":"string","example":"2024-01-01"},"issueDateTill":{"type":"string","example":"2024-12-31"}}},"transferFile":{"type":"object","required":["dateFrom","dateTill","bankType","fromCurrency"],"description":"the open item filter fields of the partnerAccount report are also accepted (tbNumberFrom, tbNumberTill, accountType, orderBy, language, partnerDetails, details, currency, valueLoses, partnerIDs, invoiceDateTill, payDateTill, showGroups, showNote, invoicePaymentType, dueDateFrom, dueDateTill, costCenter, costHolder)","properties":{"dateFrom":{"type":"string","example":"2024-01-01"},"dateTill":{"type":"string","example":"2024-12-31"},"bankType":{"type":"integer","description":"type of the bank (transfer file format)"},"fromCurrency":{"type":"integer","description":"id of the source currency"},"parentPCAIDs":{"type":"string","description":"list of the partner account ids to transfer"},"bank":{"type":"string","description":"the source bank account"},"valueDate":{"type":"string","description":"value date of the transfer","default":""},"notes":{"type":"string","description":"notes of the transfer"}}},"uploadConfirm":{"type":"object","properties":{"dateFrom":{"type":"string","description":"upload date from (excel and pdf when subType is 2)","example":"2024-01-01"},"dateTill":{"type":"string","description":"upload date till (excel and pdf when subType is 2)","example":"2024-12-31"},"isBookingRight":{"type":"boolean","default":false},"subType":{"type":"integer","description":"1 - one upload date (retDate), 2 - date interval (only in pdf, required)"},"retDate":{"type":"integer","description":"upload date in epoch millis, required when subType is 1 (only in pdf)"}}},"vatReturnDownload":{"type":"object","properties":{"invoiceSeriesID":{"type":"string","description":"filter by invoice series id"}}},"T1041":{"type":"object","required":["from","till","workerEmploymentID"],"properties":{"from":{"type":"string","example":"2024-01-01"},"till":{"type":"string","example":"2024-12-31"},"workerEmploymentID":{"type":"integer","description":"id of the worker employment"}}},"novitax":{"type":"object","required":["workerEmploymentID"],"properties":{"workerEmploymentID":{"type":"integer","description":"id of the worker employment"}}},"sampleRegulation":{"type":"object","required":["workerEmploymentID"],"properties":{"name":{"type":"string","description":"name of the regulation document"},"workerEmploymentID":{"type":"integer","description":"id of the worker employment"}}},"workerReport":{"type":"object","required":["group"],"description":"the filter fields of the worker screen are also accepted","properties":{"group":{"type":"integer","description":"grouping of the workers"}}},"clientHeaderRiport":{"type":"object","required":["series"],"properties":{"series":{"type":"integer","description":"id of the invoice series"},"partnerID":{"type":"integer","description":"id of the partner"},"productName":{"type":"string"},"productCode":{"type":"string"},"fulfDateFrom":{"type":"string"},"fulfDateTill":{"type":"string"},"issueDateFrom":{"type":"string"},"issueDateTill":{"type":"string"},"referenceDateFrom":{"type":"string"},"referenceDateTill":{"type":"string"},"dueDateFrom":{"type":"string"},"dueDateTill":{"type":"string"},"amountNetFrom":{"type":"string"},"amountNetTill":{"type":"string"},"amountGrosFrom":{"type":"string"},"amountGrosTill":{"type":"string"},"amountGrosFFrom":{"type":"string"},"amountGrosFTill":{"type":"string"},"view":{"type":"string","description":"type of the view"},"showPayment":{"type":"boolean","default":false}}}},"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","description":"uniqe key from every organisation","in":"header","name":"APIKey"},"SoftwareAuth":{"type":"apiKey","description":"uniqe key from every software","in":"header","name":"SoftwareID"},"SubscriberTaxNumber":{"type":"apiKey","description":"The subscribers base tax number (the first 8 character)","in":"header","name":"TaxNumber"}}},"security":[{"ApiKeyAuth":[]},{"SoftwareAuth":[]},{"SubscriberTaxNumber":[]}]}