{
  "openapi": "3.1.1",
  "info": {
    "title": "Visma e-conomic OpenAPI Journals",
    "description": "# Changelog\n<details>\n<summary>Click to see changelog.</summary>\n\n| Version | Description | Date |\n|:--------|:------------|:-----|\n|16.0.1| [`draft-entries`](#tag/DraftEntries) Added error code `JournalEntryVoucherNumberCannotBeGenerated` (400), returned when no unused voucher number can be generated for the journal. This case previously returned 500. A POST without `voucherNumber` on a journal whose next voucher number is above its maximum still returns `JournalEntryVoucherNumberNotWithinBoundaries`, but no longer advances the journal's next voucher number. | October, 2026|\n|16.0.0| [`draft-entries`](#tag/DraftEntries) Documentation correction: `entryNumber` is no longer marked read-only, so it is shown in the PUT request documentation. The number is assigned when the entry is created and must be supplied when updating an entry. No behavioural change. | September, 2026|\n|15.0.1| Documentation only: the deprecated booking endpoints are now listed in their own [`DraftEntriesDeprecated`](#tag/DraftEntriesDeprecated) section under Under deprecation, instead of linking to the live [`draft-entries`](#tag/DraftEntries) section. No behavioural change. | September, 2026|\n|15.0.0| [`draft-entries`](#tag/DraftEntries) `voucherNumber` is now optional on POST — when omitted, the server generates a unique voucher number for the journal. PUT requests still require `voucherNumber`. | May, 2026|\n|14.0.1| [`journals`](#tag/Journals) Added name length validation (max 50 characters) for journal Name on POST and PUT. Requests with a longer name will receive a validation error instead of a database error. | February, 2026|\n|14.0.0| [`journals`](#tag/Journals) Added entryTypeRestrictedTo option. Journals can now be restricted to only accept specific entry types or all entry types. | December, 2025|\n|13.0.1| [`draft-entries`](#tag/DraftEntries) Removed validation of accountNumber for customerPayments. The accountNumber is now automatically derived from the customer's group and is not validated when provided in the request. | October, 2025|\n|12.0.2| [`draft-entries`](#tag/DraftEntries) and [`accruals`](#tag/DraftEntryAccruals) now references their own set of error codes | August, 2025|\n|12.0.1| [`journals`](#tag/Journals) Updated description of Data | August, 2025|\n|12.0.0| [`journals`](#tag/Journals) Removed Type field from Journal | June, 2025|\n|11.1.1| [`draft-entries`](#tag/DraftEntries) Removed SupplierPaymentType 14 (EntryOnly) from accpeted types as it's not supported.| May, 2025|\n|11.1.0| 1. [`JournalBooking`](#tag/JournalBooking) Added new endpoint to book specific journal entries. <br> | Marts, 2025|\n|11.0.6| [`draft-entries`](#tag/DraftEntries) Fixed an issue where ProjectNumber and CostTypeNumber was ignored on some POST requests. | Marts, 2025|\n|11.0.5| 1. [`draft-entries`](#tag/DraftEntries) Updated voucher number validation to allow voucher number = 0 <br> 2. [`draft-entries`](#tag/DraftEntries) Fixed issue with POST /bulk where it would incorrectly return a 404 error | Marts, 2025|\n|11.0.4| [`draft-entries`](#tag/DraftEntries) Updated voucher number validation to ensure values are always below 999999999 | February, 2025|\n|11.0.3| 1. [`journals`](#tag/Journals) Fixed sorting on number property <br> 2. [`journals`](#tag/Journals) Fixed issue on /paged where pagesize query parameter was ignored <br> 3. [`journals`](#tag/Journals) Fixed issue where cursor query property was ignored. <br> 4. [`draft-entries`](#tag/DraftEntries) Fixed default sorting on /paged to be ascending. <br> 5. [`draft-entries`](#tag/DraftEntries) DraftEntry Bulk POST and PUT will now run revert all changes if one entry fails. <br> 6. [`draft-entries`](#tag/DraftEntries) Fixed issue where creating new draft entry with invalid journal number returned the wrong error <br> 7. [`draft-entries`](#tag/DraftEntries) Supplier payment details will only be included if entryTypeNumber is 3 | January, 2025|\n|11.0.2| [`draft-entries`](#tag/DraftEntries) Fixed an issue with `SupplierPaymentType` validation | December, 2024|\n|11.0.1| [`draft-entries`](#tag/DraftEntries) Fixed an issue where editing an entry with `SupplierPaymentType` -1 (None) was not possible. Updated documentation to show available options for `SupplierPaymentType` | November, 2024|\n|11.0.0| 1. [`draft-entries`](#tag/DraftEntries) Fixed an issue where projectId was not persisted when part of a draft entry with entryTypeNumber 5.<br> 2. [`draft-entries`](#tag/DraftEntries) Fixed issue with wrongly validating supplierPayment properties. <br> 3. Deprecating isCredit property for DraftEntry model, so this prperty is no longer availabe for CRUD operations | November, 2024|\n|10.0.0| [`draft-entries`](#tag/DraftEntries) Added Payment details properties to Supplier invoices, for GET, PUT and POST | October, 2024|\n|9.0.0| Dimensions deprecated. Please use Dimensions API instead. | October, 2024|\n|8.0.0| Updated PUT endpoint for [`journals`](#tag/Journals) to no longer use journalNumber in path. [`draft-entries`](#tag/DraftEntries) Exchange rate can now be left out (or null) when creating and updating draft entries. A default exchange rate will be set based on entry date and currency| October, 2024|\n|7.0.0| [`draft-entries`](#tag/DraftEntryAccruals) Filtering by AccountNumber has been fixed. Additionally EntryNumber, JournalNumber, AccountNumber, StartDate, EndDate are now required | October, 2024|\n|6.0.0| [`draft-entries`](#tag/DraftEntries) Added correct error code for trying to change journal number through an update. Updated PUT endpoint for [`draft-entries`](#tag/DraftEntries) to no longer use draftEntryNumber in path. Added list of possible error codes for [`journals`](#tag/Journals)| July, 2024|\n|5.2.0| [`draft-entries`](#tag/DraftEntryAccruals) endpoints added for managing accruals on draft entries| July, 2024|\n|5.1.1| [`draft-entries`](#tag/DraftEntries) Added extra error handling | July, 2024|\n|5.1.0| Added /delete/[journalNumber] endpoint on [`draft-entries`](#tag/DraftEntries) to delete all draft entries within a journal | July, 2024|\n|5.0.0| 1. The Name property is now required on [`journals`](#tag/Journals). <br> 2. JournalNumber and VoucherNumber is now required on [`draft-entries`](#tag/DraftEntries). <br> 3. Sorting disabled on [`draft-entries`](#tag/DraftEntries) for the following properties: Date, AccountNumber, VatCode, Amount, Currency, ContraAccountNumber, ContraVatCode, Text, ProjectNumber, CostTypeNumber, SupplierNumber. <br> 4. Filtering disabled on [`draft-entries`](#tag/DraftEntries) for the following properties: VatCode, Amount, ContraVatCode, Text CostTypeNumber. <br> 5. Sorting disabled on [`journals`](#tag/Journals) for the following properties: BalancingBehavior, AutoApprove, Type, IsStandingJournal, RequireAdminApproval, LockVatCodes, NextVoucherNumber, MinimumVoucherNumber, MaximumVoucherNumber, CustomerContraAccount, SupplierContraAccount, CustomerPaymentText, SupplierPaymentText, Name, Priority, AllowPartialBooking, RequireBalancePerVoucherId, RepeatText, PaymentMessageText, DefaultDepartment. <br> 6. Filtering disabled on [`journals`](#tag/Journals) for the following properties: AutoApprove, RequireAdminApproval, LockVatCodes, NextVoucherNumber, MinimumVoucherNumber MaximumVoucherNumber, SupplierContraAccount, CustomerContraAccount, CustomerPaumentText, SupplierPaymentText, Name, Priority, AllowPartialBooking, RequireBalancePerVoucherId, RepeatText, PaymentMessageText, DefaultDepartment. | July, 2024|\n|4.0.0| Added the ObjectVersion property to [`draft-entries`](#tag/DraftEntries) and [`draft-entries/dimensions`](#tag/DraftEntryDimensions). OperationId updated for POST, Bulk POST, PUT and Bulk PUT in [`draft-entries`](#tag/DraftEntries). OperationId updated for PUT, GET Count in [`draft-entries/dimensions`](#tag/DraftEntryDimensions). OperationId updated for POST, PUT, DELETE, GET All Cursor, GET All Paged in [`journals`](#tag/Journals)  | June, 2024|\n|3.2.0| [`draft-entries`](#tag/DraftEntries) /count endpoint added | 07/05/2024|\n|3.1.1| Description updated. | 07/05/2024|\n|3.1.0| [`journals`](#tag/Journals) Added GET, POST, PUT and DELETE endpoints for managing journals | 01/05/2024|\n|3.0.0| [`entries/booked`](#tag/BookedEntries) Moved to /booked-entries/.\\ Booking of journals has moved to journals/[id]/book.\\ [`draft-entries`](#tag/DraftEntries) endpoint added | 01/04/2024|\n|2.0.0| [`entries/booked`](#tag/BookedEntries) CustomerNumber added. | 13/02/2024|\n|1.1.2| Description updated. | 06/02/2024|\n|1.1.1| Fixed response type in documentation for [`entries/draft/book`](#tag/DraftEntries/operation/Book) and [`entries/draft/bookwithdateinterval`](#tag/DraftEntries/operation/BookWithDateInterval) endpoints. | 05/02/2024|\n|1.1.0| [`entries/draft/book`](#tag/DraftEntries/operation/Book) and [`entries/draft/bookwithdateinterval`](#tag/DraftEntries/operation/BookWithDateInterval) endpoints added. | 31/01/2024|\n|1.0.0| [`entries/booked`](#tag/BookedEntries) endpoints added. | 02/10/2023|\n\n</details>\n\n# TL;DR\n\n**Create tokens as instructed [here](https://www.e-conomic.com/developer/connect) and then add these three headers to your requests:**\n\n| Header                | Value                      | What is this?                                                |\n| :-------------------- | :------------------------- | :----------------------------------------------------------- |\n| X-AppSecretToken      | YOUR_PRIVATE_TOKEN         | This identifies your app. This is your secret token. Try using the value `demo`. |\n| X-AgreementGrantToken | YOUR_AGREEMENT_GRANT_TOKEN | This identifies the grant issued by an agreement, to allow your app to access the agreements data. Try using the value `demo`. |\n| Content-Type          | application/json           | We’re a JSON based API. This tells us that you agree with us on using JSON. |\n\n**Optional headers:**\n\n| Header                | Value                      | What is this?                                                |\n| :-------------------- | :------------------------- | :----------------------------------------------------------- |\n| Idempotency-Key       | YOUR_IDEMPOTENCY_KEY       | This represents your own unique idempotency key. Enables you to make use of our [Idempotency Tokens](#section/Retrieving-data/Idempotency-tokens) feature. You can't use this feature with GET requests. |\n\n### Examples\n\n#### jQuery\n\n```javascript/jQuery\n$.ajax({\n    url: \"https://apis.e-conomic.com/journalsapi/v16.0.1/the_resource\",\n    dataType: \"json\",\n    headers: {\n        'X-AppSecretToken': \"demo\",\n        'X-AgreementGrantToken': \"demo\",\n        'Accept': \"application/json\"\n    },\n    type: \"GET\"\n})\n    .always(function (data) {\n    $(\"#output\").text(JSON.stringify(data, null, 4));\n});\n```\n\n#### cURL\n\n```curl\ncurl -H \"X-AppSecretToken: demo\" -H \"X-AgreementGrantToken: demo\" https://apis.e-conomic.com/journalsapi/v16.0.1/the_resource\n```\n\n\n\n# Introduction\n\nWelcome to the **Visma e-conomic OpenAPI** documentation!\n\nThe e-conomic API is a document-based JSON REST API. \n\nFor more in-depth information about e-conomic itself, please have a look at the e-copedia [http://wiki.e-conomic.dk](http://wiki.e-conomic.dk/).\n\n## Usage\n\n- **Generating a client** can easily be done using tools like [swagger-codegen](https://github.com/swagger-api/swagger-codegen) or others that work with [OpenAPI Specification](https://github.com/OAI/OpenAPI-Specification) specs.\n\n\n## Versioning\n\nAPI releases are versioned using a three-part versioning scheme: `{major version}.{minor version}.{patch version}`.\n\nWe broadly follow [Semantic Versioning](https://semver.org/) principles when versioning the API. The major version number is incremented when a breaking change occurs. \n\nThe format is:\n\n`/{resource-api}/v{major version}.{minor version}.{patch version}/{resource-name}`\n\nEach value of the above are integers and you should configure the specific version in each API call. \n\nAn example could be: `/subscriptionsapi/v1.0.0/subscriptions`\n\nTo track the changes of versions, please see our [changelog](#section/Changelog).\n\nWe reserve the right to deprecate versions at intervals since this allows for moving into a friendly environment for you faster.\n\n## Demo authentication\n\nIf you wish to try out the API before registering a developer agreement, you can do this by using the demo agreement, which mimics the authentication flow you will have to use when you create your app. All you have to do is specify HTTP header tokens `X-AgreementGrantToken: demo` and `X-AppSecretToken: demo`. Note however that you can only do GET requests with the demo agreement. If you want full access to our API's, you will need to register.\n\n# Retrieving data\n\nOur data is exposed as collections of items. Each item has many properties, with one property as a unique identifier, usually called `number` or `id`. You can always get a single item if you already know the unique identifier. In case the unique identifier is not known, you can always search the collection and retrieve an array of items that satisfy the search criteria, or retrieve only the count of items that satisfy the search criteria. When you search for items in a collection, you can always use filtering, sorting and pagination. When it comes to pagination, we offer two distinct approaches available on separate endpoints. You can read more about filtering, sorting and pagination in the following sections. \n\n## Filtering\n\nFiltering is enabled on all collection endpoints but not on all properties.\n\nFiltering on collections can be done using the query string parameter `filter`. A filter is made up of a set of predicates and follows a syntax inspired by mongoDB. A predicate is made up of a property name, an operator, and a value.\n\nExample: `?filter=name$eq:Joe`\n\nThis matches all resources with the value Joe in the property name.\n\nPredicates can be chained using either of the logical operators AND and OR.\n\nExample: `?filter=name$eq:Joe$and:city$like:*port`\n\nFiltering on strings is case insensitive.\n\n#### Filterable properties\nInformation about what properties allow filtering and on what operators can be found in the property in the schema for the collection. Each property that allows filtering has the property `\"x-filterable\"` in combination with `operators` set. If you try to filter on something that isn’t allowed the server will respond with a status code 400.\n\n#### Specifying Operator affinity\nIf you want to control the operator affinity then you can use parentheses.\n\nAn example is: `?filter=name$eq:Joe$and:(city$like:*port$or:age$lt:40)`\n\n#### URL Encoding\nURL parameter values should always be URL compatible. Always URL encode filter strings.\n\n#### Filter Operators\nThe possible filtering operators are:\n\n| Operator   | Syntax |\n| --------   | ------ |\n|Equals | $eq:|\n|Not equals | $ne:|\n|Greater than | $gt:|\n|Greater than or equal | $gte:|\n|Less than | $lt:|\n|Less than or equal | $lte:|\n|Substring match\t| $like:|\n|And also | $and:|\n|Or else | $or:|\n|In | $in:|\n|Not In | $nin:|\n\n#### Substring matching\n\nThe `$like:` operator supports both using wildcards (*) and not using wildcards. If no wildcards are used, the expression is considered a `contains` expression and effectively becomes a filter with a wildcard at the start of the string and one at the end of the string. This operator is only allowed on some properties.\n\n#### Escaping special characters in your filter\nTo not interfere with the parsing of the filter expression, certain escape sequences are necessary.\n\n- “$” is escaped with “$$”\n- “(” is escaped with “$(”\n- “)” is escaped with “$)”\n- “*” is escaped with “$*”\n- “,” is escaped with “$,”\n- “[” is escaped with “$[”\n- “]” is escaped with “$]”\n\n#### Using null values in your filter\nShould you want to filter for the nonexistence of a property (i.e. null value) you can use the null escape sequence.\n\n`$null:`\n\n#### Using in and not in operators\nTo determine whether a specified value matches any value in (or not in) a list you filter using the `$in:` or `$nin:` operator. The list to filter by has to be enclosed in brackets and values separated by commas.\n\n`customerNumber$in:[2,5,7,22,45]`\n\n\nIt is possible to also use the `$null:` keyword if you wish to include that in the filter. The max supported length of an array using the `$in:` or `$nin:` operator is 200.\n\n\n## Sorting\n\nSorting on strings is case insensitive.\n\n### Sort ascending\n\nSorting on collections can be done using the query string parameter ‘sort’.\n\n```\n?sort=name\n```\n\n### Sort descending\n\nThe default sort direction is ascending, but this can be turned by prepending a minus (-).\n\n```\n?sort=-name\n```\n\n### Sort by multiple properties\n\nIf you need to sort by multiple properties these can just be separated by commas. Mixing of directions is allowed.\n\n```\n?sort=-name,age\n```\n\n### Sort alphabetically\n\nIn certain cases, you might want to enforce that even numeric values are sorted alphabetically, so 1000 is less than 30. In those cases, you can prepend the sort property with a tilde (~).\n\n```\n?sort=~name\n```\n\n#### Sortable properties\nInformation about what properties are sortable can be found in the schema for the collection. Each property that allows sorting has the property `\"x-sortable\": true` set.\n\n#### Important: Sorting with pagination\nPlease note that sorting is **only available with classic pagination** (using `skippages` and `pagesize`). Sorting is **not supported when using cursor-based pagination**, as the cursor points to a specific record with a fixed ordering.\n\n\n## Pagination\n\nWhen it comes to retrieving a collection of items, you can use two distinct approaches:\n\n* **Cursor-based pagination** (continued loading of items using a `cursor` as a query parameter to get the next page of items)\n  * This is the recommended approach, and the one you should use by default.\n  * The endpoint naming scheme is **\"Retrieve all `Items`\"**. (Usage: `/{ITEM}?cursor={CURSOR_VALUE}`)\n  * The maximum number of items returned in a single call is defined in the `x-cursor-page-size` extension of the response type. Usually, the size is 1000, but in some cases, where we explicitly state so, it can be smaller.\n\n\n* **Classic pagination** (limited functionality*. Specify `skippages` and `pagesize ` as query parameters to get a specific page of items)\n  * You should only consider using classic pagination, if you rely on loading pages (i.e. for list views or table/grid-based UI's).\n  * The endpoint naming scheme is **\"Retrieve a page of `Items`\"**. (Usage: `/{ITEM}/paged?skippages=0&pagesize=20`)  \n    \\* It's important to note that there is a limit of 10.000 items using this approach. Any items outside of the first 10.000 items will not be loaded.\n\nPlease bear in mind that the two approaches are supported by **separate endpoints**. To use classic pagination, add `/paged` to your request URL.\n\nIf you need to know the total count of items that you can expect to get from your search, you can use a separate endpoint called **\"Retrieve the number of `Items`\"**.  \nYou can also use the result of this endpoint to calculate the pagination navigation buttons for a table/grid-based UI.\n\n\n### Which approach should you use?\nWe highly recommend that you use cursor-based pagination because:\n- It is more performant and offers much faster retrieval of items;\n- It can be used for very large collections of many thousands or millions of items, whereas classic pagination is limited to only returning 10.000 results, everything else is ignored;  \n  Classic pagination is only appropriate when you have an app with a table/grid-based UI.\n\n### Cursor-based pagination\n\n#### How it works\n\nWhen you search for items in a large collection, the response will contain a first set of items and a cursor that you can use in a subsequent request to get the next series of items. This way you can retrieve the next set of items only when needed (if the first set suffices, you don't need to send a second request).\n\nThe first set of items usually consists of 1000 results. If the cursor is not present in the response, it means that there are no more items in the results. \n\nPlease note that the cursor represents the `identifier` of the first `item` on the next set and it should not be mistaken for the number of items which are yet to be displayed.\n\n##### Real world example\n\nI want to retrieve all subscriptions.\n\n1) I send a request to https://apis.e-conomic.com/subscriptionsapi/v1.0.0/subscriptions \n   and get back an array of 1.000 subscriptions, and a cursor with value 34781\n\n2) I send a request for the next items in the resulting collection:\n   https://apis.e-conomic.com/subscriptionsapi/v1.0.0/subscriptions?cursor=34781\n   and get back an array of 1.000 subscriptions and a cursor with value 87695\n\n3) I send a request for the next items in the result:\n   https://apis.e-conomic.com/subscriptionsapi/v1.0.0/subscriptions?cursor=87695\n   and get back an array of 56 items and no cursor.\n   No cursor means I have retrieved all the subscriptions, i.e. I have reached the end of the list.\n\n### Classic pagination\n\nIf no parameters are used, the collection endpoint returns 20 items at a time. URL parameters allow you to increase this to up to 100 items or to skip pages if necessary.\n\n##### Real world example\n\nI want to show a grid with page size of 50 and pagination navigation buttons.\n\n1) I send a request to see how many subscriptions there are in the collection:  \n   `https://apis.e-conomic.com/subscriptionsapi/v1.0.0/subscriptions/count`  \n   I get the number of subscriptions in the collection, `2056`, and I can calculate the number of pages to be 2056 divided by 50 = 40 with 6 as remainder, meaning I have 41 pages total. I can then use this to present the user the navigation buttons.\n\n\n2) I send a request to retrieve the first page of subscriptions that my user will see:  \n   `https://apis.e-conomic.com/subscriptionsapi/v1.0.0/subscriptions/paged?pagesize=50&sort=-number`  \n   with this I get back an array of 50 subscriptions, sorted by number in descending order.\n\n\n3) Now if the user wants to see page number 6, I'll send a new request, skipping the first 5 pages to get the subscriptions from page number 6:  \n   `https://apis.e-conomic.com/subscriptionsapi/v1.0.0/subscriptions/paged?pagesize=50&skippages=5&sort=-number`  \n   I get back an array of 50 subscriptions that belong to page number 6 when sorting by number in descending order.\n\n\n\n### Number of items in a collection\n\nAs mentioned before we offer endpoint to get the count of items in the collection. You can also use this info for calculation of pagination navigation in case of classic pagination.\n\nExample `https://apis.e-conomic.com/subscriptionsapi/v1.0.0/subscriptions/count`\n\n\n## HTTP Status Codes\n\nThe Open API returns these HTTP status codes.\n\n| Code | Text                   | Description                                                  |\n| :--- | :--------------------- | :----------------------------------------------------------- |\n| 200  | OK                     | Everything is OK                                             |\n| 201  | Created                | When you create resources, this is what you get. This will be accompanied by the created resource in the body and a location header with a link to the created resource. |\n| 204  | No Content             | In certain cases there is nothing to return. So we will let you know by returning a 204. |\n| 400  | Bad Request            | The request you made was somehow malformed. A malformed request could be failed validation on creation or updating. If you try to filter on something that isn’t filterable this is also what you’ll see. Whenever possible we will also try to include a developer hint to help you get around this issue. |\n| 401  | Unauthorized           | The credentials you supplied us with weren’t correct, or perhaps you forgot them altogether. If an agreement has revoked the grant they gave your app, this is what you will see. |\n| 403  | Forbidden              | You won’t necessarily have access to everything. So even though you were authorized we might still deny access to certain resources. This depends on the roles asked for when the grant was issued. |\n| 404  | Not Found              | This is returned when you try to request something that doesn’t exist. This could be a resource that has been deleted or just a URL you tried to hack. If you see a lot of these, it could be an indication that you aren’t using the links provided by the API. You should never need to concatenate any URLs. The API should provide you with the links needed. |\n| 405  | Method Not Allowed     | Not all endpoints support all HTTP methods. If you try issue a PUT request to a collection resource this is what you get. |\n| 409  | Conflict               | The request cannot be completed due to a conflict with the current state of the target resource. Retrieve the resource/object and try the update again. This is needed in order to prevent you from rolling back another user's update. |\n| 415  | Unsupported Media Type | Our API is a JSON api. If you ask us to give you anything else, we give you this, and tell you why in the JSON body of the response. |\n| 500  | Internal Server Error  | We don’t like to see these, and they are flagged in our logs. When you see this, something went wrong on our end. Either try again, or contact our support. |\n\n\n## Required and Readonly Properties\n\nSince OpenAPI allows client generation based on the specification, we decided to use the same model/schema in our for both read and write endpoints where possible.\n\nThis led us to chose not to have the Id/Number in the URL parameter for PUT requests, but to use the one from the body, so there is no confusion.\n\nWhen a property is marked as `required` it means you need to provide a value on each POST and PUT requests.\n\nWhen a property is marked as `readonly` it means you should provide the same value you get in the GET requests, or do not send the property in the JSON at all (skip it).\n\n## Resource encoding\n\nAll non-alphanumeric characters in resource URLs are standard URL encoded. Please refer to standard URL encoding.\n\n## Implementation specifics\n\nHelpful details to know when implementing e-conomic REST.\n\n### Booleans\n\nBooleans should only be expected to be represented in responses when true. A false boolean is omitted from response body. The same logic applies to write operations such as POST and PUT.\n\n### Nulling\n\nWe do not generally accept null as a value and a validation exception should be expected. To null a property you must exclude it from your JSON on the write operation.\n\n## Object version\n\nObjectVersion is the mechanism that enforces updates only on latest state of an object.\nObjectVersion property is mandatory in Put Requests.\nObjectVersion property is retrieved on Get Request and needs to be included in Put Request.\nIf object was modified between Get and Put requests, Put request will fail with error code `409 Conflict`\n\n```\n{\n  \"message\": \"Update conflict. Version does not match.\",\n  \"developerHint\": \"The resource has been updated by another user. Retrieve the resource/object and try the update again. This is needed in order to prevent you from rolling back another user's update.\",\n  \"logId\": \"09580053-1141-4e7f-85e1-bed8600e0278\",\n  \"logTimeUtc\": \"2021-11-04T09:07:56\",\n  \"property\": \"version\"\n}\n```\n\n## Idempotency tokens\n Idempotency tokens are unique keys that help maintain the integrity of operations on the API’s. These tokens prevent accidental duplication of requests, ensuring that the same operation is not performed multiple times, even if the same request is sent repeatedly.\n \n When making a request, you can set `Idempotency-Key` header with your own unique value for that specific request. In case of a network failure, if you don't get the response, you can retry the request with the same value for the header. Our system will prevent duplicate requests, instead you will get the original response from our cache. \n \n Keep in mind that this is cached for only **one hour** window. \n \n When we return a response from the cache, we set a response header `X-ResultFromCache` to true.\n\n It’s important to note that **you will be responsible for generating and keeping track of these keys**.\n\n The [Idempotency Tokens feature](https://techtalk.e-conomic.com/idempotency-tokens-in-e-conomic-apis/) is not available for GET requests.\n\n## The LastUpdated property of resources\nThe `LastUpdated` property shows the date when a resource was last updated. A resource is considered updated when any property in the model has been changed. If there aren’t any changes, `LastUpdated` will equal the creation date.\n \nPlease bear in mind that not all resources have a LastUpdated property. Also, sometimes the LastUpdated property is modified by changes to a different model, as is the case with sales documents.\nFor example, when an invoice line is created, the LastUpdated field on the invoice is modified.\n \nThe main usage for this property is to help retrieve only data that has been changed within a certain interval. This will save processing and network time spent on the client side.\n \nUsage example: https://apis.e-conomic.com/journalsapi/v16.0.1/the_resource?filter=lastUpdated$gt:2024-02-24\nThis will return all resources which have been updated since 24.02.2024.\n      \n## Custom extensions in OpenAPI specification\n\nIn the specification file, there are some custom extensions that developers can make use of when consuming endpoints. Those extensions are always prefixed by `x-`.\n\n1) `x-required-roles`: The list of roles that are required for each group of endpoints.\n2) `x-error-codes`: The list of error codes that are potentially returned from each group of endpoints.\n3) `x-cursor-page-size`: The maximum number of items in `CursorResults` that can be returned in a single call.\n\n\n# Authentication\n\n**Create tokens as instructed [here](https://www.e-conomic.com/developer/connect) and then add these two authentication headers to your requests:**\n\n<SecurityDefinitions />",
    "contact": {
      "url": "https://www.e-conomic.com/",
      "email": "api@e-conomic.com"
    },
    "version": "16.0.1",
    "x-logo": {
      "url": "",
      "altText": "Visma e-conomic"
    }
  },
  "servers": [
    {
      "url": "https://apis.e-conomic.com/journalsapi/v16.0.1/"
    }
  ],
  "paths": {
    "/draft-entries": {
      "get": {
        "tags": [
          "DraftEntries"
        ],
        "summary": "Get all draft entries",
        "description": "Use this endpoint to fetch all draft",
        "operationId": "GetAllDraftEntries",
        "parameters": [
          {
            "name": "cursor",
            "in": "query",
            "description": "Use this parameter to set the continuation cursor for paging. [Pagination instructions](#section/Retrieving-data/Pagination)",
            "schema": {
              "maxLength": 50,
              "minLength": 0,
              "type": "string",
              "description": "Use this parameter to set the continuation cursor for paging. [Pagination instructions](#section/Retrieving-data/Pagination)"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "description": "Use this parameter to set the filtering for fields. [filtering instructions](#section/Retrieving-data/Filtering)",
            "schema": {
              "type": "string",
              "description": "Use this parameter to set the filtering for fields. [filtering instructions](#section/Retrieving-data/Filtering)"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Array of objects along with a cursor.",
                  "$ref": "#/components/schemas/DraftEntryCursorResults"
                }
              }
            }
          },
          "400": {
            "description": "**Bad request.** Your request does not pass our validation. Check the errors array for more details.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "**Unauthorized access.** Please take a look at https://apis.e-conomic.com and follow the links to help on authorization, or use the word demo for both tokens.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "**Access forbidden.** You won’t necessarily have access to everything. So even though you were authorized we might still deny access to certain resources. This depends on the roles asked for when the grant was issued.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "**Too many requests.** You have made too many calls towards our API. You are over your quota. Need to wait a bit. Check info in the response headers.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "**Internal server error.** Something went wrong but the error has been logged. If you continue to see errors here, please contact api@e-conomic.com. Remember to include log id and agreement number when contacting support.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "DraftEntries"
        ],
        "summary": "Create new draft entry",
        "description": "Use this endpoint to create a single new draft entry",
        "operationId": "CreateNewDraftEntry",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DraftEntry"
              },
              "example": {
                "entryTypeNumber": 0,
                "journalNumber": 0,
                "date": "2019-08-24T14:15:22Z",
                "amount": 0.0,
                "currency": "string"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DraftEntryCreatedResult"
                }
              }
            }
          },
          "400": {
            "description": "**Bad request.** Your request does not pass our validation. Check the errors array for more details.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "**Unauthorized access.** Please take a look at https://apis.e-conomic.com and follow the links to help on authorization, or use the word demo for both tokens.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "**Access forbidden.** You won’t necessarily have access to everything. So even though you were authorized we might still deny access to certain resources. This depends on the roles asked for when the grant was issued.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "**Too many requests.** You have made too many calls towards our API. You are over your quota. Need to wait a bit. Check info in the response headers.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "**Internal server error.** Something went wrong but the error has been logged. If you continue to see errors here, please contact api@e-conomic.com. Remember to include log id and agreement number when contacting support.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "DraftEntries"
        ],
        "summary": "Update existing draft entry",
        "description": "Use this endpoint to update a single draft entry",
        "operationId": "UpdateDraftEntry",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DraftEntry"
              },
              "example": {
                "entryTypeNumber": 0,
                "journalNumber": 0,
                "date": "2019-08-24T14:15:22Z",
                "amount": 0.0,
                "currency": "string"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "description": "**Bad request.** Your request does not pass our validation. Check the errors array for more details.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "**Unauthorized access.** Please take a look at https://apis.e-conomic.com and follow the links to help on authorization, or use the word demo for both tokens.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "**Access forbidden.** You won’t necessarily have access to everything. So even though you were authorized we might still deny access to certain resources. This depends on the roles asked for when the grant was issued.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "**Resource not found.** The resource you have been looking for does not exist.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "409": {
            "description": "**Update conflict. Object version does not match.** The resource has been updated by another user. Retrieve the resource/object and try the update again. This is needed in order to prevent you from rolling back another user's update.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "**Too many requests.** You have made too many calls towards our API. You are over your quota. Need to wait a bit. Check info in the response headers.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "**Internal server error.** Something went wrong but the error has been logged. If you continue to see errors here, please contact api@e-conomic.com. Remember to include log id and agreement number when contacting support.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/draft-entries/paged": {
      "get": {
        "tags": [
          "DraftEntries"
        ],
        "summary": "Get all draft entries paged",
        "description": "Use this endpoint to fetch all draft paged",
        "operationId": "GetPageOfDraftEntries",
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "description": "Use this parameter to set the filtering for fields. [Filtering instructions](#section/Retrieving-data/Filtering)",
            "schema": {
              "type": "string",
              "description": "Use this parameter to set the filtering for fields. [Filtering instructions](#section/Retrieving-data/Filtering)"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "description": "Use this parameter to set the sort fields and direction. [Sort instructions](#section/Retrieving-data/Sorting)",
            "schema": {
              "type": "string",
              "description": "Use this parameter to set the sort fields and direction. [Sort instructions](#section/Retrieving-data/Sorting)"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "Use this parameter to set the page size. [Pagination instructions](#section/Retrieving-data/Pagination)",
            "schema": {
              "maximum": 100,
              "minimum": 1,
              "type": "integer",
              "description": "Use this parameter to set the page size. [Pagination instructions](#section/Retrieving-data/Pagination)",
              "format": "int32",
              "default": 20
            }
          },
          {
            "name": "skipPages",
            "in": "query",
            "description": "Use this parameter to set number of pages to skip. [Pagination instructions](#section/Retrieving-data/Pagination)",
            "schema": {
              "maximum": 100,
              "minimum": 0,
              "type": "integer",
              "description": "Use this parameter to set number of pages to skip. [Pagination instructions](#section/Retrieving-data/Pagination)",
              "format": "int32",
              "default": 0
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DraftEntry"
                  }
                }
              }
            }
          },
          "400": {
            "description": "**Bad request.** Your request does not pass our validation. Check the errors array for more details.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "**Unauthorized access.** Please take a look at https://apis.e-conomic.com and follow the links to help on authorization, or use the word demo for both tokens.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "**Access forbidden.** You won’t necessarily have access to everything. So even though you were authorized we might still deny access to certain resources. This depends on the roles asked for when the grant was issued.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "**Too many requests.** You have made too many calls towards our API. You are over your quota. Need to wait a bit. Check info in the response headers.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "**Internal server error.** Something went wrong but the error has been logged. If you continue to see errors here, please contact api@e-conomic.com. Remember to include log id and agreement number when contacting support.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/draft-entries/count": {
      "get": {
        "tags": [
          "DraftEntries"
        ],
        "summary": "Retrieve the number of DraftEntries",
        "description": "Call this endpoint to get the number of DraftEntries. You can use filtering as well.",
        "operationId": "GetNumberOfDraftEntries",
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "description": "Use this parameter to set the filtering for fields. [Filtering instructions](#section/Retrieving-data/Filtering)",
            "schema": {
              "type": "string",
              "description": "Use this parameter to set the filtering for fields. [Filtering instructions](#section/Retrieving-data/Filtering)"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              }
            }
          },
          "400": {
            "description": "**Bad request.** Your request does not pass our validation. Check the errors array for more details.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "**Unauthorized access.** Please take a look at https://apis.e-conomic.com and follow the links to help on authorization, or use the word demo for both tokens.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "**Access forbidden.** You won’t necessarily have access to everything. So even though you were authorized we might still deny access to certain resources. This depends on the roles asked for when the grant was issued.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "**Too many requests.** You have made too many calls towards our API. You are over your quota. Need to wait a bit. Check info in the response headers.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "**Internal server error.** Something went wrong but the error has been logged. If you continue to see errors here, please contact api@e-conomic.com. Remember to include log id and agreement number when contacting support.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/draft-entries/{entryNumber}": {
      "get": {
        "tags": [
          "DraftEntries"
        ],
        "summary": "Get a single draft entry",
        "description": "Use this endpoint to fetch a single draft entry",
        "operationId": "GetSingleDraftEntry",
        "parameters": [
          {
            "name": "entryNumber",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DraftEntry"
                }
              }
            }
          },
          "400": {
            "description": "**Bad request.** Your request does not pass our validation. Check the errors array for more details.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "**Unauthorized access.** Please take a look at https://apis.e-conomic.com and follow the links to help on authorization, or use the word demo for both tokens.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "**Access forbidden.** You won’t necessarily have access to everything. So even though you were authorized we might still deny access to certain resources. This depends on the roles asked for when the grant was issued.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "**Resource not found.** The resource you have been looking for does not exist.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "**Too many requests.** You have made too many calls towards our API. You are over your quota. Need to wait a bit. Check info in the response headers.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "**Internal server error.** Something went wrong but the error has been logged. If you continue to see errors here, please contact api@e-conomic.com. Remember to include log id and agreement number when contacting support.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "DraftEntries"
        ],
        "summary": "Delete existing draft entry",
        "description": "Use this endpoint to delete a single draft entry",
        "operationId": "DeleteDraftEntry",
        "parameters": [
          {
            "name": "entryNumber",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "description": "**Bad request.** Your request does not pass our validation. Check the errors array for more details.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "**Unauthorized access.** Please take a look at https://apis.e-conomic.com and follow the links to help on authorization, or use the word demo for both tokens.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "**Access forbidden.** You won’t necessarily have access to everything. So even though you were authorized we might still deny access to certain resources. This depends on the roles asked for when the grant was issued.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "**Resource not found.** The resource you have been looking for does not exist.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "**Too many requests.** You have made too many calls towards our API. You are over your quota. Need to wait a bit. Check info in the response headers.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "**Internal server error.** Something went wrong but the error has been logged. If you continue to see errors here, please contact api@e-conomic.com. Remember to include log id and agreement number when contacting support.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/draft-entries/bulk": {
      "post": {
        "tags": [
          "DraftEntries"
        ],
        "summary": "Create multiple new draft entries",
        "description": "Use this endpoint to create up to 500 new draft entries",
        "operationId": "CreateBulkDraftEntries",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DraftEntries"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DraftEntryCreatedResultArray"
                }
              }
            }
          },
          "400": {
            "description": "**Bad request.** Your request does not pass our validation. Check the errors array for more details.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "**Unauthorized access.** Please take a look at https://apis.e-conomic.com and follow the links to help on authorization, or use the word demo for both tokens.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "**Access forbidden.** You won’t necessarily have access to everything. So even though you were authorized we might still deny access to certain resources. This depends on the roles asked for when the grant was issued.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "**Too many requests.** You have made too many calls towards our API. You are over your quota. Need to wait a bit. Check info in the response headers.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "**Internal server error.** Something went wrong but the error has been logged. If you continue to see errors here, please contact api@e-conomic.com. Remember to include log id and agreement number when contacting support.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "DraftEntries"
        ],
        "summary": "Update multiple draft entries",
        "description": "Use this endpoint to update up to 500 draft entries",
        "operationId": "UpdateBulkDraftEntries",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DraftEntries"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "description": "**Bad request.** Your request does not pass our validation. Check the errors array for more details.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "**Unauthorized access.** Please take a look at https://apis.e-conomic.com and follow the links to help on authorization, or use the word demo for both tokens.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "**Access forbidden.** You won’t necessarily have access to everything. So even though you were authorized we might still deny access to certain resources. This depends on the roles asked for when the grant was issued.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "**Resource not found.** The resource you have been looking for does not exist.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "409": {
            "description": "**Update conflict. Object version does not match.** The resource has been updated by another user. Retrieve the resource/object and try the update again. This is needed in order to prevent you from rolling back another user's update.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "**Too many requests.** You have made too many calls towards our API. You are over your quota. Need to wait a bit. Check info in the response headers.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "**Internal server error.** Something went wrong but the error has been logged. If you continue to see errors here, please contact api@e-conomic.com. Remember to include log id and agreement number when contacting support.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/draft-entries/delete/{journalNumber}": {
      "delete": {
        "tags": [
          "DraftEntries"
        ],
        "summary": "Delete all draft entries within a journal",
        "description": "Use this endpoint to delete all draft entries within the specified journal",
        "operationId": "ClearJournal",
        "parameters": [
          {
            "name": "journalNumber",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "description": "**Bad request.** Your request does not pass our validation. Check the errors array for more details.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "**Unauthorized access.** Please take a look at https://apis.e-conomic.com and follow the links to help on authorization, or use the word demo for both tokens.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "**Access forbidden.** You won’t necessarily have access to everything. So even though you were authorized we might still deny access to certain resources. This depends on the roles asked for when the grant was issued.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "**Resource not found.** The resource you have been looking for does not exist.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "**Too many requests.** You have made too many calls towards our API. You are over your quota. Need to wait a bit. Check info in the response headers.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "**Internal server error.** Something went wrong but the error has been logged. If you continue to see errors here, please contact api@e-conomic.com. Remember to include log id and agreement number when contacting support.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/entries/draft/{journalNumber}/book": {
      "post": {
        "tags": [
          "DraftEntriesDeprecated"
        ],
        "summary": "Book Entries",
        "description": "Use this endpoint to book all draft entries in a journal.",
        "operationId": "Book",
        "parameters": [
          {
            "name": "journalNumber",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "description": "**Bad request.** Your request does not pass our validation. Check the errors array for more details.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "**Unauthorized access.** Please take a look at https://apis.e-conomic.com and follow the links to help on authorization, or use the word demo for both tokens.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "**Access forbidden.** You won’t necessarily have access to everything. So even though you were authorized we might still deny access to certain resources. This depends on the roles asked for when the grant was issued.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "**Resource not found.** The resource you have been looking for does not exist.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "**Too many requests.** You have made too many calls towards our API. You are over your quota. Need to wait a bit. Check info in the response headers.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "**Internal server error.** Something went wrong but the error has been logged. If you continue to see errors here, please contact api@e-conomic.com. Remember to include log id and agreement number when contacting support.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/entries/draft/{journalNumber}/bookWithDateInterval": {
      "post": {
        "tags": [
          "DraftEntriesDeprecated"
        ],
        "summary": "Book Entries with date interval",
        "description": "Use this endpoint to book draft entries contained in a time interval from a journal.",
        "operationId": "BookWithDateInterval",
        "parameters": [
          {
            "name": "journalNumber",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BookingParameters"
              },
              "example": {
                "fromDate": "2019-08-24T14:15:22Z",
                "toDate": "2019-08-24T14:15:22Z"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "description": "**Bad request.** Your request does not pass our validation. Check the errors array for more details.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "**Unauthorized access.** Please take a look at https://apis.e-conomic.com and follow the links to help on authorization, or use the word demo for both tokens.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "**Access forbidden.** You won’t necessarily have access to everything. So even though you were authorized we might still deny access to certain resources. This depends on the roles asked for when the grant was issued.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "**Resource not found.** The resource you have been looking for does not exist.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "**Too many requests.** You have made too many calls towards our API. You are over your quota. Need to wait a bit. Check info in the response headers.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "**Internal server error.** Something went wrong but the error has been logged. If you continue to see errors here, please contact api@e-conomic.com. Remember to include log id and agreement number when contacting support.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/accruals/{journalNumber}/{entryNumber}": {
      "get": {
        "tags": [
          "DraftEntryAccruals"
        ],
        "summary": "Get a single accrual by journal and draft entry number",
        "description": "Use this endpoint to fetch a single accrual by its journal number and draft entry number",
        "operationId": "GetSingleDraftEntryAccruals",
        "parameters": [
          {
            "name": "journalNumber",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "entryNumber",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DraftEntryAccrual"
                }
              }
            }
          },
          "400": {
            "description": "**Bad request.** Your request does not pass our validation. Check the errors array for more details.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "**Unauthorized access.** Please take a look at https://apis.e-conomic.com and follow the links to help on authorization, or use the word demo for both tokens.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "**Access forbidden.** You won’t necessarily have access to everything. So even though you were authorized we might still deny access to certain resources. This depends on the roles asked for when the grant was issued.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "**Resource not found.** The resource you have been looking for does not exist.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "**Too many requests.** You have made too many calls towards our API. You are over your quota. Need to wait a bit. Check info in the response headers.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "**Internal server error.** Something went wrong but the error has been logged. If you continue to see errors here, please contact api@e-conomic.com. Remember to include log id and agreement number when contacting support.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/accruals": {
      "get": {
        "tags": [
          "DraftEntryAccruals"
        ],
        "summary": "Get all draft entry accruals",
        "description": "Use this endpoint to fetch all draft entry accruals",
        "operationId": "GetAllDraftEntryAccruals",
        "parameters": [
          {
            "name": "cursor",
            "in": "query",
            "description": "Use this parameter to set the continuation cursor for paging. [Pagination instructions](#section/Retrieving-data/Pagination)",
            "schema": {
              "maxLength": 50,
              "minLength": 0,
              "type": "string",
              "description": "Use this parameter to set the continuation cursor for paging. [Pagination instructions](#section/Retrieving-data/Pagination)"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "description": "Use this parameter to set the filtering for fields. [filtering instructions](#section/Retrieving-data/Filtering)",
            "schema": {
              "type": "string",
              "description": "Use this parameter to set the filtering for fields. [filtering instructions](#section/Retrieving-data/Filtering)"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Array of objects along with a cursor.",
                  "$ref": "#/components/schemas/DraftEntryAccrualCursorResults"
                }
              }
            }
          },
          "400": {
            "description": "**Bad request.** Your request does not pass our validation. Check the errors array for more details.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "**Unauthorized access.** Please take a look at https://apis.e-conomic.com and follow the links to help on authorization, or use the word demo for both tokens.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "**Access forbidden.** You won’t necessarily have access to everything. So even though you were authorized we might still deny access to certain resources. This depends on the roles asked for when the grant was issued.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "**Too many requests.** You have made too many calls towards our API. You are over your quota. Need to wait a bit. Check info in the response headers.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "**Internal server error.** Something went wrong but the error has been logged. If you continue to see errors here, please contact api@e-conomic.com. Remember to include log id and agreement number when contacting support.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "DraftEntryAccruals"
        ],
        "summary": "Create accrual on existing draft entry",
        "description": "Use this endpoint to create a single draft entry accrual",
        "operationId": "CreateNewDraftEntryAccrual",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DraftEntryAccrual"
              },
              "example": {
                "entryNumber": 0,
                "journalNumber": 0,
                "accountNumber": 0,
                "startDate": "2019-08-24T14:15:22Z",
                "endDate": "2019-08-24T14:15:22Z"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DraftEntryAccrualCreatedResult"
                }
              }
            }
          },
          "400": {
            "description": "**Bad request.** Your request does not pass our validation. Check the errors array for more details.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "**Unauthorized access.** Please take a look at https://apis.e-conomic.com and follow the links to help on authorization, or use the word demo for both tokens.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "**Access forbidden.** You won’t necessarily have access to everything. So even though you were authorized we might still deny access to certain resources. This depends on the roles asked for when the grant was issued.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "**Too many requests.** You have made too many calls towards our API. You are over your quota. Need to wait a bit. Check info in the response headers.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "**Internal server error.** Something went wrong but the error has been logged. If you continue to see errors here, please contact api@e-conomic.com. Remember to include log id and agreement number when contacting support.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "DraftEntryAccruals"
        ],
        "summary": "Update an existing draft entry accrual",
        "description": "Use this endpoint to update a single draft entry accrual",
        "operationId": "UpdateDraftEntryAccrual",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DraftEntryAccrual"
              },
              "example": {
                "entryNumber": 0,
                "journalNumber": 0,
                "accountNumber": 0,
                "startDate": "2019-08-24T14:15:22Z",
                "endDate": "2019-08-24T14:15:22Z"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "description": "**Bad request.** Your request does not pass our validation. Check the errors array for more details.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "**Unauthorized access.** Please take a look at https://apis.e-conomic.com and follow the links to help on authorization, or use the word demo for both tokens.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "**Access forbidden.** You won’t necessarily have access to everything. So even though you were authorized we might still deny access to certain resources. This depends on the roles asked for when the grant was issued.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "**Resource not found.** The resource you have been looking for does not exist.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "409": {
            "description": "**Update conflict. Object version does not match.** The resource has been updated by another user. Retrieve the resource/object and try the update again. This is needed in order to prevent you from rolling back another user's update.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "**Too many requests.** You have made too many calls towards our API. You are over your quota. Need to wait a bit. Check info in the response headers.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "**Internal server error.** Something went wrong but the error has been logged. If you continue to see errors here, please contact api@e-conomic.com. Remember to include log id and agreement number when contacting support.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "DraftEntryAccruals"
        ],
        "summary": "Delete an existing draft entry accrual",
        "description": "Use this endpoint to delete a single draft entry accrual",
        "operationId": "DeleteDraftEntryAccrual",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DraftEntryAccrual"
              },
              "example": {
                "entryNumber": 0,
                "journalNumber": 0,
                "accountNumber": 0,
                "startDate": "2019-08-24T14:15:22Z",
                "endDate": "2019-08-24T14:15:22Z"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "description": "**Bad request.** Your request does not pass our validation. Check the errors array for more details.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "**Unauthorized access.** Please take a look at https://apis.e-conomic.com and follow the links to help on authorization, or use the word demo for both tokens.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "**Access forbidden.** You won’t necessarily have access to everything. So even though you were authorized we might still deny access to certain resources. This depends on the roles asked for when the grant was issued.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "**Resource not found.** The resource you have been looking for does not exist.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "**Too many requests.** You have made too many calls towards our API. You are over your quota. Need to wait a bit. Check info in the response headers.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "**Internal server error.** Something went wrong but the error has been logged. If you continue to see errors here, please contact api@e-conomic.com. Remember to include log id and agreement number when contacting support.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/accruals/paged": {
      "get": {
        "tags": [
          "DraftEntryAccruals"
        ],
        "summary": "Get all draft entry accruals paged",
        "description": "Use this endpoint to fetch all draft entry accruals paged",
        "operationId": "GetPageOfDraftEntryAccruals",
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "description": "Use this parameter to set the filtering for fields. [Filtering instructions](#section/Retrieving-data/Filtering)",
            "schema": {
              "type": "string",
              "description": "Use this parameter to set the filtering for fields. [Filtering instructions](#section/Retrieving-data/Filtering)"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "description": "Use this parameter to set the sort fields and direction. [Sort instructions](#section/Retrieving-data/Sorting)",
            "schema": {
              "type": "string",
              "description": "Use this parameter to set the sort fields and direction. [Sort instructions](#section/Retrieving-data/Sorting)"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "Use this parameter to set the page size. [Pagination instructions](#section/Retrieving-data/Pagination)",
            "schema": {
              "maximum": 100,
              "minimum": 1,
              "type": "integer",
              "description": "Use this parameter to set the page size. [Pagination instructions](#section/Retrieving-data/Pagination)",
              "format": "int32",
              "default": 20
            }
          },
          {
            "name": "skipPages",
            "in": "query",
            "description": "Use this parameter to set number of pages to skip. [Pagination instructions](#section/Retrieving-data/Pagination)",
            "schema": {
              "maximum": 100,
              "minimum": 0,
              "type": "integer",
              "description": "Use this parameter to set number of pages to skip. [Pagination instructions](#section/Retrieving-data/Pagination)",
              "format": "int32",
              "default": 0
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DraftEntryAccrual"
                  }
                }
              }
            }
          },
          "400": {
            "description": "**Bad request.** Your request does not pass our validation. Check the errors array for more details.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "**Unauthorized access.** Please take a look at https://apis.e-conomic.com and follow the links to help on authorization, or use the word demo for both tokens.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "**Access forbidden.** You won’t necessarily have access to everything. So even though you were authorized we might still deny access to certain resources. This depends on the roles asked for when the grant was issued.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "**Too many requests.** You have made too many calls towards our API. You are over your quota. Need to wait a bit. Check info in the response headers.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "**Internal server error.** Something went wrong but the error has been logged. If you continue to see errors here, please contact api@e-conomic.com. Remember to include log id and agreement number when contacting support.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/accruals/count": {
      "get": {
        "tags": [
          "DraftEntryAccruals"
        ],
        "summary": "Retrieve the number of DraftEntryAccruals",
        "description": "Call this endpoint to get the number of DraftEntryAccruals. You can use filtering as well.",
        "operationId": "GetNumberOfDraftEntryAccruals",
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "description": "Use this parameter to set the filtering for fields. [Filtering instructions](#section/Retrieving-data/Filtering)",
            "schema": {
              "type": "string",
              "description": "Use this parameter to set the filtering for fields. [Filtering instructions](#section/Retrieving-data/Filtering)"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              }
            }
          },
          "400": {
            "description": "**Bad request.** Your request does not pass our validation. Check the errors array for more details.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "**Unauthorized access.** Please take a look at https://apis.e-conomic.com and follow the links to help on authorization, or use the word demo for both tokens.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "**Access forbidden.** You won’t necessarily have access to everything. So even though you were authorized we might still deny access to certain resources. This depends on the roles asked for when the grant was issued.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "**Too many requests.** You have made too many calls towards our API. You are over your quota. Need to wait a bit. Check info in the response headers.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "**Internal server error.** Something went wrong but the error has been logged. If you continue to see errors here, please contact api@e-conomic.com. Remember to include log id and agreement number when contacting support.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/journals/{journalNumber}/book": {
      "post": {
        "tags": [
          "JournalBooking"
        ],
        "summary": "Book Entries",
        "description": "Use this endpoint to book all draft entries in a journal.",
        "operationId": "BookEntriesWithinJournal",
        "parameters": [
          {
            "name": "journalNumber",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "description": "**Bad request.** Your request does not pass our validation. Check the errors array for more details.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "**Unauthorized access.** Please take a look at https://apis.e-conomic.com and follow the links to help on authorization, or use the word demo for both tokens.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "**Access forbidden.** You won’t necessarily have access to everything. So even though you were authorized we might still deny access to certain resources. This depends on the roles asked for when the grant was issued.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "**Resource not found.** The resource you have been looking for does not exist.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "**Too many requests.** You have made too many calls towards our API. You are over your quota. Need to wait a bit. Check info in the response headers.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "**Internal server error.** Something went wrong but the error has been logged. If you continue to see errors here, please contact api@e-conomic.com. Remember to include log id and agreement number when contacting support.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/journals/{journalNumber}/bookWithDateInterval": {
      "post": {
        "tags": [
          "JournalBooking"
        ],
        "summary": "Book Entries with date interval",
        "description": "Use this endpoint to book draft entries contained in a time interval from a journal.",
        "operationId": "BookEntriesWithinJournalWithDateInterval",
        "parameters": [
          {
            "name": "journalNumber",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BookingParameters"
              },
              "example": {
                "fromDate": "2019-08-24T14:15:22Z",
                "toDate": "2019-08-24T14:15:22Z"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "description": "**Bad request.** Your request does not pass our validation. Check the errors array for more details.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "**Unauthorized access.** Please take a look at https://apis.e-conomic.com and follow the links to help on authorization, or use the word demo for both tokens.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "**Access forbidden.** You won’t necessarily have access to everything. So even though you were authorized we might still deny access to certain resources. This depends on the roles asked for when the grant was issued.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "**Resource not found.** The resource you have been looking for does not exist.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "**Too many requests.** You have made too many calls towards our API. You are over your quota. Need to wait a bit. Check info in the response headers.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "**Internal server error.** Something went wrong but the error has been logged. If you continue to see errors here, please contact api@e-conomic.com. Remember to include log id and agreement number when contacting support.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/journals/{journalNumber}/bookdraftentries": {
      "post": {
        "tags": [
          "JournalBooking"
        ],
        "summary": "Book list of Entries",
        "description": "Use this endpoint to book list of draft entries.",
        "operationId": "BookSpecificEntriesWithinJournal",
        "parameters": [
          {
            "name": "journalNumber",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BookEntriesParameters"
              },
              "example": {
                "entryNumbers": [
                  { }
                ]
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "description": "**Bad request.** Your request does not pass our validation. Check the errors array for more details.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "**Unauthorized access.** Please take a look at https://apis.e-conomic.com and follow the links to help on authorization, or use the word demo for both tokens.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "**Access forbidden.** You won’t necessarily have access to everything. So even though you were authorized we might still deny access to certain resources. This depends on the roles asked for when the grant was issued.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "**Resource not found.** The resource you have been looking for does not exist.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "**Too many requests.** You have made too many calls towards our API. You are over your quota. Need to wait a bit. Check info in the response headers.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "**Internal server error.** Something went wrong but the error has been logged. If you continue to see errors here, please contact api@e-conomic.com. Remember to include log id and agreement number when contacting support.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/journals": {
      "get": {
        "tags": [
          "Journals"
        ],
        "summary": "Get all journals",
        "description": "Use this endpoint to fetch all journals",
        "operationId": "GetAllJournals",
        "parameters": [
          {
            "name": "cursor",
            "in": "query",
            "description": "Use this parameter to set the continuation cursor for paging. [Pagination instructions](#section/Retrieving-data/Pagination)",
            "schema": {
              "maxLength": 50,
              "minLength": 0,
              "type": "string",
              "description": "Use this parameter to set the continuation cursor for paging. [Pagination instructions](#section/Retrieving-data/Pagination)"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "description": "Use this parameter to set the filtering for fields. [filtering instructions](#section/Retrieving-data/Filtering)",
            "schema": {
              "type": "string",
              "description": "Use this parameter to set the filtering for fields. [filtering instructions](#section/Retrieving-data/Filtering)"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Array of objects along with a cursor.",
                  "$ref": "#/components/schemas/JournalCursorResults"
                }
              }
            }
          },
          "400": {
            "description": "**Bad request.** Your request does not pass our validation. Check the errors array for more details.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "**Unauthorized access.** Please take a look at https://apis.e-conomic.com and follow the links to help on authorization, or use the word demo for both tokens.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "**Access forbidden.** You won’t necessarily have access to everything. So even though you were authorized we might still deny access to certain resources. This depends on the roles asked for when the grant was issued.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "**Too many requests.** You have made too many calls towards our API. You are over your quota. Need to wait a bit. Check info in the response headers.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "**Internal server error.** Something went wrong but the error has been logged. If you continue to see errors here, please contact api@e-conomic.com. Remember to include log id and agreement number when contacting support.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Journals"
        ],
        "summary": "Create a single Journal",
        "description": "Use this endpoint to create a single Journal.",
        "operationId": "CreateJournal",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Journal"
              },
              "example": {
                "balancingBehavior": false,
                "autoApprove": false,
                "isStandingJournal": false,
                "requireAdminApproval": false,
                "lockVatCodes": false,
                "name": "string",
                "allowPartialBooking": false,
                "requireBalancePerVoucherId": false,
                "repeatText": false
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreatedResult"
                }
              }
            }
          },
          "400": {
            "description": "**Bad request.** Your request does not pass our validation. Check the errors array for more details.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "**Unauthorized access.** Please take a look at https://apis.e-conomic.com and follow the links to help on authorization, or use the word demo for both tokens.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "**Access forbidden.** You won’t necessarily have access to everything. So even though you were authorized we might still deny access to certain resources. This depends on the roles asked for when the grant was issued.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "**Too many requests.** You have made too many calls towards our API. You are over your quota. Need to wait a bit. Check info in the response headers.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "**Internal server error.** Something went wrong but the error has been logged. If you continue to see errors here, please contact api@e-conomic.com. Remember to include log id and agreement number when contacting support.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Journals"
        ],
        "summary": "Update existing journal",
        "description": "Use this endpoint to update journal",
        "operationId": "UpdateJournal",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Journal"
              },
              "example": {
                "balancingBehavior": false,
                "autoApprove": false,
                "isStandingJournal": false,
                "requireAdminApproval": false,
                "lockVatCodes": false,
                "name": "string",
                "allowPartialBooking": false,
                "requireBalancePerVoucherId": false,
                "repeatText": false
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "description": "**Bad request.** Your request does not pass our validation. Check the errors array for more details.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "**Unauthorized access.** Please take a look at https://apis.e-conomic.com and follow the links to help on authorization, or use the word demo for both tokens.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "**Access forbidden.** You won’t necessarily have access to everything. So even though you were authorized we might still deny access to certain resources. This depends on the roles asked for when the grant was issued.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "**Resource not found.** The resource you have been looking for does not exist.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "409": {
            "description": "**Update conflict. Object version does not match.** The resource has been updated by another user. Retrieve the resource/object and try the update again. This is needed in order to prevent you from rolling back another user's update.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "**Too many requests.** You have made too many calls towards our API. You are over your quota. Need to wait a bit. Check info in the response headers.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "**Internal server error.** Something went wrong but the error has been logged. If you continue to see errors here, please contact api@e-conomic.com. Remember to include log id and agreement number when contacting support.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/journals/paged": {
      "get": {
        "tags": [
          "Journals"
        ],
        "summary": "Get all journals paged",
        "description": "Use this endpoint to fetch all journals paged",
        "operationId": "GetPageOfJournals",
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "description": "Use this parameter to set the filtering for fields. [Filtering instructions](#section/Retrieving-data/Filtering)",
            "schema": {
              "type": "string",
              "description": "Use this parameter to set the filtering for fields. [Filtering instructions](#section/Retrieving-data/Filtering)"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "description": "Use this parameter to set the sort fields and direction. [Sort instructions](#section/Retrieving-data/Sorting)",
            "schema": {
              "type": "string",
              "description": "Use this parameter to set the sort fields and direction. [Sort instructions](#section/Retrieving-data/Sorting)"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "Use this parameter to set the page size. [Pagination instructions](#section/Retrieving-data/Pagination)",
            "schema": {
              "maximum": 100,
              "minimum": 1,
              "type": "integer",
              "description": "Use this parameter to set the page size. [Pagination instructions](#section/Retrieving-data/Pagination)",
              "format": "int32",
              "default": 20
            }
          },
          {
            "name": "skipPages",
            "in": "query",
            "description": "Use this parameter to set number of pages to skip. [Pagination instructions](#section/Retrieving-data/Pagination)",
            "schema": {
              "maximum": 100,
              "minimum": 0,
              "type": "integer",
              "description": "Use this parameter to set number of pages to skip. [Pagination instructions](#section/Retrieving-data/Pagination)",
              "format": "int32",
              "default": 0
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Journal"
                  }
                }
              }
            }
          },
          "400": {
            "description": "**Bad request.** Your request does not pass our validation. Check the errors array for more details.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "**Unauthorized access.** Please take a look at https://apis.e-conomic.com and follow the links to help on authorization, or use the word demo for both tokens.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "**Access forbidden.** You won’t necessarily have access to everything. So even though you were authorized we might still deny access to certain resources. This depends on the roles asked for when the grant was issued.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "**Too many requests.** You have made too many calls towards our API. You are over your quota. Need to wait a bit. Check info in the response headers.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "**Internal server error.** Something went wrong but the error has been logged. If you continue to see errors here, please contact api@e-conomic.com. Remember to include log id and agreement number when contacting support.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/journals/count": {
      "get": {
        "tags": [
          "Journals"
        ],
        "summary": "Retrieve the number of journals",
        "description": "Call this endpoint to get the number of Journals. You can use filtering as well.",
        "operationId": "GetNumberOfJournals",
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "description": "Use this parameter to set the filtering for fields. [Filtering instructions](#section/Retrieving-data/Filtering)",
            "schema": {
              "type": "string",
              "description": "Use this parameter to set the filtering for fields. [Filtering instructions](#section/Retrieving-data/Filtering)"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "integer",
                  "format": "int32"
                }
              }
            }
          },
          "400": {
            "description": "**Bad request.** Your request does not pass our validation. Check the errors array for more details.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "**Unauthorized access.** Please take a look at https://apis.e-conomic.com and follow the links to help on authorization, or use the word demo for both tokens.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "**Access forbidden.** You won’t necessarily have access to everything. So even though you were authorized we might still deny access to certain resources. This depends on the roles asked for when the grant was issued.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "**Too many requests.** You have made too many calls towards our API. You are over your quota. Need to wait a bit. Check info in the response headers.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "**Internal server error.** Something went wrong but the error has been logged. If you continue to see errors here, please contact api@e-conomic.com. Remember to include log id and agreement number when contacting support.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/journals/{number}": {
      "get": {
        "tags": [
          "Journals"
        ],
        "summary": "Get a single journal",
        "description": "Use this endpoint to fetch a single journal",
        "operationId": "GetJournalByNumber",
        "parameters": [
          {
            "name": "number",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Journal"
                }
              }
            }
          },
          "400": {
            "description": "**Bad request.** Your request does not pass our validation. Check the errors array for more details.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "**Unauthorized access.** Please take a look at https://apis.e-conomic.com and follow the links to help on authorization, or use the word demo for both tokens.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "**Access forbidden.** You won’t necessarily have access to everything. So even though you were authorized we might still deny access to certain resources. This depends on the roles asked for when the grant was issued.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "**Resource not found.** The resource you have been looking for does not exist.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "**Too many requests.** You have made too many calls towards our API. You are over your quota. Need to wait a bit. Check info in the response headers.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "**Internal server error.** Something went wrong but the error has been logged. If you continue to see errors here, please contact api@e-conomic.com. Remember to include log id and agreement number when contacting support.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Journals"
        ],
        "summary": "Delete existing journal",
        "description": "Use this endpoint to delete a journal",
        "operationId": "DeleteJournal",
        "parameters": [
          {
            "name": "number",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "description": "**Bad request.** Your request does not pass our validation. Check the errors array for more details.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "**Unauthorized access.** Please take a look at https://apis.e-conomic.com and follow the links to help on authorization, or use the word demo for both tokens.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "**Access forbidden.** You won’t necessarily have access to everything. So even though you were authorized we might still deny access to certain resources. This depends on the roles asked for when the grant was issued.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "**Resource not found.** The resource you have been looking for does not exist.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "**Too many requests.** You have made too many calls towards our API. You are over your quota. Need to wait a bit. Check info in the response headers.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "**Internal server error.** Something went wrong but the error has been logged. If you continue to see errors here, please contact api@e-conomic.com. Remember to include log id and agreement number when contacting support.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "BookEntriesParameters": {
        "required": [
          "entryNumbers"
        ],
        "type": "object",
        "properties": {
          "entryNumbers": {
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "description": "The numbers of the journal entries to be booked.<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "x-filterable": "not filterable",
            "x-sortable": false
          }
        },
        "additionalProperties": false
      },
      "BookedEntry": {
        "required": [
          "accountNumber",
          "entryNumber"
        ],
        "type": "object",
        "properties": {
          "entryNumber": {
            "type": "integer",
            "description": "The unique number of the entry.<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Read-only: true</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: eq, ne, lt, lte, gt, gte, in, nin</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: true</p>",
            "format": "int32",
            "readOnly": true,
            "x-filterable": "eq, ne, lt, lte, gt, gte, in, nin",
            "x-sortable": true
          },
          "accountNumber": {
            "type": "integer",
            "description": "The account number to which the entry was registered.<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: eq, ne, lt, lte, gt, gte, in, nin</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: true</p>",
            "format": "int32",
            "x-filterable": "eq, ne, lt, lte, gt, gte, in, nin",
            "x-sortable": true
          },
          "amount": {
            "type": "number",
            "description": "The amount set on the entry using the currency set on the entry.<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: eq, ne, lt, lte, gt, gte</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: true</p>",
            "format": "double",
            "x-filterable": "eq, ne, lt, lte, gt, gte",
            "x-sortable": true
          },
          "amountInBaseCurrency": {
            "type": "number",
            "description": "The amount of the entry using the base currency for the agreement <p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: eq, ne, lt, lte, gt, gte</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: true</p>",
            "format": "double",
            "x-filterable": "eq, ne, lt, lte, gt, gte",
            "x-sortable": true
          },
          "currencyCode": {
            "type": [
              "null",
              "string"
            ],
            "description": "The code of the currency set on the entry.<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: eq, ne, lt, lte, gt, gte, in, nin</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: true</p>",
            "x-filterable": "eq, ne, lt, lte, gt, gte, in, nin",
            "x-sortable": true
          },
          "date": {
            "type": "string",
            "description": "The date of the entry.<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: eq, ne, lt, lte, gt, gte</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: true</p>",
            "format": "date-time",
            "x-filterable": "eq, ne, lt, lte, gt, gte",
            "x-sortable": true
          },
          "text": {
            "type": [
              "null",
              "string"
            ],
            "description": "The text associated with the entry.<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: eq, ne, lt, lte, gt, gte, like</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "x-filterable": "eq, ne, lt, lte, gt, gte, like",
            "x-sortable": false
          },
          "type": {
            "allOf": [
              {
                "description": "<details><summary><b>Click to see the list of possible values.</b></summary>\n\n| Value | Name | Description |\n| ----- | ---- | ----------- |\n| 0 | All |  |\n| 1 | CustomerInvoice |  |\n| 2 | CustomerPayment |  |\n| 3 | SupplierInvoice |  |\n| 4 | SupplierPayment |  |\n| 5 | FinanceVoucher |  |\n| 6 | Reminder |  |\n| 7 | OpeningEntry |  |\n| 8 | TransferredOpeningEntry |  |\n| 9 | SystemEntry |  |\n| 10 | ManualCustomerInvoice |  |\n</details>",
                "$ref": "#/components/schemas/EntryTypeNames"
              }
            ],
            "description": "The entry type of the entry. \n\nThe Type can be: \n- 0: All \n- 1: Customer Invoice \n- 2: Customer Payment \n- 3: Supplier Invoice \n- 4: Supplier Payment \n- 5: Finance Voucher \n- 6: Reminder \n- 7: Opening Entry \n- 8: Transferred Opening Entry \n- 9: System Entry \n- 10: Manual Customer Invoice. \n\n\n\n<details><summary><b>Click to see the list of possible values.</b></summary>\n\n| Value | Name | Description |\n| ----- | ---- | ----------- |\n| 0 | All |  |\n| 1 | CustomerInvoice |  |\n| 2 | CustomerPayment |  |\n| 3 | SupplierInvoice |  |\n| 4 | SupplierPayment |  |\n| 5 | FinanceVoucher |  |\n| 6 | Reminder |  |\n| 7 | OpeningEntry |  |\n| 8 | TransferredOpeningEntry |  |\n| 9 | SystemEntry |  |\n| 10 | ManualCustomerInvoice |  |\n</details><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: eq, ne</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: true</p>",
            "x-filterable": "eq, ne",
            "x-sortable": true
          },
          "vatAccountNumber": {
            "type": [
              "null",
              "string"
            ],
            "description": "The VAT account number .<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: eq, ne, lt, lte, gt, gte, in, nin</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: true</p>",
            "x-filterable": "eq, ne, lt, lte, gt, gte, in, nin",
            "x-sortable": true
          },
          "voucherNumber": {
            "type": [
              "null",
              "integer"
            ],
            "description": "The voucher number of the entry.<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: eq, ne, lt, lte, gt, gte, in, nin</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "format": "int32",
            "x-filterable": "eq, ne, lt, lte, gt, gte, in, nin",
            "x-sortable": false
          },
          "invoiceNumber": {
            "type": [
              "null",
              "integer"
            ],
            "description": "The invoice number of the entry.<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: eq, ne, lt, lte, gt, gte, in, nin</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "format": "int32",
            "x-filterable": "eq, ne, lt, lte, gt, gte, in, nin",
            "x-sortable": false
          },
          "customerNumber": {
            "type": [
              "null",
              "integer"
            ],
            "description": "The customer number of the entry.<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: eq, ne, lt, lte, gt, gte, in, nin</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: true</p>",
            "format": "int32",
            "x-filterable": "eq, ne, lt, lte, gt, gte, in, nin",
            "x-sortable": true
          },
          "objectVersion": {
            "type": [
              "null",
              "string"
            ],
            "description": "The object version, required for PUT requests to help ensure that updates made by others don’t get overwritten by your update request.<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "x-filterable": "not filterable",
            "x-sortable": false
          }
        },
        "additionalProperties": false
      },
      "BookedEntryCursorResults": {
        "type": "object",
        "properties": {
          "cursor": {
            "type": [
              "null",
              "string"
            ],
            "description": "Use this continuation cursor in a request back to continue the list. In case there are no more items to retrieve, the cursor is not returned at all.<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Read-only: true</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "readOnly": true,
            "x-filterable": "not filterable",
            "x-sortable": false
          },
          "items": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/BookedEntry"
            },
            "description": "Max number of items returned is 1000.<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "x-filterable": "not filterable",
            "x-sortable": false
          }
        },
        "additionalProperties": false,
        "description": "Array of objects along with a cursor.",
        "example": {
          "cursor": "234",
          "items": [
            {
              "id": "13",
              "name": "Patrick"
            },
            {
              "id": "16",
              "name": "John"
            }
          ]
        },
        "x-cursor-page-size": 1000
      },
      "BookingParameters": {
        "required": [
          "fromDate",
          "toDate"
        ],
        "type": "object",
        "properties": {
          "fromDate": {
            "type": "string",
            "description": "Start date of the booking interval<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "format": "date-time",
            "x-filterable": "not filterable",
            "x-sortable": false
          },
          "toDate": {
            "type": "string",
            "description": "End date of the booking interval<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "format": "date-time",
            "x-filterable": "not filterable",
            "x-sortable": false
          }
        },
        "additionalProperties": false
      },
      "CreatedResult": {
        "type": "object",
        "properties": {
          "number": {
            "type": "integer",
            "description": "<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "format": "int32",
            "x-filterable": "not filterable",
            "x-sortable": false
          }
        },
        "additionalProperties": false
      },
      "DimensionData": {
        "required": [
          "dimensionKey",
          "dimensionNumber",
          "entryNumber"
        ],
        "type": "object",
        "properties": {
          "entryNumber": {
            "type": "integer",
            "description": "The entry number the dimension related.<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: eq, ne, lt, lte, gt, gte, in, nin</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: true</p>",
            "format": "int32",
            "x-filterable": "eq, ne, lt, lte, gt, gte, in, nin",
            "x-sortable": true
          },
          "dimensionNumber": {
            "maximum": 2147483647,
            "minimum": 1,
            "type": "integer",
            "description": "The unique number of the dimension related with entry.<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: eq, ne, lt, lte, gt, gte, in, nin</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: true</p>",
            "format": "int32",
            "x-filterable": "eq, ne, lt, lte, gt, gte, in, nin",
            "x-sortable": true
          },
          "dimensionKey": {
            "type": "integer",
            "description": "The unique number of the selected value of the dimension related with entry.<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: eq, ne, lt, lte, gt, gte, in, nin</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: true</p>",
            "format": "int32",
            "x-filterable": "eq, ne, lt, lte, gt, gte, in, nin",
            "x-sortable": true
          },
          "isDistribution": {
            "type": "boolean",
            "description": "The flag indicates if the selected entity is a dimension value or a dimension distribution.<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Read-only: true</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "readOnly": true,
            "x-filterable": "not filterable",
            "x-sortable": false
          },
          "objectVersion": {
            "type": [
              "null",
              "string"
            ],
            "description": "The object version, required for PUT requests to help ensure that updates made by others don’t get overwritten by your update request.<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "x-filterable": "not filterable",
            "x-sortable": false
          }
        },
        "additionalProperties": false
      },
      "DimensionDataCreatedResult": {
        "type": "object",
        "properties": {
          "dimensionNumber": {
            "maximum": 2147483647,
            "minimum": 1,
            "type": "integer",
            "description": "The unique number of the dimension related with entry.<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: eq, ne, lt, lte, gt, gte, in, nin</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: true</p>",
            "format": "int32",
            "x-filterable": "eq, ne, lt, lte, gt, gte, in, nin",
            "x-sortable": true
          }
        },
        "additionalProperties": false
      },
      "DimensionDataCursorResults": {
        "type": "object",
        "properties": {
          "cursor": {
            "type": [
              "null",
              "string"
            ],
            "description": "Use this continuation cursor in a request back to continue the list. In case there are no more items to retrieve, the cursor is not returned at all.<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Read-only: true</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "readOnly": true,
            "x-filterable": "not filterable",
            "x-sortable": false
          },
          "items": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/DimensionData"
            },
            "description": "Max number of items returned is 1000.<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "x-filterable": "not filterable",
            "x-sortable": false
          }
        },
        "additionalProperties": false,
        "description": "Array of objects along with a cursor.",
        "example": {
          "cursor": "234",
          "items": [
            {
              "id": "13",
              "name": "Patrick"
            },
            {
              "id": "16",
              "name": "John"
            }
          ]
        },
        "x-cursor-page-size": 1000
      },
      "DraftEntries": {
        "type": "object",
        "properties": {
          "entries": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/DraftEntry"
            },
            "description": "List of entries<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "x-filterable": "not filterable",
            "x-sortable": false
          }
        },
        "additionalProperties": false
      },
      "DraftEntry": {
        "required": [
          "amount",
          "currency",
          "date",
          "entryTypeNumber",
          "journalNumber"
        ],
        "type": "object",
        "properties": {
          "entryNumber": {
            "type": [
              "null",
              "integer"
            ],
            "description": "The unique number of the entry. It is assigned by the system when the entry is created and must be supplied when updating an entry.<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: eq, ne, lt, lte, gt, gte, in, nin</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: true</p>",
            "format": "int32",
            "x-filterable": "eq, ne, lt, lte, gt, gte, in, nin",
            "x-sortable": true
          },
          "entryTypeNumber": {
            "pattern": "2|3|4|5|10",
            "type": "integer",
            "description": "The entry type.  \nIt has 5 types: \n- 2: Customer Payment \n- 3: Supplier Invoice \n- 4: Supplier Payment \n- 5: Finance Voucher \n- 10: Manual Customer Invoice \r\n<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: eq, ne, lt, lte, gt, gte, in, nin</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: true</p>",
            "format": "int32",
            "x-filterable": "eq, ne, lt, lte, gt, gte, in, nin",
            "x-sortable": true
          },
          "voucherNumber": {
            "maximum": 999999999,
            "minimum": 0,
            "type": [
              "null",
              "integer"
            ],
            "description": "The voucher number of the entry. Must be within the max/min value defined on the journal and always below or equal to 999999999. On create, omit to have the server generate a unique voucher number for the journal.<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: eq, ne, lt, lte, gt, gte, in, nin</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: true</p>",
            "format": "int32",
            "x-filterable": "eq, ne, lt, lte, gt, gte, in, nin",
            "x-sortable": true
          },
          "journalNumber": {
            "type": "integer",
            "description": "The number of the journal that this entry belongs to.<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: eq, ne, lt, lte, gt, gte, in, nin</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: true</p>",
            "format": "int32",
            "x-filterable": "eq, ne, lt, lte, gt, gte, in, nin",
            "x-sortable": true
          },
          "date": {
            "type": "string",
            "description": "The date of the entry.<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: eq, ne, lt, lte, gt, gte</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "format": "date-time",
            "x-filterable": "eq, ne, lt, lte, gt, gte",
            "x-sortable": false
          },
          "accountNumber": {
            "type": [
              "null",
              "integer"
            ],
            "description": "The account number of the entry.<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: eq, ne, lt, lte, gt, gte, in, nin</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "format": "int32",
            "x-filterable": "eq, ne, lt, lte, gt, gte, in, nin",
            "x-sortable": false
          },
          "vatCode": {
            "type": [
              "null",
              "string"
            ],
            "description": "The VAT code of the entry.<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "x-filterable": "not filterable",
            "x-sortable": false
          },
          "amount": {
            "type": "number",
            "description": "The amount of the entry<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "format": "double",
            "x-filterable": "not filterable",
            "x-sortable": false
          },
          "currency": {
            "minLength": 1,
            "type": "string",
            "description": "The currency of the entry<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: eq, ne, lt, lte, gt, gte, in, nin</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "x-filterable": "eq, ne, lt, lte, gt, gte, in, nin",
            "x-sortable": false
          },
          "exchangeRate": {
            "type": [
              "null",
              "number"
            ],
            "description": "The exchange rate of the entry<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "format": "double",
            "x-filterable": "not filterable",
            "x-sortable": false
          },
          "contraAccountNumber": {
            "type": [
              "null",
              "integer"
            ],
            "description": "The contra account number of the entry<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: eq, ne, lt, lte, gt, gte, in, nin</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "format": "int32",
            "x-filterable": "eq, ne, lt, lte, gt, gte, in, nin",
            "x-sortable": false
          },
          "contraVatCode": {
            "type": [
              "null",
              "string"
            ],
            "description": "The contra VAT code of the entry<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "x-filterable": "not filterable",
            "x-sortable": false
          },
          "text": {
            "type": [
              "null",
              "string"
            ],
            "description": "Text description of the entry<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "x-filterable": "not filterable",
            "x-sortable": false
          },
          "projectNumber": {
            "type": [
              "null",
              "integer"
            ],
            "description": "The project number of the entry<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: eq, ne, lt, lte, gt, gte, in, nin</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "format": "int32",
            "x-filterable": "eq, ne, lt, lte, gt, gte, in, nin",
            "x-sortable": false
          },
          "costTypeNumber": {
            "type": [
              "null",
              "integer"
            ],
            "description": "The cost type number of the entry<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "format": "int32",
            "x-filterable": "not filterable",
            "x-sortable": false
          },
          "customerNumber": {
            "type": [
              "null",
              "integer"
            ],
            "description": "The customer number of the entry<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: eq, ne, lt, lte, gt, gte, in, nin</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "format": "int32",
            "x-filterable": "eq, ne, lt, lte, gt, gte, in, nin",
            "x-sortable": false
          },
          "customerInvoiceNumber": {
            "type": [
              "null",
              "string"
            ],
            "description": "The customer invoice number of the entry<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "x-filterable": "not filterable",
            "x-sortable": false
          },
          "supplierNumber": {
            "type": [
              "null",
              "integer"
            ],
            "description": "The supplier number<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: eq, ne, lt, lte, gt, gte, in, nin</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "format": "int32",
            "x-filterable": "eq, ne, lt, lte, gt, gte, in, nin",
            "x-sortable": false
          },
          "supplierInvoiceNumber": {
            "type": [
              "null",
              "string"
            ],
            "description": "The supplier invoice number<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "x-filterable": "not filterable",
            "x-sortable": false
          },
          "supplierPaymentType": {
            "pattern": "^(-1|1|2|5|7|10|17)$",
            "type": [
              "null",
              "integer"
            ],
            "description": "description: \"The supplier payment type. \n It has 8 types: \n- -1: None \n- 1: Plus71 \n- 2: Plus73 \n- 5: Plus04 \n- 7: BankTransfer \n- 10: Iban \n- 17: Plus75 \r\n<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "format": "int32",
            "x-filterable": "not filterable",
            "x-sortable": false
          },
          "supplierPaymentBank": {
            "type": [
              "null",
              "string"
            ],
            "description": "The supplier payment bank details<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "x-filterable": "not filterable",
            "x-sortable": false
          },
          "supplierPaymentMessage": {
            "type": [
              "null",
              "string"
            ],
            "description": "The supplier payment message<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "x-filterable": "not filterable",
            "x-sortable": false
          },
          "dueDate": {
            "type": [
              "null",
              "string"
            ],
            "description": "The due date of the entry<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "format": "date-time",
            "x-filterable": "not filterable",
            "x-sortable": false
          },
          "objectVersion": {
            "type": [
              "null",
              "string"
            ],
            "description": "The object version, required for PUT requests to help ensure that updates made by others don’t get overwritten by your update request.<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "x-filterable": "not filterable",
            "x-sortable": false
          }
        },
        "additionalProperties": false
      },
      "DraftEntryAccrual": {
        "required": [
          "accountNumber",
          "endDate",
          "entryNumber",
          "journalNumber",
          "startDate"
        ],
        "type": "object",
        "properties": {
          "entryNumber": {
            "type": "integer",
            "description": "The unique entry number that relates to this accrual.<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: eq, ne, lt, lte, gt, gte, in, nin</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: true</p>",
            "format": "int32",
            "x-filterable": "eq, ne, lt, lte, gt, gte, in, nin",
            "x-sortable": true
          },
          "journalNumber": {
            "type": "integer",
            "description": "The journal number where the related entry belongs<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: eq, ne, lt, lte, gt, gte, in, nin</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: true</p>",
            "format": "int32",
            "x-filterable": "eq, ne, lt, lte, gt, gte, in, nin",
            "x-sortable": true
          },
          "accountNumber": {
            "type": "integer",
            "description": "The account number associated with the accrual<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: eq, ne, lt, lte, gt, gte, in, nin</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: true</p>",
            "format": "int32",
            "x-filterable": "eq, ne, lt, lte, gt, gte, in, nin",
            "x-sortable": true
          },
          "startDate": {
            "type": "string",
            "description": "The start date for the accrual<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "format": "date-time",
            "x-filterable": "not filterable",
            "x-sortable": false
          },
          "endDate": {
            "type": "string",
            "description": "The end date for the accrual<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "format": "date-time",
            "x-filterable": "not filterable",
            "x-sortable": false
          },
          "months": {
            "type": [
              "null",
              "integer"
            ],
            "description": "The duration of the accrual in months<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Read-only: true</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "format": "int32",
            "readOnly": true,
            "x-filterable": "not filterable",
            "x-sortable": false
          },
          "objectVersion": {
            "type": [
              "null",
              "string"
            ],
            "description": "The object version, required for PUT requests to help ensure that updates made by others don’t get overwritten by your update request.<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "x-filterable": "not filterable",
            "x-sortable": false
          }
        },
        "additionalProperties": false
      },
      "DraftEntryAccrualCreatedResult": {
        "type": "object",
        "properties": {
          "entryNumber": {
            "type": "integer",
            "description": "The unique entry number that relates to this accrual.<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: eq, ne, lt, lte, gt, gte, in, nin</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: true</p>",
            "format": "int32",
            "x-filterable": "eq, ne, lt, lte, gt, gte, in, nin",
            "x-sortable": true
          }
        },
        "additionalProperties": false
      },
      "DraftEntryAccrualCursorResults": {
        "type": "object",
        "properties": {
          "cursor": {
            "type": [
              "null",
              "string"
            ],
            "description": "Use this continuation cursor in a request back to continue the list. In case there are no more items to retrieve, the cursor is not returned at all.<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Read-only: true</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "readOnly": true,
            "x-filterable": "not filterable",
            "x-sortable": false
          },
          "items": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/DraftEntryAccrual"
            },
            "description": "Max number of items returned is 1000.<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "x-filterable": "not filterable",
            "x-sortable": false
          }
        },
        "additionalProperties": false,
        "description": "Array of objects along with a cursor.",
        "example": {
          "cursor": "234",
          "items": [
            {
              "id": "13",
              "name": "Patrick"
            },
            {
              "id": "16",
              "name": "John"
            }
          ]
        },
        "x-cursor-page-size": 1000
      },
      "DraftEntryCreatedResult": {
        "type": "object",
        "properties": {
          "entryNumber": {
            "type": [
              "null",
              "integer"
            ],
            "description": "The unique number of the entry. It is assigned by the system when the entry is created and must be supplied when updating an entry.<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: eq, ne, lt, lte, gt, gte, in, nin</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: true</p>",
            "format": "int32",
            "x-filterable": "eq, ne, lt, lte, gt, gte, in, nin",
            "x-sortable": true
          }
        },
        "additionalProperties": false
      },
      "DraftEntryCreatedResultArray": {
        "type": "object",
        "properties": {
          "entryNumbers": {
            "type": "array",
            "items": {
              "type": [
                "null",
                "integer"
              ],
              "description": "The unique number of the entry. It is assigned by the system when the entry is created and must be supplied when updating an entry.<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: eq, ne, lt, lte, gt, gte, in, nin</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: true</p>",
              "format": "int32",
              "x-filterable": "eq, ne, lt, lte, gt, gte, in, nin",
              "x-sortable": true
            }
          }
        },
        "additionalProperties": false
      },
      "DraftEntryCursorResults": {
        "type": "object",
        "properties": {
          "cursor": {
            "type": [
              "null",
              "string"
            ],
            "description": "Use this continuation cursor in a request back to continue the list. In case there are no more items to retrieve, the cursor is not returned at all.<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Read-only: true</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "readOnly": true,
            "x-filterable": "not filterable",
            "x-sortable": false
          },
          "items": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/DraftEntry"
            },
            "description": "Max number of items returned is 1000.<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "x-filterable": "not filterable",
            "x-sortable": false
          }
        },
        "additionalProperties": false,
        "description": "Array of objects along with a cursor.",
        "example": {
          "cursor": "234",
          "items": [
            {
              "id": "13",
              "name": "Patrick"
            },
            {
              "id": "16",
              "name": "John"
            }
          ]
        },
        "x-cursor-page-size": 1000
      },
      "EntryTypeNames": {
        "type": "integer",
        "oneOf": [
          {
            "const": 0,
            "title": "All"
          },
          {
            "const": 1,
            "title": "CustomerInvoice"
          },
          {
            "const": 2,
            "title": "CustomerPayment"
          },
          {
            "const": 3,
            "title": "SupplierInvoice"
          },
          {
            "const": 4,
            "title": "SupplierPayment"
          },
          {
            "const": 5,
            "title": "FinanceVoucher"
          },
          {
            "const": 6,
            "title": "Reminder"
          },
          {
            "const": 7,
            "title": "OpeningEntry"
          },
          {
            "const": 8,
            "title": "TransferredOpeningEntry"
          },
          {
            "const": 9,
            "title": "SystemEntry"
          },
          {
            "const": 10,
            "title": "ManualCustomerInvoice"
          }
        ],
        "description": "<details><summary><b>Click to see the list of possible values.</b></summary>\n\n| Value | Name | Description |\n| ----- | ---- | ----------- |\n| 0 | All |  |\n| 1 | CustomerInvoice |  |\n| 2 | CustomerPayment |  |\n| 3 | SupplierInvoice |  |\n| 4 | SupplierPayment |  |\n| 5 | FinanceVoucher |  |\n| 6 | Reminder |  |\n| 7 | OpeningEntry |  |\n| 8 | TransferredOpeningEntry |  |\n| 9 | SystemEntry |  |\n| 10 | ManualCustomerInvoice |  |\n</details>"
      },
      "Error": {
        "type": "object",
        "properties": {
          "message": {
            "type": [
              "null",
              "string"
            ],
            "description": "<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "x-filterable": "not filterable",
            "x-sortable": false
          },
          "errorCode": {
            "type": [
              "null",
              "string"
            ],
            "description": "<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "x-filterable": "not filterable",
            "x-sortable": false
          },
          "property": {
            "type": [
              "null",
              "string"
            ],
            "description": "<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "x-filterable": "not filterable",
            "x-sortable": false
          }
        },
        "additionalProperties": false
      },
      "Journal": {
        "required": [
          "allowPartialBooking",
          "autoApprove",
          "balancingBehavior",
          "isStandingJournal",
          "lockVatCodes",
          "name",
          "repeatText",
          "requireAdminApproval",
          "requireBalancePerVoucherId"
        ],
        "type": "object",
        "properties": {
          "number": {
            "type": "integer",
            "description": "The unique number of the journal.<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Read-only: true</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: eq, ne, lt, lte, gt, gte, in, nin</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: true</p>",
            "format": "int32",
            "readOnly": true,
            "x-filterable": "eq, ne, lt, lte, gt, gte, in, nin",
            "x-sortable": true
          },
          "balancingBehavior": {
            "type": "boolean",
            "description": "If set to true the balance is summed by month. If set to false the balance is summed by date. <p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: eq, ne, lt, lte, gt, gte</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "x-filterable": "eq, ne, lt, lte, gt, gte",
            "x-sortable": false
          },
          "autoApprove": {
            "type": "boolean",
            "description": "Auto approve entries created by an admin<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "x-filterable": "not filterable",
            "x-sortable": false
          },
          "isStandingJournal": {
            "type": "boolean",
            "description": "Controls if the entries in the journal will stay after booking<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: eq, ne, lt, lte, gt, gte</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "x-filterable": "eq, ne, lt, lte, gt, gte",
            "x-sortable": false
          },
          "requireAdminApproval": {
            "type": "boolean",
            "description": "Controls if the entries requires approval from an admin<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "x-filterable": "not filterable",
            "x-sortable": false
          },
          "lockVatCodes": {
            "type": "boolean",
            "description": "Controls if VAT codes are locked (only affects e-conomic UI)<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "x-filterable": "not filterable",
            "x-sortable": false
          },
          "nextVoucherNumber": {
            "type": [
              "null",
              "integer"
            ],
            "description": "Defined the next voucher number used by journal entries<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "format": "int32",
            "x-filterable": "not filterable",
            "x-sortable": false
          },
          "minimumVoucherNumber": {
            "type": [
              "null",
              "integer"
            ],
            "description": "Defines the miminum voucher number used by journal entries<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "format": "int32",
            "x-filterable": "not filterable",
            "x-sortable": false
          },
          "maximumVoucherNumber": {
            "type": [
              "null",
              "integer"
            ],
            "description": "Defines the maximum voucher number used by journal entries<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "format": "int32",
            "x-filterable": "not filterable",
            "x-sortable": false
          },
          "customerContraAccount": {
            "type": [
              "null",
              "integer"
            ],
            "description": "Defines a contra account automatically set when creating customer entries<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "format": "int32",
            "x-filterable": "not filterable",
            "x-sortable": false
          },
          "supplierContraAccount": {
            "type": [
              "null",
              "integer"
            ],
            "description": "Defines a contra account automatically set when creating supplier entries<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "format": "int32",
            "x-filterable": "not filterable",
            "x-sortable": false
          },
          "customerPaymentText": {
            "type": [
              "null",
              "string"
            ],
            "description": "Defines a payment text automatically set when creating customer entries<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "x-filterable": "not filterable",
            "x-sortable": false
          },
          "supplierPaymentText": {
            "type": [
              "null",
              "string"
            ],
            "description": "Defines a payment text automatically set when creating supplier entries<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "x-filterable": "not filterable",
            "x-sortable": false
          },
          "name": {
            "maxLength": 50,
            "minLength": 1,
            "type": "string",
            "description": "The name of the journal<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "x-filterable": "not filterable",
            "x-sortable": false
          },
          "priority": {
            "type": [
              "null",
              "integer"
            ],
            "description": "Defines the UI order of all journals in e-conomic<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "format": "int32",
            "x-filterable": "not filterable",
            "x-sortable": false
          },
          "allowPartialBooking": {
            "type": "boolean",
            "description": "When booking multiple entries with both approved and unapproved entries this controls whether to allow booking of the approved entries or none at all<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "x-filterable": "not filterable",
            "x-sortable": false
          },
          "requireBalancePerVoucherId": {
            "type": "boolean",
            "description": "When booking multiple entries with both balanced and unbalanced entries this controls whether to allow booking of the balanced entries or none at all<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "x-filterable": "not filterable",
            "x-sortable": false
          },
          "repeatText": {
            "type": "boolean",
            "description": "Controls whether to repeat text when creating multi legged entries<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "x-filterable": "not filterable",
            "x-sortable": false
          },
          "paymentMessageText": {
            "type": [
              "null",
              "string"
            ],
            "description": "Defines a text that is automatically applied to the message on payments<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "x-filterable": "not filterable",
            "x-sortable": false
          },
          "defaultDepartment": {
            "type": [
              "null",
              "integer"
            ],
            "description": "Defines a default department for entries<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "format": "int32",
            "x-filterable": "not filterable",
            "x-sortable": false
          },
          "allowedEntryType": {
            "pattern": "0|2|3|4|5|10",
            "type": [
              "null",
              "integer"
            ],
            "description": "Restricts entries within the journal to a specific entry type. \nIt has 6 options: \n- 0: All types \n- 2: Customer Payment \n- 3: Supplier Invoice \n- 4: Supplier Payment \n- 5: Finance Voucher \n- 10: Manual Customer Invoice <p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "format": "int32",
            "x-filterable": "not filterable",
            "x-sortable": false
          },
          "objectVersion": {
            "type": [
              "null",
              "string"
            ],
            "description": "The object version, required for PUT requests to help ensure that updates made by others don't get overwritten by your update request.<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "x-filterable": "not filterable",
            "x-sortable": false
          }
        },
        "additionalProperties": false
      },
      "JournalCursorResults": {
        "type": "object",
        "properties": {
          "cursor": {
            "type": [
              "null",
              "string"
            ],
            "description": "Use this continuation cursor in a request back to continue the list. In case there are no more items to retrieve, the cursor is not returned at all.<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Read-only: true</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "readOnly": true,
            "x-filterable": "not filterable",
            "x-sortable": false
          },
          "items": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/Journal"
            },
            "description": "Max number of items returned is 1000.<p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Filterable: not filterable</p><p style='font-style:italic;font-family:monospace;font-size:small;margin:0'>Sortable: false</p>",
            "x-filterable": "not filterable",
            "x-sortable": false
          }
        },
        "additionalProperties": false,
        "description": "Array of objects along with a cursor.",
        "example": {
          "cursor": "234",
          "items": [
            {
              "id": "13",
              "name": "Patrick"
            },
            {
              "id": "16",
              "name": "John"
            }
          ]
        },
        "x-cursor-page-size": 1000
      },
      "ProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": [
              "null",
              "string"
            ]
          },
          "title": {
            "type": "string"
          },
          "status": {
            "type": "integer",
            "format": "int32"
          },
          "detail": {
            "type": [
              "null",
              "string"
            ]
          },
          "instance": {
            "type": [
              "null",
              "string"
            ]
          },
          "errors": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/Error"
            }
          },
          "traceId": {
            "type": "string"
          },
          "errorCode": {
            "type": "string"
          },
          "traceTimeUtc": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "X-AppSecretToken": {
        "type": "apiKey",
        "description": "Application secret token needed to access the endpoints.",
        "name": "X-AppSecretToken",
        "in": "header"
      },
      "X-AgreementGrantToken": {
        "type": "apiKey",
        "description": "Agreement grant token needed to access the endpoints.",
        "name": "X-AgreementGrantToken",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "X-AppSecretToken": [ ],
      "X-AgreementGrantToken": [ ]
    }
  ],
  "tags": [
    {
      "name": "BookedEntries",
      "description": "<code>BookedEntries</code> allows booked entries and its related data to be fetched.\n\n### Notice\nThis endpoint is being deprecated in favor of <code>/bookedEntriesApi/booked-entries/</code>\n\n\n#### Examples of use cases:\n\n* Retrieve all booked entries\n* Retrieve all dimensions related with booked entries\n\n\n\n**Required application roles:** SuperUser or Bookkeeping [More info](https://www.e-conomic.com/developer/permissions)",
      "x-required-roles": [
        "Bookkeeping",
        "SuperUser"
      ]
    },
    {
      "name": "BookedEntryDimensions",
      "description": "<code>BookedEntryDimensions</code> allows dimensions data related to booked entry to be fetched.\n\n### Notice\nThis endpoint is being deprecated in favor of <code>/bookedEntriesApi/booked-entries/dimensions</code>\n\n#### Examples of use cases:\n\n* Retrieve all dimensions related with booked entries;\n\n\n\n**Required application roles:** SuperUser or Bookkeeping [More info](https://www.e-conomic.com/developer/permissions)",
      "x-required-roles": [
        "Bookkeeping",
        "SuperUser"
      ]
    },
    {
      "name": "DraftEntries",
      "description": "<code>draft-entries</code> endpoints allow draft entries to created, fetched, updated and deleted.\n\n\n#### Examples of use cases:\n\n* Create new draft entry\n* Update existing draft entry\n* Get all draft entries\n* Get single draft entry\n* Create up to 500 draft entries in bulk\n* Update up to 500 draft entries in bulk\n* Delete all draft entries within a journal\n\n<details><summary><b>Click to see the list of possible error codes.</b></summary>\n\n| Error Code | Description |\n| ---------- | ----------- |\n| JournalVoucherNull | Journal voucher is null |\n| JournalVoucherAccountingYearDoesNotExist | The accounting year for the journal voucher does not exist |\n| JournalVoucherAccountingYearClosed | The accounting year for the journal voucher is closed |\n| JournalVoucherDataIntegrityError | Journal voucher data integrity error occurred |\n| JournalVoucherEntityAlreadyExistsError | Journal voucher already exists |\n| JournalVoucherEntriesEmptyOrNull | Journal voucher entries are empty or null |\n| JournalVoucherNullEntry | Journal voucher contains a null entry |\n| JournalVoucherNextNumberNotWithinBoundaries | The next journal voucher number is not within the allowed boundaries |\n| JournalEntryDateAccountingYearDoesNotExist | The entry date's accounting year does not exist |\n| JournalEntryDateAccountingYearClosed | The entry date's accounting year is closed |\n| JournalEntryDateAccountingYearPeriodBarred | The entry date is within a period that is barred |\n| JournalEntryDueDateNotSet | Due date for the journal entry is not set |\n| JournalEntryDueDateNotInRange | The due date for the journal entry is not within the allowed range |\n| JournalEntryNotWithinEnclosingVoucherAccountingYear | The journal entry is not within the enclosing voucher's accounting year |\n| JournalEntryVoucherNumberNotWithinBoundaries | The voucher number for the journal entry is not within the allowed boundaries |\n| JournalEntryAccountNotFound | The account for the journal entry could not be found |\n| JournalEntryAccountNotAccessible | The account for the journal entry is not accessible |\n| JournalEntryWrongAccountType | The account type for the journal entry is incorrect |\n| JournalEntryAccountIsBlockedForDirectEntries | The account is blocked for direct entries |\n| JournalEntryContraAccountIsBlockedForDirectEntries | The contra account is blocked for direct entries |\n| JournalEntryContraAccountAndDistributionCannotBeUsedSimultaneously | The contra account and distributions cannot be used together |\n| JournalEntryWrongContraAccountType | The contra account type is incorrect |\n| JournalEntryExchangeRateError | Exchange rate error occurred in the journal entry |\n| JournalEntryExchangeRateMustBeOneHundredForBaseCurrency | Exchange rate must be 100 for base currency |\n| JournalEntryExchangeRateScalePrecisionError | Exchange rate precision exceeds the allowed scale in the journal entry |\n| JournalEntryContraAccountNotFound | The contra account for the journal entry could not be found |\n| JournalEntryContraAccountNotAccessible | The contra account for the journal entry is not accessible |\n| JournalEntryAccountAndContraAccountNotSet | Neither the account nor the contra account is set for the journal entry |\n| JournalEntryCurrencyNotFound | The currency for the journal entry could not be found |\n| JournalEntryCurrencyNotSet | The currency for the journal entry is not set |\n| JournalEntrySupplierNotFound | The supplier for the journal entry could not be found |\n| JournalEntrySupplierNotAccessible | The supplier for the journal entry is not accessible |\n| JournalEntrySupplierNotSet | The supplier for the journal entry is not set |\n| JournalEntrySupplierAndAccountNotSet | Neither the supplier nor the account is set for the journal entry |\n| JournalEntryDistributionDimensionAccessNotAccessible | Access to the distribution dimension for the journal entry is not allowed |\n| JournalEntryMultipleDimensionAccessNotAccessible | Access to multiple dimensions for the journal entry is not allowed |\n| JournalEntryMultipleDimensionRequired | Multiple dimensions are required for the journal entry |\n| JournalEntryDepartmentalDistributionNotFound | The departmental distribution for the journal entry could not be found |\n| JournalEntryDepartmentalDistributionNotAccessible | The departmental distribution for the journal entry is not accessible |\n| JournalEntryEmployeeNotFound | The employee for the journal entry could not be found |\n| JournalEntryEmployeeNotAccessible | The employee for the journal entry is not accessible |\n| JournalEntryEitherAmountsNotSet | Neither the amounts for the journal entry are set |\n| JournalEntryAmountExceedsDigitLimit | The amount cannot be more than 18 digits |\n| JournalEntryTypeNotCorrect | The journal entry type is incorrect |\n| JournalEntryCustomerAndAccountNotSet | Neither the customer nor the account is set for the journal entry |\n| JournalEntryCustomerNotFound | The customer for the journal entry could not be found |\n| JournalEntryCustomerNotAccessible | The customer for the journal entry is not accessible |\n| JournalEntryPaymentDetailsRequiredFieldsWrong | Required payment details for the journal entry are incorrect |\n| JournalEntryDimensionUnit1NotFound | The first dimension unit for the journal entry could not be found |\n| JournalEntryDimensionUnit2NotFound | The second dimension unit for the journal entry could not be found |\n| JournalEntryDimensionOrUnit1NotAccessible | The first dimension or unit for the journal entry is not accessible |\n| JournalEntryDimensionOrUnit2NotAccessible | The second dimension or unit for the journal entry is not accessible |\n| JournalEntryDimensionQuantity1SetWithoutAccess | Dimension quantity 1 is set without access for the journal entry |\n| JournalEntryDimensionQuantity2SetWithoutAccess | Dimension quantity 2 is set without access for the journal entry |\n| JournalEntryProjectIdSetWithoutModuleAccess | Project ID is set without module access in the journal entry |\n| JournalEntryCostTypeSetWithoutModuleAccess | Cost type is set without module access in the journal entry |\n| JournalEntryProjectNotFound | The project for the journal entry could not be found |\n| JournalEntryProjectNotAccessible | The project for the journal entry is not accessible |\n| JournalEntryCostTypeNotFound | The cost type for the journal entry could not be found |\n| JournalEntryCostTypeNotAccessible | The cost type for the journal entry is not accessible |\n| JournalEntryProjectCostTypeSetMismatch | Mismatch between the project and cost type in the journal entry |\n| JournalEntryProjectSetIsClosed | The project set for the journal entry is closed |\n| JournalEntryProjectSetIsMainProject | The project set for the journal entry is a main project |\n| JournalEntryPaymentDetailsPaymentIdWrongLength | The payment ID length is incorrect for the journal entry |\n| JournalEntryPaymentDetailsPaymentIdTooShort | The payment ID for the journal entry is too short |\n| JournalEntryPaymentDetailsPaymentIdTooLong | The payment ID for the journal entry is too long |\n| JournalEntryPaymentDetailsPaymentIdDoesNotMatchStringPattern | The payment ID does not match the required pattern for the journal entry |\n| JournalEntryPaymentDetailsPaymentIdMustBeNumeric | The payment ID for the journal entry must be numeric |\n| JournalEntryAssetGroupNotFound | The asset group for the journal entry could not be found |\n| JournalEntryAssetNumberMustBePositive | The asset number for the journal entry must be positive |\n| JournalEntryAssetStartNotInAccountingYear | The asset start date for the journal entry is not within the accounting year |\n| JournalEntryAssetLifeTimeMustBePositive | The asset lifetime for the journal entry must be positive |\n| JournalEntryAssetWrongEntryType | The entry type for the asset in the journal entry is incorrect |\n| JournalEntryPaymentDetailsCreditorIdDoesNotMatchStringPattern | The creditor ID for the journal entry does not match the required pattern |\n| JournalEntryTextTooLong | The text for the journal entry is too long |\n| JournalEntrySupplierInvoiceTooBig | The supplier invoice for the journal entry is too large |\n| JournalEntryUnitAndQuantityNotSet | Neither unit nor quantity is set for the journal entry |\n| Customer_Invoice_Is_Not_Numeric | The customer invoice is not numeric for the journal entry |\n| Customer_invoice_too_big | The customer invoice for the journal entry is too large |\n| JournalEntryDoesNotExist | Journal entry does not exist |\n| OneAPIEntriesListCannotBeEmpty | Entries list cannot be empty |\n| OneAPITooManyEntries | Entries list cannot contain more than 500 entries |\n| JournalNumberCannotBeChangedOnDraftEntry | JournalNumber cannot be changed on draft entry |\n| JournalEntryVoucherNumberCannotBeGenerated | No unused voucher number could be generated for the journal entry. Check the journal's next voucher number and voucher number interval |\n</details>\n\n**Required application roles:** SuperUser or Bookkeeping [More info](https://www.e-conomic.com/developer/permissions)",
      "x-error-codes": [
        "Customer_Invoice_Is_Not_Numeric",
        "Customer_invoice_too_big",
        "JournalEntryAccountAndContraAccountNotSet",
        "JournalEntryAccountIsBlockedForDirectEntries",
        "JournalEntryAccountNotAccessible",
        "JournalEntryAccountNotFound",
        "JournalEntryAmountExceedsDigitLimit",
        "JournalEntryAssetGroupNotFound",
        "JournalEntryAssetLifeTimeMustBePositive",
        "JournalEntryAssetNumberMustBePositive",
        "JournalEntryAssetStartNotInAccountingYear",
        "JournalEntryAssetWrongEntryType",
        "JournalEntryContraAccountAndDistributionCannotBeUsedSimultaneously",
        "JournalEntryContraAccountIsBlockedForDirectEntries",
        "JournalEntryContraAccountNotAccessible",
        "JournalEntryContraAccountNotFound",
        "JournalEntryCostTypeNotAccessible",
        "JournalEntryCostTypeNotFound",
        "JournalEntryCostTypeSetWithoutModuleAccess",
        "JournalEntryCurrencyNotFound",
        "JournalEntryCurrencyNotSet",
        "JournalEntryCustomerAndAccountNotSet",
        "JournalEntryCustomerNotAccessible",
        "JournalEntryCustomerNotFound",
        "JournalEntryDateAccountingYearClosed",
        "JournalEntryDateAccountingYearDoesNotExist",
        "JournalEntryDateAccountingYearPeriodBarred",
        "JournalEntryDepartmentalDistributionNotAccessible",
        "JournalEntryDepartmentalDistributionNotFound",
        "JournalEntryDimensionOrUnit1NotAccessible",
        "JournalEntryDimensionOrUnit2NotAccessible",
        "JournalEntryDimensionQuantity1SetWithoutAccess",
        "JournalEntryDimensionQuantity2SetWithoutAccess",
        "JournalEntryDimensionUnit1NotFound",
        "JournalEntryDimensionUnit2NotFound",
        "JournalEntryDistributionDimensionAccessNotAccessible",
        "JournalEntryDoesNotExist",
        "JournalEntryDueDateNotInRange",
        "JournalEntryDueDateNotSet",
        "JournalEntryEitherAmountsNotSet",
        "JournalEntryEmployeeNotAccessible",
        "JournalEntryEmployeeNotFound",
        "JournalEntryExchangeRateError",
        "JournalEntryExchangeRateMustBeOneHundredForBaseCurrency",
        "JournalEntryExchangeRateScalePrecisionError",
        "JournalEntryMultipleDimensionAccessNotAccessible",
        "JournalEntryMultipleDimensionRequired",
        "JournalEntryNotWithinEnclosingVoucherAccountingYear",
        "JournalEntryPaymentDetailsCreditorIdDoesNotMatchStringPattern",
        "JournalEntryPaymentDetailsPaymentIdDoesNotMatchStringPattern",
        "JournalEntryPaymentDetailsPaymentIdMustBeNumeric",
        "JournalEntryPaymentDetailsPaymentIdTooLong",
        "JournalEntryPaymentDetailsPaymentIdTooShort",
        "JournalEntryPaymentDetailsPaymentIdWrongLength",
        "JournalEntryPaymentDetailsRequiredFieldsWrong",
        "JournalEntryProjectCostTypeSetMismatch",
        "JournalEntryProjectIdSetWithoutModuleAccess",
        "JournalEntryProjectNotAccessible",
        "JournalEntryProjectNotFound",
        "JournalEntryProjectSetIsClosed",
        "JournalEntryProjectSetIsMainProject",
        "JournalEntrySupplierAndAccountNotSet",
        "JournalEntrySupplierInvoiceTooBig",
        "JournalEntrySupplierNotAccessible",
        "JournalEntrySupplierNotFound",
        "JournalEntrySupplierNotSet",
        "JournalEntryTextTooLong",
        "JournalEntryTypeNotCorrect",
        "JournalEntryUnitAndQuantityNotSet",
        "JournalEntryVoucherNumberCannotBeGenerated",
        "JournalEntryVoucherNumberNotWithinBoundaries",
        "JournalEntryWrongAccountType",
        "JournalEntryWrongContraAccountType",
        "JournalNumberCannotBeChangedOnDraftEntry",
        "JournalVoucherAccountingYearClosed",
        "JournalVoucherAccountingYearDoesNotExist",
        "JournalVoucherDataIntegrityError",
        "JournalVoucherEntityAlreadyExistsError",
        "JournalVoucherEntriesEmptyOrNull",
        "JournalVoucherNextNumberNotWithinBoundaries",
        "JournalVoucherNull",
        "JournalVoucherNullEntry",
        "OneAPIEntriesListCannotBeEmpty",
        "OneAPITooManyEntries"
      ],
      "x-required-roles": [
        "Bookkeeping",
        "SuperUser"
      ]
    },
    {
      "name": "DraftEntriesDeprecated",
      "description": "<code>DraftEntries</code> endpoints allow journal entries to be booked.\n\n### Notice\nThis endpoint is being deprecated in favor of <code>/journalsApi/draft-entries</code>\n\n#### Examples of use cases:\n\n* Book all entries within a given interval;\n* Book all entries in a journal;\n\n\n\n**Required application roles:** SuperUser or Bookkeeping [More info](https://www.e-conomic.com/developer/permissions)",
      "x-required-roles": [
        "Bookkeeping",
        "SuperUser"
      ]
    },
    {
      "name": "DraftEntryAccruals",
      "description": "<code>draft-entries</code> endpoints allow draft entries to created, fetched, updated and deleted.\n\n\n#### Examples of use cases:\n\n* Create new draft entry\n* Update existing draft entry\n* Get all draft entries\n* Get single draft entry\n* Create up to 500 draft entries in bulk\n* Update up to 500 draft entries in bulk\n* Delete all draft entries within a journal\n\n<details><summary><b>Click to see the list of possible error codes.</b></summary>\n\n| Error Code | Description |\n| ---------- | ----------- |\n| JournalEntryAccrualsStartDateNotInValidAccountingYear | The accruals start date does not fall under a valid accounting year |\n| JournalEntryAccrualEndBeforeStart | Accrual end date is before the start date in the journal entry |\n| JournalEntryAccrualAccountNotFound | The accrual account for the journal entry could not be found |\n| JournalEntryAccrualWrongEntryType | The entry type for the accrual in the journal entry is incorrect |\n| JournalEntryAssetAccrualError | An error occurred with the asset accrual in the journal entry |\n| OneAPIDraftEntryAccrualAlreadyExist | Accruals already exists on draft entry |\n</details>\n\n**Required application roles:** SuperUser or Bookkeeping [More info](https://www.e-conomic.com/developer/permissions)",
      "x-error-codes": [
        "JournalEntryAccrualAccountNotFound",
        "JournalEntryAccrualEndBeforeStart",
        "JournalEntryAccrualWrongEntryType",
        "JournalEntryAccrualsStartDateNotInValidAccountingYear",
        "JournalEntryAssetAccrualError",
        "OneAPIDraftEntryAccrualAlreadyExist"
      ],
      "x-required-roles": [
        "Bookkeeping",
        "SuperUser"
      ]
    },
    {
      "name": "DraftEntryDimensions",
      "description": "<code>draft-entries/dimensions</code>  allows dimensions data related to draft entry to be fetched.\n\n\n#### Examples of use cases:\n\n* Retrieve all dimensions related with draft entries;\n* Add new dimensions to draft entries;\n* Update existing dimensions on draft entries;\n* Delete existing dimensions from draft entries;\n\n\n\n**Required application roles:** SuperUser or Bookkeeping [More info](https://www.e-conomic.com/developer/permissions)",
      "x-required-roles": [
        "Bookkeeping",
        "SuperUser"
      ]
    },
    {
      "name": "JournalBooking",
      "description": "<code>journals</code> endpoints allow draft entries to be booked and journals to be managed\n\n\n#### Examples of use cases:\n\n* Book all entries within a given interval\n* Book all entries in a journal\n* Fetch all journals in an agreement\n* Create new journals\n* Update existing journals\n* Delete existing journals\n\nRelated guide for users: [e-copedia](https://www.e-conomic.dk/support/artikler/opret-eller-slet-en-kassekladde) (Danish)\n\n\n\n**Required application roles:** SuperUser or Bookkeeping [More info](https://www.e-conomic.com/developer/permissions)",
      "x-required-roles": [
        "Bookkeeping",
        "SuperUser"
      ]
    },
    {
      "name": "Journals",
      "description": "<code>journals</code> endpoints allow draft entries to be booked and journals to be managed\n\n\n#### Examples of use cases:\n\n* Book all entries within a given interval\n* Book all entries in a journal\n* Fetch all journals in an agreement\n* Create new journals\n* Update existing journals\n* Delete existing journals\n\nRelated guide for users: [e-copedia](https://www.e-conomic.dk/support/artikler/opret-eller-slet-en-kassekladde) (Danish)\n\n\n<details><summary><b>Click to see the list of possible error codes.</b></summary>\n\n| Error Code | Description |\n| ---------- | ----------- |\n| JournalMustBeEmptyBeforeDeleting | Journal must be empty before deleting it |\n| JournalDoesNotExist | Journal does not exist |\n</details>\n\n**Required application roles:** SuperUser or Bookkeeping [More info](https://www.e-conomic.com/developer/permissions)",
      "x-error-codes": [
        "JournalDoesNotExist",
        "JournalMustBeEmptyBeforeDeleting"
      ],
      "x-required-roles": [
        "Bookkeeping",
        "SuperUser"
      ]
    }
  ],
  "x-tagGroups": [
    {
      "name": "DraftEntries",
      "tags": [
        "DraftEntries"
      ]
    },
    {
      "name": "DraftEntryAccruals",
      "tags": [
        "DraftEntryAccruals"
      ]
    },
    {
      "name": "Journals",
      "tags": [
        "JournalBooking",
        "Journals"
      ]
    },
    {
      "name": "Under deprecation",
      "tags": [
        "BookedEntries",
        "DraftEntriesDeprecated"
      ]
    }
  ]
}