---
title: "DEPRECATED. Create a new Administration"
method: POST
path: "/legal_entities/{legal_entity_id}/administrations"
tags: ["Administrations"]
---

# DEPRECATED. Create a new Administration

`POST /legal_entities/{legal_entity_id}/administrations`

DEPRECATED. Create a new Administration. An Administration is an email destination for purchase invoices.

## Path parameters

- `legal_entity_id` integer, required

## Request body

- AdministrationCreate
  - `sender_email_identity_id` integer — The id of the SenderEmailIdentity. If not provided, the Storecove default sender will be used
  - `legal_entity_id` integer — The LegalEntity the Administration belongs to.
  - `email` string — The email address to send the received document to
  - `packaging` 'ubl' — How to package the purchase invoice.
  - `package_version` 'peppol_bis_v3' | 'aunz' | 'sg' — The version of the package.

## Response `200`

Success

- Administration
  - `id` integer — The Storecove assigned id for the Administration.
  - `sender_email_identity_id` integer — The id of the SenderEmailIdentity. If not provided, the Storecove default sender will be used
  - `legal_entity_id` integer — The LegalEntity the Administration belongs to.
  - `email` string — The email address to send the received document to
  - `packaging` 'ubl' — How to package the purchase invoice.
  - `package_version` 'peppol_bis_v3' | 'aunz' | 'sg' — The version of the package.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Unprocessable Entity

---

[API](https://skmtc.net/storecove/apis/storecove-api.md) · [All operations](https://skmtc.net/storecove/apis/storecove-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/storecove/storecove-api/revisions/7f72642d80e6/schema)
