Depending on the Accept header, this endpoint can either download the attachment or return only its metadata. Use Accept: application/json to retrieve metadata only, or Accept: application/octet-stream to download the file. For external attachments (e.g., ERP-generated PDF), the file content is returned directly. For internal attachments, a 301 redirect to the download URL is returned.
The ID of the credit memo attachment to retrieve.
Optional select statement to specify which fields to include in the response.
OK
Represents an attachment associated with a credit memo in the billing system.
Name of the attachment.
raw records dataRepresents the type of billing attachment.
Represents the name of the file associated with the attachment.
invoice.pdfIndicates the size of the file in bytes.
102400Represents the MIME type of the file content.
application/pdfProvides a description of the attachment.
Invoice for March 2025Indicates whether the attachment has been marked as deleted.
falseThe unique identifier of the attachment.
CMA-1234-1234The unique identifier of the credit memo.
Indicates whether the attachment is stored externally
Moved Permanently
No content
Not Found
Not Acceptable
GET /public/v1/billing/credit-memos/{creditMemoId}/attachments/{id} HTTP/1.1
Host: api.platform.softwareone.com
Accept: */*
{
"audit": {
"created": {
"at": "2026-01-01T00:00:00.000Z",
"by": {
"id": "text",
"name": "text",
"icon": "text",
"revision": 1
}
},
"updated": {
"at": "2026-01-01T00:00:00.000Z",
"by": {
"id": "text",
"name": "text",
"icon": "text",
"revision": 1
}
}
},
"$meta": {
"omitted": [
"text"
]
},
"revision": 1,
"name": "raw records data",
"type": "Input",
"filename": "invoice.pdf",
"size": 102400,
"contentType": "application/pdf",
"description": "Invoice for March 2025",
"isDeleted": false,
"id": "CMA-1234-1234",
"creditMemo": {
"revision": 1,
"id": "text"
},
"isExternal": true
}