Company Financial Setting¶
Company Financial Setting - Get¶
HTTP Request
GET /api/v1/company-financial-settings/{id}
📋 Description: Retrieves the financial settings for a specified company, providing essential details about 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 "rowNumber": 0,
17 "rowIdentifier": "string",
18 "errors": [
19 "string"
20 ],
21 "linkedErrors": [
22 "string"
23 ],
24 "warnings": [
25 "string"
26 ],
27 "remarks": [
28 "string"
29 ],
30 "skipMessage": "string",
31 "companySettingType": "CLASSIFICATION_PERCENTAGE_TERM",
32 "value": "string",
33 "companyId": 0,
34 "companyDisplayId": "string",
35 "erpSystemId": 0,
36 "erpSystemDisplayId": "string"
37 }
38}
Company Financial Setting - Update¶
HTTP Request
PUT /api/v1/company-financial-settings/{id}
📋 Description: Updates the financial settings of a specified company within the organizational structure, allowing for adjustments to the hierarchy and configuration of financial entities. This operation ensures that financial data aligns with the current organizational needs and compliance requirements.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
id |
path |
integer(int64) |
true |
Unique identifier for the resource |
body |
body |
true |
Request body containing the financial settings data for the specified company, including parameters that define the organization’s financial hierarchy and structure. |
Body Parameters
1{
2 "id": 0,
3 "rowNumber": 0,
4 "rowIdentifier": "string",
5 "errors": [
6 "string"
7 ],
8 "linkedErrors": [
9 "string"
10 ],
11 "warnings": [
12 "string"
13 ],
14 "remarks": [
15 "string"
16 ],
17 "skipMessage": "string",
18 "companySettingType": "CLASSIFICATION_PERCENTAGE_TERM",
19 "value": "string",
20 "companyId": 0,
21 "companyDisplayId": "string",
22 "erpSystemId": 0,
23 "erpSystemDisplayId": "string"
24}
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 "rowNumber": 0,
17 "rowIdentifier": "string",
18 "errors": [
19 "string"
20 ],
21 "linkedErrors": [
22 "string"
23 ],
24 "warnings": [
25 "string"
26 ],
27 "remarks": [
28 "string"
29 ],
30 "skipMessage": "string",
31 "companySettingType": "CLASSIFICATION_PERCENTAGE_TERM",
32 "value": "string",
33 "companyId": 0,
34 "companyDisplayId": "string",
35 "erpSystemId": 0,
36 "erpSystemDisplayId": "string"
37 }
38}
Company Financial Setting - Delete¶
HTTP Request
DELETE /api/v1/company-financial-settings/{id}
📋 Description: Deletes the specified financial settings for a company, thereby removing its associated financial entity from the organizational 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}
Company Financial Setting - Create Or Update Bulk¶
HTTP Request
PUT /api/v1/company-financial-settings/createOrUpdate/bulk
📋 Description: Updates or creates multiple financial settings for organizations within the financial entity hierarchy, ensuring alignment with the overall organizational structure.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing bulk financial settings data for multiple financial entities, structured to reflect the organization’s hierarchy and operational requirements. |
Body Parameters
1[
2 {
3 "id": 0,
4 "rowNumber": 0,
5 "rowIdentifier": "string",
6 "errors": [
7 "string"
8 ],
9 "linkedErrors": [
10 "string"
11 ],
12 "warnings": [
13 "string"
14 ],
15 "remarks": [
16 "string"
17 ],
18 "skipMessage": "string",
19 "companySettingType": "CLASSIFICATION_PERCENTAGE_TERM",
20 "value": "string",
21 "companyId": 0,
22 "companyDisplayId": "string",
23 "erpSystemId": 0,
24 "erpSystemDisplayId": "string"
25 }
26]
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 "rowNumber": 0,
18 "rowIdentifier": "string",
19 "errors": [
20 "string"
21 ],
22 "linkedErrors": [
23 "string"
24 ],
25 "warnings": [
26 "string"
27 ],
28 "remarks": [
29 "string"
30 ],
31 "skipMessage": "string",
32 "companySettingType": "CLASSIFICATION_PERCENTAGE_TERM",
33 "value": "string",
34 "companyId": 0,
35 "companyDisplayId": "string",
36 "erpSystemId": 0,
37 "erpSystemDisplayId": "string"
38 }
39 ]
40}
Company Financial Setting - Create Or Update¶
HTTP Request
PUT /api/v1/company-financial-settings/createOrUpdate
📋 Description: Creates or updates financial settings for a specified company within the organizational structure, ensuring alignment with the established financial hierarchy and entity requirements.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing the financial settings data for creating or updating the organization’s financial structure and hierarchy. |
Body Parameters
1{
2 "id": 0,
3 "rowNumber": 0,
4 "rowIdentifier": "string",
5 "errors": [
6 "string"
7 ],
8 "linkedErrors": [
9 "string"
10 ],
11 "warnings": [
12 "string"
13 ],
14 "remarks": [
15 "string"
16 ],
17 "skipMessage": "string",
18 "companySettingType": "CLASSIFICATION_PERCENTAGE_TERM",
19 "value": "string",
20 "companyId": 0,
21 "companyDisplayId": "string",
22 "erpSystemId": 0,
23 "erpSystemDisplayId": "string"
24}
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 "rowNumber": 0,
17 "rowIdentifier": "string",
18 "errors": [
19 "string"
20 ],
21 "linkedErrors": [
22 "string"
23 ],
24 "warnings": [
25 "string"
26 ],
27 "remarks": [
28 "string"
29 ],
30 "skipMessage": "string",
31 "companySettingType": "CLASSIFICATION_PERCENTAGE_TERM",
32 "value": "string",
33 "companyId": 0,
34 "companyDisplayId": "string",
35 "erpSystemId": 0,
36 "erpSystemDisplayId": "string"
37 }
38}
Company Financial Setting - Bulk Update¶
HTTP Request
PUT /api/v1/company-financial-settings/bulk
📋 Description: Updates the financial settings for multiple entities within the organization’s structure, enabling efficient management of financial hierarchies and configurations.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing bulk financial settings data for the organization’s structure and hierarchy, enabling updates to multiple financial entities simultaneously. |
Body Parameters
1[
2 {
3 "id": 0,
4 "rowNumber": 0,
5 "rowIdentifier": "string",
6 "errors": [
7 "string"
8 ],
9 "linkedErrors": [
10 "string"
11 ],
12 "warnings": [
13 "string"
14 ],
15 "remarks": [
16 "string"
17 ],
18 "skipMessage": "string",
19 "companySettingType": "CLASSIFICATION_PERCENTAGE_TERM",
20 "value": "string",
21 "companyId": 0,
22 "companyDisplayId": "string",
23 "erpSystemId": 0,
24 "erpSystemDisplayId": "string"
25 }
26]
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 "rowNumber": 0,
18 "rowIdentifier": "string",
19 "errors": [
20 "string"
21 ],
22 "linkedErrors": [
23 "string"
24 ],
25 "warnings": [
26 "string"
27 ],
28 "remarks": [
29 "string"
30 ],
31 "skipMessage": "string",
32 "companySettingType": "CLASSIFICATION_PERCENTAGE_TERM",
33 "value": "string",
34 "companyId": 0,
35 "companyDisplayId": "string",
36 "erpSystemId": 0,
37 "erpSystemDisplayId": "string"
38 }
39 ]
40}
Company Financial Setting - Bulk Create¶
HTTP Request
POST /api/v1/company-financial-settings/bulk
📋 Description: Submits bulk financial settings for multiple entities within the organization’s financial structure, enabling efficient updates to the hierarchy and configuration of financial entities.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing bulk financial settings data for multiple financial entities, structured to reflect the organization’s hierarchy and organizational structure. |
Body Parameters
1[
2 {
3 "id": 0,
4 "rowNumber": 0,
5 "rowIdentifier": "string",
6 "errors": [
7 "string"
8 ],
9 "linkedErrors": [
10 "string"
11 ],
12 "warnings": [
13 "string"
14 ],
15 "remarks": [
16 "string"
17 ],
18 "skipMessage": "string",
19 "companySettingType": "CLASSIFICATION_PERCENTAGE_TERM",
20 "value": "string",
21 "companyId": 0,
22 "companyDisplayId": "string",
23 "erpSystemId": 0,
24 "erpSystemDisplayId": "string"
25 }
26]
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 "rowNumber": 0,
18 "rowIdentifier": "string",
19 "errors": [
20 "string"
21 ],
22 "linkedErrors": [
23 "string"
24 ],
25 "warnings": [
26 "string"
27 ],
28 "remarks": [
29 "string"
30 ],
31 "skipMessage": "string",
32 "companySettingType": "CLASSIFICATION_PERCENTAGE_TERM",
33 "value": "string",
34 "companyId": 0,
35 "companyDisplayId": "string",
36 "erpSystemId": 0,
37 "erpSystemDisplayId": "string"
38 }
39 ]
40}
Company Financial Setting - Bulk Delete¶
HTTP Request
DELETE /api/v1/company-financial-settings/bulk
📋 Description: Deletes multiple financial settings associated with the company’s organizational structure, ensuring the hierarchy and financial entity configurations are accurately maintained.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
array[integer] |
true |
Request body containing an array of financial entity identifiers for bulk deletion within the organization’s financial 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}
Company Financial Setting - Search¶
HTTP Request
POST /api/v1/company-financial-settings/search
📋 Description: Submits a request to search for financial settings within the organization’s structure, enabling users to identify and manage financial entities based on specified criteria.
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 the financial entity search criteria, including organization structure and hierarchy parameters, to facilitate targeted retrieval of company financial settings. |
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 "companySettingTypeIn": [
16 "CLASSIFICATION_PERCENTAGE_TERM"
17 ],
18 "valueEqual": "string",
19 "valueLike": "string",
20 "companyIdEqual": 0,
21 "companyDisplayIdLike": "string",
22 "erpSystemIdEqual": 0,
23 "erpSystemDisplayIdEqual": "string"
24}
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 "rowNumber": 0,
22 "rowIdentifier": "string",
23 "errors": [
24 "string"
25 ],
26 "linkedErrors": [
27 "string"
28 ],
29 "warnings": [
30 "string"
31 ],
32 "remarks": [
33 "string"
34 ],
35 "skipMessage": "string",
36 "companySettingType": "CLASSIFICATION_PERCENTAGE_TERM",
37 "value": "string",
38 "companyId": 0,
39 "companyDisplayId": "string",
40 "erpSystemId": 0,
41 "erpSystemDisplayId": "string"
42 }
43 ],
44 "number": 0,
45 "sort": {
46 "unsorted": true,
47 "sorted": true,
48 "empty": true
49 },
50 "first": true,
51 "last": true,
52 "empty": true
53}
Company Financial Setting - Is Accounts Payable Enabled For Companies¶
HTTP Request
POST /api/v1/company-financial-settings/is-accounts-payable-enabled
📋 Description: Enables or disables the accounts payable feature for a specified financial entity within the organizational structure, allowing for tailored financial management based on the company’s hierarchy.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
array[integer] |
false |
Request body containing the financial entity settings data to determine if accounts payable functionality is enabled within the organization’s financial structure. |
Body Parameters
1[
2 0
3]
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Inline |
Example Responses
1{
2 "property1": true,
3 "property2": true
4}
Response Schema
Status Code 200
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
» additionalProperties |
boolean |
false |
none |
none |
Company Financial Setting - Find All¶
HTTP Request
GET /api/v1/company-financial-settings
📋 Description: Retrieves the financial settings associated with the company’s organizational structure, providing insights into the hierarchy and configuration of financial entities. This operation is essential for understanding and managing the financial framework within the organization.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
pageable |
query |
true |
Indicates whether the results of the financial settings retrieval should be paginated, facilitating efficient navigation through the organization’s financial entity hierarchy. |
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 "rowNumber": 0,
22 "rowIdentifier": "string",
23 "errors": [
24 "string"
25 ],
26 "linkedErrors": [
27 "string"
28 ],
29 "warnings": [
30 "string"
31 ],
32 "remarks": [
33 "string"
34 ],
35 "skipMessage": "string",
36 "companySettingType": "CLASSIFICATION_PERCENTAGE_TERM",
37 "value": "string",
38 "companyId": 0,
39 "companyDisplayId": "string",
40 "erpSystemId": 0,
41 "erpSystemDisplayId": "string"
42 }
43 ],
44 "number": 0,
45 "sort": {
46 "unsorted": true,
47 "sorted": true,
48 "empty": true
49 },
50 "first": true,
51 "last": true,
52 "empty": true
53}
Company Financial Setting - Create¶
HTTP Request
POST /api/v1/company-financial-settings
📋 Description: Creates or updates financial settings for a specified company within the organizational structure, ensuring alignment with the established financial hierarchy and entity requirements.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing the financial settings data for the organization’s structure and hierarchy, including parameters for managing financial entities. |
Body Parameters
1{
2 "id": 0,
3 "rowNumber": 0,
4 "rowIdentifier": "string",
5 "errors": [
6 "string"
7 ],
8 "linkedErrors": [
9 "string"
10 ],
11 "warnings": [
12 "string"
13 ],
14 "remarks": [
15 "string"
16 ],
17 "skipMessage": "string",
18 "companySettingType": "CLASSIFICATION_PERCENTAGE_TERM",
19 "value": "string",
20 "companyId": 0,
21 "companyDisplayId": "string",
22 "erpSystemId": 0,
23 "erpSystemDisplayId": "string"
24}
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 "rowNumber": 0,
17 "rowIdentifier": "string",
18 "errors": [
19 "string"
20 ],
21 "linkedErrors": [
22 "string"
23 ],
24 "warnings": [
25 "string"
26 ],
27 "remarks": [
28 "string"
29 ],
30 "skipMessage": "string",
31 "companySettingType": "CLASSIFICATION_PERCENTAGE_TERM",
32 "value": "string",
33 "companyId": 0,
34 "companyDisplayId": "string",
35 "erpSystemId": 0,
36 "erpSystemDisplayId": "string"
37 }
38}
Company Financial Setting - Get Metadata¶
HTTP Request
GET /api/v1/company-financial-settings/meta
📋 Description: Retrieves metadata related to the financial settings of the organization, providing insights into the structure and hierarchy of financial entities within the organization. This operation supports effective management and alignment of financial resources.
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Inline |
Example Responses
1[
2 "COMPANY_SETTING_TYPE"
3]
Response Schema
Company Financial Setting - Find All By System ID¶
HTTP Request
GET /api/v1/company-financial-settings/erp-system/{systemId}
📋 Description: Retrieves the financial settings associated with a specific ERP system identified by the {systemId}, providing insights into the organization’s financial structure and hierarchy. This operation aids in managing and aligning financial entities within the broader organizational framework.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
systemId |
path |
integer(int64) |
true |
Unique identifier for the system |
pageable |
query |
true |
Indicates whether the response should be paginated, facilitating the retrieval of financial settings for a specified ERP system 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 "rowNumber": 0,
22 "rowIdentifier": "string",
23 "errors": [
24 "string"
25 ],
26 "linkedErrors": [
27 "string"
28 ],
29 "warnings": [
30 "string"
31 ],
32 "remarks": [
33 "string"
34 ],
35 "skipMessage": "string",
36 "companySettingType": "CLASSIFICATION_PERCENTAGE_TERM",
37 "value": "string",
38 "companyId": 0,
39 "companyDisplayId": "string",
40 "erpSystemId": 0,
41 "erpSystemDisplayId": "string"
42 }
43 ],
44 "number": 0,
45 "sort": {
46 "unsorted": true,
47 "sorted": true,
48 "empty": true
49 },
50 "first": true,
51 "last": true,
52 "empty": true
53}