Security
OAuth2(Required scopes: enrichment.write)
External id of the general ledger account that is globally unique across the provided general ledger account data
Example:"0000100GL1"
Identifier of the client entity in the source system which can be used to separate data
Example:"EXTERNAL_CLIENT_ID"
Code of the general ledger account in the source system (not unique across clients)
Example:"GL1"
List of externalCompanyIds that the approver is assigned to
Example:
[ "DE01", "US01" ]
Label describing the general ledger account
Example:
[ { "text": "Entertainment Expenses", "language": "en" } ]
Short label describing the general ledger account
Example:
[ { "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
- API UShttps://api.cloud.hypatos.com/v2/enrichment/gl-accounts
- Mock serverhttps://hypatos.redocly.app/_mock/openapi/enrichment/gl-accounts
curl -i -X POST \
https://api.cloud.hypatos.ai/v2/enrichment/gl-accounts \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/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"
]
}
}'Response
{ "id": "3a429dc8-56d4-42ef-a4cf-2ebc9ad1ef38" }