Skip to main content

Company management

Create company

PropertyValue
Endpoint/company/create-company
MethodPOST
AuthorizationBearer {token}

Request body

{
"name": "Acme GmbH",
"taxId": "DE123456789",
"country": "DE",
"city": "Berlin",
"address": "Hauptstraße 1",
"postalCode": "10115",
"email": "billing@acme.de",
"phoneNumber": "+493012345678"
}
FieldTypeRequiredDescription
nameStringYesLegal company name
taxIdStringYesVAT / Tax identification number
countryStringYesISO 3166-1 alpha-2 (DE, FR)
cityStringYesCity
addressStringYesStreet address
postalCodeStringYesPostal code
emailStringYesCompany contact email
phoneNumberStringNoPhone number

Responses

CodeDescription
200Company created — returns companyId (UUID)
400Validation error
409Company with same tax ID already exists

Update company info

PropertyValue
Endpoint/company/info-update
MethodPOST
AuthorizationBearer {token}

Request body — same fields as Create company, plus companyId.

Delete company

PropertyValue
Endpoint/company/delete/:companyId
MethodPOST
AuthorizationBearer {token}

Path parameter: companyId — UUID of the company to delete.

{
"feedback": "Customer offboarded"
}

Add user to company

PropertyValue
Endpoint/company/add-user
MethodPOST
AuthorizationBearer {token}
{
"companyId": "uuid",
"userId": "uuid"
}

Update user authorities

PropertyValue
Endpoint/company/update-user-auths
MethodPOST
AuthorizationBearer {token}

Set default Peppol participant

PropertyValue
Endpoint/company/:companyId/default-participant/:participantId
MethodPUT
AuthorizationBearer {token}