beel_cancel_representation
Cancel a company's active AEAT representation to prevent invoice submissions to AEAT until a new signed document is in place. If no representation is active, the request is rejected with 400.
Instructions
Cancels the active AEAT representation of a company.
Effect: until a new document is generated and signed, the company can no longer submit invoices to AEAT in production. Its activation and its ability to issue non-VeriFactu invoices are untouched.
No active representation: rejected with
400. Cancelling is a state transition, not a delete-if-present.
Endpoint: DELETE /v1/companies/{company_id}/representation
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| company_id | Yes | Unique identifier (UUID) of the company the operation acts on — its identifier, not its NIF. It is the only source of context: the account that owns it is derived from it, and the `BeeL-Active-Company` header plays no part. A company you do not reach answers `403`, and so does a company that does not exist, so the existence of a company in another account is never disclosed. |