Get journal attachment

Retrieves a specific journal attachment by its ID.

get

Depending on the Accept header, returns metadata (application/json) or redirects to file download (301).

Path parameters
idstringRequired

The ID of the journal attachment to retrieve.

journalIdstringRequired
Query parameters
selectstringOptional

Optional select statement to specify which fields to include in the response.

Responses
chevron-right
200

OK

application/json

Represents an attachment associated with a journal in the billing system.

revisioninteger · int32Optional
namestringOptional

Name of the attachment.

Example: raw records data
typestring · enumOptional

Represents the type of billing attachment.

Possible values:
filenamestringOptional

Represents the name of the file associated with the attachment.

Example: invoice.pdf
sizeinteger · int64 · nullableOptional

Indicates the size of the file in bytes.

Example: 102400
contentTypestringOptional

Represents the MIME type of the file content.

Example: application/pdf
descriptionstringOptional

Provides a description of the attachment.

Example: Invoice for March 2025
isDeletedbooleanOptional

Indicates whether the attachment has been marked as deleted.

Example: false
idstringOptional

The unique identifier of the attachment.

Example: JOA-1234-1234
get
/public/v1/billing/journals/{journalId}/attachments/{id}

Last updated

Was this helpful?