# List Statement Attachments

## GET /public/v1/billing/statements/{statementId}/attachments

> Retrieves a list of statement attachments.

OpenAPI:

```json
{"openapi":"3.0.1","info":{"title":"Marketplace API","version":"prod-4.0.104-g76805994"},"servers":[{"url":"https://api.platform.softwareone.com"}],"paths":{"/public/v1/billing/statements/{statementId}/attachments":{"get":{"tags":["StatementAttachments"],"summary":"Retrieves a list of statement attachments.","parameters":[{"name":"statementId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"$meta":{"allOf":[{"type":"object","properties":{"pagination":{"allOf":[{"type":"object","properties":{"offset":{"type":"integer","format":"int32"},"limit":{"type":"integer","format":"int32"},"total":{"type":"integer","format":"int32","nullable":true}},"additionalProperties":false}]},"omitted":{"type":"array","items":{"type":"string"}}},"additionalProperties":false}]},"data":{"type":"array","items":{"type":"object","properties":{"$meta":{"allOf":[{"type":"object","properties":{"omitted":{"type":"array","items":{"type":"string"}}},"additionalProperties":false}],"description":"Platform entity metadata.","nullable":true},"audit":{"allOf":[{"type":"object","properties":{"created":{"allOf":[{"type":"object","properties":{"at":{"type":"string","description":"Indicates the date and time when the event occurred.","format":"date-time","nullable":true},"by":{"type":"object","allOf":[{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"icon":{"type":"string","nullable":true}},"additionalProperties":false}]}},"additionalProperties":false,"description":"Represents an audit event for the creation of an entity."}],"description":"Contains details about the creation event of the entity."},"updated":{"allOf":[{"type":"object","properties":{"at":{"type":"string","description":"Indicates the date and time when the event occurred.","format":"date-time","nullable":true},"by":{"type":"object","allOf":[{"type":"object","properties":{"$ref":"#/paths/~1public~1v1~1billing~1statements~1{statementId}~1attachments/get/responses/200/content/application~1json/schema/properties/data/items/properties/audit/allOf/0/properties/created/allOf/0/properties/by/allOf/0/properties"},"additionalProperties":false}]}},"additionalProperties":false,"description":"Represents an audit event for the update of an entity."}],"description":"Contains details about the most recent update event of the entity, if applicable.","nullable":true}},"additionalProperties":false,"description":"Represents a container for audit-related events, including creation and updates."}],"description":"Contains audit-related details for the entity."},"name":{"type":"string","description":"Name of the attachment."},"type":{"allOf":[{"enum":["Attachment","Input","Output"],"type":"string","description":"Represents the type of billing attachment."}],"description":"Specifies the type of the attachment, such as input, output, or general attachment."},"filename":{"type":"string","description":"Represents the name of the file associated with the attachment."},"size":{"type":"integer","description":"Indicates the size of the file in bytes.","format":"int64","nullable":true},"contentType":{"type":"string","description":"Represents the MIME type of the file content."},"description":{"type":"string","description":"Provides a description of the attachment."},"isDeleted":{"type":"boolean","description":"Indicates whether the attachment has been marked as deleted."},"id":{"type":"string","description":"The unique identifier of the attachment."},"statement":{"type":"object","allOf":[{"type":"object","properties":{"id":{"type":"string","description":"The unique identifier of the statement."}},"additionalProperties":false,"description":"Represents a billing statement in the system, containing details about transactions, pricing, and associated entities."}]}},"additionalProperties":false,"description":"Represents an attachment associated with a billing statement in the system."}}},"additionalProperties":false}}}}}}}}}
```
