InvoiceAttachments
Retrieves a specific invoice attachment by its ID.
Depending on the Accept header, returns metadata (application/json) or downloads the file. For external attachments (ERP PDFs), returns file content directly; for internal attachments, returns 301 redirect.
get/public/v1/billing/invoices/{invoiceId}/attachments/{id}
Request
- Base URL: https://api.platform.softwareone.com
- URL: https://api.platform.softwareone.com/public/v1/billing/invoices/{invoiceId}/attachments/{id}
- Auth: none declared
Path parameters
idstring required
The ID of the invoice attachment to retrieve.
invoiceIdstring required
Query parameters
selectstring
Optional select statement to specify which fields to include in the response.
Response
OK
Example response
{
"name": "raw records data",
"filename": "invoice.pdf",
"size": 102400,
"contentType": "application/pdf",
"description": "Invoice for March 2025",
"id": "INA-1234-1234",
"invoice": {
"id": "INV-123-456-789"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.