ERP Field Mapping¶
Get A Resource By ID¶
HTTP Request
GET /api/v1/sap-posting-bot/erp-field-mapping/{id}
📋 Description: Retrieves the ERP field mapping details for a specified ledger entry by its unique identifier, facilitating accurate transaction and account management within financial records.
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 "erpSystem": {
17 "id": 0,
18 "displayId": "string"
19 },
20 "postingCommand": "PAYMENT",
21 "mappingMode": "DEFAULT",
22 "principalPositionType": "LESSEE",
23 "financialAccounting": "GENERAL_LEDGER",
24 "mappingSapField": "BUSINESS_TRANSACTION",
25 "sapCustomizableField": true,
26 "mappingSources": [
27 {
28 "reference": "string",
29 "source": "LEDGER_TRANSACTION"
30 }
31 ],
32 "defaultMappingSources": [
33 {
34 "reference": "string",
35 "source": "LEDGER_TRANSACTION"
36 }
37 ],
38 "customFieldOperation": "string",
39 "customScriptOperation": "string"
40 }
41}
Update A Resource¶
HTTP Request
PUT /api/v1/sap-posting-bot/erp-field-mapping/{id}
📋 Description: Updates the ERP field mapping configuration for a specified ledger entry, enabling accurate transaction processing and alignment of financial records within the General Ledger system.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
id |
path |
integer(int64) |
true |
Unique identifier for the resource |
body |
body |
true |
Request body containing the ERP field mapping data, including ledger entry details, transaction identifiers, and account associations necessary for updating financial records. |
Body Parameters
1{
2 "id": 0,
3 "erpSystem": {
4 "id": 0,
5 "displayId": "string"
6 },
7 "postingCommand": "PAYMENT",
8 "mappingMode": "DEFAULT",
9 "principalPositionType": "LESSEE",
10 "financialAccounting": "GENERAL_LEDGER",
11 "mappingSapField": "BUSINESS_TRANSACTION",
12 "sapCustomizableField": true,
13 "mappingSources": [
14 {
15 "reference": "string",
16 "source": "LEDGER_TRANSACTION"
17 }
18 ],
19 "defaultMappingSources": [
20 {
21 "reference": "string",
22 "source": "LEDGER_TRANSACTION"
23 }
24 ],
25 "customFieldOperation": "string",
26 "customScriptOperation": "string"
27}
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 "erpSystem": {
17 "id": 0,
18 "displayId": "string"
19 },
20 "postingCommand": "PAYMENT",
21 "mappingMode": "DEFAULT",
22 "principalPositionType": "LESSEE",
23 "financialAccounting": "GENERAL_LEDGER",
24 "mappingSapField": "BUSINESS_TRANSACTION",
25 "sapCustomizableField": true,
26 "mappingSources": [
27 {
28 "reference": "string",
29 "source": "LEDGER_TRANSACTION"
30 }
31 ],
32 "defaultMappingSources": [
33 {
34 "reference": "string",
35 "source": "LEDGER_TRANSACTION"
36 }
37 ],
38 "customFieldOperation": "string",
39 "customScriptOperation": "string"
40 }
41}
Delete¶
HTTP Request
DELETE /api/v1/sap-posting-bot/erp-field-mapping/{id}
📋 Description: Deletes the specified ERP field mapping entry by its unique identifier, ensuring the integrity of ledger entries and associated financial records within the General Ledger.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
id |
path |
integer(int64) |
true |
Unique identifier for the resource |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
None |
Create Or Update A Resource¶
HTTP Request
PUT /api/v1/sap-posting-bot/erp-field-mapping/createOrUpdate
📋 Description: Updates or creates ERP field mappings for ledger entries, ensuring accurate transaction and account alignment within financial records. This operation facilitates the seamless integration of data between systems, enhancing overall financial reporting accuracy.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing the ledger entry mapping data, including transaction details, account identifiers, and associated financial record attributes for creating or updating ERP field mappings. |
Body Parameters
1{
2 "id": 0,
3 "erpSystem": {
4 "id": 0,
5 "displayId": "string"
6 },
7 "postingCommand": "PAYMENT",
8 "mappingMode": "DEFAULT",
9 "principalPositionType": "LESSEE",
10 "financialAccounting": "GENERAL_LEDGER",
11 "mappingSapField": "BUSINESS_TRANSACTION",
12 "sapCustomizableField": true,
13 "mappingSources": [
14 {
15 "reference": "string",
16 "source": "LEDGER_TRANSACTION"
17 }
18 ],
19 "defaultMappingSources": [
20 {
21 "reference": "string",
22 "source": "LEDGER_TRANSACTION"
23 }
24 ],
25 "customFieldOperation": "string",
26 "customScriptOperation": "string"
27}
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 "erpSystem": {
17 "id": 0,
18 "displayId": "string"
19 },
20 "postingCommand": "PAYMENT",
21 "mappingMode": "DEFAULT",
22 "principalPositionType": "LESSEE",
23 "financialAccounting": "GENERAL_LEDGER",
24 "mappingSapField": "BUSINESS_TRANSACTION",
25 "sapCustomizableField": true,
26 "mappingSources": [
27 {
28 "reference": "string",
29 "source": "LEDGER_TRANSACTION"
30 }
31 ],
32 "defaultMappingSources": [
33 {
34 "reference": "string",
35 "source": "LEDGER_TRANSACTION"
36 }
37 ],
38 "customFieldOperation": "string",
39 "customScriptOperation": "string"
40 }
41}
Bulk Create-Or-Update Resources¶
HTTP Request
PUT /api/v1/sap-posting-bot/erp-field-mapping/createOrUpdate/bulk
📋 Description: Creates or updates multiple ERP field mappings in bulk for ledger entries, ensuring accurate transaction and account alignment within financial records.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing bulk ERP field mapping data for ledger entries, including transaction details, account identifiers, and associated financial records. |
Body Parameters
1[
2 {
3 "id": 0,
4 "erpSystem": {
5 "id": 0,
6 "displayId": "string"
7 },
8 "postingCommand": "PAYMENT",
9 "mappingMode": "DEFAULT",
10 "principalPositionType": "LESSEE",
11 "financialAccounting": "GENERAL_LEDGER",
12 "mappingSapField": "BUSINESS_TRANSACTION",
13 "sapCustomizableField": true,
14 "mappingSources": [
15 {
16 "reference": "string",
17 "source": "LEDGER_TRANSACTION"
18 }
19 ],
20 "defaultMappingSources": [
21 {
22 "reference": "string",
23 "source": "LEDGER_TRANSACTION"
24 }
25 ],
26 "customFieldOperation": "string",
27 "customScriptOperation": "string"
28 }
29]
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 "erpSystem": {
18 "id": 0,
19 "displayId": "string"
20 },
21 "postingCommand": "PAYMENT",
22 "mappingMode": "DEFAULT",
23 "principalPositionType": "LESSEE",
24 "financialAccounting": "GENERAL_LEDGER",
25 "mappingSapField": "BUSINESS_TRANSACTION",
26 "sapCustomizableField": true,
27 "mappingSources": [
28 {
29 "reference": "string",
30 "source": "LEDGER_TRANSACTION"
31 }
32 ],
33 "defaultMappingSources": [
34 {
35 "reference": "string",
36 "source": "LEDGER_TRANSACTION"
37 }
38 ],
39 "customFieldOperation": "string",
40 "customScriptOperation": "string"
41 }
42 ]
43}
Bulk-Update Resources¶
HTTP Request
PUT /api/v1/sap-posting-bot/erp-field-mapping/bulk
📋 Description: Updates multiple ERP field mappings in bulk for ledger entries, ensuring accurate transaction and account alignment within financial records.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing a collection of ERP field mappings for bulk ledger entries, including transaction details and account identifiers to ensure accurate financial record integration. |
Body Parameters
1[
2 {
3 "id": 0,
4 "erpSystem": {
5 "id": 0,
6 "displayId": "string"
7 },
8 "postingCommand": "PAYMENT",
9 "mappingMode": "DEFAULT",
10 "principalPositionType": "LESSEE",
11 "financialAccounting": "GENERAL_LEDGER",
12 "mappingSapField": "BUSINESS_TRANSACTION",
13 "sapCustomizableField": true,
14 "mappingSources": [
15 {
16 "reference": "string",
17 "source": "LEDGER_TRANSACTION"
18 }
19 ],
20 "defaultMappingSources": [
21 {
22 "reference": "string",
23 "source": "LEDGER_TRANSACTION"
24 }
25 ],
26 "customFieldOperation": "string",
27 "customScriptOperation": "string"
28 }
29]
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 "erpSystem": {
18 "id": 0,
19 "displayId": "string"
20 },
21 "postingCommand": "PAYMENT",
22 "mappingMode": "DEFAULT",
23 "principalPositionType": "LESSEE",
24 "financialAccounting": "GENERAL_LEDGER",
25 "mappingSapField": "BUSINESS_TRANSACTION",
26 "sapCustomizableField": true,
27 "mappingSources": [
28 {
29 "reference": "string",
30 "source": "LEDGER_TRANSACTION"
31 }
32 ],
33 "defaultMappingSources": [
34 {
35 "reference": "string",
36 "source": "LEDGER_TRANSACTION"
37 }
38 ],
39 "customFieldOperation": "string",
40 "customScriptOperation": "string"
41 }
42 ]
43}
Validate ERP Mapping Script¶
HTTP Request
POST /api/v1/sap-posting-bot/erp-field-mapping/validate-erp-mapping-script
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
none |
Body Parameters
1{
2 "scriptCode": "string",
3 "mappingSources": [
4 {
5 "reference": "string",
6 "source": "LEDGER_TRANSACTION"
7 }
8 ]
9}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
string |
Example Responses
1"string"
Search Resources¶
HTTP Request
POST /api/v1/sap-posting-bot/erp-field-mapping/search
📋 Description: Submits a search request for ERP field mappings related to ledger entries, transactions, accounts, and financial records, enabling efficient data alignment and integration within the General Ledger domain.
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 record data necessary for mapping ledger entries, transactions, and accounts within the General Ledger system. |
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 "erpSystemIdEqual": 0,
16 "erpSystemDisplayIdLike": "string",
17 "postingCommandEqual": "PAYMENT",
18 "mappingModeEqual": "DEFAULT",
19 "principalPositionTypeEqual": "LESSEE",
20 "financialAccountingEqual": "GENERAL_LEDGER",
21 "sapNameEqual": "string",
22 "sapNameLike": "string",
23 "sapTableEqual": "POST_DOCUMENT_HEADER",
24 "sapBapiEqual": "BAPI_ACC_DOCUMENT_POST",
25 "sapBapiIn": [
26 "BAPI_ACC_DOCUMENT_POST"
27 ],
28 "sapFieldLengthEqual": 0,
29 "sapCustomizableFieldEqual": true,
30 "referenceEqual": "string",
31 "referenceLike": "string",
32 "sourceEqual": "LEDGER_TRANSACTION"
33}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "totalElements": 0,
3 "totalPages": 0,
4 "pageable": {
5 "pageNumber": 0,
6 "unpaged": true,
7 "paged": true,
8 "pageSize": 0,
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 "erpSystem": {
22 "id": 0,
23 "displayId": "string"
24 },
25 "postingCommand": "PAYMENT",
26 "mappingMode": "DEFAULT",
27 "principalPositionType": "LESSEE",
28 "financialAccounting": "GENERAL_LEDGER",
29 "mappingSapField": "BUSINESS_TRANSACTION",
30 "sapCustomizableField": true,
31 "mappingSources": [
32 {
33 "reference": "string",
34 "source": "LEDGER_TRANSACTION"
35 }
36 ],
37 "defaultMappingSources": [
38 {
39 "reference": "string",
40 "source": "LEDGER_TRANSACTION"
41 }
42 ],
43 "customFieldOperation": "string",
44 "customScriptOperation": "string"
45 }
46 ],
47 "number": 0,
48 "sort": {
49 "unsorted": true,
50 "sorted": true,
51 "empty": true
52 },
53 "first": true,
54 "last": true,
55 "empty": true
56}
List SAP Fields¶
HTTP Request
POST /api/v1/sap-posting-bot/erp-field-mapping/sap-fields
📋 Description: Creates a mapping of SAP fields to ERP fields for ledger entries, facilitating accurate transaction processing and ensuring consistency in financial records.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
string |
true |
Request body containing the mapping data for SAP fields related to ledger entries, transactions, accounts, and financial records. |
Enumerated Values
Attribute |
Value |
|---|---|
body |
ACCOUNT_GL, ACCOUNT_GL_TAX, ACCOUNT_PAYABLE, ACCOUNT_TAX, CURRENCY_AMOUNT, CURRENCY_AMOUNT_ADDITIONAL_CURRENCIES, CURRENCY_AMOUNT_TAX, EXTENSION_2, POST_DOCUMENT_HEADER, REVERSAL |
Body Parameters
1"POST_DOCUMENT_HEADER"
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Inline |
Example Responses
1[
2 "BUSINESS_TRANSACTION"
3]
Response Schema
List GL Tables And Fields¶
HTTP Request
POST /api/v1/sap-posting-bot/erp-field-mapping/gl-tables-and-fields
📋 Description: Posts General Ledger field mappings for ledger entries, enabling the accurate alignment of transaction data with corresponding accounts and financial records.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing the mapping data for General Ledger tables and fields, essential for accurately recording ledger entries and transactions within the financial record system. |
Body Parameters
1{
2 "erpSystem": {
3 "id": 0,
4 "displayId": "string"
5 },
6 "principalPositionType": "LESSEE"
7}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Inline |
Example Responses
1[
2 {
3 "table": "LEDGER_TRANSACTION",
4 "fields": [
5 {
6 "field": "string",
7 "captionKey": "string",
8 "caption": "string",
9 "customReference": true
10 }
11 ]
12 }
13]
Response Schema
Status Code 200
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
anonymous |
false |
none |
[Data structure representing the mapping of general ledger tables and fields, facilitating the alignment of ledger entries, transactions, accounts, and financial records for accurate reporting and analysis.] |
|
» table |
string |
false |
none |
Text value for table in MappingGlTableAndFields |
» fields |
false |
none |
List of fields items |
|
»» field |
string |
false |
none |
Text value for field in MappingGlFieldOption |
»» captionKey |
string |
false |
none |
Text value for captionKey in MappingGlFieldOption |
»» caption |
string |
false |
none |
Text value for caption in MappingGlFieldOption |
»» customReference |
boolean |
false |
none |
Boolean flag indicating customReference status |
Enumerated Values
Attribute |
Value |
|---|---|
table |
EMPTY_FIELD, LEDGER_ENTRY, LEDGER_ENTRY_ADDITIONAL_CURRENCIES, LEDGER_ENTRY_APPLICATION_REFERENCE_AP, LEDGER_ENTRY_APPLICATION_REFERENCE_NLA, LEDGER_ENTRY_APPLICATION_REFERENCE_NRE, LEDGER_ENTRY_TAX, LEDGER_TRANSACTION, LEDGER_TRANSACTION_APPLICATION_REFERENCE_AP, LEDGER_TRANSACTION_APPLICATION_REFERENCE_NLA, LEDGER_TRANSACTION_APPLICATION_REFERENCE_NRE, USER_INPUT |
Get Mappings¶
HTTP Request
POST /api/v1/sap-posting-bot/erp-field-mapping/
📋 Description: Creates a mapping between ERP fields and general ledger accounts to facilitate accurate ledger entry and transaction processing, ensuring seamless integration of financial records.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing the mapping data for ledger entries, including transaction details, account identifiers, and associated financial records. |
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 "erpSystemIdEqual": 0,
16 "erpSystemDisplayIdLike": "string",
17 "postingCommandEqual": "PAYMENT",
18 "mappingModeEqual": "DEFAULT",
19 "principalPositionTypeEqual": "LESSEE",
20 "financialAccountingEqual": "GENERAL_LEDGER",
21 "sapNameEqual": "string",
22 "sapNameLike": "string",
23 "sapTableEqual": "POST_DOCUMENT_HEADER",
24 "sapBapiEqual": "BAPI_ACC_DOCUMENT_POST",
25 "sapBapiIn": [
26 "BAPI_ACC_DOCUMENT_POST"
27 ],
28 "sapFieldLengthEqual": 0,
29 "sapCustomizableFieldEqual": true,
30 "referenceEqual": "string",
31 "referenceLike": "string",
32 "sourceEqual": "LEDGER_TRANSACTION"
33}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Inline |
Example Responses
1[
2 {
3 "id": 0,
4 "erpSystem": {
5 "id": 0,
6 "displayId": "string"
7 },
8 "postingCommand": "PAYMENT",
9 "mappingMode": "DEFAULT",
10 "principalPositionType": "LESSEE",
11 "financialAccounting": "GENERAL_LEDGER",
12 "mappingSapField": "BUSINESS_TRANSACTION",
13 "sapCustomizableField": true,
14 "mappingSources": [
15 {
16 "reference": "string",
17 "source": "LEDGER_TRANSACTION"
18 }
19 ],
20 "defaultMappingSources": [
21 {
22 "reference": "string",
23 "source": "LEDGER_TRANSACTION"
24 }
25 ],
26 "customFieldOperation": "string",
27 "customScriptOperation": "string"
28 }
29]
Response Schema
Status Code 200
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
anonymous |
false |
none |
[Data transfer object representing the mapping of fields between the General Ledger and external systems, facilitating accurate ledger entries, transactions, and financial records management.] |
|
» id |
integer(int64) |
false |
none |
Unique identifier for the resource |
» erpSystem |
true |
none |
Data transfer object representing a unique identifier for ledger entries, transactions, and accounts within the General Ledger, facilitating accurate tracking and management of financial records. |
|
»» id |
integer(int64) |
false |
none |
Unique identifier for the resource |
»» displayId |
string |
false |
none |
Unique identifier for the display |
» postingCommand |
string |
true |
none |
Text value for postingCommand in ErpFieldMappingDto |
» mappingMode |
string |
false |
none |
Text value for mappingMode in ErpFieldMappingDto |
» principalPositionType |
string |
true |
none |
Type of the principal position |
» financialAccounting |
string |
false |
none |
Text value for financialAccounting in ErpFieldMappingDto |
» mappingSapField |
string |
false |
none |
Text value for mappingSapField in ErpFieldMappingDto |
» sapCustomizableField |
boolean |
false |
none |
Boolean flag indicating sapCustomizableField status |
» mappingSources |
false |
none |
List of mappingSources items |
|
»» reference |
string |
false |
none |
Text value for reference in MappingSource |
»» source |
string |
false |
none |
Text value for source in MappingSource |
» defaultMappingSources |
false |
none |
List of defaultMappingSources items |
|
» customFieldOperation |
string |
false |
none |
Text value for customFieldOperation in ErpFieldMappingDto |
» customScriptOperation |
string |
false |
none |
none |
Enumerated Values
Attribute |
Value |
|---|---|
financialAccounting |
ASSET_ACCOUNTING, GENERAL_LEDGER |
mappingMode |
CUSTOM, DEFAULT |
mappingSapField |
ACCOUNTING_KEY_ACCOUNT_TAX, ACCOUNTING_PRINCIPAL, ACCOUNTING_PRINCIPAL_REVERSAL, ALLOCATION_NUMBER, ALLOCATION_NUMBER_PAYABLE, ALLOCATION_NUMBER_TAX, AMOUNT_BASE, AMOUNT_BASE_ADDITIONAL_CURRENCY, AMOUNT_BASE_TAX, AMOUNT_DOCCUR, AMOUNT_DOCCUR_ADDITIONAL_CURRENCY, AMOUNT_DOCCUR_TAX, BUSINESS_AREA, BUSINESS_AREA_PAYABLE, BUSINESS_AREA_TAX, BUSINESS_TRANSACTION, COMPANY_CODE, COMPANY_CODE_PAYABLE, COMPANY_CODE_REVERSAL, CONDITION_KEY_ACCOUNT_TAX, COST_CENTER, COST_CENTER_TAX, CS_TRANSACTION_TYPE, CS_TRANSACTION_TYPE_TAX, CURRENCY, CURRENCY_ADDITIONAL_CURRENCY, CURRENCY_TAX, CURRENCY_TYPE, CURRENCY_TYPE_ADDITIONAL_CURRENCY, CURRENCY_TYPE_TAX, DOCUMENT_DATE, DOCUMENT_TYPE, EXCHANGE_RATE, EXCHANGE_RATE_ADDITIONAL_CURRENCY, EXCHANGE_RATE_TAX, FUNCTIONAL_AREA, FUNCTIONAL_AREA_TAX, GL_ACCOUNT, GL_ACCOUNT_ACCOUNT_TAX, GL_ACCOUNT_PAYABLE, GL_ACCOUNT_TAX, HEADER_TEXT, ITEM_ACCOUNT_NUMBER, ITEM_ACCOUNT_NUMBER_ADDITIONAL_CURRENCY, ITEM_ACCOUNT_NUMBER_PAYABLE, ITEM_ACCOUNT_NUMBER_TAX, ITEM_NO_ACCOUNT_TAX, ITEM_NUMBER_ACCOUNT, ITEM_NUMBER_ACCOUNT_ACCOUNT_TAX, ITEM_NUMBER_ACCOUNT_TAX, ITEM_TEXT, ITEM_TEXT_PAYABLE, ITEM_TEXT_TAX, NETWORK, NETWORK_TAX, OBJECT_KEY_R, OBJECT_SYSTEM, OBJECT_TYPE, ORDER_ID, ORDER_ID_TAX, PAYMENT_BLOCK_PAYABLE, PAYMENT_METHOD_PAYABLE, PAYMENT_TERMS_PAYABLE, PLANT, PLANT_TAX, POSTING_DATE, POSTING_DATE_REVERSAL, PO_NUMBER, PO_NUMBER_TAX, PROFIT_CENTER, PROFIT_CENTER_TAX, REFERENCE_DOCUMENT_NUMBER, REFERENCE_KEY_1, REFERENCE_KEY_1_PAYABLE, REFERENCE_KEY_1_TAX, REFERENCE_KEY_2, REFERENCE_KEY_2_PAYABLE, REFERENCE_KEY_2_TAX, REFERENCE_KEY_3, REFERENCE_KEY_3_PAYABLE, REFERENCE_KEY_3_TAX, REVERSAL_REASON, SEGMENT, SEGMENT_TAX, STRUCTURE, TAX_CODE, TAX_CODE_ACCOUNT_TAX, TAX_CODE_PAYABLE, TAX_CODE_TAX, TAX_DATE_ACCOUNT_TAX, TAX_JURISDICTION_CODE, TAX_JURISDICTION_CODE_ACCOUNT_TAX, TAX_JURISDICTION_CODE_PAYABLE, TAX_JURISDICTION_CODE_TAX, TAX_RATE_ACCOUNT_TAX, TRADING_PARTNER, TRADING_PARTNER_TAX, TRANSACTION_DATE, VALUE_PART_1, VALUE_PART_2, VALUE_PART_3, VALUE_PART_4, VENDOR_NUMBER, VENDOR_NUMBER_PAYABLE, VENDOR_NUMBER_TAX, WBS_ELEMENT, WBS_ELEMENT_TAX |
postingCommand |
ACCRUAL, CAPITALIZATION, CHARGE, CLEARING, DEPRECIATION, IMPAIRMENT, LIABILITY, LIABILITY_ADJUSTMENT, MODIFICATION_RECOGNITION, PAYMENT, TERMINATION |
principalPositionType |
LESSEE, LESSOR |
source |
EMPTY_FIELD, LEDGER_ENTRY, LEDGER_ENTRY_ADDITIONAL_CURRENCIES, LEDGER_ENTRY_APPLICATION_REFERENCE_AP, LEDGER_ENTRY_APPLICATION_REFERENCE_NLA, LEDGER_ENTRY_APPLICATION_REFERENCE_NRE, LEDGER_ENTRY_TAX, LEDGER_TRANSACTION, LEDGER_TRANSACTION_APPLICATION_REFERENCE_AP, LEDGER_TRANSACTION_APPLICATION_REFERENCE_NLA, LEDGER_TRANSACTION_APPLICATION_REFERENCE_NRE, USER_INPUT |
List All Resources¶
HTTP Request
GET /api/v1/sap-posting-bot/erp-field-mapping
📋 Description: Fetches the ERP field mapping configurations used for ledger entries, enabling accurate transaction processing and account management within the General Ledger.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
pageable |
query |
true |
Indicates whether the results of the ledger entry field mapping query should be paginated, facilitating efficient retrieval of financial records and transactions. |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "totalElements": 0,
3 "totalPages": 0,
4 "pageable": {
5 "pageNumber": 0,
6 "unpaged": true,
7 "paged": true,
8 "pageSize": 0,
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 "erpSystem": {
22 "id": 0,
23 "displayId": "string"
24 },
25 "postingCommand": "PAYMENT",
26 "mappingMode": "DEFAULT",
27 "principalPositionType": "LESSEE",
28 "financialAccounting": "GENERAL_LEDGER",
29 "mappingSapField": "BUSINESS_TRANSACTION",
30 "sapCustomizableField": true,
31 "mappingSources": [
32 {
33 "reference": "string",
34 "source": "LEDGER_TRANSACTION"
35 }
36 ],
37 "defaultMappingSources": [
38 {
39 "reference": "string",
40 "source": "LEDGER_TRANSACTION"
41 }
42 ],
43 "customFieldOperation": "string",
44 "customScriptOperation": "string"
45 }
46 ],
47 "number": 0,
48 "sort": {
49 "unsorted": true,
50 "sorted": true,
51 "empty": true
52 },
53 "first": true,
54 "last": true,
55 "empty": true
56}
List Posting Types¶
HTTP Request
GET /api/v1/sap-posting-bot/erp-field-mapping/posting-type-command
📋 Description: Retrieves the mapping of posting types for ledger entries, facilitating accurate transaction classification and account management within financial records.
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Inline |
Example Responses
1[
2 "PAYMENT"
3]
Response Schema
List Mapping SAP Tables¶
HTTP Request
GET /api/v1/sap-posting-bot/erp-field-mapping/mapping-sap-tables
📋 Description: Retrieves the mapping of SAP tables for ledger entries, transactions, accounts, and financial records, facilitating accurate data integration within the General Ledger system.
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Inline |
Example Responses
1[
2 "POST_DOCUMENT_HEADER"
3]
Response Schema
List Mapping SAP Fields¶
HTTP Request
GET /api/v1/sap-posting-bot/erp-field-mapping/mapping-sap-fields
📋 Description: Retrieves the mapping of SAP fields to ERP fields used in ledger entries, transactions, and financial records, facilitating accurate integration and data consistency within the General Ledger domain.
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Inline |
Example Responses
1[
2 "BUSINESS_TRANSACTION"
3]
Response Schema
List Mapping Modes¶
HTTP Request
GET /api/v1/sap-posting-bot/erp-field-mapping/mapping-modes
📋 Description: Retrieves the available mapping modes for ERP field mapping within the General Ledger, facilitating the accurate alignment of ledger entries, transactions, and financial records.
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Inline |
Example Responses
1[
2 "DEFAULT"
3]
Response Schema
List Mapping GL Tables¶
HTTP Request
GET /api/v1/sap-posting-bot/erp-field-mapping/mapping-gl-tables
📋 Description: Retrieves the mapping of General Ledger tables used for ERP field integration, facilitating accurate ledger entry and transaction processing within financial records.
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Inline |
Example Responses
1[
2 "LEDGER_TRANSACTION"
3]