Basculer si un justificatif est joint au PDF de la facture
PATCH/api/v1/invoices/:invoice_id/supporting_documents/:id/toggle_attachable
Inverse l'indicateur attachable_to_invoice du justificatif.
Request
Responses
- 200
- 401
- 403
- 404
- 422
Retourne le justificatif avec son indicateur attachable_to_invoice inversé
La requête ne comportait pas de jeton d'accès OAuth 2.0 valide
Le jeton d'accès du client OAuth 2.0 n'a pas le scope write
No supporting document exists with the given ID on that invoice, or the invoice belongs to another workspace
The document cannot be flagged as attachable: it does not hang off a sales invoice, or its file type is not one EN 16931 allows to be embedded