# Attach file to a supplier invoice **POST /supplierinvoices/attach** ## Servers - https://partner.trukks.se/supplierinvoices: https://partner.trukks.se/supplierinvoices () ## Authentication methods - Bearer auth ## Parameters ### Body: multipart/form-data (object) - **supplierInvoiceId** (string) Unique identifier in Trukks system for the supplier invoice. - **fileName** (string) - **contentType** (string) - **content** (string(binary)) ## Responses ### 200 Attachment was successful #### Body: application/json (object) - **message** (string) ### 400 Invalid input #### Body: application/json (object) - **traceId** (string) Internal ID. Please provide this ID when contacting support - **message** (string) Message describing the error ### 401 Access token is missing or invalid ### 409 Invoice with supplierId and supplierInvoiceNumber not found #### Body: application/json (object) - **traceId** (string) Internal ID. Please provide this ID when contacting support - **message** (string) Message describing the error ### 500 Internal error #### Body: application/json (object) - **traceId** (string) Internal ID. Please provide this ID when contacting support - **message** (string) Message describing the error [Powered by Bump.sh](https://bump.sh)