Skip to main content

Delete Purchase Invoice Attachment

DELETE 

/api/purchase-invoices/:purchaseInvoice/attachments/:attachment

Delete an attachment from a purchase invoice. Removes both the stored file and its record, including any OCR extraction history for the attachment.

Required scope: purchase-orders:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Returns 404 if the attachment does not belong to the given invoice.

Requires the purchase-orders:write token scope.

Request

Responses

OK

Response Headers
    Content-Type