Get Ledger Attachment
Retrieves a specific ledger attachment by its ID.
Depending on the Accept header, this endpoint can either download the attachment or return only its metadata.
get
Path parameters
idstringRequired
The ID of the ledger attachment to retrieve.
ledgerIdstringRequired
Query parameters
selectstringOptional
Optional select statement to specify which fields to include in the response.
Responses
200
OK
application/json
Represents an attachment associated with a ledger in the billing system.
namestringOptionalExample:
Name of the attachment.
raw records datatypeall ofOptionalExample:
Specifies the type of the attachment, such as input, output, or general attachment.
Inputstring · enumOptionalPossible values:
Represents the type of billing attachment.
filenamestringOptionalExample:
Represents the name of the file associated with the attachment.
invoice.pdfsizeinteger · int64 · nullableOptionalExample:
Indicates the size of the file in bytes.
102400contentTypestringOptionalExample:
Represents the MIME type of the file content.
application/pdfdescriptionstringOptionalExample:
Provides a description of the attachment.
Invoice for March 2025isDeletedbooleanOptionalExample:
Indicates whether the attachment has been marked as deleted.
falseidstringOptionalExample:
The unique identifier of the attachment.
LEA-1234-1234301
Moved Permanently
404
Not Found
application/json
406
Not Acceptable
application/json
get
/public/v1/billing/ledgers/{ledgerId}/attachments/{id}Last updated
Was this helpful?