Supprimer une transaction d'e-reporting
DELETE/api/v1/e_reportings/transactions/:id
Supprime une transaction par ID. Supprime également tous les tax_subtotals associés.
Request
Responses
- 204
- 401
- 404
- 422
La transaction d'e-reporting, ainsi que tous ses sous-totaux de taxe associés, ont été définitivement supprimés.
La requête ne comportait pas de jeton d'accès (bearer token) OAuth 2.0 valide.
Aucune transaction d'e-reporting n'existe avec cet ID, ou elle appartient à un espace de travail auquel le client OAuth authentifié n'a pas accès.
The e-reporting transaction was not deleted. code is operation_failed and message says why - typically because its declaration has been deposited at the PPF (300) and is therefore immutable, or because it takes part in an instalment reprise: it carries the negative that took a down payment back out of the B2C transaction data or the compensation that re-added it, a down payment counted in it was taken back that way, or it counts the final invoice whose reprise took its down payments back - or because the platform counted invoices into it itself, which keeps it on record. A transaction written only through this API or a CSV import stays deletable. Unlike a validation failure this body carries no details.