External id of the general ledger account that is globally unique across the provided general ledger account data
Identifier of the client entity in the source system which can be used to separate data
Code of the general ledger account in the source system (not unique across clients)
List of externalCompanyIds that the approver is assigned to
[ "DE01", "US01" ]
Label describing the general ledger account
[ { "text": "Entertainment Expenses", "language": "en" } ]
Short label describing the general ledger account
[ { "text": "Entertainment Exp.", "language": "en" } ]
List of key value pairs containing custom fields from the source system
- API EUhttps://api.cloud.hypatos.ai/v2/enrichment/gl-accounts/{externalId}
- API UShttps://api.cloud.hypatos.com/v2/enrichment/gl-accounts/{externalId}
- Mock serverhttps://hypatos.redocly.app/_mock/openapi/enrichment/gl-accounts/{externalId}
curl -i -X PATCH \
'https://api.cloud.hypatos.ai/v2/enrichment/gl-accounts/{externalId}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/merge-patch+json' \
-d '{
"externalId": "0000100GL1",
"externalClientId": "EXTERNAL_CLIENT_ID",
"code": "GL1",
"companyAssignment": [
"DE01",
"US01"
],
"type": {
"value": "OE",
"labels": [
{
"text": "Fish & Chips",
"language": "en"
}
]
},
"category": {
"value": "OE",
"labels": [
{
"text": "Fish & Chips",
"language": "en"
}
]
},
"label": [
{
"text": "Entertainment Expenses",
"language": "en"
}
],
"accountGroup": {
"value": "123",
"labels": [
{
"text": "Entertainment Expenses",
"language": "en"
}
]
},
"shortLabel": [
{
"text": "Entertainment Exp.",
"language": "en"
}
],
"customFields": {
"property1": "string",
"property2": "string"
},
"customMetadata": {
"someTopLevelProperty": "value1",
"someNestedProperty": {
"nestedProperty": "value2"
},
"someArrayProperty": [
"value3",
"value4"
]
}
}'Successfully updated
External id of the general ledger account that is globally unique across the provided general ledger account data
Identifier of the client entity in the source system which can be used to separate data
Code of the general ledger account in the source system (not unique across clients)
List of externalCompanyIds that the approver is assigned to
[ "DE01", "US01" ]
Label describing the general ledger account
[ { "text": "Entertainment Expenses", "language": "en" } ]
Short label describing the general ledger account
[ { "text": "Entertainment Exp.", "language": "en" } ]
List of key value pairs containing custom fields from the source system
{ "externalId": "0000100GL1", "externalClientId": "EXTERNAL_CLIENT_ID", "code": "GL1", "companyAssignment": [ "DE01", "US01" ], "type": { "value": "OE", "labels": [ … ] }, "category": { "value": "OE", "labels": [ … ] }, "label": [ { … } ], "accountGroup": { "value": "123", "labels": [ … ] }, "shortLabel": [ { … } ], "customFields": { "property1": "string", "property2": "string" }, "customMetadata": { "someTopLevelProperty": "value1", "someNestedProperty": { … }, "someArrayProperty": [ … ] } }