Partner Legal Entities
Manage legal entities on child tenants (Partner API only).
List legal entities on child tenant
GET
/bizzlink/tenants/{tenantId}/legal-entitiesList legal entities on child tenant
Responses:
| Status | Description |
|---|---|
200 | Legal entity list |
403 | Not a partner or tenant not a child |
404 | Tenant not found |
Response Body — JsonApiListDocumentLegalEntityResponseAttributes:
| Field | Type | Description |
|---|---|---|
data | JsonApiResourceLegalEntityResponseAttributes[] | |
links | JsonApiLinks | |
meta | JsonApiPaginationMeta |
cURL Request
curl -X GET https://gateway.vigasoft.lu/bizzlink/tenants/{tenantId}/legal-entities \
-H "Authorization: Bearer $API_TOKEN" \
-H "X-Bizzlink-Signature: t=$TIMESTAMP,v1=$SIGNATURE"Response
200 OK{
"data": [
{
"attributes": {
"active": true,
"addressCity": "string",
"addressCountry": "LU",
"addressPostalCode": "string",
"addressStreet": "string",
"contactEmail": "string",
"contactName": "string",
"contactPhone": "string",
"createdAt": "2026-01-01T00:00:00Z",
"customerName": "ACME Luxembourg S.A.",
"legalEntityCode": "ACME-LU",
"tradeRegisterNumber": "B123456",
"updatedAt": "2026-01-01T00:00:00Z",
"vatNumber": "LU12345678"
},
"id": "770e8400-e29b-41d4-a716-446655440000",
"type": "invoices"
}
],
"links": {
"first": "https://gateway.vigasoft.lu/bizzlink/documents?page%5Bnumber%5D=1&page%5Bsize%5D=20",
"last": "https://gateway.vigasoft.lu/bizzlink/documents?page%5Bnumber%5D=7&page%5Bsize%5D=20",
"next": "https://gateway.vigasoft.lu/bizzlink/documents?page%5Bnumber%5D=4&page%5Bsize%5D=20",
"prev": "https://gateway.vigasoft.lu/bizzlink/documents?page%5Bnumber%5D=2&page%5Bsize%5D=20",
"self": "https://gateway.vigasoft.lu/bizzlink/documents?page%5Bnumber%5D=3&page%5Bsize%5D=20"
},
"meta": {
"page": 1,
"size": 20,
"totalElements": 137,
"totalPages": 7
}
}Create legal entity on child tenant
POST
/bizzlink/tenants/{tenantId}/legal-entitiesCreate legal entity on child tenant
Request Body:
| Field | Type | Required | Description |
|---|---|---|---|
data | object | Yes | Resource envelope. 'attributes' holds the domain fields; 'meta.scope' declares whether the resource belongs to the whole tenant or to a specific legal entity (Peppol ID). |
Responses:
| Status | Description |
|---|---|
201 | Legal entity created |
403 | Not a partner or tenant not a child |
404 | Tenant not found |
cURL Request
curl -X POST https://gateway.vigasoft.lu/bizzlink/tenants/{tenantId}/legal-entities \
-H "Authorization: Bearer $API_TOKEN" \
-H "X-Bizzlink-Signature: t=$TIMESTAMP,v1=$SIGNATURE" \
-H "Content-Type: application/json" \
-d '{
"data": {}
}'Update legal entity on child tenant
PATCH
/bizzlink/tenants/{tenantId}/legal-entities/{leId}Update legal entity on child tenant
Request Body:
| Field | Type | Required | Description |
|---|---|---|---|
data | object | Yes |
Responses:
| Status | Description |
|---|---|
200 | Legal entity updated |
403 | Not a partner or tenant not a child |
404 | Tenant or legal entity not found |
Response Body — JsonApiDocumentLegalEntityResponseAttributes:
| Field | Type | Description |
|---|---|---|
data | JsonApiResourceLegalEntityResponseAttributes |
cURL Request
curl -X PATCH https://gateway.vigasoft.lu/bizzlink/tenants/{tenantId}/legal-entities/{leId} \
-H "Authorization: Bearer $API_TOKEN" \
-H "X-Bizzlink-Signature: t=$TIMESTAMP,v1=$SIGNATURE" \
-H "Content-Type: application/json" \
-d '{
"data": {}
}'Response
200 OK{
"data": {
"attributes": {
"active": true,
"addressCity": "string",
"addressCountry": "LU",
"addressPostalCode": "string",
"addressStreet": "string",
"contactEmail": "string",
"contactName": "string",
"contactPhone": "string",
"createdAt": "2026-01-01T00:00:00Z",
"customerName": "ACME Luxembourg S.A.",
"legalEntityCode": "ACME-LU",
"tradeRegisterNumber": "B123456",
"updatedAt": "2026-01-01T00:00:00Z",
"vatNumber": "LU12345678"
},
"id": "770e8400-e29b-41d4-a716-446655440000",
"type": "invoices"
}
}