General Ledger Account¶
General Ledger Account - Get¶
HTTP Request
GET /api/v1/general-ledger-accounts/{id}
📋 Description: Retrieves detailed information about a specific general ledger account identified by the provided ID, facilitating insights into the organization’s financial structure and hierarchy.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
id |
path |
integer(int64) |
true |
Unique identifier for the resource |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": {
15 "id": 0,
16 "status": "CREATED",
17 "displayId": "string",
18 "erpSystemId": 0,
19 "erpSystemDisplayId": "string",
20 "shortName": "string",
21 "longName": "string",
22 "accountCategory": "BALANCESHEET",
23 "accountTarget": "ALL",
24 "companyId": 0,
25 "openItemManagement": true
26 }
27}
General Ledger Account - Update¶
HTTP Request
PUT /api/v1/general-ledger-accounts/{id}
📋 Description: Updates the details of a specific general ledger account identified by the provided ID, ensuring that the financial organization structure remains accurate and aligned with the entity’s hierarchy. This operation facilitates the management of financial accounts within the organization.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
id |
path |
integer(int64) |
true |
Unique identifier for the resource |
body |
body |
true |
Request body containing the updated financial entity details for the specified general ledger account, including attributes related to the organization’s structure and hierarchy. |
Body Parameters
1{
2 "id": 0,
3 "status": "CREATED",
4 "displayId": "string",
5 "erpSystemId": 0,
6 "erpSystemDisplayId": "string",
7 "shortName": "string",
8 "longName": "string",
9 "accountCategory": "BALANCESHEET",
10 "accountTarget": "ALL",
11 "companyId": 0,
12 "openItemManagement": true
13}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": {
15 "id": 0,
16 "status": "CREATED",
17 "displayId": "string",
18 "erpSystemId": 0,
19 "erpSystemDisplayId": "string",
20 "shortName": "string",
21 "longName": "string",
22 "accountCategory": "BALANCESHEET",
23 "accountTarget": "ALL",
24 "companyId": 0,
25 "openItemManagement": true
26 }
27}
General Ledger Account - Delete¶
HTTP Request
DELETE /api/v1/general-ledger-accounts/{id}
📋 Description: Deletes a specified general ledger account from the financial organization structure, ensuring the integrity of the hierarchy within the financial entity.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
id |
path |
integer(int64) |
true |
Unique identifier for the resource |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": {}
15}
General Ledger Account - Delete Or Decommission¶
HTTP Request
PUT /api/v1/general-ledger-accounts/remove/{id}
📋 Description: Removes a specified general ledger account from the financial organization structure, ensuring the integrity of the hierarchy within the financial entity.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
id |
path |
integer(int64) |
true |
Unique identifier for the resource |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": {}
15}
General Ledger Account - Delete Or Decommission All¶
HTTP Request
PUT /api/v1/general-ledger-accounts/remove/bulk
📋 Description: Removes multiple general ledger accounts in a single operation, streamlining the management of financial entities within the organizational structure and hierarchy.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
array[integer] |
true |
Request body containing an array of identifiers for general ledger accounts to be removed in bulk, facilitating the management of the financial organization structure. |
Body Parameters
1[
2 0
3]
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": {}
15}
General Ledger Account - Decommission¶
HTTP Request
PUT /api/v1/general-ledger-accounts/decommission/{id}
📋 Description: Decommissions a specified general ledger account within the financial organization structure, effectively removing it from the active hierarchy of financial entities. This operation ensures that the organization maintains an accurate and up-to-date financial framework.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
id |
path |
integer(int64) |
true |
Unique identifier for the resource |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": {
15 "id": 0,
16 "status": "CREATED",
17 "displayId": "string",
18 "erpSystemId": 0,
19 "erpSystemDisplayId": "string",
20 "shortName": "string",
21 "longName": "string",
22 "accountCategory": "BALANCESHEET",
23 "accountTarget": "ALL",
24 "companyId": 0,
25 "openItemManagement": true
26 }
27}
General Ledger Account - Decommission By Modification Date Before¶
HTTP Request
PUT /api/v1/general-ledger-accounts/decommission/modified-before/{modified_before}
📋 Description: Decommissions general ledger accounts modified before the specified date, ensuring the financial organization structure remains current and aligned with organizational hierarchy requirements. This operation helps maintain the integrity of financial entities by removing outdated accounts.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
modified_before |
path |
string(date-time) |
true |
Specifies the cutoff date for decommissioning general ledger accounts, ensuring that only accounts modified before this date are processed within the financial organization structure. |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": [
15 {
16 "id": 0,
17 "status": "CREATED",
18 "displayId": "string",
19 "erpSystemId": 0,
20 "erpSystemDisplayId": "string",
21 "shortName": "string",
22 "longName": "string",
23 "accountCategory": "BALANCESHEET",
24 "accountTarget": "ALL",
25 "companyId": 0,
26 "openItemManagement": true
27 }
28 ]
29}
General Ledger Account - Decommission Before Now¶
HTTP Request
PUT /api/v1/general-ledger-accounts/decommission/modified-before-now
📋 Description: Decommissions general ledger accounts that have been modified before the current date, ensuring the financial organization structure remains accurate and up-to-date. This operation is essential for maintaining the integrity of the financial entity’s hierarchy.
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": [
15 {
16 "id": 0,
17 "status": "CREATED",
18 "displayId": "string",
19 "erpSystemId": 0,
20 "erpSystemDisplayId": "string",
21 "shortName": "string",
22 "longName": "string",
23 "accountCategory": "BALANCESHEET",
24 "accountTarget": "ALL",
25 "companyId": 0,
26 "openItemManagement": true
27 }
28 ]
29}
General Ledger Account - Decommission All¶
HTTP Request
PUT /api/v1/general-ledger-accounts/decommission/bulk
📋 Description: Decommissions multiple general ledger accounts in a single operation, facilitating the management of financial entity structures within the organization’s hierarchy.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
array[integer] |
true |
Request body containing a list of general ledger account identifiers to be decommissioned in bulk, facilitating the management of the financial organization structure and hierarchy. |
Body Parameters
1[
2 0
3]
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": [
15 {
16 "id": 0,
17 "status": "CREATED",
18 "displayId": "string",
19 "erpSystemId": 0,
20 "erpSystemDisplayId": "string",
21 "shortName": "string",
22 "longName": "string",
23 "accountCategory": "BALANCESHEET",
24 "accountTarget": "ALL",
25 "companyId": 0,
26 "openItemManagement": true
27 }
28 ]
29}
General Ledger Account - Create Or Update Bulk¶
HTTP Request
PUT /api/v1/general-ledger-accounts/createOrUpdate/bulk
📋 Description: Creates or updates multiple general ledger accounts in bulk, ensuring alignment with the financial organization structure and hierarchy of the specified financial entity.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing bulk data for creating or updating general ledger accounts, including organizational structure details and financial entity attributes. |
Body Parameters
1[
2 {
3 "id": 0,
4 "status": "CREATED",
5 "displayId": "string",
6 "erpSystemId": 0,
7 "erpSystemDisplayId": "string",
8 "shortName": "string",
9 "longName": "string",
10 "accountCategory": "BALANCESHEET",
11 "accountTarget": "ALL",
12 "companyId": 0,
13 "openItemManagement": true
14 }
15]
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": [
15 {
16 "id": 0,
17 "status": "CREATED",
18 "displayId": "string",
19 "erpSystemId": 0,
20 "erpSystemDisplayId": "string",
21 "shortName": "string",
22 "longName": "string",
23 "accountCategory": "BALANCESHEET",
24 "accountTarget": "ALL",
25 "companyId": 0,
26 "openItemManagement": true
27 }
28 ]
29}
General Ledger Account - Create Or Update¶
HTTP Request
PUT /api/v1/general-ledger-accounts/createOrUpdate
📋 Description: Creates or updates general ledger accounts within the financial organization structure, ensuring accurate representation of the hierarchy and financial entities.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing the financial entity details necessary for creating or updating general ledger accounts within the organizational structure and hierarchy. |
Body Parameters
1{
2 "id": 0,
3 "status": "CREATED",
4 "displayId": "string",
5 "erpSystemId": 0,
6 "erpSystemDisplayId": "string",
7 "shortName": "string",
8 "longName": "string",
9 "accountCategory": "BALANCESHEET",
10 "accountTarget": "ALL",
11 "companyId": 0,
12 "openItemManagement": true
13}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": {
15 "id": 0,
16 "status": "CREATED",
17 "displayId": "string",
18 "erpSystemId": 0,
19 "erpSystemDisplayId": "string",
20 "shortName": "string",
21 "longName": "string",
22 "accountCategory": "BALANCESHEET",
23 "accountTarget": "ALL",
24 "companyId": 0,
25 "openItemManagement": true
26 }
27}
General Ledger Account - Bulk Update¶
HTTP Request
PUT /api/v1/general-ledger-accounts/bulk
📋 Description: Updates multiple general ledger accounts in bulk, allowing organizations to efficiently manage their financial entity structures and hierarchies within the financial organization framework.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing a collection of general ledger account details, including account identifiers, descriptions, and hierarchy information, to facilitate bulk updates within the financial organization structure. |
Body Parameters
1[
2 {
3 "id": 0,
4 "status": "CREATED",
5 "displayId": "string",
6 "erpSystemId": 0,
7 "erpSystemDisplayId": "string",
8 "shortName": "string",
9 "longName": "string",
10 "accountCategory": "BALANCESHEET",
11 "accountTarget": "ALL",
12 "companyId": 0,
13 "openItemManagement": true
14 }
15]
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": [
15 {
16 "id": 0,
17 "status": "CREATED",
18 "displayId": "string",
19 "erpSystemId": 0,
20 "erpSystemDisplayId": "string",
21 "shortName": "string",
22 "longName": "string",
23 "accountCategory": "BALANCESHEET",
24 "accountTarget": "ALL",
25 "companyId": 0,
26 "openItemManagement": true
27 }
28 ]
29}
General Ledger Account - Bulk Create¶
HTTP Request
POST /api/v1/general-ledger-accounts/bulk
📋 Description: Creates multiple general ledger accounts in bulk, enabling efficient management of financial entities within the organizational structure and hierarchy.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing an array of general ledger account details, including account identifiers, descriptions, and hierarchical relationships, essential for structuring financial entities within the organization. |
Body Parameters
1[
2 {
3 "id": 0,
4 "status": "CREATED",
5 "displayId": "string",
6 "erpSystemId": 0,
7 "erpSystemDisplayId": "string",
8 "shortName": "string",
9 "longName": "string",
10 "accountCategory": "BALANCESHEET",
11 "accountTarget": "ALL",
12 "companyId": 0,
13 "openItemManagement": true
14 }
15]
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": [
15 {
16 "id": 0,
17 "status": "CREATED",
18 "displayId": "string",
19 "erpSystemId": 0,
20 "erpSystemDisplayId": "string",
21 "shortName": "string",
22 "longName": "string",
23 "accountCategory": "BALANCESHEET",
24 "accountTarget": "ALL",
25 "companyId": 0,
26 "openItemManagement": true
27 }
28 ]
29}
General Ledger Account - Bulk Delete¶
HTTP Request
DELETE /api/v1/general-ledger-accounts/bulk
📋 Description: Deletes multiple general ledger accounts in a single operation, streamlining the management of financial entities within the organizational structure and hierarchy.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
array[integer] |
true |
Request body containing an array of identifiers for the general ledger accounts to be deleted in bulk, facilitating efficient management of the financial organization structure. |
Body Parameters
1[
2 0
3]
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": {}
15}
General Ledger Account - Search¶
HTTP Request
POST /api/v1/general-ledger-accounts/search
📋 Description: Submits a request to search for general ledger accounts within the financial organization structure, allowing users to filter results based on specific criteria related to the organization and its hierarchical entities.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
page |
query |
integer |
false |
Zero-based page index (0..N) |
size |
query |
integer |
false |
The size of the page to be returned |
sort |
query |
array[string] |
false |
Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. |
body |
body |
false |
Request body containing search criteria and filters for retrieving general ledger accounts within the financial organization structure. |
Default Values¶
Parameter |
Default |
Type |
|---|---|---|
page |
|
query |
size |
|
query |
sort |
|
query |
Parameter Constraints¶
Parameter |
Constraints |
|---|---|
page |
Min: 0 |
size |
Min: 1 |
Body Parameters
1{
2 "idIn": [
3 0
4 ],
5 "idEqual": 0,
6 "idLike": "string",
7 "createdAtGreaterThanOrEqual": "2019-08-24T14:15:22Z",
8 "createdAtLessThanOrEqual": "2019-08-24T14:15:22Z",
9 "createdByLike": "string",
10 "createdByEqual": "string",
11 "modifiedAtGreaterThanOrEqual": "2019-08-24T14:15:22Z",
12 "modifiedAtLessThanOrEqual": "2019-08-24T14:15:22Z",
13 "modifiedByLike": "string",
14 "modifiedByEqual": "string",
15 "statusEqual": "CREATED",
16 "statusIn": [
17 "CREATED"
18 ],
19 "displayIdIn": [
20 "string"
21 ],
22 "displayIdLike": "string",
23 "erpSystemIdEqual": 0,
24 "erpSystemIdIn": [
25 0
26 ],
27 "erpSystemDisplayIdLike": "string",
28 "uiSelector": "string",
29 "shortNameLike": "string",
30 "longNameLike": "string",
31 "accountCategoryIn": [
32 "BALANCESHEET"
33 ],
34 "accountTargetIn": [
35 "ALL"
36 ],
37 "companyIdEqual": 0,
38 "openItemManagementEqual": true
39}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "totalElements": 0,
3 "totalPages": 0,
4 "pageable": {
5 "pageNumber": 0,
6 "paged": true,
7 "pageSize": 0,
8 "unpaged": true,
9 "offset": 0,
10 "sort": {
11 "unsorted": true,
12 "sorted": true,
13 "empty": true
14 }
15 },
16 "numberOfElements": 0,
17 "size": 0,
18 "content": [
19 {
20 "id": 0,
21 "status": "CREATED",
22 "displayId": "string",
23 "erpSystemId": 0,
24 "erpSystemDisplayId": "string",
25 "shortName": "string",
26 "longName": "string",
27 "accountCategory": "BALANCESHEET",
28 "accountTarget": "ALL",
29 "companyId": 0,
30 "openItemManagement": true
31 }
32 ],
33 "number": 0,
34 "sort": {
35 "unsorted": true,
36 "sorted": true,
37 "empty": true
38 },
39 "first": true,
40 "last": true,
41 "empty": true
42}
General Ledger Account - Detach Company¶
HTTP Request
POST /api/v1/general-ledger-accounts/detach/company/{company_id}
📋 Description: Detaches a specified general ledger account from a financial entity within the organization’s structure, ensuring the integrity of the hierarchy is maintained. This operation is essential for managing financial relationships and organizational alignment.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
company_id |
path |
integer(int64) |
true |
Unique identifier for the financial entity within the organizational structure, used to detach general ledger accounts from the specified company. |
body |
body |
true |
Request body containing the financial entity identifiers and relevant metadata required to detach a general ledger account from the specified company within the organizational structure. |
Body Parameters
1[
2 {
3 "id": 0,
4 "status": "CREATED",
5 "displayId": "string",
6 "erpSystemId": 0,
7 "erpSystemDisplayId": "string",
8 "shortName": "string",
9 "longName": "string",
10 "accountCategory": "BALANCESHEET",
11 "accountTarget": "ALL",
12 "companyId": 0,
13 "openItemManagement": true
14 }
15]
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": {}
15}
General Ledger Account - Attach Company¶
HTTP Request
POST /api/v1/general-ledger-accounts/attach/company/{company_id}
📋 Description: Attaches a specified general ledger account to a designated company within the financial organization structure, facilitating the alignment of financial entities within the organizational hierarchy.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
company_id |
path |
integer(int64) |
true |
Unique identifier for the financial entity within the organizational structure, used to attach general ledger accounts to the specified company. |
body |
body |
true |
Request body containing the financial entity details required to associate a general ledger account with the specified company within the organizational structure. |
Body Parameters
1[
2 {
3 "id": 0,
4 "status": "CREATED",
5 "displayId": "string",
6 "erpSystemId": 0,
7 "erpSystemDisplayId": "string",
8 "shortName": "string",
9 "longName": "string",
10 "accountCategory": "BALANCESHEET",
11 "accountTarget": "ALL",
12 "companyId": 0,
13 "openItemManagement": true
14 }
15]
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": {}
15}
General Ledger Account - Find All¶
HTTP Request
GET /api/v1/general-ledger-accounts
📋 Description: Retrieves a list of general ledger accounts within the financial organization structure, providing insights into the hierarchy and organization of financial entities.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
pageable |
query |
true |
Indicates whether the results of the general ledger accounts retrieval should be paginated, facilitating efficient navigation through the financial organization structure. |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "totalElements": 0,
3 "totalPages": 0,
4 "pageable": {
5 "pageNumber": 0,
6 "paged": true,
7 "pageSize": 0,
8 "unpaged": true,
9 "offset": 0,
10 "sort": {
11 "unsorted": true,
12 "sorted": true,
13 "empty": true
14 }
15 },
16 "numberOfElements": 0,
17 "size": 0,
18 "content": [
19 {
20 "id": 0,
21 "status": "CREATED",
22 "displayId": "string",
23 "erpSystemId": 0,
24 "erpSystemDisplayId": "string",
25 "shortName": "string",
26 "longName": "string",
27 "accountCategory": "BALANCESHEET",
28 "accountTarget": "ALL",
29 "companyId": 0,
30 "openItemManagement": true
31 }
32 ],
33 "number": 0,
34 "sort": {
35 "unsorted": true,
36 "sorted": true,
37 "empty": true
38 },
39 "first": true,
40 "last": true,
41 "empty": true
42}
General Ledger Account - Create¶
HTTP Request
POST /api/v1/general-ledger-accounts
📋 Description: Creates a new general ledger account within the financial organization structure, enabling the establishment of a hierarchical framework for managing financial entities.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing the details for creating a new general ledger account, including account name, type, hierarchy level, and associated financial entity information. |
Body Parameters
1{
2 "id": 0,
3 "status": "CREATED",
4 "displayId": "string",
5 "erpSystemId": 0,
6 "erpSystemDisplayId": "string",
7 "shortName": "string",
8 "longName": "string",
9 "accountCategory": "BALANCESHEET",
10 "accountTarget": "ALL",
11 "companyId": 0,
12 "openItemManagement": true
13}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": {
15 "id": 0,
16 "status": "CREATED",
17 "displayId": "string",
18 "erpSystemId": 0,
19 "erpSystemDisplayId": "string",
20 "shortName": "string",
21 "longName": "string",
22 "accountCategory": "BALANCESHEET",
23 "accountTarget": "ALL",
24 "companyId": 0,
25 "openItemManagement": true
26 }
27}
General Ledger Account - Get Metadata¶
HTTP Request
GET /api/v1/general-ledger-accounts/meta
📋 Description: Retrieves metadata for general ledger accounts within the financial organization structure, providing insights into the hierarchy and relationships of financial entities. This operation supports users in understanding the organizational framework for effective financial management.
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Inline |
Example Responses
1[
2 "SHORT_NAME"
3]
Response Schema
General Ledger Account - Find All By System ID¶
HTTP Request
GET /api/v1/general-ledger-accounts/erp-system/{systemId}
📋 Description: Retrieves general ledger account details for a specified ERP system, facilitating insights into the financial organization structure and hierarchy of the financial entity.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
systemId |
path |
integer(int64) |
true |
Unique identifier for the system |
pageable |
query |
true |
Indicates whether the results should be returned in a paginated format, facilitating efficient navigation through the financial entity’s general ledger accounts within the organizational structure. |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "totalElements": 0,
3 "totalPages": 0,
4 "pageable": {
5 "pageNumber": 0,
6 "paged": true,
7 "pageSize": 0,
8 "unpaged": true,
9 "offset": 0,
10 "sort": {
11 "unsorted": true,
12 "sorted": true,
13 "empty": true
14 }
15 },
16 "numberOfElements": 0,
17 "size": 0,
18 "content": [
19 {
20 "id": 0,
21 "status": "CREATED",
22 "displayId": "string",
23 "erpSystemId": 0,
24 "erpSystemDisplayId": "string",
25 "shortName": "string",
26 "longName": "string",
27 "accountCategory": "BALANCESHEET",
28 "accountTarget": "ALL",
29 "companyId": 0,
30 "openItemManagement": true
31 }
32 ],
33 "number": 0,
34 "sort": {
35 "unsorted": true,
36 "sorted": true,
37 "empty": true
38 },
39 "first": true,
40 "last": true,
41 "empty": true
42}
General Ledger Account - Get All By Company¶
HTTP Request
GET /api/v1/general-ledger-accounts/company/{company_id}
📋 Description: Retrieves general ledger accounts for a specified company, providing insights into the financial structure and hierarchy of the organization. This operation supports effective management of financial entities within the broader organizational context.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
company_id |
path |
integer(int64) |
true |
Unique identifier for the financial entity within the organization’s structure, used to retrieve general ledger accounts associated with the specified company. |
pageable |
query |
true |
Indicates whether the results should be returned in a paginated format, facilitating efficient retrieval of general ledger accounts within the financial organization structure. |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "totalElements": 0,
3 "totalPages": 0,
4 "pageable": {
5 "pageNumber": 0,
6 "paged": true,
7 "pageSize": 0,
8 "unpaged": true,
9 "offset": 0,
10 "sort": {
11 "unsorted": true,
12 "sorted": true,
13 "empty": true
14 }
15 },
16 "numberOfElements": 0,
17 "size": 0,
18 "content": [
19 {
20 "id": 0,
21 "status": "CREATED",
22 "displayId": "string",
23 "erpSystemId": 0,
24 "erpSystemDisplayId": "string",
25 "shortName": "string",
26 "longName": "string",
27 "accountCategory": "BALANCESHEET",
28 "accountTarget": "ALL",
29 "companyId": 0,
30 "openItemManagement": true
31 }
32 ],
33 "number": 0,
34 "sort": {
35 "unsorted": true,
36 "sorted": true,
37 "empty": true
38 },
39 "first": true,
40 "last": true,
41 "empty": true
42}