Skip to main content

Upload Vendor Credit Attachment

POST 

/api/vendor-credits/:vendorCredit/attachments

Upload a new attachment to the vendor credit. multipart/form-data with a single file field.

Required scope: accounting:write

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

Validation:

  • file: required, max 20 MB (20480 KB), mimes: pdf, png, jpg, jpeg, webp
  • Empty (0-byte) files are rejected

Returns 201 with the created attachment. Returns 422 if the vendor credit is archived or the file fails validation.

Request

Responses

Created

Response Headers
    Content-Type