diff --git a/DoliMiddlewareApi/Services/InvoiceService.cs b/DoliMiddlewareApi/Services/InvoiceService.cs index ef6c443..083a06f 100644 --- a/DoliMiddlewareApi/Services/InvoiceService.cs +++ b/DoliMiddlewareApi/Services/InvoiceService.cs @@ -104,7 +104,6 @@ public class InvoiceService(IDolibarrApiClient apiClient) { // GET el JSON completo var current = await apiClient.GetResourceAsync($"invoices/{id}"); - if (current.statut != "0") throw new ForbiddenException("Solo drafts"); // Modifica solo campos que Dolibarr permite en PUT if (dto.Number != null) current.@ref = dto.Number;