External id of the supplier that is globally unique across the provided supplier data
Identifier of the client entity in the source system which can be used to separate data
Type assigned to the supplier in the source system. Can be used to categorize suppliers and control supplier-specific processing logic.
Group identifier assigned to the supplier in the source system. Can be used to associate multiple supplier records that belong to the same corporate group or other supplier grouping.
externalId of the supplier which is the alternative payee for this supplier
Two letter country code as defined in ISO 3166-1 alpha-2
List of VAT IDs assigned to the supplier
[ { "id": "DE123456789", "countryCode": "DE" } ]
List of Tax IDs assigned to the supplier
[ { "id": "123-456-789", "type": "TIN" } ]
13-digit Global Location Number (GLN) used for unique location identification in B2B transactions
D-U-N-S Number issued by Dun & Bradstreet. A globally used identifier for business entities.
List of key value pairs containing custom fields from the source system
- API EUhttps://api.cloud.hypatos.ai/v2/enrichment/suppliers/{externalId}
- API UShttps://api.cloud.hypatos.com/v2/enrichment/suppliers/{externalId}
- Mock serverhttps://hypatos.redocly.app/_mock/openapi/enrichment/suppliers/{externalId}
curl -i -X PATCH \
'https://api.cloud.hypatos.ai/v2/enrichment/suppliers/{externalId}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/merge-patch+json' \
-d '{
"defaultAccountAssignment": {
"glAccountCode": "0000100GL1",
"costCenterCode": "0000100CC1",
"externalApproverId": "MMUSTERMANN",
"externalProjectId": "PROJ1234",
"externalOrderId": "ORDER1234"
},
"externalId": "0000100000",
"externalClientId": "EXTERNAL_CLIENT_ID",
"code": "CODE1",
"type": "SUPPLIER_TYPE_01",
"group": "GROUP_001",
"name": "Acmne Corp.",
"nameAlternative1": "Acmne Corp.",
"nameAlternative2": "Acmne Corp.",
"nameAlternative3": "Acmne Corp.",
"nameAlternative4": "Acmne Corp.",
"alternativePayee": "string",
"street": "Hauptstr. 1",
"addressAdditional": "Eingang B",
"postcode": "10001",
"city": "Berlin",
"state": "Berlin",
"countryCode": "DE",
"vatIds": [
{
"id": "DE123456789",
"countryCode": "DE"
}
],
"taxIds": [
{
"id": "123-456-789",
"type": "TIN"
}
],
"blockedForPosting": false,
"blockedForPayment": false,
"globalLocationNumber": "4000001000002",
"duns": "123456789",
"supplierSubsidiaries": [
{
"defaultAccountAssignment": {
"glAccountCode": "0000100GL1",
"costCenterCode": "0000100CC1",
"externalApproverId": "MMUSTERMANN",
"externalProjectId": "PROJ1234",
"externalOrderId": "ORDER1234"
},
"externalCompanyId": "DE01",
"paymentTerms": {
"paymentTermKey": "T10",
"descriptions": [
{
"text": "Please pay us",
"language": "en"
}
]
},
"blockedForPosting": false,
"blockedForPayment": false,
"enabledForAutoPosting": true,
"withholdingTaxInfo": [
{
"key": "WHT-432",
"descriptions": [
{
"text": "Some very deep description of the type of withholding tax",
"language": "en"
}
]
}
]
}
],
"supplierBankAccounts": [
{
"externalId": "12341234",
"countryCode": "DE",
"bankAccountNumber": "78090",
"bankAccountHolder": "Maximilian Mustermann",
"iban": "DE91100000000123456789",
"bic": "CHASUS33XXX",
"bankName": "Deutsche Bank",
"bankStreet": "Hauptstr. 1",
"bankPostcode": "10001",
"bankCity": "Berlin",
"isActive": true,
"type": "SAVINGS",
"bankKey": "60-16-13"
}
],
"customFields": {
"property1": "string",
"property2": "string"
},
"customMetadata": {
"someTopLevelProperty": "value1",
"someNestedProperty": {
"nestedProperty": "value2"
},
"someArrayProperty": [
"value3",
"value4"
]
}
}'Successfully updated
External id of the supplier that is globally unique across the provided supplier data
Identifier of the client entity in the source system which can be used to separate data
Type assigned to the supplier in the source system. Can be used to categorize suppliers and control supplier-specific processing logic.
Group identifier assigned to the supplier in the source system. Can be used to associate multiple supplier records that belong to the same corporate group or other supplier grouping.
externalId of the supplier which is the alternative payee for this supplier
Two letter country code as defined in ISO 3166-1 alpha-2
List of VAT IDs assigned to the supplier
[ { "id": "DE123456789", "countryCode": "DE" } ]
List of Tax IDs assigned to the supplier
[ { "id": "123-456-789", "type": "TIN" } ]
13-digit Global Location Number (GLN) used for unique location identification in B2B transactions
D-U-N-S Number issued by Dun & Bradstreet. A globally used identifier for business entities.
List of key value pairs containing custom fields from the source system
{ "defaultAccountAssignment": { "glAccountCode": "0000100GL1", "costCenterCode": "0000100CC1", "externalApproverId": "MMUSTERMANN", "externalProjectId": "PROJ1234", "externalOrderId": "ORDER1234" }, "externalId": "0000100000", "externalClientId": "EXTERNAL_CLIENT_ID", "code": "CODE1", "type": "SUPPLIER_TYPE_01", "group": "GROUP_001", "name": "Acmne Corp.", "nameAlternative1": "Acmne Corp.", "nameAlternative2": "Acmne Corp.", "nameAlternative3": "Acmne Corp.", "nameAlternative4": "Acmne Corp.", "alternativePayee": "string", "street": "Hauptstr. 1", "addressAdditional": "Eingang B", "postcode": "10001", "city": "Berlin", "state": "Berlin", "countryCode": "DE", "vatIds": [ { … } ], "taxIds": [ { … } ], "blockedForPosting": false, "blockedForPayment": false, "globalLocationNumber": "4000001000002", "duns": "123456789", "supplierSubsidiaries": [ { … } ], "supplierBankAccounts": [ { … } ], "customFields": { "property1": "string", "property2": "string" }, "customMetadata": { "someTopLevelProperty": "value1", "someNestedProperty": { … }, "someArrayProperty": [ … ] } }